CN113901127B - Data management and display method, device and equipment - Google Patents

Data management and display method, device and equipment Download PDF

Info

Publication number
CN113901127B
CN113901127B CN202111165473.3A CN202111165473A CN113901127B CN 113901127 B CN113901127 B CN 113901127B CN 202111165473 A CN202111165473 A CN 202111165473A CN 113901127 B CN113901127 B CN 113901127B
Authority
CN
China
Prior art keywords
data
class
type
original industrial
original
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.)
Active
Application number
CN202111165473.3A
Other languages
Chinese (zh)
Other versions
CN113901127A (en
Inventor
邱永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tuwei Technology Co ltd
Original Assignee
Shenzhen Tuwei 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 Tuwei Technology Co ltd filed Critical Shenzhen Tuwei Technology Co ltd
Priority to CN202111165473.3A priority Critical patent/CN113901127B/en
Publication of CN113901127A publication Critical patent/CN113901127A/en
Application granted granted Critical
Publication of CN113901127B publication Critical patent/CN113901127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method, a device and equipment for managing and displaying data are provided, which are characterized in that original industrial data are obtained, and a corresponding data type is distributed to each original industrial data, wherein the data types comprise: a basic class, a model class, a file class, a space class, a form class, a task class, a relation class and a structure class; acquiring target conversion data corresponding to each original industrial data according to the data type; constructing a data display custom tree, and performing node definition on nodes in the data display custom tree, wherein a root node of the data display custom tree at least comprises two child nodes, and each child node is used for managing data of the same data type; node instantiation is carried out on the data display custom tree through the target conversion data, the instantiated data display custom tree is obtained and displayed, unified management, storage and tree-shaped hierarchical display can be carried out on data with different dimensions and different types, and therefore flexibility of data management and display is improved.

Description

Data management and display method, device and equipment
Technical Field
The invention relates to the technical field of data management, in particular to a method, a device and equipment for data management and display.
Background
With the development of big data technology, the application requirements of various industries on the management and display of big data are increasing day by day. Technicians can clean, integrate and process the data of multiple channels and multiple sources and then display the data, so that accurate business analysis and data support are provided for managers.
Currently, data can be managed uniformly by a database system and a file system. The database system can fully describe the internal relation among the data, so that the data is convenient to modify, update and expand, meanwhile, the independence, reliability, safety and integrity of the data are ensured, and the data redundancy is reduced. However, the database system is a classification storage method based on a single dimension by using a data table, developers preset each single object in a programming stage, and perform classification operation and classification storage on a user interface, so that users cannot flexibly set a plurality of data with different dimensions to be displayed and operated on the same layer. The file system can classify and store files of different types hierarchically, file data can be diffused through sharing, and different file data can be visually used only by means of different software, so that the method cannot uniformly display and operate the data of the different file types.
When the data display is realized, the following existing data display modes can be adopted: text, tables, line graphs, scatter diagrams, column graphs, pie charts and the like. The text display mode is as follows: the data display result can only express the content on one or two indexes by adopting highlighted numbers and some auxiliary simple characters. The table display mode is as follows: specific data is retained and different values are compared. The line graph display mode is as follows: lines are used to express the change trend of a certain index and are often used to show the graphical description of the fluctuation of index data with time in a certain period. The scatter diagram display mode is as follows: a chart showing the correlation between two sets of data, one set of data is used as abscissa and the other set of data is used as ordinate, so that two pairs of corresponding data points are formed on a coordinate system, and the correlation of the two sets of data is analyzed through the distribution of the data points. The horizontal axis of the bar chart is a classification axis, the vertical axis is a counting axis, the middle part of the bar chart is composed of a series of vertical rectangular columns, and the size of index values is reflected by the height of the columns. Bar graphs are more suitable for expressing comparative relationships between data than are bar graphs. The display mode of the pie chart is as follows: the pie shape is used as an index data population, the proportion of the data in the population is expressed by the size of each sector area in the pie, and a pie chart is commonly used for structural analysis. Therefore, the data display mode is to display the same type of data or the same type of diagram, and the data display mode is single.
In summary, no matter the current data management mode or the data display mode, the data management and the display are performed based on the same type of data, so that the flexibility of the data management and the display is low.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for managing and displaying data, which are used for improving the flexibility of data management and display.
According to a first aspect, there is provided in one embodiment a data management and presentation method, the method comprising:
acquiring original industrial data, and allocating a corresponding data type to each acquired original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class;
acquiring target conversion data corresponding to each original industrial data according to the data type;
constructing a data display custom tree, and performing node definition on nodes in the data display custom tree, wherein a root node of the data display custom tree at least comprises two child nodes, and each child node is used for managing data of the same data type;
and instantiating nodes of the data display custom tree through the target conversion data to obtain an instantiated data display custom tree, and displaying the instantiated data display custom tree.
Optionally, the instantiating the node of the data display custom tree by the target conversion data includes:
creating subclasses corresponding to the data types in corresponding child nodes according to the data types corresponding to the target conversion data;
and extracting target key information meeting the requirements of data screening conditions from the target conversion data, and instantiating the subclass according to the target key information.
Optionally, the method further includes:
and acquiring an original file associated with the instantiated subclass, and displaying the original file.
Optionally, after obtaining the instantiated data to display the custom tree, the method further includes:
updating the instantiated data display custom tree to obtain an updated instantiated data display custom tree, wherein updating the instantiated data display custom tree comprises: instantiation updating is carried out on the child nodes;
the displaying the instantiated data display custom tree comprises the following steps:
and displaying the updated instantiated data display custom tree.
Optionally, the performing instantiation update on the child node includes:
adding or deleting subclasses in the child nodes.
Optionally, the node definition of each node in the data display custom tree includes:
defining names and codes of the root node and the child nodes.
Optionally, the allocating a corresponding data type to each acquired original industrial data includes:
if the original industrial data comprises industrial asset information or standing book information, the data type distributed for the original industrial data is a basic type;
or if the original industrial data comprises object model information, the data type distributed to the original industrial data is a model class;
or if the original industrial data comprises file information, the data type allocated to the original industrial data is a file type;
or if the original industrial data comprises space occupation information, the data type allocated to the original industrial data is a space type;
or if the original industrial data comprises data table information, the data type distributed for the original industrial data is a form type;
or if the original industrial data comprises industrial process information, the data type distributed for the original industrial data is a task type;
or if the original industrial data comprises the associated information among the industrial objects, the data type distributed for the original industrial data is a relation class;
alternatively, if the raw industrial data includes hierarchical structure information between industrial objects, the data type assigned to the raw industrial data is a structure class.
According to a second aspect, there is provided in one embodiment a data management and presentation device, the device comprising:
the acquisition module is used for acquiring original industrial data and distributing a corresponding data type for each acquired original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class;
the management module is used for acquiring target conversion data corresponding to each original industrial data according to the data type;
the data display self-defining tree comprises a building module, a data display self-defining tree module and a data display module, wherein the building module is used for building the data display self-defining tree and performing node definition on nodes in the data display self-defining tree, the root node of the data display self-defining tree at least comprises two sub-nodes, and each sub-node is used for managing data of the same data type;
and the display module is used for instantiating the nodes of the data display custom tree through the target conversion data to obtain an instantiated data display custom tree and displaying the instantiated data display custom tree.
Optionally, the presentation module is specifically configured to create, according to the data type corresponding to the target conversion data, a subclass corresponding to the data type in a corresponding child node; and extracting target key information meeting the requirements of data screening conditions from the target conversion data, and instantiating the subclass according to the target key information.
Optionally, the display module is further configured to obtain an original file associated with the instantiated subclass, and display the original file.
Optionally, the apparatus further comprises: the updating module is used for updating the instantiation data display custom tree to obtain the updated instantiation data display custom tree, wherein the updating module is specifically used for updating the instantiation of the child node; the display module is further used for displaying the updated instantiated data display custom tree.
Optionally, the update module is specifically configured to add a subclass to the child node or delete a subclass from the child node.
Optionally, the building module is specifically configured to define names and codes of the root node and each of the child nodes.
Optionally, the obtaining module is specifically configured to, if the original industrial data includes industrial asset information or standing book information, take a data type allocated to the original industrial data as a basic class; or if the original industrial data comprises object model information, the data type distributed to the original industrial data is a model class; or if the original industrial data comprises file information, the data type allocated to the original industrial data is a file type; or if the original industrial data comprises space occupation information, the data type allocated to the original industrial data is a space type; or if the original industrial data comprises data table information, the data type distributed for the original industrial data is a form type; or if the original industrial data comprises industrial process information, the data type allocated to the original industrial data is a task type; or if the original industrial data comprises the associated information among the industrial objects, the data type distributed for the original industrial data is a relation class; alternatively, if the raw industrial data includes hierarchical structure information between industrial objects, the data type assigned to the raw industrial data is a structure class.
According to a third aspect, there is provided in one embodiment an electronic device comprising: a memory for storing a program; a processor, configured to execute the program stored in the memory to implement the data management and presentation method of any one of the above first aspects.
According to a fourth aspect, an embodiment provides a computer-readable storage medium having a program stored thereon, the program being executable by a processor to implement the data management and presentation method of any of the first aspect above.
The embodiment of the invention provides a method, a device and equipment for data management and display, which are characterized in that original industrial data are obtained, and a corresponding data type is distributed to each obtained original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class; acquiring target conversion data corresponding to each original industrial data according to the data type; constructing a data display custom tree, and performing node definition on nodes in the data display custom tree, wherein a root node of the data display custom tree at least comprises two sub-nodes, and each sub-node is used for managing data of the same data type; the data display custom tree is subjected to node instantiation through target conversion data, the instantiated data display custom tree is obtained, the instantiated data display custom tree is displayed, data with different dimensions and different types can be uniformly managed and stored, tree-shaped hierarchical display can be performed on the data with different dimensions and different types through the instantiated data display custom tree, and therefore flexibility of data management and display is improved.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a data management and display method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second embodiment of a data management and display method according to the present invention;
FIG. 3 is a schematic diagram of a data display custom tree according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an instantiated data display custom tree according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a third embodiment of a data management and display method according to the present invention;
fig. 6 is a schematic structural diagram of a data management and display device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the described features, operations, or characteristics may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
Because the data are managed and displayed based on the same type of data no matter the current data management mode or the data display mode, the flexibility of data management and display is low. In order to improve flexibility of data management and display, embodiments of the present invention provide a method, an apparatus, and a device for data management and display, which are described in detail below.
Fig. 1 is a schematic flowchart of a first embodiment of a data management and display method according to an embodiment of the present invention, where an execution subject in the embodiment of the present invention is any device with processing capability. As shown in fig. 1, the data management and presentation method provided in this embodiment may include:
s101, acquiring original industrial data, and distributing a corresponding data type for each acquired original industrial data.
In the concrete implementation, for example, the original industrial data of the industries such as thermal power, nuclear power, oil gas, chemical industry, environmental protection, metallurgy, coal and the like can be obtained. Moreover, eight data types can be preset in advance, and the data type corresponding to each original industrial data is determined by the existing identification method, so that the classified management of the data is realized. Wherein, the eight data types can be respectively: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class, and a structure class.
In specific implementation, if the original industrial data includes industrial asset information or standing book information, the data type allocated to the original industrial data is a basic class, for example, the industrial asset information may be data such as an asset number; or, if the original industrial data includes object model information, the data type allocated to the original industrial data is a model class, for example, the object model information may be three-dimensional model data or two-dimensional model data; or, if the original industrial data includes file information, the data type allocated to the original industrial data is a file type, for example, the file information may be a file type, a file name, a file creation time, file creator information, a usage specification document of a certain machine device, or a drawing of a certain machine device; or, if the original industrial data includes space occupation information, the data type allocated to the original industrial data is a space type, for example, the space occupation information may be an occupied area of a certain three-dimensional space, and specifically, the occupied area may be represented by coordinate data; or, if the original industrial data includes data table information, the data type allocated to the original industrial data is a form class, for example, the data table information may be a performance data table of a certain machine device or a specification of a certain machine device; or if the original industrial data comprises industrial process information, the data type allocated to the original industrial data is a task type; or, if the original industrial data includes the association information between the industrial objects, the data type allocated to the original industrial data is a relationship type, for example, the association relationship between data corresponding to six data types, such as a base type, a model type, a file type, a space type, a form type, and a task type, may be used as relationship type data; alternatively, if the original industrial data includes hierarchical structure information between industrial objects, the data type assigned to the original industrial data is a structure type, and for example, the hierarchical structure information between data corresponding to six data types, i.e., a base type, a model type, a file type, a space type, a form type, and a task type, may be used as the structure type data.
And S102, acquiring target conversion data corresponding to each original industrial data according to the data type.
During specific implementation, preset extraction content corresponding to the data type can be extracted from each original industrial data according to the data type, and preset data format conversion is performed on the obtained preset extraction content, so that target conversion data corresponding to each original industrial data is obtained. For example, for a file class, the preset extraction content may be customized as follows: and then, carrying out structuring processing on the obtained preset extraction content, wherein the obtained key field information and the obtained attachment information corresponding to each preset extraction content are target conversion data. For the model type, the field attribute information related to the model obtained after the structuring process can be used as target conversion data and stored.
S103, constructing a data display custom tree, and performing node definition on nodes in the data display custom tree.
The data display custom tree may include a root node and child nodes of the root node, the root node includes at least two child nodes, and each child node is used for managing data of the same data type, so that data display custom trees for different data types are established.
Specifically, when node definition is performed on each node in the data display custom tree, names and codes of a root node and each child node may be defined. For example, after the root node is created, the root node may be named as "model and drawing structure class", then two child nodes are sequentially created under the root node, and the two child nodes may be named as "device" and "design drawing".
And S104, node instantiation is carried out on the data display custom tree through the target conversion data to obtain an instantiated data display custom tree, and the instantiated data display custom tree is displayed.
And filling data in each node of the data display custom tree through the obtained target conversion data so as to obtain the instantiated data display custom tree.
According to the data management and display method provided by the embodiment of the invention, original industrial data are obtained, and a corresponding data type is distributed to each obtained original industrial data, wherein the data types comprise: a basic class, a model class, a file class, a space class, a form class, a task class, a relation class and a structure class; acquiring target conversion data corresponding to each original industrial data according to the data type; constructing a data display custom tree, and performing node definition on nodes in the data display custom tree, wherein a root node of the data display custom tree at least comprises two child nodes, and each child node is used for managing data of the same data type; the data display custom tree is subjected to node instantiation through target conversion data, the instantiated data display custom tree is obtained, the instantiated data display custom tree is displayed, data with different dimensions and different types can be uniformly managed and stored, tree-shaped hierarchical display can be performed on the data with different dimensions and different types through the instantiated data display custom tree, and therefore flexibility of data management and display is improved.
Fig. 2 is a schematic flowchart of a second embodiment of a data management and display method according to an embodiment of the present invention, and as shown in fig. 2, the data management and display method according to the embodiment may include:
s201, acquiring original industrial data, and distributing a corresponding data type for each acquired original industrial data.
The data types may include: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class, and a structure class.
And S202, acquiring target conversion data corresponding to each original industrial data according to the data type.
S203, constructing a data display custom tree, and performing node definition on nodes in the data display custom tree.
The root node of the data display custom tree may include at least two child nodes, and each child node is used to manage data of the same data type.
The specific implementation manners of S201 to S203 refer to the related descriptions of S101 to S103 in the first embodiment.
S204, creating subclasses corresponding to the data types in the corresponding child nodes according to the data types corresponding to the target conversion data.
For example, after the root node is created, the root node may be named as "model and drawing structure class"; two child nodes are sequentially created under a root node, and the two child nodes can be named as an equipment device and a design drawing; and creating a subclass in each child node, wherein the subclass is one of the eight data types set above, and the child node or the subclass cannot be created in the subclass after the subclass is created. For example, in the child node of the "device", the model class creation subclass is selected and may be named as "pipeline", and similarly, in the child node of the "design drawing", the file class creation subclass is selected and may be named as "pipeline design drawing". At this point, the resulting data exhibits a custom tree as shown in FIG. 3.
S205, extracting target key information meeting the requirements of the data screening conditions from the target conversion data, instantiating the subclasses according to the target key information, and displaying the obtained instantiated data display custom tree.
For example, the target conversion data may include information of a plurality of pipes with different calibers, and when extracting the target key information, information of a pipe with a calibre of 50 may be selected to be extracted. For example, in a child node of an "equipment device", a model class is selected to create a subclass, a data screening condition requires that a pipeline with an aperture of 50 is selected, target key information of the pipeline with the aperture of 50 is extracted from target conversion data, and assuming that three pipelines with apertures of 50 are screened from a plurality of target conversion data, the target key information of the three pipelines can be loaded in three subclasses of the child node of the "equipment device", and each subclass is named: conduit 1, conduit 2 and conduit 3. Meanwhile, in the child node of the "design drawing", a file class creation child is selected, the data screening condition requires that a design drawing of a pipeline with a caliber of 50 is selected, target key information of the pipeline with the caliber of 50 is extracted from target conversion data, and assuming that design drawings of two pipelines with calibers of 50 are screened from a plurality of target conversion data, the target key information of the design drawings of the two pipelines can be loaded in the two children of the "design drawing" child node, and each child is named: pipeline design drawing 1 and pipeline design drawing 2. In addition, the instantiated data presentation custom tree can be named: model and drawing custom trees, at which point the resulting instantiated data shows the custom tree as shown in FIG. 4.
According to the data management and display method provided by the embodiment of the invention, subclasses corresponding to the data types are created in corresponding child nodes according to the data types corresponding to the target conversion data; target key information meeting the requirements of data screening conditions is extracted from target conversion data, subclasses are instantiated according to the target key information, the obtained instantiated data display custom tree is displayed, the data types of the subclasses created in the custom tree and the child nodes can be displayed through user-defined data, and the target key information meeting the requirements of the data screening conditions can be loaded in each subclass by a user, so that the instantiated data display custom tree defined by the user is obtained, unified management, storage and display of data with different dimensions and different types are realized, and the flexibility of data management and display is improved.
As a possible implementation manner, on the basis of the second embodiment, the data management and presentation method may further include: and acquiring the original file associated with the instantiated subclass, and displaying the original file. For example, it is assumed that target key information of the pipeline design drawing 2 is stored in a certain subclass, for example, the target key information may be the type, size, and modification time of the pipeline design drawing 2, and during specific implementation, an original drawing file of the pipeline design drawing 2 may be obtained and displayed, so that a user may view the original file while viewing the hierarchical structure of each subclass.
As a possible implementation manner, on the basis of the second embodiment, after obtaining the instantiated data presentation custom tree, the data management and presentation method may further include: updating the instantiated data display custom tree to obtain an updated instantiated data display custom tree, wherein updating the instantiated data display custom tree may include: and (3) instantiation updating is carried out on the child nodes, specifically, subclasses can be added or deleted in the child nodes, and then the updated instantiation data display custom tree is displayed.
For example, after receiving an instruction for triggering update of the instantiated data display custom tree, the second data screening may be performed according to the previous data screening condition requirement, and if the current screening result is the same as the previous screening result, the instantiated data display custom tree does not need to be updated; if the current screening result is different from the previous screening result, the instantiated data display custom tree needs to be updated, for example, it is assumed that the child node of the "device" obtained last time includes three subclasses: pipeline 1, pipeline 2 and pipeline 3, if only include pipeline 1 and pipeline 2 in the screening result this time, delete pipeline 3, if include pipeline 1, pipeline 2, pipeline 3 and pipeline 4 in the screening result this time, increase pipeline 4. For another example, the user may reserve a preset number of subclass spaces when creating the subclasses of the "device" child nodes, and if the user needs to newly add a subclass to the already created "device" child nodes, the user may add a new subclass to the reserved subclass spaces.
The following describes a data management and presentation method provided by an embodiment of the present invention by taking a specific implementation manner as an example. Fig. 5 is a schematic flowchart of a third embodiment of a data management and display method according to an embodiment of the present invention, and as shown in fig. 5, the data management and display method according to the embodiment may include:
and S501, storing data.
The obtained original data is classified and managed through the basic class libraries, and information required to be carried by each basic class library can be defined, namely, fields of the database table are dynamically set, and object attributes of each field can be set. For example, model data, spatial data, picture content, and document content may be stored in a unified manner into a system specific module. And the data of the multi-source model can be converted into information which can be uniformly identified by the system and stored by a standard data standard.
And S502, managing data.
In specific implementation, the data can be divided into eight data types for management, and different data types correspond to data of different objects. The content required to be stored in each data type can be customized by a user, for example, a model class can store field attribute information related to the model, a file class can store key field information and attachment information of the file, and the hierarchical structure of other data types can be integrated through a structure class, which will be described below by taking the creation of the structure class with the model and the document as an example:
(a) creating root nodes, and defining the names and codes of the root nodes, such as defining the names of the root nodes as 'model and drawing structure class';
(b) creating at least two child nodes, and defining names and codes of the child nodes, wherein the names of the child nodes are defined as 'equipment devices' and 'design drawings';
(c) the child node supports creation of a subclass, the subclass is one of the eight data types set above, and the child node or the subclass cannot be created in the subclass after the subclass is created. The purpose of selecting the class is that the pointer points to the original class information, such as selecting a subclass with a model class creation name of 'pipeline' in a child node of 'equipment device', and selecting a subclass with a file class creation name of 'pipeline design drawing' in a child node of 'design drawing';
(d) and after the structure class is established, instantiating the data through the custom tree.
S503, loading data.
After the content required to be stored in each data type is defined, each subclass can be instantiated in object management. After instantiation is finished, loading and displaying are carried out according to the level and field information defined by the subclass, and after the base class is instantiated, basic standing book information can be loaded and displayed; after the file class is instantiated, the basic information of the file can be loaded and displayed, and uploading of the attachment is supported. The custom tree may load data in a mirror manner. After the user-defined data show the hierarchy information of the custom tree, before loading the data, the data range to be loaded of each hierarchy is determined, namely the data screening condition requirement is determined, and after the data screening condition requirement is stored, the data is obtained from other objects to realize the loading of the custom tree. The following will be explained by taking an instantiated custom tree as an example:
(1) when a custom tree is created, firstly selecting a created structure class, such as the created model and drawing structure class, renaming the model and drawing structure class as a model and drawing custom tree, and generating a root node of the custom tree;
(2) adding child nodes according to the hierarchical requirements of the structure class, for example, adding two child nodes of 'equipment area' and 'design drawing';
(3) adding model examples in the sub-nodes of the 'equipment devices', wherein pipelines with the caliber of 50 can be selected;
(4) adding a file example in a 'design drawing' child node, and selecting a design drawing of a pipeline with the caliber of 50;
(5) after the instance is generated, the data is loaded in a mode of saving the query condition, and if the original instance data changes, the data is synchronously reflected to the instance data of the custom tree.
And S504, displaying data.
In specific implementation, if the data type selected for presentation is a model class, the model data can be presented in a hierarchy through a model tree and can interact with the three-dimensional scene model. The data display step is that after data of all dimensions are integrated according to the requirements of structure classes, the data are displayed through a tree structure, model data, file data, space data and graph document data can be mirrored, examples can be created in the tree structure, the example data are required according to formats of different data types, for example, the file classes can support uploading of attachments, and the form classes can support filling of form information.
Fig. 6 is a schematic structural diagram of a data management and presentation apparatus according to an embodiment of the present invention, and as shown in fig. 6, the data management and presentation apparatus 60 may include:
the obtaining module 610 may be configured to obtain original industrial data, and allocate a corresponding data type to each obtained original industrial data, where the data types include: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class, and a structure class.
The management module 620 may be configured to obtain target conversion data corresponding to each original industrial data according to the data type.
The building module 630 may be configured to build a data display custom tree, and perform node definition on nodes in the data display custom tree, where a root node of the data display custom tree includes at least two child nodes, and each child node is used to manage data of the same data type.
The display module 640 may be configured to perform node instantiation on the data display custom tree through the target conversion data to obtain an instantiated data display custom tree, and display the instantiated data display custom tree.
The data management and display device provided by the embodiment of the invention acquires original industrial data through the acquisition module, and allocates a corresponding data type to each acquired original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class; acquiring target conversion data corresponding to each original industrial data through a management module according to the data type; the data display custom tree is constructed through a construction module, nodes in the data display custom tree are defined, a root node of the data display custom tree at least comprises two sub-nodes, and each sub-node is used for managing data of the same data type; the display module performs node instantiation on the data display custom tree according to the target conversion data to obtain an instantiated data display custom tree, displays the instantiated data display custom tree, can uniformly manage and store data with different dimensions and different types, and can perform tree-shaped hierarchical display on the data with different dimensions and different types by instantiating the data display custom tree, so that the flexibility of data management and display is improved.
Optionally, the presentation module 640 may be specifically configured to create, in a corresponding child node, a subclass corresponding to a data type according to the data type corresponding to the target conversion data; and extracting target key information meeting the requirement of the data screening condition from the target conversion data, and instantiating the subclasses according to the target key information.
Optionally, the displaying module 640 may be further configured to obtain an original file associated with the instantiated subclass, and display the original file.
Optionally, the apparatus may further include: an updating module (not shown in the figure) that can be configured to update the instantiated data display custom tree to obtain an updated instantiated data display custom tree, where the updating module can be specifically configured to perform instantiation updating on the child nodes; and the display module is also used for displaying the updated instantiation data display custom tree.
Optionally, the update module may be specifically configured to add a subclass to or delete a subclass from a child node.
Optionally, the building module 630 may be specifically configured to define names and codes of the root node and each child node.
Optionally, the obtaining module 610 may be specifically configured to, if the original industrial data includes industrial asset information or standing book information, use a data type allocated to the original industrial data as a basic class; or if the original industrial data comprises object model information, the data type distributed to the original industrial data is a model class; or if the original industrial data comprises file information, the data type allocated to the original industrial data is a file type; or if the original industrial data comprises space occupation information, the data type allocated to the original industrial data is a space type; or if the original industrial data comprises data table information, the data type distributed for the original industrial data is a form type; or if the original industrial data comprises industrial process information, the data type distributed for the original industrial data is a task type; or if the original industrial data comprises the associated information among the industrial objects, the data type distributed for the original industrial data is a relation class; alternatively, if the raw industrial data includes hierarchical structure information between industrial objects, the data type assigned to the raw industrial data is a structure class.
In addition, corresponding to the data management and display method provided by the foregoing embodiment, an embodiment of the present invention further provides an electronic device, where the electronic device may include: a memory for storing a program; and the processor is used for implementing all the steps of the data management and presentation method provided by the embodiment of the invention by executing the program stored in the memory.
In addition, corresponding to the data management and display method provided by the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, all the steps of the data management and display method according to the embodiment of the present invention are implemented.
Those skilled in the art will appreciate that all or part of the functions of the methods in the above embodiments may be implemented by hardware, or may be implemented by a computer program. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.
The present invention has been described in terms of specific examples, which are provided to aid in understanding the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (8)

1. A method for managing and displaying data, the method comprising:
acquiring original industrial data, and allocating a corresponding data type to each acquired original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class;
acquiring target conversion data corresponding to each original industrial data according to the data type;
constructing a data display custom tree, and performing node definition on nodes in the data display custom tree, wherein a root node of the data display custom tree at least comprises two sub-nodes, and each sub-node is used for managing data of the same data type;
node instantiation is carried out on the data display custom tree through the target conversion data to obtain an instantiated data display custom tree, and the instantiated data display custom tree is displayed;
the obtaining of the target conversion data corresponding to each original industrial data according to the data type includes: extracting preset extraction content corresponding to the data type from each original industrial data according to the data type, and converting the obtained preset extraction content in a preset data format to obtain target conversion data corresponding to each original industrial data;
the step of instantiating the nodes of the data display custom tree through the target conversion data comprises the following steps:
creating subclasses corresponding to the data types in corresponding child nodes according to the data types corresponding to the target conversion data;
extracting target key information meeting the requirements of data screening conditions from the target conversion data, and instantiating the subclasses according to the target key information; the data screening conditions are user-defined;
the allocating a corresponding data type for each acquired original industrial data includes:
if the original industrial data comprises industrial asset information or standing book information, the data type distributed for the original industrial data is a basic type;
or if the original industrial data comprises object model information, the data type distributed to the original industrial data is a model class;
or if the original industrial data comprises file information, the data type allocated to the original industrial data is a file type;
or if the original industrial data comprises space occupation information, the data type allocated to the original industrial data is a space type;
or if the original industrial data comprises data table information, the data type distributed for the original industrial data is a form type;
or if the original industrial data comprises industrial process information, the data type distributed for the original industrial data is a task type;
or if the original industrial data comprises the associated information among the industrial objects, the data type distributed for the original industrial data is a relation class;
alternatively, if the raw industrial data includes hierarchical structure information between industrial objects, the data type assigned to the raw industrial data is a structure class.
2. The method of claim 1, wherein the method further comprises:
and acquiring an original file associated with the instantiated subclass, and displaying the original file.
3. The method of claim 1, wherein after the obtaining instantiated data exposes a custom tree, the method further comprises:
updating the instantiated data display custom tree to obtain an updated instantiated data display custom tree, wherein updating the instantiated data display custom tree comprises: instantiation updating is carried out on the child nodes;
the displaying the instantiated data display custom tree comprises the following steps:
and displaying the updated instantiated data display custom tree.
4. The method of claim 3, wherein said instantiating an update to the child node comprises:
adding or deleting subclasses in the child nodes.
5. The method of claim 1, wherein the node defining each node in the data presentation custom tree comprises:
defining names and codes of the root node and the child nodes.
6. A data management and presentation device, said device comprising:
the acquisition module is used for acquiring original industrial data and distributing a corresponding data type for each acquired original industrial data, wherein the data types comprise: a base class, a model class, a file class, a space class, a form class, a task class, a relationship class and a structure class;
the management module is used for acquiring target conversion data corresponding to each original industrial data according to the data type;
the data display self-defining tree comprises a building module, a data display self-defining tree module and a data display module, wherein the building module is used for building the data display self-defining tree and performing node definition on nodes in the data display self-defining tree, the root node of the data display self-defining tree at least comprises two sub-nodes, and each sub-node is used for managing data of the same data type;
the display module is used for instantiating nodes of the data display custom tree through the target conversion data to obtain an instantiated data display custom tree and displaying the instantiated data display custom tree;
the obtaining of the target conversion data corresponding to each original industrial data according to the data type includes: extracting preset extraction content corresponding to the data type from each original industrial data according to the data type, and converting the obtained preset extraction content into a preset data format to obtain target conversion data corresponding to each original industrial data;
the step of instantiating the nodes of the data display custom tree through the target conversion data comprises the following steps:
creating subclasses corresponding to the data types in corresponding child nodes according to the data types corresponding to the target conversion data;
extracting target key information meeting the requirements of data screening conditions from the target conversion data, and instantiating the subclasses according to the target key information; the data screening conditions are user-defined;
the allocating a corresponding data type for each acquired original industrial data includes:
if the original industrial data comprises industrial asset information or standing book information, the data type distributed for the original industrial data is a basic type;
or if the original industrial data comprises object model information, the data type distributed to the original industrial data is a model class;
or if the original industrial data comprises file information, the data type allocated to the original industrial data is a file type;
or if the original industrial data comprises space occupation information, the data type allocated to the original industrial data is a space type;
or if the original industrial data comprises data table information, the data type distributed for the original industrial data is a form type;
or if the original industrial data comprises industrial process information, the data type distributed for the original industrial data is a task type;
or if the original industrial data comprises the associated information among the industrial objects, the data type distributed for the original industrial data is a relation class;
alternatively, if the raw industrial data includes hierarchical structure information between industrial objects, the data type assigned to the raw industrial data is a structure class.
7. An electronic device, comprising:
a memory for storing a program;
a processor for implementing the method of any one of claims 1-5 by executing a program stored by the memory.
8. A computer-readable storage medium, characterized in that the medium has stored thereon a program which is executable by a processor to implement the method according to any one of claims 1-5.
CN202111165473.3A 2021-09-30 2021-09-30 Data management and display method, device and equipment Active CN113901127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111165473.3A CN113901127B (en) 2021-09-30 2021-09-30 Data management and display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111165473.3A CN113901127B (en) 2021-09-30 2021-09-30 Data management and display method, device and equipment

Publications (2)

Publication Number Publication Date
CN113901127A CN113901127A (en) 2022-01-07
CN113901127B true CN113901127B (en) 2022-06-24

Family

ID=79190088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111165473.3A Active CN113901127B (en) 2021-09-30 2021-09-30 Data management and display method, device and equipment

Country Status (1)

Country Link
CN (1) CN113901127B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579621A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Data display method and device, electronic equipment and computer storage medium
CN112685379A (en) * 2019-10-18 2021-04-20 北京博超时代软件有限公司 Data organization method, system and device and storage medium
CN112883042A (en) * 2021-02-24 2021-06-01 深圳壹账通智能科技有限公司 Data updating and displaying method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112685379A (en) * 2019-10-18 2021-04-20 北京博超时代软件有限公司 Data organization method, system and device and storage medium
CN112579621A (en) * 2020-12-25 2021-03-30 平安银行股份有限公司 Data display method and device, electronic equipment and computer storage medium
CN112883042A (en) * 2021-02-24 2021-06-01 深圳壹账通智能科技有限公司 Data updating and displaying method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113901127A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
JP6002159B2 (en) Electronic document search method and electronic document search graphical display method
US20150262396A1 (en) Automatic data sharing between multiple graph elements
US6476814B1 (en) Display structure for representation of complex systems
CN108052618B (en) Data management method and device
CN104346149A (en) Descriptive framework used for data visualization
CN102314424A (en) Dimension-based relational graph of files
CN111708801A (en) Report generation method and device and electronic equipment
JP2010160591A (en) Device, method and program for managing spatial data
CN102129449A (en) Dynamic expansion of data calculation scopes
US8225221B2 (en) Method and apparatus for constructing representations of objects and entities
KR20090003527A (en) Method and apparatus for generating map-template, method and apparatus for managing devices using map-template
CN113901127B (en) Data management and display method, device and equipment
US10866831B2 (en) Distributed execution of data processing pipelines
US11768591B2 (en) Dynamic graphical containers
US20040098401A1 (en) Computer system
JP6948492B2 (en) Information management device and file management method
Pattison et al. Information visualisation using composable layouts and visual sets
CN104267967A (en) Method and device for generating program codes of software
Chung et al. An object-oriented approach for handling topology in VPF products
JP2018032113A (en) Information management device and file management method
CN117270854B (en) UGUI-based tree-shaped folding structure tab creation method and system
Boguslawski et al. Database Storage and Transparent Memory Loading of Big Spatial Datasets Implemented with the Dual Half-Edge Data Structure
US20240152661A1 (en) Systems, methods, and media for automatically transforming textual data, representing an image, into p&id components
Pedreira Creating Web-Based GIS Applications Using Automatic Code Generation Techniques
US20050108279A1 (en) Method and dynamic system for the mangement and production of technical documentation in a database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 701, Building 1, Boying Building, No. 18 Qingshuihe Third Road, Qingshuihe Community, Qingshuihe Street, Luohu District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Tuwei Technology Co.,Ltd.

Country or region after: China

Address before: 1101, building 18, China Hisense innovation industry city, No. 11, Ganli 2nd Road, gankeng community, Jihua street, Longgang District, Shenzhen, Guangdong 518000

Patentee before: Shenzhen Tuwei Technology Co.,Ltd.

Country or region before: China