CN114564854B - Operation method and equipment of data node supporting FMEA bidirectional relationship tree - Google Patents

Operation method and equipment of data node supporting FMEA bidirectional relationship tree Download PDF

Info

Publication number
CN114564854B
CN114564854B CN202210464343.8A CN202210464343A CN114564854B CN 114564854 B CN114564854 B CN 114564854B CN 202210464343 A CN202210464343 A CN 202210464343A CN 114564854 B CN114564854 B CN 114564854B
Authority
CN
China
Prior art keywords
data node
target data
tree
relationship
relation
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
CN202210464343.8A
Other languages
Chinese (zh)
Other versions
CN114564854A (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.)
Xiwei Technology Guangzhou Co ltd
Original Assignee
Xiwei Technology Guangzhou 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 Xiwei Technology Guangzhou Co ltd filed Critical Xiwei Technology Guangzhou Co ltd
Priority to CN202210464343.8A priority Critical patent/CN114564854B/en
Publication of CN114564854A publication Critical patent/CN114564854A/en
Application granted granted Critical
Publication of CN114564854B publication Critical patent/CN114564854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application is applicable to the technical field of data processing, and provides an operation method and equipment for data nodes supporting an FMEA bidirectional relationship tree, wherein the method comprises the following steps: receiving an operation instruction initiated by a user for at least one target data node; the target data node is a data node supporting a failure model and a structural relationship tree and a logical relationship tree in the FMEA; and executing the operation corresponding to the operation instruction on the target data node. By adopting the method, the situation that a user switches back and forth between different interfaces is avoided, and the operation of two kinds of relation trees is executed in the same interface, so that the efficiency of developing the physical structure and the functional logic of each part in a product is improved, and the research and development time is shortened.

Description

