CN108628648B - Data processing method and data processing device - Google Patents

Data processing method and data processing device Download PDF

Info

Publication number
CN108628648B
CN108628648B CN201710157208.8A CN201710157208A CN108628648B CN 108628648 B CN108628648 B CN 108628648B CN 201710157208 A CN201710157208 A CN 201710157208A CN 108628648 B CN108628648 B CN 108628648B
Authority
CN
China
Prior art keywords
node
message format
interface
child
data processing
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
CN201710157208.8A
Other languages
Chinese (zh)
Other versions
CN108628648A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710157208.8A priority Critical patent/CN108628648B/en
Publication of CN108628648A publication Critical patent/CN108628648A/en
Application granted granted Critical
Publication of CN108628648B publication Critical patent/CN108628648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

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

Abstract

The application provides a data processing method and a data processing device. The data processing method comprises the following steps: the method comprises the steps that a first operation input by a user on a first interface is obtained, the first interface comprises a tree diagram in a first message format and a tree diagram in a second message format, a first node in the first message format is in an expanded state, the first operation is used for folding the first node in the first message format, and the first message format and the second message format have a mapping relation; and displaying a second interface according to the first operation, wherein the second interface comprises a tree diagram in a first message format, a tree diagram in a second message format and a first graph, the first node is in a folded state, the first graph displays the number of first child nodes, and the first child nodes are child nodes which have a mapping relation with the second message format in the child nodes of the first node. The data processing method and the data processing device can improve the development efficiency of the mapping relation.

Description