Operation method and equipment of data node supporting FMEA bidirectional relationship tree
Technical Field
The application belongs to the technical field of data processing, and particularly relates to an operation method and equipment for data nodes supporting an FMEA bidirectional relationship tree.
Background
Failure Mode and impact Analysis (FMEA) is one of the most critical core Analysis means in the field of quality management and is used for performing structure tree Analysis on products or processes. The inclusion relationship on the physical structure or the flow logic can be determined through the FMEA, and the association relationship among parts and units contained in each structure is gradually deconstructed, so that developers can conveniently comb the product structure and the flow logic. How to quickly complete the FMEA analysis of a product or process directly affects the efficiency of development.
The existing FMEA analysis technology generally constructs a relationship tree based on the position relationship between the physical structures of each component of a product, such as a structural relationship tree, or constructs a relationship tree based on the functions realized by each component of the product and the mutual influence relationship, such as a functional relationship tree and a failure relationship tree, if the structural relationship and the functional relationship of a certain product need to be determined, the interfaces of a plurality of relationship trees need to be opened, and switching is performed between different interfaces, so that the efficiency of developing the physical structures and the functional logic of each component in the product by a user is greatly reduced, and the time consumption of product development is further prolonged.
Disclosure of Invention
The embodiment of the application provides an operation method, an operation device, electronic equipment and a storage medium for supporting data nodes of an FMEA (failure mode and effects analysis) bidirectional relationship tree, and aims to solve the problems that in the existing FMEA analysis technology, if the structural relationship and the functional relationship of a certain product need to be determined, the interfaces of a plurality of relationship trees need to be opened, switching is carried out between different interfaces, the efficiency of developing the physical structures and the functional logics of all parts in the product by a user is greatly reduced, and the time consumption of product research and development is further prolonged.
In a first aspect, an embodiment of the present application provides an operation method for a data node based on a bidirectional relationship tree supporting FMEA, including:
receiving an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis;
and executing the operation corresponding to the operation instruction on the target data node.
In a possible implementation manner of the first aspect, before the receiving, a user-initiated operation instruction for at least one target data node, the method further includes:
displaying a plurality of target data nodes based on the first relationship tree; the first relationship tree is the structural relationship tree or the logical relationship tree;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving a relation tree switching instruction initiated by a user for the plurality of target data nodes;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
determining hierarchical information of the plurality of target data nodes with respect to a second relational tree, respectively; the second relationship tree is a different relationship tree than the first relationship tree;
switching the plurality of target data nodes to be displayed based on the second relation tree based on the hierarchy information.
In a possible implementation manner of the first aspect, the target data node includes a hierarchy dimension parameter;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving a viewing instruction initiated by a user for the target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
determining an associated data node having an association relation with the target data node according to the data identifier recorded in the hierarchical dimensional parameter;
and displaying the associated data nodes, and generating an operable menu corresponding to the data attribute of the target data node.
In a possible implementation manner of the first aspect, the target data node includes: a structural data node; the structure data node comprises at least one sub-structure data node;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving a query instruction initiated by a user for determining the relationship chain of the structural data nodes;
the executing the operation corresponding to the operation instruction on the target data node comprises:
determining a first relational feature of the first data identifier and a second data identifier of the sub-structure data node subordinate to the structure data node based on the first data identifier of the structure data node specified by the query instruction;
determining a second relational feature of the sub-structure data node based on the second data identification;
and generating a relation chain of the structure data node according to the first relation characteristic and the second relation characteristic.
In a possible implementation manner of the first aspect, before the receiving, the user-initiated operation instruction for the at least one target data node, the method further includes
Displaying the third relation tree in the first display area;
displaying a fourth relational tree in the second display area in response to the relational tree adding instruction; the first display area and the second display area are positioned in the same operation interface;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
responding to a copying instruction of a user for a reference data node in the fourth relational tree in the second display area, and acquiring a data attribute of the reference data node;
receiving a node adding instruction of a user for a target position designated in the third relation tree in the first display area;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
and creating the target data node at the target position of the third relation tree, and assigning the data attribute of the reference data node to the target data node.
In a possible implementation manner of the first aspect, before the receiving an operation instruction initiated by a user for at least one target data node, the method further includes:
displaying a fifth relational tree containing the target data node in a third display area, and displaying a sixth relational tree about the target data node in a fourth display area; the third display area and the fourth display area are positioned in the same operation interface;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving an editing operation of a user on the target data node in the third display area or the fourth display area;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
adjusting the fifth relational tree of the target data node within the third display area and the sixth relational tree within the fourth display area based on the editing operation.
In a possible implementation manner of the first aspect, after the adjusting the fifth relationship tree of the target data node in the third display area and the sixth relationship tree in the fourth display area based on the editing operation, the method further includes:
responding to a data selection operation initiated by a user in any display area, and marking a positioning data node specified by the data selection operation in any display area; the any display area is the third display area or the fourth display area;
according to the third data identification of the positioning data node, determining the hierarchical position of the positioning data node in other display areas; the other display area is a display area different from the any display area;
and according to the hierarchical position, expanding a hierarchical data group in which the positioning data node is positioned in other display areas, and marking the positioning data node.
In a possible implementation manner of the first aspect, the receiving a user-initiated operation instruction for at least one target data node includes:
receiving a node moving instruction initiated by a user for the target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
moving the target data node from an initial position to a target position according to the moving direction and the moving distance of the moving instruction, and adjusting a first position field of the target data node in an FMEA (failure mode and effects analysis) relation tree and a second position field of an associated data node; and the associated data nodes are other data nodes positioned between the initial position and the target position in the FMEA relation tree.
In a possible implementation manner of the first aspect, the receiving a user-initiated operation instruction for at least one target data node includes:
receiving a relation adjustment instruction which is initiated by the user and is dragged from a first target data node to a second target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises:
if the first target data node and the second target data node have an association relationship, canceling the association relationship between the first target data node and the second target data node, and removing the association relationship out of a relational database;
if the first target data node and the second target data node have no incidence relation, establishing the incidence relation between the first target data node and the second target data node, and adding the incidence relation into the relation database;
determining a first display mode corresponding to the data type of the first target data node, and displaying the second target data node in the first display mode in the display area of the first target data node; and/or
And determining a second display mode corresponding to the data type of the second target data node, and displaying the first target data node in the second display mode in the display area of the second target data node.
In a possible implementation manner of the first aspect, if there is no association between the first target data node and the second target data node, establishing an association between the first target data node and the second target data node, and adding the association to the relationship database includes:
acquiring a first relation chain of the first target data node and acquiring a second relation chain of the second target data node;
connecting the first relation chain and the second relation chain based on the incidence relation to obtain a combined relation chain;
if the merged relation chain is a non-annular relation chain, establishing an incidence relation between the first target data node and the second target data node, and adding the incidence relation into the relation database;
and if the combined relation chain is a ring relation chain, generating prompt information of abnormal relation.
In a second aspect, an embodiment of the present application provides an operating apparatus based on a data node supporting an FMEA bidirectional relationship tree, including:
the operation instruction receiving unit is used for receiving an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis;
and the operation instruction response unit is used for executing the operation corresponding to the operation instruction on the target data node.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the method according to any one of the above first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method according to any one of the above first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a server, causes the server to perform the method of any one of the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that: by creating target data nodes supporting a bidirectional relationship tree, namely, each target data node supports data nodes operated by a structural relationship tree and a logical relationship tree, and comprises parameters required by generating the two relationship trees, when FMEA (failure mode and effects analysis) is required subsequently, not only can the operation of a single type of relationship tree be realized, but also the operation among different types of relationship trees can be realized, the condition that a user needs to develop different operation interfaces for the different types of relationship trees is avoided, the condition that the user switches back and forth among different interfaces, but the operation of the two types of relationship trees is executed in the same interface is avoided, the efficiency of developing the physical structures and the functional logics of all parts in a product is improved, and the research and development duration is shortened.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is an implementation schematic diagram of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application;
fig. 2 is a schematic implementation diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a first embodiment of the present application;
FIG. 3 is a schematic diagram of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to a second embodiment of the present application;
fig. 4 is a schematic implementation diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a third embodiment of the present application;
FIG. 5 is a schematic diagram illustrating the generation of a relationship chain provided by an embodiment of the present application;
fig. 6 is an implementation schematic diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a fourth embodiment of the present application;
fig. 7 is a schematic implementation diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a fifth embodiment of the present application;
fig. 8(a) is an implementation schematic diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a sixth embodiment of the present application;
fig. 8(b) is a schematic diagram of a movement of a data node according to an embodiment of the present application;
fig. 9 is a schematic implementation diagram of an operation method based on a data node supporting a bidirectional relationship tree according to a seventh embodiment of the present application;
fig. 10 is a schematic diagram illustrating establishment of an association relationship according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an operating device based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that 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 present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
The operation method for the data node supporting the bidirectional relationship tree provided by the embodiment of the application can be applied to electronic devices which can operate the data node supporting the bidirectional relationship tree, such as smart phones, servers, tablet computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, servers and the like. The embodiment of the application does not set any limit to the specific type of the electronic device.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an implementation of an operation method for a data node based on a supporting FMEA bidirectional relationship tree according to an embodiment of the present application, where the method includes the following steps:
in S101, receiving an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis.
In S102, an operation corresponding to the operation instruction is performed on the target data node.
In this embodiment, before the electronic device operates the target data node, an FMEA including the target data node may be created, and a relationship tree corresponding to the FMEA may be constructed, where a specific implementation process may be as follows:
step 1: the method comprises the steps of creating an FMEA, selecting a created FMEA type (such as DFMEA, PFMEA, FMEA-MSA, Software-FMEA, Equipment-FMEA and the like) when the FMEA is created, and entering a type of a relation tree created by the FMEA, basic data related to an item name and other FMEA types and the like in advance after the FMEA type is selected and completed. In the FMEA created by the present application, each data node supports a bidirectional relationship tree, so that the specified relationship tree type is a relationship tree mainly displayed during preview, and view switching of the relationship tree can be freely performed in a subsequent operation process.
Step 2: and creating a data node in the interface of the relation tree type based on the selection, wherein the data node can be a data node corresponding to a plurality of systems, structures, modules, parts and the like contained in the developed product, and can also be a data node related to logical attributes such as functions, failures and the like corresponding to the systems, the structures, the modules and the parts.
And step 3: and establishing an association relationship among the created data nodes, thereby generating a corresponding relationship tree about the product. It should be noted that, a user can establish a relationship between different types of relationship trees by switching different relationship tree views, such as an association relationship between each component and part in a structural relationship tree; then, switching to a functional relation tree, adding corresponding functions for different components and parts, and establishing an association relation between the components and the parts on a functional dimension; and then switching to a failure relation tree, adding corresponding failures for different components and parts, and establishing an association relation between the components and the parts on a failure dimension, for example, if the component A fails to affect the component B, the two components have a failure association relation.
And 4, step 4: risk analysis is performed on the established FMEA.
In this embodiment, the user may operate the target data node on the created FMEA through the electronic device. Wherein, the operation comprises the following types:
type 1, lock/unlock: the default states of the data nodes created in the FMEA are all locked states, that is, the data nodes are in an inoperable state, and a user can adjust the attributes of the data nodes by unlocking the data nodes (such as adding structures, functions, failures, requirements and the like).
Type 2, replication: data nodes of the FMEA operation interface can be copied to corresponding structures and pasted, and under the mode that a plurality of FMEAs are opened, the data nodes in different FMEAs can also be copied among files in a crossing mode.
Type 3, association: the data nodes of the structure type of the FMEA can be associated to other FMEAs from other FMEA files in an association mode; if the data node is a public type data node, modifying in one FMEA, the modifying operation will be synchronously updated to other related FMEAs, if other FMEAs are in effect, prompt information will be generated to prompt a user whether the modification of the data node is synchronous to the FMEA, if a synchronization confirmation instruction is received, data synchronization is automatically completed, and the related data nodes are updated.
Type 4, inherit: when the FMEA is created, different types of FMEAs (platform FMEA, component FMEA and common FEMEA) and different types of FMEAs (PFMEA, DFMEA and the like) can be directly created, the inheritance is that optimization and adjustment are carried out after inheritance on the basis of the existing FMEA, and the premise of inheritance is that the FMEA of the platform type must be selected for inheritance, all nodes of the inherited FMEA are locked, and the FMEA can be adjusted and modified after unlocking.
Type 5, positioning: the positioning is to divide a plurality of different display areas in an operation interface of the FMEA, each display area can correspond to one type of relationship tree, after a data node in one display area is selected, automatic positioning can be performed in the relationship trees of other display areas, and the same data node in the relationship trees of other display areas can be automatically expanded.
Type 6, search: when the FMEA operation interface needs to quickly inquire whether a certain data node is in the FMEA or determine the position of the data node in the FMEA, the identification of the data node can be input through a search bar to complete searching.
Type 7, move (move up and move down): the data nodes of the FMEA tree operation interface can move, move upwards to be exchanged with the previous data node and move downwards to be exchanged with the next data node, the nodes of the FMEA tree are distinguished (structure, characteristic, function, requirement and failure), the display sequence is structure, structure hanging (characteristic, function and substructure), characteristic hanging (failure), function hanging (requirement and failure) and requirement hanging (failure), and therefore the movement needs to judge whether the movement can be continued or downwards according to the display position.
Type 8, preview: the toolbar is provided with a preview switch which can control whether other display areas are displayed or not, the switch is turned on, and when the left FMEA tree selects a structure, the display area on the right side can display a substructure, a function and failure data corresponding to the structure.
Type 9, collapsed and expanded: each data node can be hung with a plurality of different types of attributes and other data nodes, and can be expanded and contracted to determine whether the structure or the function or the failure needs to be displayed.
Type 10, interconnection: the FMEA operation page can click the structure to carry out mounting association on FMEA data shared by other enterprises, the interconnected data only can cancel interconnection and check data and relations, and new deletion operation cannot be carried out.
In this embodiment, the electronic device may perform adjustment on the target data node according to an operation initiated by a user. The operation includes an operation on a single type of relationship tree, and may also be an operation between different types of relationship trees. Because the target data node is a data node supporting different types of relationship trees, parameters corresponding to the different types of relationship trees are recorded, so that the different types of relationship trees can be displayed according to display requirements, and interactive operation among the different types of relationship trees is realized.
It can be seen from the above that, in the operation method for a data node based on a support bidirectional relationship tree provided in the embodiment of the present application, by creating a target data node supporting the bidirectional relationship tree, that is, a data node in which each target data node supports operations of a structural relationship tree and a logical relationship tree, includes parameters required when two types of relationship trees are generated, and when FMEA analysis is subsequently required, not only can operations of a single type of relationship tree be implemented, but also operations between different types of relationship trees can be implemented, thereby avoiding that a user needs to develop different operation interfaces for different types of relationship trees, avoiding that the user performs switching back and forth between different interfaces, but also performs operations of two types of relationship trees in the same interface, improving the efficiency of developing physical structures and functional logics of components in a product, and shortening the research and development time.
Specifically, the operation method provided by the present embodiment may include the following various embodiments according to different operations.
The first embodiment is as follows: and switching the display of the relation tree.
Fig. 2 shows a flowchart of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 2, the operation method based on the data node supporting the bidirectional relationship tree includes: S201-S204, which are described in detail as follows:
before the receiving of the user-initiated operation instruction for the at least one target data node, further comprising:
in S201, displaying a plurality of target data nodes based on a first relationship tree; the first relationship tree is the structural relationship tree or the logical relationship tree.
In this embodiment, when the electronic device opens the FMEA or creates the FMEA, the node (i.e., the target data node) in the product may be displayed in any relationship tree manner, where the relationship tree during the display is the first relationship tree. The first relationship tree may be a structural relationship tree (i.e., a horizontal relationship tree) or a logical relationship tree (i.e., a vertical relationship tree), wherein the logical relationship tree may further include different types, such as a functional relationship tree of a functional relationship or a failure relationship tree of a failure relationship.
In a possible implementation manner, when a user opens the FMEA to display the first relationship tree, the electronic device performs recursive circulation through the provided dimension parameters corresponding to the first relationship tree in the target data node, converts the dimension parameters into hierarchical data (including basic information of the node, a relationship data list and a sub-node list), and binds the hierarchical data to the first relationship tree, thereby generating the first relationship tree.
The receiving of the operation instruction initiated by the user for the at least one target data node comprises:
in S202, a user-initiated relation tree switching instruction for the plurality of target data nodes is received.
The executing the operation corresponding to the operation instruction on the target data node comprises:
in S203, determining hierarchical information of the plurality of target data nodes with respect to a second relational tree, respectively; the second relationship tree is a different relationship tree than the first relationship tree.
In S204, the plurality of target data nodes are switched to be displayed based on the second relationship tree based on the hierarchy information.
In this embodiment, on the basis of a relationship tree, the electronic device needs to know the association relationship of each target data node in other dimensions, and may initiate a relationship tree switching instruction to change the FMEA relationship tree displayed in the current display area. For example, the electronic device displays each target data node in a horizontal relationship tree to display an association relationship of each target data node in a physical location dimension; when a user initiates a relation tree switching instruction, the electronic device may perform recursive circulation according to the corresponding dimension parameters of the second relation tree, convert the dimension parameters into hierarchical data (including node basic information, a relation data list and a child node list), bind the hierarchical data to the first relation tree, and bind other unnecessary information to the second relation tree without loading and displaying the unconverted information. The second relational tree is another relational tree different from the first relational tree, for example, if the first relational tree is a transverse relational tree, the second relational tree is a longitudinal relational tree; the first relationship tree is a longitudinal relationship tree and the second relationship tree is a transverse relationship tree.
In the embodiment of the application, a user can check different types of relationship trees in the same interface by clicking the relationship tree switching button, so that the operation efficiency of the user is improved, and the physical structure relationship and the logical relationship, such as the functional relationship and the failure relationship, of different parts and parts in a product are known.
Example two: load operation of associated data node
Fig. 3 shows a flowchart of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 3, the method for operating a data node based on a support bi-directional relationship tree includes: S301-S303, the details are as follows:
the target data node comprises a hierarchy dimension parameter;
the receiving of an operation instruction initiated by a user for at least one target data node includes:
in S301, a user-initiated viewing instruction for the target data node is received.
In this embodiment, during the process of displaying the target data node in one type of relationship tree, the user may determine the relationship condition of the target data node in other types of relationship trees by looking at the instruction. For example, the electronic device presents the target data nodes in the form of a structural relationship tree, and determines the association relationship between the target data nodes in the structural dimension. If the user needs to determine that the association relationship with the functional dimension of the target data node exists, the association relationship can be completed by viewing the instruction.
The executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
in S302, an associated data node having an association relationship with the target data node is determined according to the data identifier recorded in the hierarchical dimensional parameter.
In S303, the associated data node is displayed, and an operable menu corresponding to the data attribute of the target data node is generated.
In this embodiment, data bound on a vertical tree is hierarchical data, the hierarchical data is recursively converted into the hierarchical data by analyzing one-dimensional data, additional attributes such as associated nodes, intermediate nodes, interconnection nodes and inheritance nodes need to be added to the node data through a relationship list of the data in the conversion process, and because the vertical tree is expanded through research and development, a tree component can support displaying of different icons and different node styles according to the attributes of different nodes, including only reading of interconnection data, only viewing in a right-click menu, unlocking of inheritance data into a locked state, only viewing and unlocking in the right-click menu, and processing of different displayed contents of data with different attributes and states and different menus of operation through a judgment and loading mode.
For example, for a data node of a structure type, the menu subordinate to the data node may contain information such as function, failure, and size; for data nodes of function type, the menu of the subordinate can contain data nodes of failure and other functions with incidence relation. Therefore, the menu displayed by a specific data node is determined according to the attribute of the data node.
In the embodiment of the application, the hierarchical relationship of a certain target data node in other relationship trees can be quickly checked through a query instruction, the efficiency of checking the association relationship can be improved, in a partial implementation scene, a user can move a mouse to the target data node and stay for a preset time length, then a corresponding display menu can be automatically popped up, or the user right clicks the target data node, and a corresponding menu can also be displayed, wherein the associated data node associated with the target data node is displayed in the menu.
Example three: query operation of relationship chain
Fig. 4 shows a flowchart of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 4, the operation method based on the data node supporting the bidirectional relationship tree includes: S401-S404, specifically described as follows:
the target data node comprises: a structural data node; the structure data node comprises at least one sub-structure data node;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
in S401, a user-initiated query instruction for determining the relationship chain of the structural data nodes is received.
In this embodiment, the query request is specifically used to determine a failure relationship chain or a function relationship chain of each structural data node in the FMEA. In the FMEA file, each data node is arranged in the form of a structural relationship tree, and in this case, the electronic device may initiate an inquiry operation, such as clicking a relationship inquiry button in an operation interface, in the case that a failure relationship or a functional relationship needs to be determined.
The executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
in S402, based on the first data identifier of the structure data node specified by the query instruction, a first relationship characteristic of the first data identifier and a second data identifier of the sub-structure data node subordinate to the structure data node are determined.
In S403, a second relational feature of the sub-structure data node is determined based on the second data identity.
In S404, a relationship chain of the structure data node is generated according to the first relationship characteristic and the second relationship characteristic.
In this embodiment, the electronic device may determine a first data identifier of each structural data node in the current FMEA, query the function and the characteristic of the structural data node in the database through the first data identifier, and store the queried function, characteristic, and/or failure in an array set (where a function identifier corresponding to the function of the structural data node, a characteristic identifier corresponding to the characteristic, and a failure identifier corresponding to the failure are stored in the array set), that is, the first relationship feature may include a set of one or more of the function, the characteristic, and the failure. The electronic device can also determine the sub-structure data nodes associated with the structure data node, query the sub-structure data nodes associated with the current structure data node and the second relationship features (i.e. functions, characteristics or failures) corresponding to the sub-structure data nodes in a recursive circulation manner, then place the query data nodes into the array, continue to circulate the newly added sub-structure data nodes in the array subsequently, and query whether the sub-structure data nodes are associated with the sub-structure data nodes of the next level, if so, continue to determine the corresponding second relationship features in the manner, and so on, so as to generate the corresponding relationship chains, such as function relationship chains, characteristic relationship chains or failure relationship chains.
Exemplarily, fig. 5 illustrates a schematic diagram of generating a relationship chain according to an embodiment of the present application. As shown in fig. 5 (a), the FMEA includes a plurality of different structural data nodes, where corresponding sub-structural data nodes may be associated with different structural data nodes, and each of the structural data nodes and the sub-structural data nodes is configured with a corresponding function, when a user needs to generate a functional relationship chain, the electronic device may acquire a function corresponding to the structural data node, then acquire a function corresponding to the sub-structural data node, and generate a functional relationship chain corresponding to the sub-structural data node according to a hierarchical relationship therebetween, as shown in fig. 5 (b), where the hierarchical relationship of the functional relationship chain is consistent with the hierarchical relationship of the structural relationship chain.
In the embodiment of the application, through query operation, when the incidence relation between the structures in the structure dimension is displayed, the corresponding relation chains in other dimensions can be generated, the conversion of the relation chains is realized, and the efficiency of data query is improved.
Example four: cross-region replication of data nodes between different FMEAs
Fig. 6 shows a flowchart of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 6, the method for operating a data node based on a support bi-directional relationship tree includes: S601-S605 are described in detail as follows:
before the receiving of the user-initiated operation instruction for at least one target data node, the method further comprises
In S601, the third relation tree is displayed in the first display area.
In S602, in response to the relationship tree addition instruction, displaying a fourth relationship tree in the second display area; the first display area and the second display area are in the same operation interface.
In this embodiment, the operation interface generated by the electronic device may include different display regions, one display region may correspond to one relationship tree of the FMEA, one relationship tree of the FMEA may be displayed in the first display region, and another relationship tree may be displayed in the other display region. It should be noted that different relationship trees in different display regions may correspond to the same FMEA or different FMEAs, which is not limited herein.
The receiving of the operation instruction initiated by the user for the at least one target data node comprises:
in S603, in response to a copy instruction of a user for a reference data node in the fourth relational tree in the second display area, a data attribute of the reference data node is acquired.
In S604, a node adding instruction of the user to the target position specified in the third relation tree in the first display area is received.
In this embodiment, the electronic device may select a reference data node that needs to be responsible in the fourth relationship tree displayed in the second display area, and initiate a copy instruction by clicking a copy control after the selection, the electronic device may obtain a data attribute corresponding to the reference data node, where the data attribute includes a type of the data node (e.g., different types of data nodes such as structure, function, and failure), an association relationship of the reference data node, and the like, and the electronic device obtains the data attribute that needs to be copied from the database through a back-end programming through an http protocol and loads the data attribute to the front-end. After the reference data node to be copied is selected, a position to be pasted can be selected in the first display area, and a node adding instruction is initiated at the corresponding position.
It should be noted that, if the target location already has an existing data node, the data attribute of the reference data node may be assigned to the existing data node, and if the target location does not have a data node, a new data node may be created.
The executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
in S605, the target data node is created at the target position of the third relation tree, and the data attribute of the reference data node is assigned to the target data node.
In this embodiment, the electronic device sends the cached data attribute to the target data node created in the first display area, the first display area notifies the third relational tree to respond to the adding operation, converts and analyzes the obtained data attribute through an http protocol, assigns the data attribute to the target data node created by the third relational tree, and the first display area is synchronously mounted and refreshed to display the added target data node.
In the embodiment of the application, the plurality of display areas are opened to display different relation trees, and any data node is copied to another relation tree from other relation trees, so that interaction among different relation trees is realized, and the construction efficiency of the relation trees is improved.
Example five: synchronous loading and positioning of data nodes among multiple relational trees
Fig. 7 shows a flowchart of an implementation of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 7, the operation method based on the data node supporting the bidirectional relationship tree includes: S701-S706 are specifically described as follows:
before the receiving of the user-initiated operation instruction for the at least one target data node, further comprising:
in S701, displaying a fifth relational tree including the target data node in a third display area, and displaying a sixth relational tree about the target data node in a fourth display area; the third display area and the fourth display area are located in the same operation interface.
In this embodiment, the electronic device may display different relationship trees of the same FMEA in the same operation interface. The fifth relationship tree may include a global relationship tree of the target data node, and the sixth relationship tree may be a local relationship tree about the target data node, that is, a relationship chain determining that an association relationship exists with the target data node.
The receiving of the operation instruction initiated by the user for the at least one target data node comprises:
in S702, an editing operation of the target data node in the third display area or the fourth display area by a user is received.
The executing the operation corresponding to the operation instruction on the target data node comprises:
in S703, the fifth relation tree of the target data node in the third display area and the sixth relation tree in the fourth display area are adjusted based on the editing operation.
In this embodiment, after a user edits a target data node in a certain display area, the edited content is synchronized to the relationship trees of other display areas, so as to maintain the consistency of the states of the target data node in different relationship trees. The specific implementation process is as follows: and storing the edited data attribute in a cache in each editing operation, and synchronously binding the edited data attribute to the relationship trees of other display areas by using a preset rendering mechanism, wherein the editing comprises newly building data nodes, modifying the data nodes, deleting the data nodes and the like.
In a possible implementation manner, if two or more display areas are included in the display interface, each display area corresponds to one relationship tree. That is, a display interface can be opened at two or more sides, and different sides correspond to a relationship tree. It should be noted that the electronic device may adjust the display size of the data node, and the number and size of the data nodes included in the same screen according to the display area of each display region (of course, the size of the display region may be adjusted according to the actual requirement of the user, and the size of the display region may be adjusted to increase or decrease the display size by dragging the length of the distance), so as to satisfy the simultaneous preview of the multiple relation trees of the user.
In the embodiment of the application, the editing operation of the data nodes in any display area is synchronously updated to other display areas which are simultaneously displayed, so that the consistency of the states of the data nodes can be realized.
Further, as another embodiment of the present application, after S701, the method further includes:
in S704, in response to a data selection operation initiated by a user in any relationship tree, marking a positioning data node specified by the data selection operation in any display area; the any relationship tree is the fifth relationship tree or the sixth relationship tree.
In S705, according to the third data identifier of the positioning data node, determining a hierarchical position of the positioning data node in another display area; the other display area is a display area different from the arbitrary display area.
In S706, according to the hierarchical position, the hierarchical data group in which the positioning data node is located is expanded in another display area, and the positioning data node is marked.
In this embodiment, on an interface where a plurality of display regions display different relationship trees, the relationship trees displayed in each different display region may belong to the same product, that is, the association relationship of the product under different dimensions is displayed, for example, one display region displays a structural relationship tree, another display region displays a functional relationship tree, and another display region displays a failure relationship tree, that is, the data nodes in different display regions may correspond to the same entity, that is, the sixth relationship tree and the fifth relationship tree may be a functional relationship tree or a failure relationship tree, or may be a transverse relationship tree or a longitudinal relationship tree. In some display regions, which may be used to focus on the association relationship of a certain component or part, some of the sub-structures or attributes are hidden (i.e., folded), resulting in some of the data nodes being visible in one display region and hidden in another display region. In this case, the user can click a target data node in any display area, the electronic device can mark the target data node, and according to the data identifier (namely, the third data identifier) of the target data node, determine corresponding data nodes (namely, the positioning data nodes) in other display areas, and determine the level position of the positioning data node, expand corresponding nodes according to the level position, so as to display the level where the positioning data node is located, and mark the positioning data node in the same manner, namely, the positioning data nodes in other display areas are also in a selected state, so that the quick positioning of the data nodes corresponding to the same entity and located in different display areas can be realized, the user is prevented from searching for the data nodes in a plurality of different relation trees, and the operation efficiency is improved.
Example six: movement of data nodes
Fig. 8(a) shows an implementation flowchart of an operation method based on a data node supporting a bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 8(a), the method for operating a data node based on a supporting bidirectional relationship tree includes: S801-S802, which are described in detail as follows:
the receiving of an operation instruction initiated by a user for at least one target data node includes:
in S801, receiving a node movement instruction for the target data node initiated by a user;
the executing the operation corresponding to the operation instruction on the target data node comprises:
in S802, according to the moving direction and the moving distance of the moving instruction, moving the target data node from an initial position to a target position, and adjusting a first position field of the target data node in the FMEA relationship tree and a second position field of the associated data node; and the associated data nodes are other data nodes positioned between the initial position and the target position in the FMEA relation tree.
In this embodiment, the electronic device may receive a node moving instruction initiated by a user, move a target data node up and down, and adjust a location field of an associated data node on a moving path according to a moving distance and a moving direction. The implementation process is as follows: in a computational logic method for sending a node movement instruction of data node movement (up and down movement) to a back end, the back end obtains a data attribute of a target data node to be moved, the data attribute comprises a first position field of the target data node, the first position field is adjusted according to the direction and distance of the movement, for example, if a user clicks a down and up button, the first position field +1 is adjusted, and if the user clicks two down buttons, the first position field-2 is adjusted, and so on. Correspondingly, other data nodes which exchange positions with the target data node in the moving direction correspondingly adjust the corresponding field positions, for example, if the target data node moves upwards, the second position fields of all relevant data nodes passing through the upwards moving process are all-1, namely move downwards by one unit; on the contrary, if the target data node moves down, the second fields of all the associated data nodes passed by the moving down process are all +1, that is, move up by one unit.
Exemplarily, fig. 8(b) shows a schematic moving diagram of a data node provided in an embodiment of the present application. Referring to fig. 8(b), the initial position corresponding to the carbon brush of the data node is node 5, and at this time, if the user initiates a removal operation on the carbon brush of the data node, the positions corresponding to all subsequent nodes of the carbon brush of the data node are shifted forward by one bit, for example, the battery of the data node is changed from node 6 of the initial position to node 5. If the carbon brush of the data node is moved forward by one bit, that is, the carbon brush is changed from the node 5 to the node 4, the node identifiers of all the data nodes passing through the carbon brush in the forward moving process need to be adjusted, and if the data nodes pass through the original data node base, the data node base is changed from the node 4 to the node 5.
If a data node is inserted, for example, a data node switch is inserted between a data node base and a data node carbon brush, the position fields of all data nodes after the insertion position are added by 1. If the carbon brush is changed to node 6, the battery is changed to node 7.
Example seven: creation and removal of associations between data nodes
Fig. 9 is a flowchart illustrating an implementation of a method for operating a data node based on a supporting bidirectional relationship tree according to an embodiment of the present application. Referring to fig. 9, the method for operating a data node based on a supporting bidirectional relationship tree includes: S901-S905, the details are as follows:
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
in S901, a relationship adjustment instruction dragged from a first target data node to a second target data node initiated by the user is received.
In this embodiment, a user may establish or delete an association relationship between data nodes in a dragging manner, that is, initiate a dragging operation from a first target data node to a second target data node, and then recognize that a relationship adjustment instruction is generated. If the first target data node and the second target data node establish a relationship, executing the operation of S902; if the first target data node and the second target data node do not have an association relationship, the operation of S903 is executed.
It should be noted that, if the electronic device has multiple display areas, and different display areas correspond to different relationship trees, for example, in a double-open or multi-open model, the first target data node and the second target data node may be data nodes in different display areas, and the data nodes located in different relationship trees may also establish an association relationship in a dragging manner. In this case, in the process of dragging, the electronic device may move the position to automatically calculate a closest data node (as an undetermined second target data node) in another display area, create a connection line between the first target data node and the undetermined second data node, update the undetermined second target data node according to the position dragged and moved by the user, and adjust the association relationship between the two target data nodes until the user finishes dragging.
The executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
in S902, if the first target data node and the second target data node have an association relationship, canceling the association relationship between the first target data node and the second target data node, and removing the association relationship from the relationship database.
In this embodiment, if an association relationship has been established between two target data nodes, the drag operation identifies that the association relationship between the two target data nodes needs to be cancelled, and removes the association relationship out of the relational database.
In S903, if there is no association between the first target data node and the second target data node, establishing an association between the first target data node and the second target data node, and adding the association to the relationship database.
In S904, a first display mode corresponding to the data type of the first target data node is determined, and the second target data node is displayed in the display area of the first target data node in the first display mode; and/or
In S905, a second display mode corresponding to the data type of the second target data node is determined, and the first target data node is displayed in the display area of the second target data node in the second display mode.
In this embodiment, when there is no association between two target data nodes, the electronic device may establish an association between the two target data nodes, add the association to the relationship database, and determine a display mode of the association according to the type of the target data node.
Further, as another embodiment of the present application, S903 may specifically include the following steps:
in S903.1, a first relationship chain of the first target data node is obtained, and a second relationship chain of the second target data node is obtained.
In this embodiment, because the association relationship often has unidirectional directivity, that is, the component a may affect the component B, and if the component B affects the component a again, the source of the influence relationship cannot be determined, so as to cause situations such as confusion of functional analysis or confusion of failure analysis, when the association relationship is established, the electronic device may determine whether the association relationship is legal or not, determine whether the association relationship may cause a relationship chain to form a ring, and based on this, the electronic device may obtain a first relationship chain of the first target data node and a second relationship chain of the second target data node. If the first target data node and/or the second target data node is not associated with other data nodes, the relationship chain may be a single node.
In S903.2, connecting the first relation chain and the second relation chain based on the association relationship to obtain a combined relation chain;
in S903.3, if the merged relationship chain is a non-circular relationship chain, an association relationship between the first target data node and the second target data node is established, and the association relationship is added to the relationship database.
In S903.4, if the merged relationship chain is a circular relationship chain, a prompt message of the association anomaly is generated.
In this embodiment, the electronic device may connect the first relationship chain and the second relationship chain according to the association relationship between the first target data node and the second target data node to obtain a corresponding merged relationship chain, and if the merged relationship chain has a ring, it indicates that the association relationship established this time is illegal, and at this time, prompt information about association abnormality may be generated, and the association relationship is not added to the relationship database. If the merged relationship chain does not form a ring, identifying that the established association relationship is legal, establishing the association relationship between the first target data node and the second target data node, and adding the association relationship into the relationship database.
Exemplarily, fig. 10 shows a schematic diagram of establishing an association relationship provided in an embodiment of the present application. Wherein, (a) in fig. 10 is a relationship chain of an a data node (i.e., a first target data node), and (B) in fig. 10 is a relationship chain of a B data node (i.e., a second target data node), if an association relationship between the a data node and the B data node is established, a corresponding merged relationship chain is as shown in (c) in fig. 10, as can be seen from (c) in fig. 10, if the merged relationship chain is a ring, then the merged relationship is identified as being illegal, and the operation of S903.4 is executed.
In the embodiment of the application, when the incidence relation is established through dragging, whether the relation chain is looped is identified, the user can conveniently and quickly determine the abnormal incidence relation, and the accuracy of establishing the incidence relation is improved.
Fig. 11 is a block diagram illustrating a structure of an operation apparatus based on a data node supporting a bidirectional relationship tree according to an embodiment of the present invention, where the operation apparatus based on a data node supporting a bidirectional relationship tree includes units for executing steps implemented by an encryption apparatus in the corresponding embodiment of fig. 1. Please refer to fig. 1 and fig. 1 for the corresponding description of the embodiment. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 11, the operation apparatus based on data nodes supporting a bidirectional relationship tree includes:
an operation instruction receiving unit 111, configured to receive an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis;
and an operation instruction response unit 112, configured to perform an operation corresponding to the operation instruction on the target data node.
Optionally, the operating device further comprises:
a first relation tree display unit for displaying a plurality of target data nodes based on the first relation tree; the first relationship tree is the structural relationship tree or the logical relationship tree;
the operation instruction receiving unit 111 includes:
the relation tree switching unit is used for receiving a relation tree switching instruction initiated by a user for the plurality of target data nodes;
the operation instruction response unit 112 includes:
a hierarchical information determination unit for determining hierarchical information of the plurality of target data nodes with respect to the second relational tree, respectively; the second relationship tree is a different relationship tree than the first relationship tree;
a second relation tree display unit, configured to switch the plurality of target data nodes to be displayed based on the second relation tree based on the hierarchy information.
Optionally, the target data node contains a hierarchy dimension parameter;
the operation instruction receiving unit 111 includes:
the viewing instruction receiving unit is used for receiving a viewing instruction initiated by a user for the target data node;
the operation instruction response unit 112 includes:
the related data node determining unit is used for determining related data nodes which have a related relation with the target data node according to the data identification recorded in the hierarchical dimensional parameter;
and the operable menu generating unit is used for displaying the associated data nodes and generating an operable menu corresponding to the data attribute of the target data node.
Optionally, the target data node includes: a structural data node; the structure data node comprises at least one sub-structure data node;
the operation instruction receiving unit 111 includes:
a query instruction receiving unit, configured to receive a query instruction initiated by a user for determining the relationship chain of the structural data node;
the operation instruction response unit 112 includes:
a first data identifier query unit, configured to determine, based on a first data identifier of the structure data node specified by the query instruction, a first relationship characteristic of the first data identifier and a second data identifier of the sub-structure data node subordinate to the structure data node;
a second relational feature query unit, configured to determine a second relational feature of the sub-structure data node based on the second data identifier;
and the relation chain generating unit is used for generating the relation chain of the structure data node according to the first relation characteristic and the second relation characteristic.
Optionally, the operation device further comprises
A third relation tree display unit for displaying a third relation tree in the first display area;
a relationship tree adding unit configured to display a fourth relationship tree in the second display area in response to the relationship tree adding instruction; the first display area and the second display area are positioned in the same operation interface;
the operation instruction receiving unit 111 includes:
the data attribute copying unit is used for responding to a copying instruction of a user on a reference data node in the fourth relational tree in the second display area and acquiring the data attribute of the reference data node;
a node adding unit, configured to receive a node adding instruction of a user for a target position specified in the third relation tree in the first display area;
the operation instruction response unit 112 includes:
and the data attribute assignment unit is used for creating the target data node at the target position of the third relation tree and assigning the data attribute of the reference data node to the target data node.
Optionally, the operating device further comprises:
a multiple relation tree display unit for displaying a fifth relation tree containing the target data node in a third display area and displaying a sixth relation tree related to the target data node in a fourth display area; the third display area and the fourth display area are positioned in the same operation interface;
the operation instruction receiving unit 111 includes:
an editing operation receiving unit, configured to receive an editing operation performed by a user on the target data node in the third display area or the fourth display area;
the operation instruction response unit 112 includes:
a synchronous updating unit, configured to adjust the fifth relationship tree of the target data node in the third display area and the sixth relationship tree in the fourth display area based on the editing operation.
Optionally, the operating device further comprises:
the data selection unit is used for responding to data selection operation initiated by a user in any display area and marking the positioning data nodes specified by the data selection operation in any display area; the any display area is the third display area or the fourth display area;
the hierarchical position determining unit is used for determining the hierarchical positions of the positioning data nodes in other display areas according to the third data identifiers of the positioning data nodes; the other display area is a display area different from the any display area;
and the positioning display unit is used for expanding the hierarchical data group where the positioning data nodes are located in other display areas according to the hierarchical positions and marking the positioning data nodes.
Optionally, the operation instruction receiving unit 111 includes:
a node movement receiving unit, configured to receive a node movement instruction for the target data node, where the node movement instruction is initiated by a user;
the operation instruction response unit 112 includes:
a node moving response unit, configured to move the target data node from an initial position to a target position according to the moving direction and the moving distance of the moving instruction, and adjust a first position field of the target data node and a second position field of an associated data node in the FMEA relationship tree; and the associated data nodes are other data nodes positioned between the initial position and the target position in the FMEA relation tree.
Optionally, the operation instruction receiving unit 111 includes:
a relation adjustment instruction receiving unit, configured to receive a relation adjustment instruction that is initiated by the user and is dragged from a first target data node to a second target data node;
the operation instruction response unit 112 includes:
the relationship removing unit is used for canceling the association relationship between the first target data node and the second target data node and removing the association relationship out of a relationship database if the association relationship exists between the first target data node and the second target data node;
a relationship creating unit, configured to create an association relationship between the first target data node and the second target data node if there is no association relationship between the first target data node and the second target data node, and add the association relationship to the relationship database;
the first display unit is used for determining a first display mode corresponding to the data type of the first target data node, and displaying the second target data node in the first display mode in the display area of the first target data node; and/or
And the second display unit is used for determining a second display mode corresponding to the data type of the second target data node, and displaying the first target data node in the second display mode in the display area of the second target data node.
Optionally, the relationship creating unit includes:
the relation chain determining unit is used for acquiring a first relation chain of the first target data node and acquiring a second relation chain of the second target data node;
a merged relation chain determining unit, configured to connect the first relation chain and the second relation chain based on the association relation to obtain a merged relation chain;
the association legal unit is used for establishing an association relation between the first target data node and the second target data node if the merged relation chain is a non-annular relation chain and adding the association relation into the relation database;
and the association exception unit is used for generating prompt information of association exception if the combined association chain is an annular association chain.
Therefore, the operating device based on the data node supporting the bidirectional relationship tree provided in the embodiment of the present invention can also create the target data node supporting the bidirectional relationship tree, that is, each target data node supports the data node operated by the structural relationship tree and the logical relationship tree, and includes parameters required for generating the two types of relationship trees, so that when FMEA analysis is subsequently required, not only can the operation of the relationship tree of the type be realized, but also the operation between the relationship trees of different types can be realized, thereby avoiding the user from needing to develop different operation interfaces for the relationship trees of different types, avoiding the user from switching back and forth between different interfaces, and executing the operation of the two types of relationship trees in the same interface, improving the efficiency of developing the physical structures and functional logics of each component in the product, and shortening the research and development time.
It should be understood that, in the structural block diagram of the data node operation method device supporting the bidirectional relationship tree shown in fig. 11, each module is used to execute each step in the embodiment corresponding to fig. 1 to 10, and each step in the embodiment corresponding to fig. 1 to 10 has been explained in detail in the above embodiment, and specific reference is made to the relevant description in the embodiments corresponding to fig. 1 to 10 and 1 to 10, which is not repeated herein.
Fig. 12 is a block diagram of an electronic device according to another embodiment of the present application. As shown in fig. 12, the electronic apparatus 1200 of this embodiment includes: a processor 1210, a memory 1220, and a computer program 1230, such as a program based on a method of operation of a data node supporting a bidirectional relationship tree, stored in memory 1220 and executable on processor 1210. Processor 1210, when executing computer program 1230, performs the steps of various embodiments of the above-described method for operating based on data nodes supporting a bidirectional relationship tree, such as S101 to S102 shown in fig. 1. Alternatively, when the processor 1210 executes the computer program 1230, the functions of the modules in the embodiment corresponding to fig. 11, for example, the functions of the units 111 to 112 shown in fig. 11, please refer to the relevant description in the embodiment corresponding to fig. 11.
Illustratively, the computer program 1230 may be partitioned into one or more modules that are stored in the memory 1220 and executed by the processor 1210 to accomplish the present application. One or more of the modules may be a series of computer program instruction segments capable of performing specific functions that describe the execution of computer program 1230 in electronic device 1200. For example, the computer program 1230 may be divided into unit modules, each module having the specific function as described above.
The electronic device 1200 may include, but is not limited to, a processor 1210, a memory 1220. Those skilled in the art will appreciate that fig. 12 is merely an example of an electronic device 1200 and does not constitute a limitation of the electronic device 1200 and may include more or fewer components than shown, or some of the components may be combined, or different components, e.g., the electronic device may also include input output devices, network access devices, buses, etc.
The processor 1210 may be a central processing unit, but may also be other general purpose processors, digital signal processors, application specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like.
The storage 1220 may be an internal storage unit of the electronic device 1200, such as a hard disk or a memory of the electronic device 1200. The memory 1220 may also be an external storage device of the electronic device 1200, such as a plug-in hard disk, a smart card, a flash memory card, etc. provided on the electronic device 1200. Further, the memory 1220 may also include both internal storage units and external storage devices of the electronic device 1200.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (12)

1. An operation method based on data nodes supporting an FMEA bidirectional relationship tree is characterized by comprising the following steps:
receiving an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis;
executing the operation corresponding to the operation instruction on the target data node;
before the receiving of the user-initiated operation instruction for the at least one target data node, the method further includes:
displaying a plurality of target data nodes based on the first relationship tree; the first relationship tree is the structural relationship tree or the logical relationship tree;
the receiving of an operation instruction initiated by a user for at least one target data node includes:
receiving a relation tree switching instruction initiated by a user for the plurality of target data nodes;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
determining hierarchical information of the plurality of target data nodes with respect to a second relationship tree, respectively; the second relationship tree is a different relationship tree than the first relationship tree;
switching the plurality of target data nodes to be displayed based on the second relation tree based on the hierarchy information.
2. The method of operation as recited in claim 1 wherein said target data node includes a hierarchy dimension parameter;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving a viewing instruction initiated by a user for the target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises:
determining an associated data node having an association relation with the target data node according to the data identifier recorded in the hierarchical dimensional parameter;
displaying the associated data nodes, and generating an operable menu corresponding to the data attribute of the target data node.
3. The method of operation of claim 1, wherein the target data node comprises: a structural data node; the structure data node comprises at least one sub-structure data node;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving a query instruction initiated by a user for determining the relationship chain of the structural data nodes;
the executing the operation corresponding to the operation instruction on the target data node comprises:
determining a first relational feature of the first data identifier and a second data identifier of the sub-structure data node subordinate to the structure data node based on the first data identifier of the structure data node specified by the query instruction;
determining a second relational feature of the sub-structure data node based on the second data identification;
and generating a relation chain of the structural data nodes according to the first relation characteristic and the second relation characteristic.
4. The method of claim 1, wherein prior to the receiving the user-initiated operation instruction for the at least one target data node, further comprising
Displaying the third relation tree in the first display area;
displaying a fourth relational tree in the second display area in response to the relational tree adding instruction; the first display area and the second display area are positioned in the same operation interface;
the receiving of an operation instruction initiated by a user for at least one target data node includes:
responding to a copying instruction of a user for a reference data node in the fourth relational tree in the second display area, and acquiring a data attribute of the reference data node;
receiving a node adding instruction of a user for a target position designated in the third relation tree in the first display area;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
creating the target data node at the target location of the third relational tree and assigning the data attributes of the reference data node to the target data node.
5. The method according to claim 1, wherein before the receiving the user-initiated operation instruction for the at least one target data node, the method further comprises:
displaying a fifth relational tree containing the target data node in a third display area, and displaying a sixth relational tree about the target data node in a fourth display area; the third display area and the fourth display area are positioned in the same operation interface;
the receiving of the operation instruction initiated by the user for the at least one target data node comprises:
receiving an editing operation of a user on the target data node in the third display area or the fourth display area;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
adjusting the fifth relational tree of the target data node within the third display area and the sixth relational tree within the fourth display area based on the editing operation.
6. The method of claim 5, wherein after displaying the fifth relationship tree containing the target data node in the third display area and displaying the sixth relationship tree about the target data node in the fourth display area, further comprising:
responding to a data selection operation initiated by a user in any relation tree, and marking a positioning data node specified by the data selection operation in any display area; the any relationship tree is the fifth relationship tree or the sixth relationship tree;
determining the hierarchical position of the positioning data node in other relation trees according to the third data identifier of the positioning data node; the other relation tree is a relation tree different from the any relation tree;
and according to the hierarchical position, expanding the hierarchical data group where the positioning data node is located in other relation trees, and marking the positioning data node.
7. The operating method according to any one of claims 1 to 6, wherein the receiving of the user-initiated operation instruction for the at least one target data node comprises:
receiving a node moving instruction initiated by a user for the target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises:
moving the target data node from an initial position to a target position according to the moving direction and the moving distance of the moving instruction, and adjusting a first position field of the target data node in an FMEA (failure mode and effects analysis) relation tree and a second position field of an associated data node; and the associated data nodes are other data nodes positioned between the initial position and the target position in the FMEA relation tree.
8. The operating method according to any one of claims 1 to 6, wherein the receiving of the user-initiated operation instruction for the at least one target data node comprises:
receiving a relation adjustment instruction which is initiated by the user and dragged from a first target data node to a second target data node;
the executing the operation corresponding to the operation instruction on the target data node comprises the following steps:
if the first target data node and the second target data node have an association relationship, canceling the association relationship between the first target data node and the second target data node, and removing the association relationship out of a relational database;
if the first target data node and the second target data node have no incidence relation, establishing the incidence relation between the first target data node and the second target data node, and adding the incidence relation into the relation database;
determining a first display mode corresponding to the data type of the first target data node, and displaying the second target data node in the first display mode in the display area of the first target data node; and/or
And determining a second display mode corresponding to the data type of the second target data node, and displaying the first target data node in the display area of the second target data node in the second display mode.
9. The method according to claim 8, wherein if there is no association between the first target data node and the second target data node, establishing an association between the first target data node and the second target data node, and adding the association to the relationship database includes:
acquiring a first relation chain of the first target data node and acquiring a second relation chain of the second target data node;
connecting the first relation chain and the second relation chain based on the incidence relation to obtain a combined relation chain;
if the merged relation chain is a non-annular relation chain, establishing an incidence relation between the first target data node and the second target data node, and adding the incidence relation into the relation database;
and if the combined relation chain is a ring relation chain, generating prompt information of abnormal relation.
10. An operation device based on data nodes supporting FMEA bidirectional relationship tree, comprising:
the operation instruction receiving unit is used for receiving an operation instruction initiated by a user for at least one target data node; the target data nodes are data nodes of a structural relationship tree and a logical relationship tree in the FMEA supporting failure model and impact analysis;
an operation instruction response unit, configured to perform an operation corresponding to the operation instruction on the target data node;
the operation device further includes:
a first relation tree display unit for displaying a plurality of target data nodes based on the first relation tree; the first relationship tree is the structural relationship tree or the logical relationship tree;
the operation instruction receiving unit includes:
the relation tree switching unit is used for receiving a relation tree switching instruction initiated by a user for the plurality of target data nodes;
the operation instruction response unit includes:
a hierarchical information determination unit for determining hierarchical information of the plurality of target data nodes with respect to the second relational tree, respectively; the second relationship tree is a different relationship tree than the first relationship tree;
a second relation tree display unit, configured to switch the target data nodes to be displayed based on the second relation tree based on the hierarchy information.
11. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program with the steps of the method according to any of claims 1 to 9.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN202210464343.8A 2022-04-29 2022-04-29 Operation method and equipment of data node supporting FMEA bidirectional relationship tree Active CN114564854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210464343.8A CN114564854B (en) 2022-04-29 2022-04-29 Operation method and equipment of data node supporting FMEA bidirectional relationship tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210464343.8A CN114564854B (en) 2022-04-29 2022-04-29 Operation method and equipment of data node supporting FMEA bidirectional relationship tree