Data processing method and data processing device
Technical Field
The present application relates to the field of information processing, and more particularly, to a data processing method and a data processing apparatus.
Background
Software tools that provide service support to telecommunications, data communications, and other network service providers may be referred to as Operation Support Systems (OSS). The operation support system may include a Business Support System (BSS).
The business support system mainly realizes the management of business, expenses and marketing, and the process of management and service of customers. The service support system mainly comprises: customer service system, charging system, settlement system, operation analysis system, etc.
The business support system may include a different interface between systems, or the business support system may have a different interface with other systems. Generally, a system with differences in these interfaces may become a heterogeneous system.
Currently, integration and interfacing of these heterogeneous systems may be achieved through an Enterprise Service Bus (ESB) system. More specifically, the integration and interfacing of heterogeneous systems may be achieved using mapping relationship information in an enterprise service bus system.
The mapping relation in the enterprise service bus system can be developed by a visualization mapping tool based on the enterprise service bus system. The main process for developing mapping relationship by visual mapping tool based on enterprise service bus system includes: the visualization mapping tool acquires and displays a source data structure (i.e., a data structure to be mapped), which may also be referred to as a source message format or a source data model; the visualization mapping tool acquires and displays a target data structure (i.e., a mapped data structure), which may also be referred to as a target message format or a target data model; the visual mapping tool acquires an operation instruction input by a user; and the visual mapping tool generates and displays the mapping relation between the source data structure and the target data structure according to the operation instruction input by the user.
And under the condition that the source data structure or the target data structure has multiple hierarchies, displaying the mapping relation between the source data node and the target data node to a user only when all hierarchy nodes of the source data structure and the target data structure are in an expanded state.
That is to say, in order to obtain the mapping relationship between the source data node and the target data node through the display interface of the visual mapping tool, the user must expand all the hierarchical nodes of the source data structure and the target data structure, which may affect the development efficiency of the mapping relationship and further affect the development efficiency of the enterprise service bus.
Disclosure of Invention
The application provides a data processing method and a data processing device, which can improve the development efficiency of an enterprise service bus system.
In a first aspect, the present application provides a data processing method. The data processing method comprises the following steps: acquiring a first operation input by a user on a first interface, wherein the first interface comprises a tree diagram of a first message format and a tree diagram of a second message format, a first node of the first message format is in an expanded state, the first operation is used for folding the first node of the first message format, and the first message format and the second message format have a mapping relation; and displaying a second interface according to the first operation, wherein the second interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a first graph, the first node of the first message format is in a folded state, the number of first child nodes is displayed in the first graph, and the first child nodes are child nodes which have a mapping relation with the second message format and are in the child nodes of the first node.
In the data processing method of the embodiment of the application, when the node is in the folded state, that is, when none of the child nodes of the node is displayed, the mapping condition of the child nodes which are not displayed can be displayed. That is to say, the user can still know the mapping conditions of the child nodes under the condition that the user cannot see the child nodes, so that the development efficiency of the mapping relationship can be improved.
With reference to the first aspect, in a first possible implementation manner, the data processing method further includes: acquiring a second operation input by a user on the second interface, wherein the second operation comprises clicking the first graph; and displaying a third interface according to the second operation, wherein the third interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a second graph, the first node is in a folded state, and the second graph displays the first child node.
In the implementation manner, after the user clicks the number of the first child nodes, the first child nodes can be displayed under the condition that the first node is folded, so that the user can still know which child nodes in the first node have the mapping relation with the second message format under the condition that the first node is folded, and the development efficiency of the mapping relation can be improved.
With reference to the first possible implementation manner, in a second possible implementation manner, before the displaying the third interface according to the second operation, the data processing method further includes: generating a third data structure according to the first operation, the third data structure including a name of the first message format, the first node, and the first child node; wherein the displaying a third interface according to the second operation includes: and displaying the third interface according to the second operation and the third data structure.
In this implementation, after the second operation is obtained, the child nodes having a mapping relationship with the second message format in the child nodes of the first node may be obtained and displayed according to the first message format, the first node, and the first child node recorded in the third data structure, without traversing all the child nodes of the first node, so that the development efficiency may be improved.
With reference to the first possible implementation manner, in a third possible implementation manner, the data processing method further includes: acquiring a third operation input by a user on the third interface, wherein the third operation comprises clicking the first child node; and displaying a fourth interface according to the third operation, wherein the fourth interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a third graph, the first node is in a folded state, and the third graph indicates that a mapping relation exists between the first child node and a second child node of the second message format.
In this implementation manner, when the user clicks the first child node, the mapping relationship between the first child node and the second node may be displayed under the condition that the first node is in the folded state, so that the development efficiency may be improved.
With reference to the third possible implementation manner, in a fourth possible implementation manner, the third data structure further includes the second child node having a mapping relationship with the first child node; wherein the displaying a fourth interface according to the third operation includes: and displaying the fourth interface according to the third operation and the third data structure.
In this implementation manner, after the third operation is obtained, the child nodes having a mapping relationship with the first child node in the second message format can be obtained and displayed according to the content recorded by the third data structure, so that the development efficiency can be improved.
With reference to the first aspect or any one of the first to the fourth possible implementation manners, the data processing method further includes: generating a fourth data structure according to the first operation, wherein the fourth data structure comprises the name of the first message format, the number of the first nodes and the number of the first child nodes; acquiring a fourth operation input by a user on a fifth interface, wherein the fifth interface comprises the tree diagram in the first message format and the tree diagram in the second message format, a father node of the first node is in an expanded state, and the fourth operation is used for folding the father node; determining the number of third child nodes according to the fourth data structure, wherein the third child nodes are nodes which have a mapping relation with the second message format in the child nodes of the father node; and displaying a sixth interface according to the fourth operation, wherein the sixth interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a fourth graph, the fourth graph displays the number of the third child nodes, and the parent node is in a folded state.
In this implementation, when a user inputs an operation, folds a parent node of a first node, and determines the number of nodes having a mapping relationship with a second message format in all child nodes of the parent node, after traversing to the first node, the user may obtain the number of partial child nodes having a mapping relationship with the second message format in the child nodes of the parent node according to the data structure recording the number of the first message format, the first node, and the first child node without continuously traversing whether there is a node having a mapping relationship with the second message format in the child nodes of the first node. Thereby, development efficiency can be improved.
In a second aspect, the present application provides a data processing apparatus including means for performing the data processing method in the first aspect or any one of the possible implementation manners of the first aspect.
In a third aspect, the present application provides a data processing apparatus, a processor of the data processing apparatus and a display. The processor is to execute code. When the code is executed, the processor and the display implement the data processing method of the first aspect or any one of the possible implementations of the first aspect.
In a fourth aspect, a computer readable medium is provided, which stores program code for execution by a data processing apparatus, the program code comprising instructions for performing the data processing method of the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, a computer program product is provided that comprises instructions, which when run on a data processing apparatus, cause the data processing apparatus to perform the data processing method of the first aspect or any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic interface to which a data processing method according to an embodiment of the present application can be applied.
Fig. 2 is a schematic interface diagram of a data processing method of the prior art.
Fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application.
Fig. 4 is a schematic interface diagram of a data processing method according to an embodiment of the present application.
Fig. 5 is a schematic interface diagram of a data processing method according to an embodiment of the present application.
Fig. 6 is a schematic interface diagram of a data processing method according to an embodiment of the present application.
Fig. 7 is a schematic configuration diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 8 is a schematic configuration diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
The ESB-based visual data mapping technique provides a fully-imaged interface for a user to configure data mapping relationships. The data processing device that performs the data processing method in the ESB-based visualization data mapping technique may be generally referred to as a visualization data mapping tool.
The visualization data mapping tool may graphically display the source message format and the target message format. And the user can generate and display the mapping relation between the source message format and the target message format through operations such as dragging and the like.
As shown in fig. 1, the visualization data mapping tool may display all nodes of the first message format and the second message format and all nodes in a tree graph. The interface shown in fig. 1 is only an example, and should not limit the data processing method and the visual data mapping tool of the present application.
In fig. 1, the first message format may be a source message format, and correspondingly, the second message format is a target message format; the first message format may be a target message format and correspondingly the second message format is a source message format.
In fig. 1, "Θ" represents that the node is in the expanded state, i.e., the first-level child node of the node is in the display state. The nodes at the two ends of the connecting line are the nodes with mapping relation. After the visualization data mapping tool acquires that a connecting line is input between a certain node of the first message format and a certain node of the second message format by a user, the visualization data mapping tool can record that a mapping relation exists between the two nodes.
As shown in fig. 1, nodes 2 to 6 of the first message format are child nodes of node 1, and nodes 8 and 9 are child nodes of node 7; node 2, node 5 and node 6 of the second message format are children of node 1, node 3 and node 4 are children of node 2, and node 8 and node 9 are children of node 7. The node 2 in the first message format has a mapping relation with the node 5 in the second message format, the node 3 in the first message format has a mapping relation with the node 3 in the second message format, the node 4 in the first message format has a mapping relation with the node 5 in the second message format, the node 6 in the first message format has a mapping relation with the node 8 in the second message format, and the node 8 in the first message format has a mapping relation with the node 6 in the second message format.
Wherein the nodes in the first message format and the second message format may represent functions or operators, etc.
In the existing visual data mapping tool and the data processing method thereof, when a certain node is in a folded state, that is, any child node of all levels of the node is not displayed, it is difficult for a user to know the mapping relationship between a source message format and a source message format through a display interface, so that the development efficiency of the mapping relationship is influenced, and the development efficiency of an ESB (enterprise service bus) is reduced.
As shown in fig. 2, when the user clicks the "Θ" icon in front of node 1, so that node 1 is in a folded state (or called a contracted state), all child nodes of node 1 are not displayed on the interface. At this time, it is difficult for the user to know the mapping relationship between the first message format and the second message format. Where [ ] indicates that the node 1 is in the folded state.
Therefore, the embodiment of the application provides a data processing method of an ESB-based visual data mapping tool, and when a node is in a folded state, the mapping relationship between a source data format and a target data format can be better displayed for a user, so that the user can configure the mapping relationship more quickly, and further, the efficiency can be developed.
Fig. 3 is a schematic flow chart of a data processing method according to an embodiment of the present application. It should be understood that fig. 3 shows steps or operations of a data processing method, but these steps or operations are only examples, and other operations or variations of the respective operations in fig. 3 may also be performed by the embodiments of the present application. Moreover, the various steps in FIG. 3 may be performed in a different order presented in FIG. 3, and it is possible that not all of the operations in FIG. 3 may be performed.
S310, acquiring a first operation input by a user on a first interface, wherein the first interface comprises a tree diagram in a first message format and a tree diagram in a second message format, a first node in the first message format is in an expanded state, the first operation is used for folding the first node in the first message format, and the first message format and the second message format have a mapping relation.
The first message format and the second message format may be data structures for recording data.
One example of the first interface is shown in fig. 1. At this time, the first node may be the node 1 shown in fig. 1. An example of the first operation is the user clicking on the icon "Θ" representing node 1 in the expanded state before node 1.
In particular, the visualization data mapping tool may perform the following operations: acquiring an operation instruction input by a user, such as connection line operation between input nodes; displaying a first interface; and recording the mapping relation between the nodes in the first message format and the nodes in the second message format according to the operation input by the user, such as recording the mapping relation between the nodes according to the connecting line input by the user.
And S320, displaying a second interface according to the first operation, wherein the second interface comprises a tree diagram in a first message format, a tree diagram in a second message format and a first diagram, the first node in the first message format is in a folded state, the number of first child nodes is displayed in the first diagram, and the first child nodes are child nodes which have a mapping relation with the second message format and are child nodes of the first node.
Specifically, displaying the second interface according to the first operation may include: acquiring a first operation for folding a first node; the processing module traverses the mapping relation recorded before, and determines the number of nodes (which can be called as first child nodes) which have the mapping relation with the second message format in the first node and all child nodes thereof; and displaying a second interface of the folded state of the first node processing, and displaying the determined number of the nodes in the second interface. The specific implementation manner of displaying the second interface may refer to the prior art, and is not described herein again.
It should be noted that all of the child nodes of the first node described herein include child nodes of all levels below the first node.
Fig. 4 is a schematic view of a second interface in an embodiment of the present application. As shown in fig. 4, the visual data mapping tool may display a graph (i.e., a first graph) beside the node 1 in the collapsed state, where the graph includes a value of 4, which indicates that 4 nodes of all the child nodes of the node 1 have a mapping relationship with the second message format.
As can be seen from fig. 4, in the data processing method according to the embodiment of the present application, when a node is in a folded state, that is, when none of child nodes of the node is displayed, the visualized data mapping tool may display the mapping conditions of the child nodes that are not displayed. That is to say, the user can still know the mapping conditions of the child nodes under the condition that the child nodes are not seen, so that the development efficiency of the mapping relationship can be improved, and further the development efficiency of the ESB can be improved.
In S310, optionally, the visual data mapping tool traverses the mapping relationship recorded before, and after determining the number of the first child nodes, may record the corresponding relationship between the first message format and the number of the first node and the first child node. Specifically, a data structure may be generated that records the name of the first message format, the first node, and the number of first child nodes.
In this way, if the user inputs an operation to fold the parent node of the first node, when the visual data mapping tool determines the number of nodes having a mapping relationship with the second message format in all the child nodes of the parent node, after traversing to the first node, the visual data mapping tool may obtain the number of partial child nodes having a mapping relationship with the second message format in the child nodes of the parent node according to the data structure recording the number of the first message format, the first node and the first child node without continuously traversing whether there is a node having a mapping relationship with the second message format in the child nodes of the first node. Therefore, the processing efficiency of the visual data mapping tool can be improved, and the experience degree of a user is improved.
Optionally, in the data processing method of the embodiment of the application, after the visualized data mapping tool obtains the second operation input by the user on the second interface when the user inputs the second operation on the second interface, the visualized data mapping tool may display a third interface according to the second operation.
The second operation may include clicking on the first graph, or clicking on the number of the first child nodes; the third interface may include a tree diagram of the first message format, a tree diagram of the second message format, and a second graph, where the first node is in a folded state, and the second graph displays the first child node.
Fig. 5 is a schematic view of a third interface. As shown in fig. 5, when the node 1 is in the folded state, the user node first graph "r", and the visual data mapping tool may display the node 2, the node 3, the node 4, and the node 6 in the node 1, which have a mapping relationship with the second message format, while the node 5 is not displayed.
That is to say, after the user clicks the number of the first child nodes, the visualized data mapping tool can display the first child nodes under the condition that the first node is folded, so that the user can still know which child nodes in the first node have the mapping relation with the second message format under the condition that the first node is folded, and the development efficiency of the mapping relation can be improved.
Particularly, when only part of the sub-nodes of the first node have the mapping relation with the second message format, the data processing method enables the visual data mapping tool to display only part of the sub-nodes without displaying all the sub-nodes of the first node, and therefore the user can obtain the mapping condition of the sub-nodes of the first node.
In this embodiment of the application, optionally, when the visualization data mapping tool traverses all child nodes of the first node to determine that a node having a mapping relationship with the second message format in the child nodes is the first child node, the visualization data mapping tool may further generate a data structure (which may be referred to as a third data structure) that records the first message format, the first node, and the first child node.
In this way, displaying the third interface according to the second operation may specifically include: and displaying a third interface according to the second operation and the third data structure.
That is, after the visualization data mapping tool obtains the second operation, the child nodes having a mapping relationship with the second message format in the child nodes of the first node may be obtained and displayed according to the first message format, the first node, and the first child nodes recorded in the third data structure, without traversing all the child nodes of the first node.
In the data processing method in the embodiment of the present application, optionally, the method may further include: acquiring a third operation input by a user on a third interface, wherein the third operation comprises clicking a first child node; and displaying a fourth interface according to the third operation, wherein the fourth interface comprises a tree diagram in a first message format, a tree diagram in a second message format and a third graph, the first node is in a folded state, and the third graph indicates that a mapping relation exists between the first child node and a second child node in the second message format.
That is, when the user clicks on a first child node, the visual data mapping tool may display a mapping relationship between the first child node and a node (which may be referred to as a second node) in the second message format that has a mapping relationship with the first child node. For example, the visual data mapping tool may inform the user that a mapping relationship exists between the first child node and the second node by displaying the connecting line between the first child node and the second node, or the visual data mapping tool may display the connecting point different from other connecting line graphs, colors or thick lines to inform the user that a mapping relationship exists between the first child node and the second node.
A schematic view of the fourth interface is shown in fig. 6. After the user clicks the node 3 in the first message format, the visualized data mapping tool may display a connection line between the node 3 in the first message format and the node 3 in the second message format, indicating that a mapping relationship exists between the node 3 in the first message format and the node 3 in the second message format.
Optionally, the visualization data mapping tool traverses all child nodes of the first node to determine, as the first child node, a node in the child nodes that has a mapping relationship with the second message format, and when generating a third data structure that records the first message format, the first node, and the first child node, the third data structure may further record a second child node that has a mapping relationship with the first child node.
Thus, displaying the fourth interface according to the third operation may include: and displaying a fourth interface according to the third operation and the third data structure.
Specifically, after the user clicks the node 3 in the first message format, the visualized data mapping tool may determine, according to the first message format, the first node, the first child node, and the second child node recorded in the third data structure, that the node in the second message format having the mapping relationship with the first child node is the second child node, so that a connection line indicating that the mapping relationship exists may be displayed between the first node and the second child node.
In this embodiment of the application, optionally, after the visualized data mapping tool obtains an operation that is input by a user and used for expanding a certain node (may be referred to as a fourth node), if the visualized data mapping tool determines that a certain child node (may be referred to as a third child node) of the fourth node is in a folded state, that is, the third child node has child nodes and none of the child nodes is displayed, the visualized data mapping tool may use the third child node as the first node in S310 to execute the data processing method shown in fig. 3, and specific details are not described here.
Fig. 7 is a schematic configuration diagram of a data processing apparatus according to an embodiment of the present application. It should be understood that the data processing apparatus 700 shown in fig. 7 is only an example, and the data processing apparatus of the embodiment of the present application may further include other modules or units, or include modules having functions similar to those of the respective modules in fig. 7, or may not include all the modules in fig. 7. The data processing apparatus 700 may also be referred to as a visual data mapping tool.
The processing module 710 is configured to obtain a first operation input by a user on a first interface, where the first interface includes a tree diagram in a first message format and a tree diagram in a second message format, a first node in the first message format is in an expanded state, the first operation is used to fold the first node in the first message format, and a mapping relationship exists between the first message format and the second message format.
A display module 720, configured to display a second interface according to the first operation, where the second interface includes the tree view in the first message format, the tree view in the second message format, and a first graph, a first node in the first message format is in a folded state, and the first graph displays the number of first child nodes, where the first child nodes are child nodes in a mapping relationship with the second message format, among the child nodes of the first node.
The data processing device of the embodiment of the application can display the mapping conditions of the sub-nodes which are not displayed when the nodes are in the folded state, namely, the sub-nodes of the nodes are not displayed. That is to say, the user can still know the mapping conditions of the child nodes under the condition that the child nodes are not seen, so that the development efficiency of the mapping relationship can be improved, and further the development efficiency of the ESB can be improved.
Optionally, the processing module is further configured to obtain a second operation input by the user on the second interface, where the second operation includes clicking the first graphic; the display module is further configured to display a third interface according to the second operation, where the third interface includes the tree diagram in the first message format, the tree diagram in the second message format, and a second graph, the first node is in a folded state, and the second graph displays the first child node.
Optionally, before the display module displays a third interface according to the second operation, the processing module is further configured to generate a third data structure according to the first operation, where the third data structure includes the name of the first message format, the first node, and the first child node; the display module is specifically configured to display the third interface according to the second operation and the third data structure.
Optionally, the processing module is further configured to obtain a third operation input by the user on the third interface, where the third operation includes clicking the first child node; the display module is further configured to display a fourth interface according to the third operation, where the fourth interface includes the tree diagram in the first message format, the tree diagram in the second message format, and a third graph, the first node is in a folded state, and the third graph indicates that a mapping relationship exists between the first child node and the second child node in the second message format.
Optionally, the third data structure further includes the second child node having a mapping relationship with the first child node; the display module is specifically configured to display the fourth interface according to the third operation and the third data structure.
Optionally, the processing module is further configured to generate a fourth data structure according to the first operation, where the fourth data structure includes a name of the first message format, the number of first nodes and first child nodes; the processing module is further configured to obtain a fourth operation input by a user on a fifth interface, where the fifth interface includes the tree diagram in the first message format and the tree diagram in the second message format, a parent node of the first node is in an expanded state, and the fourth operation is used to fold the parent node; the processing module is further configured to determine, according to the fourth data structure, the number of third child nodes, where the third child nodes are nodes in a mapping relationship with the second message format, among the child nodes of the parent node; the display module is further configured to display a sixth interface according to the fourth operation, where the sixth interface includes the tree view in the first message format, the tree view in the second message format, and a fourth graph, and the fourth graph displays the number of the third child nodes, and the parent node is in a folded state.
It should be understood that the above and other operations and/or functions of the units of the data processing apparatus shown in fig. 7 are respectively for implementing the corresponding processes performed by the visualized data mapping tool in the data processing method of fig. 3, and are not repeated herein for brevity.
Fig. 8 is a schematic configuration diagram of a data processing apparatus according to another embodiment of the present application. It should be understood that the data processing apparatus 800 shown in fig. 8 is only an example, and the data processing apparatus of the embodiment of the present application may further include other modules or units, or include modules having functions similar to those of the respective modules in fig. 8, or may not include all the modules in fig. 8.
Processor 810 may be used to implement operations or steps enabled by processing module 710 in fig. 7, and display 8200 may be used to implement operations or steps enabled by display module 7200 in fig. 7. For brevity, no further description is provided herein.
Memory may be integrated into processor 810, among other things.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A data processing method, comprising:
acquiring a first operation input by a user on a first interface, wherein the first interface comprises a tree diagram in a first message format and a tree diagram in a second message format, a first node in the first message format is in an expanded state, the first operation is used for folding the first node in the first message format, and the first message format and the second message format have a mapping relation;
and displaying a second interface according to the first operation, wherein the second interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a first graph, the first node of the first message format is in a folded state, the number of first child nodes is displayed in the first graph, and the first child nodes are child nodes which have a mapping relation with the second message format and are in the child nodes of the first node.
2. The data processing method of claim 1, further comprising:
acquiring a second operation input by a user on the second interface, wherein the second operation comprises clicking the first graph;
and displaying a third interface according to the second operation, wherein the third interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a second graph, the first node is in a folded state, and the second graph displays the first child node.
3. The data processing method according to claim 2, wherein before the displaying of the third interface according to the second operation, the data processing method further comprises:
generating a third data structure according to the first operation, the third data structure including a name of the first message format, the first node, and the first child node;
wherein the displaying a third interface according to the second operation includes:
and displaying the third interface according to the second operation and the third data structure.
4. The data processing method of claim 3, further comprising:
acquiring a third operation input by a user on the third interface, wherein the third operation comprises clicking the first child node;
and displaying a fourth interface according to the third operation, wherein the fourth interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a third graph, the first node is in a folded state, and the third graph indicates that a mapping relation exists between the first child node and a second child node of the second message format.
5. The data processing method of claim 4, wherein the third data structure further comprises the second child node having a mapping relationship with the first child node;
wherein the displaying a fourth interface according to the third operation includes:
and displaying the fourth interface according to the third operation and the third data structure.
6. The data processing method according to any one of claims 1 to 5, characterized in that the data processing method further comprises:
generating a fourth data structure according to the first operation, wherein the fourth data structure comprises the name of the first message format, the number of the first nodes and the number of the first child nodes;
acquiring a fourth operation input by a user on a fifth interface, wherein the fifth interface comprises the tree diagram in the first message format and the tree diagram in the second message format, a father node of the first node is in an expanded state, and the fourth operation is used for folding the father node;
determining the number of third child nodes according to the fourth data structure, wherein the third child nodes are nodes which have a mapping relation with the second message format in the child nodes of the father node;
and displaying a sixth interface according to the fourth operation, wherein the sixth interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a fourth graph, the fourth graph displays the number of the third child nodes, and the parent node is in a folded state.
7. A data processing apparatus, comprising:
the processing module is used for acquiring a first operation input by a user on a first interface, wherein the first interface comprises a tree diagram in a first message format and a tree diagram in a second message format, a first node in the first message format is in an expanded state, the first operation is used for folding the first node in the first message format, and the first message format and the second message format have a mapping relation;
and the display module is used for displaying a second interface according to the first operation, the second interface comprises the tree diagram of the first message format, the tree diagram of the second message format and a first graph, the first node of the first message format is in a folded state, the number of first child nodes is displayed in the first graph, and the first child nodes are child nodes which have a mapping relation with the second message format and are child nodes of the first node.
8. The data processing apparatus according to claim 7, wherein the processing module is further configured to obtain a second operation input by the user on the second interface, where the second operation includes clicking on the first graphic;
the display module is further configured to display a third interface according to the second operation, where the third interface includes the tree diagram in the first message format, the tree diagram in the second message format, and a second graph, the first node is in a folded state, and the second graph displays the first child node.
9. The data processing apparatus according to claim 8, wherein before the display module displays a third interface according to the second operation, the processing module is further configured to generate a third data structure according to the first operation, where the third data structure includes a name of the first message format, the first node, and the first child node;
the display module is specifically configured to display the third interface according to the second operation and the third data structure.
10. The data processing apparatus according to claim 9, wherein the processing module is further configured to obtain a third operation input by the user on the third interface, where the third operation includes clicking on the first child node;
the display module is further configured to display a fourth interface according to the third operation, where the fourth interface includes the tree diagram in the first message format, the tree diagram in the second message format, and a third graph, the first node is in a folded state, and the third graph indicates that a mapping relationship exists between the first child node and the second child node in the second message format.
11. The data processing apparatus of claim 10, wherein the third data structure further comprises the second child node having a mapping relationship with the first child node;
the display module is specifically configured to display the fourth interface according to the third operation and the third data structure.
12. The data processing apparatus according to any of claims 7 to 11, wherein the processing module is further configured to generate a fourth data structure according to the first operation, the fourth data structure including a name of the first message format, a first node, and a number of first child nodes;
the processing module is further configured to obtain a fourth operation input by a user on a fifth interface, where the fifth interface includes the tree diagram in the first message format and the tree diagram in the second message format, a parent node of the first node is in an expanded state, and the fourth operation is used to fold the parent node;
the processing module is further configured to determine, according to the fourth data structure, the number of third child nodes, where the third child nodes are nodes in a mapping relationship with the second message format, among the child nodes of the parent node;
the display module is further configured to display a sixth interface according to the fourth operation, where the sixth interface includes the tree view in the first message format, the tree view in the second message format, and a fourth graph, and the fourth graph displays the number of the third child nodes, and the parent node is in a folded state.
CN201710157208.8A 2017-03-16 2017-03-16 Data processing method and data processing device Active CN108628648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710157208.8A CN108628648B (en) 2017-03-16 2017-03-16 Data processing method and data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710157208.8A CN108628648B (en) 2017-03-16 2017-03-16 Data processing method and data processing device

Publications (2)

Publication Number Publication Date
CN108628648A CN108628648A (en) 2018-10-09
CN108628648B true CN108628648B (en) 2021-12-14

Family

ID=63686576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710157208.8A Active CN108628648B (en) 2017-03-16 2017-03-16 Data processing method and data processing device

Country Status (1)

Country Link
CN (1) CN108628648B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590085B (en) * 2020-04-30 2023-06-16 广东中砼物联网科技有限公司 Processing method of multi-source heterogeneous data, computer equipment and storage medium
CN111835915A (en) * 2020-07-09 2020-10-27 维沃移动通信有限公司 Message processing method, message processing device and electronic equipment
CN113971194A (en) * 2020-07-24 2022-01-25 华为技术有限公司 Data blood margin presentation method, equipment and system
CN112506490A (en) * 2020-12-10 2021-03-16 天聚地合(苏州)数据股份有限公司 Interface generation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509589B2 (en) * 2003-09-30 2009-03-24 Hewlett-Packard Development Company, L.P. Storage domain GUI
CN103649913A (en) * 2013-06-27 2014-03-19 华为技术有限公司 Method and device for displaying data conversion relationships
CN103970846A (en) * 2014-04-29 2014-08-06 中国电子技术标准化研究院 Method and device for displaying data
CN104537103A (en) * 2015-01-12 2015-04-22 用友医疗卫生信息系统有限公司 Data processing method and device
US9335885B1 (en) * 2011-10-01 2016-05-10 BioFortis, Inc. Generating user interface for viewing data records

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509589B2 (en) * 2003-09-30 2009-03-24 Hewlett-Packard Development Company, L.P. Storage domain GUI
US9335885B1 (en) * 2011-10-01 2016-05-10 BioFortis, Inc. Generating user interface for viewing data records
CN103649913A (en) * 2013-06-27 2014-03-19 华为技术有限公司 Method and device for displaying data conversion relationships
CN103970846A (en) * 2014-04-29 2014-08-06 中国电子技术标准化研究院 Method and device for displaying data
CN104537103A (en) * 2015-01-12 2015-04-22 用友医疗卫生信息系统有限公司 Data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ESB环境下可视化数据映射技术的研究;马中杰等;《计算机应用》;20081231;第28卷(第2期);第528-530页 *