Publications (2)

Publication Number Publication Date
CN114564854A CN114564854A (en) 2022-05-31
CN114564854B true CN114564854B (en) 2022-07-26

Family

ID=81721386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210464343.8A Active CN114564854B (en) 2022-04-29 2022-04-29 Operation method and equipment of data node supporting FMEA bidirectional relationship tree

Country Status (1)

Country Link
CN (1) CN114564854B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115935722A (en) * 2023-03-09 2023-04-07 北京集度科技有限公司 Process failure mode and impact analysis method, equipment and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008355A (en) * 2009-06-23 2011-01-13 Omron Corp Fmea sheet creation support system and creation support program
CN113449154A (en) * 2021-07-15 2021-09-28 聪脉(上海)信息技术有限公司 FMEA (failure mode and effects analysis) method and system
CN113656438A (en) * 2021-08-06 2021-11-16 北京数码大方科技股份有限公司 Data query method and device of data tree
CN114281590A (en) * 2021-12-28 2022-04-05 中车信息技术有限公司 Automatic generation method of fault tree

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254044A1 (en) * 2011-04-01 2012-10-04 Caterpillar Inc. Graphical user interface for failure mode and effect analysis
US20130339896A1 (en) * 2012-06-01 2013-12-19 Sas Ip User interface and method of data navigation in the user interface of engineering analysis applications
US9672228B2 (en) * 2013-03-11 2017-06-06 Honeywell International Inc. Methods and systems for creating a complex user interface adapting a generic database software application to individually manage subset domains in complex database
EP3059676B1 (en) * 2015-02-20 2019-09-11 Siemens Aktiengesellschaft A method and apparatus for analyzing the availability of a system, in particular of a safety critical system
US20230071438A1 (en) * 2020-03-04 2023-03-09 Yijun Du System and method for utilizing search trees and tagging data items for data collection managing tasks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008355A (en) * 2009-06-23 2011-01-13 Omron Corp Fmea sheet creation support system and creation support program
CN113449154A (en) * 2021-07-15 2021-09-28 聪脉(上海)信息技术有限公司 FMEA (failure mode and effects analysis) method and system
CN113656438A (en) * 2021-08-06 2021-11-16 北京数码大方科技股份有限公司 Data query method and device of data tree
CN114281590A (en) * 2021-12-28 2022-04-05 中车信息技术有限公司 Automatic generation method of fault tree

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于产品结构树和FMEA的故障诊断方法研究;费胜巍等;《机床与液压》;20060728(第07期);第238-241页 *

Also Published As

Publication number Publication date
CN114564854A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
US11763076B2 (en) Document applet generation
CN102520841B (en) Collection user interface
CN111080170B (en) Workflow modeling method and device, electronic equipment and storage medium
US10831453B2 (en) Connectors framework
JP2012501586A (en) Minimum extension required for multi-master offline and collaboration for devices and web services
CN102193781A (en) Integrated design application
CN114564852B (en) Operation method of FMEA (failure mode and effects analysis) data node and electronic equipment
CN106605217B (en) For the method and system for being moved to another website from a website will to be applied
CN110825395B (en) Multi-plug-in layered deployment system, device and medium
JP2009017558A (en) Method and system for sharing information on image data edited by a plurality of editing applications
CN114564854B (en) Operation method and equipment of data node supporting FMEA bidirectional relationship tree
CN111666100A (en) Software framework generation method and device, electronic equipment and storage medium
WO2024174919A1 (en) Special effect production method and apparatus, device, and storage medium
CN112015696A (en) Data access method, data relationship setting method, data access device, data relationship setting device and storage medium
WO2024160255A1 (en) Page interaction method and apparatus, device, and storage medium
JP7457168B2 (en) Semiconductor device modeling method and apparatus
CN108388576B (en) Method and system for interactively generating map
CN114564855B (en) Operation method based on incidence relation of FMEA data nodes and electronic equipment
US9817891B1 (en) System, method, and computer program for creating metadata-based search queries
CN101847151B (en) Information processor, electronic file managing device, electronic file managing system, and method thereof
CN112749045A (en) Database cluster switching method, device, storage medium and apparatus
CN114564856B (en) Data sharing method based on FMEA and electronic equipment
US9542457B1 (en) Methods for displaying object history information
CN107357691A (en) The processing method and processing device of image file
CN114610309A (en) Object configuration method, device, equipment and storage medium

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