Also Published As

Publication number Publication date
CN108628648A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108628648B (en) Data processing method and data processing device
US8856766B2 (en) Generating layouts for graphs of data flow applications
CN106657192B (en) Method and equipment for presenting service calling information
CN109388791B (en) Dynamic diagram display method and device, computer equipment and storage medium
US8230339B2 (en) Hierarchical data display
US8250479B2 (en) Message flow interactions for display in a user interface
US9361139B1 (en) System and method for visualizing virtual system components
CA2732643C (en) Configurable hierarchical tree view
US10788954B1 (en) Systems and methods for integration of application performance monitoring with logs and infrastructure using a common schema
US20070266039A1 (en) Simplifying A Visual Depiction of A Graph
US20100180230A1 (en) Assembly and output of user-defined groupings
JP2009534740A (en) Event processing based on the model
CN106777086B (en) Dynamic management method and device for webpage embedded points
CN110505079A (en) For the visual system and method for multidimensional network based on context
US8296723B2 (en) Configurable unified modeling language building blocks
US9122799B1 (en) System, method, and computer program for software testing project design and execution utilizing a mockup
US9009738B2 (en) Device identification using device functions
CN104407779A (en) Arrangement display method and device for graphical interface
US20110107250A1 (en) Step-wise, cumulative object and relationship aggregation in a graphical system management topology
JP2017215797A (en) Selection control method, selection control device, and selection control program
US8327292B2 (en) Distinct groupings of related objects for display in a user interface
CN109828883B (en) Task data processing method and device, storage medium and electronic device
JP6781819B2 (en) Task processing method and distributed computing framework system
US20170011322A1 (en) Business process managment
CN115309397B (en) Canvas topology management method and system of data interpretation model

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200201

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Applicant before: Huawei Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant