CN103649913A - Method and device for displaying data conversion relationships - Google Patents

Method and device for displaying data conversion relationships Download PDF

Info

Publication number
CN103649913A
CN103649913A CN201380000541.8A CN201380000541A CN103649913A CN 103649913 A CN103649913 A CN 103649913A CN 201380000541 A CN201380000541 A CN 201380000541A CN 103649913 A CN103649913 A CN 103649913A
Authority
CN
China
Prior art keywords
transformational relation
expression formula
node
source node
relation expression
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.)
Granted
Application number
CN201380000541.8A
Other languages
Chinese (zh)
Other versions
CN103649913B (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
Publication of CN103649913A publication Critical patent/CN103649913A/en
Application granted granted Critical
Publication of CN103649913B publication Critical patent/CN103649913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The embodiments of the invention provide a method and device for displaying data conversion relationships, and relate to the technical field of computers. The method comprises the steps of acquiring information, of a first source node and a first goal node, corresponding to the data conversion relationships; acquiring a first conversion relationship expression used for describing the conversion relationship between the first source node and the first goal node on the basis of the information of the first source node and the information of the first goal node; and adding the first conversion relationship expression in order and displaying the first conversion relationship expression in a pre-built conversion relationship view. In the method and device for displaying the data conversion relationships, corresponding conversion relationship expressions are generated on the basis of information of source nodes and information of goal nodes in added conversion relationships, and the expressions are displayed in the pre-built conversion relationship view, developers can understand contents of the conversion relationships on the basis of the displayed conversion relationship expressions more intuitively, and the development efficiency of the developers on services of different communication parties on ESB equipment is improved.

Description

A kind of method and device that shows data-switching relation
Technical field
The present invention relates to field of computer technology, particularly a kind of method and device that shows data-switching relation.
Background technology
In SOA(Service Oriented Architecture, Service-Oriented Architecture Based) in ESB(Enterprise Service Bus, ESB) facility for the interface data at two ends, communication side is changed.Before carrying out the conversion of data, need to the transformational relation between the interface data at two ends, communication side be added.
In prior art, by user, pass through IDE(Integrated Development Environment, Integrated Development Environment) visual mode is to adding the source interface at two ends, communication side and target interface the operation of transformational relation.After data-switching relation is added, at this, carrying out data-switching relation adds between the source node and the destination node of target interface in the source interface of operation, by the form of connecting line, this source node is connected with destination node, represents and between source node and destination node, have data-switching relation.
In realizing process of the present invention, inventor finds that prior art at least exists following problem:
By the mode of connecting line, only can represent and between source node and destination node, have data-switching relation, can not represent execution sequence between each data-switching relation, carry out the contents such as rule, constraint condition, the form of expression is too single, and the understanding of inconvenient developer to the data-switching relation having existed.
Summary of the invention
In order to address the deficiencies of the prior art, the embodiment of the present invention provides a kind of method and device that shows data-switching relation.Described technical scheme is as follows:
First aspect, a kind of method that shows data-switching relation, comprising:
When the data-switching relation between the first source node and first object node, set up when complete, obtain the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
According to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
Described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node, comprising:
According to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node;
According to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
According to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, the first transformational relation expression formula generated.
In conjunction with first aspect, in the possible implementation of the second of first aspect, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Reception is revised order to first of described the first transformational relation expression formula, and wherein said first revises the information that the second source node is carried in order;
According to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node;
In described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described described the first transformational relation expression formula is updated to described the second transformational relation expression formula after, described method also comprises:
Reception is revised order to second of described the second transformational relation expression formula, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
Operational symbol in described the second transformational relation expression formula is replaced with to described second and revise the operational symbol of carrying in order, and in described transformational relation view, upgrade amended described the second transformational relation expression formula.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Reception is revised order to the 3rd of described the first transformational relation expression formula the, in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
By transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
In conjunction with first aspect, in the 5th kind of possible implementation of first aspect, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Receive user's interpolation order to transformational relation expression formula in described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
According to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
In conjunction with first aspect, in the 6th kind of possible implementation of first aspect, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
When user clicks while changing relational expression in described transformational relation view, obtain source node and destination node corresponding in clicked described transformational relation expression formula;
In connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
In conjunction with first aspect, in the 7th kind of possible implementation of first aspect, after described the first transformational relation expression formula is added in order and being presented in advance in the transformational relation view of setting up, described method also comprises:
When user clicks source node or destination node in Data View, obtain the destination node or the source node that possess transformational relation with clicked described source node or destination node;
In connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
In conjunction with first aspect, in the 8th kind of possible implementation of first aspect, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
When user triggers the order of flow path switch figure in transformational relation view, in described transformational relation view, from root node, start to obtain successively each transformational relation expression formula;
The position acquisition in transformational relation view show corresponding flow process diagram according to the described transformational relation type of expression that gets and described transformational relation expression formula in order, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
Second aspect, a kind of device that shows data-switching relation, comprising:
The first acquisition module, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
The second acquisition module, for according to the information of the information of described the first source node and described first object node, obtains for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
The first display module, for adding described the first transformational relation expression formula in order and being presented in advance the transformational relation view of setting up.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described the second acquisition module, comprising:
Determining unit, for according to the information of the information of described the first source node and described first object node, determines respectively the node type of described source node and described first object node;
Acquiring unit, be used for according to the node type of the node type of described the first source node and described first object node, from the node type of source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
Generation unit, for according to the information of the information of described the first source node and described first object node, and with reference to the transformational relation expression formula of described correspondence, generates the first transformational relation expression formula.
In conjunction with second aspect, in the possible implementation of the second of second aspect, described device also comprises:
The first receiver module, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
The 3rd acquisition module, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node;
The first update module, at described transformational relation view, is updated to described the second transformational relation expression formula by described the first transformational relation expression formula.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described device also comprises:
The second receiver module, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
The second update module, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
The 3rd receiver module, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Module is set, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
In conjunction with second aspect, in the 5th kind of possible implementation of second aspect, described device also comprises:
The 4th receiver module, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
The second display module, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
In conjunction with second aspect, in the 6th kind of possible implementation of second aspect, described device also comprises:
The 4th acquisition module, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula;
The first drafting module for removing all connecting lines at connecting line view, and is drawn source node corresponding in described transformational relation expression formula and the connecting line between destination node in described connecting line view.
In conjunction with second aspect, in the 7th kind of possible implementation of second aspect, described device also comprises:
The 5th acquisition module, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node;
The second drafting module, for removing all connecting lines at connecting line view, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
In conjunction with second aspect, in the 8th kind of possible implementation of second aspect, described device also comprises:
The 6th acquisition module for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view;
Process flow diagram generation module, for in order according to the described transformational relation type of expression that gets and described transformational relation expression formula at the position acquisition of transformational relation view and show corresponding flow process diagram, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
The third aspect, a kind of device that shows data-switching relation, described device comprises: processor and storer,
Described processor, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node; According to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node; Described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance;
Described storer is for storing the data that described processor produces.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect,
Described processor specifically for according to one of at least following mode according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node, comprising:
According to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node;
According to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
According to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, the first transformational relation expression formula generated.
In conjunction with the third aspect, in the possible implementation of the second of the third aspect,
Receiver, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
Described processor, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node; In described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation of the third aspect,
Described receiver, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
Described processor, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
In conjunction with the third aspect, in the 4th kind of possible implementation of the third aspect,
Described receiver, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Described processor, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
In conjunction with the third aspect, in the 5th kind of possible implementation of the third aspect,
Described receiver, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
Described processor, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
In conjunction with the third aspect, in the 6th kind of possible implementation of the third aspect,
Described processor, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula; In connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
In conjunction with the third aspect, in the 7th kind of possible implementation of the third aspect,
Described processor, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node; In connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
In conjunction with the third aspect, in the 8th kind of possible implementation of the third aspect,
Described processor for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view; The position acquisition in transformational relation view show corresponding flow process diagram according to the described transformational relation type of expression that gets and described transformational relation expression formula in order, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
According to the information of source node and the information of destination node in the transformational relation adding, generate corresponding transformational relation expression formula, and this expression formula is presented in the transformational relation view of setting up in advance, make developer according to the transformational relation expression formula showing, to understand more intuitively the content of transformational relation, improved developer's development efficiency to the service of different communication sides on ESB equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the method for the demonstration data-switching relation that provides of the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2;
Fig. 3 is the surface chart of ESB in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2;
Fig. 4 is the schematic flow sheet of method that the modification of relational expression is provided in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2;
Fig. 5 is the schematic flow sheet of the method for the modification of another kind of transformational relation expression formula in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2;
Fig. 6 adds the schematic flow sheet of the method for transformational relation expression formula in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2 in transformational relation view;
Fig. 7 be in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2 in connecting line view the schematic flow sheet of the method for on-demand loading connecting line;
Fig. 8 be in the schematic flow sheet of method of the demonstration data-switching relation that provides of the embodiment of the present invention 2 another kind of in connecting line view the method for on-demand loading connecting line;
Fig. 9 shows the schematic flow sheet of the method for the process flow diagram that transformational relation expression formula is corresponding in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2 in transformational relation view;
Figure 10 is the schematic diagram of process flow diagram in the method for the demonstration data-switching relation that provides of the embodiment of the present invention 2;
Figure 11 is the structural representation of the device of the demonstration data-switching relation that provides of the embodiment of the present invention 3;
Figure 12 is the structural representation of the device of the demonstration data-switching relation that provides of the embodiment of the present invention 4.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
The embodiment of the present invention provides a kind of method that shows data-switching relation, and referring to Fig. 1, method flow comprises:
101: when the data-switching relation between the first source node and first object node, set up when complete, obtain the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
102: according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
103: described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
In embodiments of the present invention according to the information of source node and the information of destination node in the transformational relation adding, generate corresponding transformational relation expression formula, and this expression formula is presented in the transformational relation view of setting up in advance, make developer according to the transformational relation expression formula showing, to understand more intuitively the content of transformational relation, improved developer's development efficiency to the service of different communication sides on ESB equipment.
Embodiment 2
The embodiment of the present invention provides a kind of method that shows data-switching relation, and referring to Fig. 2, method flow comprises:
201: when the data-switching relation between the first source node and first object node, set up when complete, obtain the information of described the first source node corresponding to described data-switching relation and the information of described first object node.
Concrete, the mode of the interpolation operation of data-switching relation can be two kinds:
The first, for user sets up data-switching relation by the mode pulling in Data View between source node and destination node, the data-switching relation that the operation of this process gets is source node and destination node corresponding in drag motions;
The second, for user directly arranges constant to source node or destination node in data are attempted, this kind of mode also only relates to the data of one end.When constant being set for source node, destination node corresponding to data-switching relation that the operation of this process gets be for empty, represents only to exist in this data-switching relation source node; When constant being set for destination node, source node corresponding to data-switching relation that the operation of this process gets is empty, represents only to have destination node in this data-switching relation.
Wherein, the information of source node and the information of destination node can be the position of this node in Data View, the content of node, the information such as the type of node.
202: according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node.
The step of choosing the first transformational relation expression formula corresponding between source node and destination node is specially:
2021: according to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node.
Wherein node type can be: simple types, aggregate type, complicated type.In the information of each node, can store the type that this node is corresponding, by the information of node, obtain the type of this node.
Wherein, simple types refers to does not have the encapsulated type of fundamental type or fundamental type (JAVA), shows as leaf node in data-structure tree; Complicated type refers to the type that has sub-attribute; Aggregate type refers to the type of being got up to form by a plurality of element aggregations, comprises array type.
Wherein, for the source node of simple types and the transformational relation expression formula between destination node, can be:
(1) assignment of one or more source nodes to destination node, dest=f (src, rc0 ...) transfer process of form.
(2) irrelevant expression formula to source or the assignment of destination node, the i.e. transfer process of dest=a+b or src=a+b form of constant or other and opposite end data framework.
(3) calling of underlying platform energy force function or calling of sub-transfer process, the i.e. transfer process of f (src, dest) form.
For the source node of aggregate type and the transformational relation expression formula between destination node, can be:
Circle logic, conventionally in order to express the transfer process that target data structure is array type, be all elements of array in certain source node of searching loop, according to the transfer process under logic node, the element of array in certain destination node carried out to same coordinate replacement or end interpolation.
For the source node of complicated type and the transformational relation expression formula between destination node, can be:
Conversion logic encapsulation, is packaged into a reusable conversion logic node the transformational relation of the child node in the source node of two complicated types and destination node, and identifies with a unique name, can carry out multiplexing for the data structure node of same type.
2022: according to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula.
The node type of pre-stored active node, the corresponding relation of the node type of destination node and default transformational relation expression formula, comprising the node type of various source nodes, corresponding default transformational relation expression formula between the node type of destination node.
For example: the node type of source node A is simple types, the node type of target node b is simple types, user will set up transformational relation between the first source node A and first object Node B by drag motions, because the node type of the first source node is simple types, the node type of first object node is simple types, node type at source node, the default transformational relation expression formula that obtains the corresponding simple types of simple types in the corresponding relation of the node type of destination node and default transformational relation expression formula is: destination node=source node, it is the transformational relation expression formula of B=A.
Further, for the situation of constant is directly set for source node or destination node, the destination node of take describes as example: the default transformational relation expression formula getting in corresponding relation is " destination node=X ", the content that wherein X is assignment, can default setting be 0, and in transformational relation view, show this transformational relation expression formula, and accept the modification that user carries out it.
Further, the node type of source node, the corresponding relation of the node type of destination node and default transformational relation expression formula be take table 1 as example.
Figure BDA00003537169000121
Table 1
2023: according to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, generate the first transformational relation expression formula.
Connect the example of step 2022, the first source node A and first object Node B are added in default transformational relation expression formula, in the default transformational relation expression formula having got: destination node=source node, the first source node A is updated to the source node position in this expression formula, first object Node B is updated to the destination node location in this expression formula, therefore obtains the first transformational relation expression formula: B=A.
203: described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
Position in ESB except Data View and connecting line view, increases a new viewing area, shows transformational relation view, in this view for show each transformational relation expression formula in tree-like mode.
Execution during due to data-switching itself is orderly, has own logic and rule semantics, and in tree-structured views very applicable expression semantic logic structure, for sequenced demonstration transformational relation expression formula.Therefore, putting in order of the transformational relation in transformational relation view, is the execution sequence of transformational relation between source node corresponding to whole service and destination node.After transformational relation of every interpolation, in order its corresponding transformational relation expression formula is added into the end in whole transformational relation view.
Connect the example of step 2022, obtain the first transformational relation expression formula: after B=A, add the mode of transformational relation view as shown in Figure 3.
Further, the embodiment of the present invention also provides the method to the modification of the transformational relation expression formula in transformational relation view, and as shown in Figure 4, its method flow comprises:
401: receive and revise order, the information that the second source node is carried in wherein said the first modification order to first of described the first transformational relation expression formula.
Because being not only of comprising of transformational relation expression formula is simple by the node type of source node and default transformational relation expression formula corresponding to the node type of destination node, it may comprise more complicated transformational relation.
For example, connect the example of step 2022, transformational relation between the first source node A and first object Node B, can also for B=A+C(wherein C be the new source node adding) form, therefore after having generated default transformational relation expression formula (B=A), also need it further to edit, meet the demand of this data-switching.
User can further edit the transformational relation expression formula having generated.Wherein, editor's mode can be, the setting of transformational relation expression formula is entered to edit pattern, can choose therein source node and add, and received to edit first of this transformational relation expression formula and revise order after choosing; Or user by being added into the source node in transformational relation expression formula in Data View, pull in the transformational relation expression formula that needs editor in transformational relation view, now completed the first modification order that receives this transformational relation expression formula of editor.
402: according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node.
After increasing by the second source node, node type according to the node type of three nodes at source node, in the corresponding relation of the node type of destination node and default transformational relation expression formula, choose the default transformational relation expression formula after new interpolation source node, two source nodes that wherein now comprise correspond in the source node in corresponding relation, the content that source node is corresponding in corresponding relation can be a source node, also can be at least two or more source nodes, therefore can in corresponding relation, correspond to respectively different default transformational relation expression formulas.
Connect the example in step 401, after the source node using C as new interpolation, the default transformational relation expression formula inquiring in corresponding relation is: first object node=the first source node+the second source node.And by first object Node B, the first source node A and the second source node C are added in default transformational relation expression formula, i.e. B=A+C.
403: in described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
404: receive and revise and order second of described the second transformational relation expression formula, wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula.
Wherein, the first source node A, the transformational relation between the second source node C and the 3rd target node b, can also be the form of B=A*C.Therefore further edit C is also needed after new source node, the relation being added between A and C is changed and becomes the relation multiplying each other.
Now, second revise and in order, to carry operational symbol and be the operational symbol that "+" is added and be revised as the operational symbol that " * " multiplies each other.
405: the operational symbol in described the second transformational relation expression formula is replaced with to described second and revise the operational symbol of carrying in order, and in described transformational relation view, upgrade amended described the second transformational relation expression formula.
Further, the embodiment of the present invention also provides the method for revising being added into the another kind of the transformational relation expression formula in transformational relation view, and as shown in Figure 5, its method flow comprises:
501: receive and revise and order the 3rd of described the first transformational relation expression formula the, in wherein said the 3rd modification order, carry and adjust the display position of described the first transformational relation expression formula in described transformational relation view.
The display position of transformational relation expression formula in transformational relation view is the processing order that represents the data conversion process of this transformational relation expression formula in service, by adjusting the display position of transformational relation expression formula, adjust the processing order of this transformational relation expression formula in service.
502: by transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
Further, the embodiment of the present invention also provides the method for adding transformational relation expression formula in transformational relation view, and as shown in Figure 6, its method flow comprises:
601: receive user's interpolation order to transformational relation expression formula in described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument.
Concrete, at this kind, add in the mode of transformational relation expression formula, be generally the transformational relation expression formula of adding conditional logic, the transformational relation expression formula that for example has the deterministic process of two sub-branch nodes, by certain Rule of judgment, judgment result is that true time, certain source node or destination node are carried out to certain operation, judgment result is that fictitious time, certain source node or destination node are being carried out to certain operation.
Wherein, conditional logic, for having 2 sub-branch nodes (true, false), can comprise transfer process under sub-branch's node.Represent that certain conditional expression is true time, carry out the transfer process under true branch, otherwise carry out the transfer process under false branch.
Wherein add in order, can carry conditional logic that user selects corresponding one do not grudge transformational relation expression formula, expression argument is the judgement content in conditional logic, and after judgement by the assignment data of source node or destination node.
For example: after the judgement content judgement of conditional logic, true if, the content of source node A is set to constant " SOAP11 "; False if, the content of source node A is set to constant " SOAP12 ".
602: according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
By the 3rd source node, the second destination node and expression argument, be added into position corresponding in transformational relation expression formula to be added, obtain the 3rd transformational relation expression formula, and the 3rd transformational relation expression formula is added in order to the afterbody of the transformational relation view of setting up in advance.
Further, the embodiment of the present invention also provides the method for on-demand loading connecting line in connecting line view, and as shown in Figure 7, its method flow comprises:
701: when user clicks while changing relational expression in described transformational relation view, obtain source node and destination node corresponding in clicked described transformational relation expression formula.
This kind of situation, for click transformational relation expression formula in transformational relation view, by source node wherein and destination node, the connecting line in connecting line view shows.
Get after the source node and destination node of this transformational relation expression formula, can get source node and the destination node routing information in Data View, and further determine source node and the destination node coordinate information in screen respectively according to this routing information.
702: in connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
According to this two classes coordinate information, can draw out the connecting line between source node and destination node.
Further, the embodiment of the present invention also provides the other method of on-demand loading connecting line in connecting line view, and as shown in Figure 8, its method flow comprises:
801: when user clicks source node or destination node in Data View, obtain the destination node or the source node that possess transformational relation with clicked described source node or destination node.
This kind of situation, for click source node or destination node in Data View, by and this source node or destination node possess the connecting line in connecting line view between the node of transformational relation and show.
Obtain destination node or source node that the source node clicked with user or destination node possess transformational relation, now can obtain source node or the routing information of destination node in Data View that user clicks, and the source node of clicking with user or the destination node destination node that possesses transformational relation or the routing information of source node, and further determine source node or the coordinate information of destination node in screen that user clicks according to this routing information, and the source node of clicking with user or the destination node destination node that possesses transformational relation or the coordinate information of source node.
802: in connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
According to this two classes coordinate information in connecting line view, draw clicked source node or destination node to and clicked source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
Further, the embodiment of the present invention also provides the method that shows the process flow diagram that transformational relation expression formula is corresponding in transformational relation view, and as shown in Figure 9, its method flow comprises:
901: when user triggers the order of flow path switch figure in transformational relation view, in described transformational relation view, from root node, start to obtain successively each transformational relation expression formula.
Dendrogram in process flow diagram and transformational relation view can be changed mutually, therefore can also replace by the mode of oriented process flow diagram the implementation of tree derivation display data conversion.
902: from root node, start according to each transformational relation type of expression and flow process corresponding to the position acquisition of each transformational relation expression formula transformational relation view, to illustrate successively, and the operational symbol in described each transformational relation expression formula and described each transformational relation expression formula is added into the relevant position in described flow process diagram.
Due to what serve corresponding data conversion process, be orderly, start, to ending, to carry out in order from summit, be also therefore that the sequenced ending that starts to carry out to process flow diagram from fixed point finishes for process flow diagram.Therefore from root node, start to obtain each transformational relation type of expression, the flow process diagram that wherein different transformational relation types of expression is corresponding different, as shown in figure 10, the transformational relation expression formula of assignment is the flow process diagram of 1002 correspondences in figure, the transformational relation expression formula of judgement is the flow process diagram of 1003 correspondences in figure, its respectively corresponding judgement be lower time of genuine situation afterwards, corresponding 10031 flow processs illustrate, after judgement, be in false situation, corresponding 10032 flow processs diagrams.
Further, the position of root node 1001 is whole flow process source of graph, therefore according to flow process corresponding to the corresponding process flow diagram starting point of this position acquisition, illustrates the flow process diagram as this root node.Therefore the position of tail node 1004 is positioned at the ending of whole process flow diagram, obtains flow process diagram that corresponding process flow diagram ends up corresponding as the flow process diagram of this tail node.
In embodiments of the present invention according to the information of source node and the information of destination node in the transformational relation adding, generate corresponding transformational relation expression formula, and this expression formula is presented in the transformational relation view of setting up in advance, make developer according to the transformational relation expression formula showing, to understand more intuitively the content of transformational relation, improved developer's development efficiency to the service of different communication sides on ESB equipment; Developer can edit and revise already present transformational relation expression formula by carry out more shirtsleeve operation in tree derivation; Further, for the mode of on-demand loading connecting line, can be so that connecting line view clean more, and reduced the performance consumption of system.
Embodiment 3
The embodiment of the present invention provides a kind of device that shows data-switching relation, and referring to Figure 11, this device comprises:
The first acquisition module 1101, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
The second acquisition module 1102, for according to the information of the information of described the first source node and described first object node, obtains for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
The first display module 1103, for adding described the first transformational relation expression formula in order and being presented in advance the transformational relation view of setting up.
Wherein, in embodiment, described the second acquisition module 1102, comprising:
Determining unit, for according to the information of the information of described the first source node and described first object node, determines respectively the node type of described source node and described first object node;
Acquiring unit, be used for according to the node type of the node type of described the first source node and described first object node, from the node type of source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
Generation unit, for according to the information of the information of described the first source node and described first object node, and with reference to the transformational relation expression formula of described correspondence, generates the first transformational relation expression formula.
Wherein, described device also comprises:
The first receiver module 1104, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
The 3rd acquisition module 1105, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node;
The first update module 1106, at described transformational relation view, is updated to described the second transformational relation expression formula by described the first transformational relation expression formula.
The second receiver module 1107, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
The second update module 1108, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
Wherein, described device also comprises:
The 3rd receiver module 1109, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Module 1110 is set, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
Wherein, described device also comprises:
The 4th receiver module 1111, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
The second display module 1112, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
Wherein, described device also comprises:
The 4th acquisition module 1113, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula;
The first drafting module 1114 for removing all connecting lines at connecting line view, and is drawn source node corresponding in described transformational relation expression formula and the connecting line between destination node in described connecting line view.
Wherein, described device also comprises:
The 5th acquisition module 1115, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node;
The second drafting module 1116, for removing all connecting lines at connecting line view, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
Wherein, described device also comprises:
The 6th acquisition module 1117 for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view;
Process flow diagram generation module 1118, for in order according to the described transformational relation type of expression that gets and described transformational relation expression formula at the position acquisition of transformational relation view and show corresponding flow process diagram, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
In embodiments of the present invention according to the information of source node and the information of destination node in the transformational relation adding, generate corresponding transformational relation expression formula, and this expression formula is presented in the transformational relation view of setting up in advance, make developer according to the transformational relation expression formula showing, to understand more intuitively the content of transformational relation, improved developer's development efficiency to the service of different communication sides on ESB equipment.
Embodiment 4
The embodiment of the present invention provides a kind of device that shows data-switching relation, and referring to Figure 12, this device comprises:
Described device comprises: processor 1201 and storer 1202,
Described processor 1201, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node; According to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node; Described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance;
The data that described storer 1202 produces for storing described processor.
Wherein, described processor 1201 specifically for according to one of at least following mode according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node, comprising:
According to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node;
According to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
According to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, the first transformational relation expression formula generated.
Wherein, described device also comprises:
Receiver 1203, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
Described processor 1201, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node; In described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
Wherein, described device also comprises:
Described receiver 1203, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
Described processor 1201, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
Wherein, described device also comprises:
Described receiver 1203, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Described processor 1201, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
Wherein, described device also comprises:
Described receiver 1203, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
Described processor 1201, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
Wherein, described device also comprises:
Described processor 1201, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula; In connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
Wherein, described device also comprises:
Described processor 1201, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node; In connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
Wherein, described device also comprises:
Described processor 1201 for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view; The position acquisition in transformational relation view show corresponding flow process diagram according to the described transformational relation type of expression that gets and described transformational relation expression formula in order, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
In embodiments of the present invention according to the information of source node and the information of destination node in the transformational relation adding, generate corresponding transformational relation expression formula, and this expression formula is presented in the transformational relation view of setting up in advance, make developer according to the transformational relation expression formula showing, to understand more intuitively the content of transformational relation, improved developer's development efficiency to the service of different communication sides on ESB equipment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (27)

1. a method that shows data-switching relation, is characterized in that, described method comprises:
When the data-switching relation between the first source node and first object node, set up when complete, obtain the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
According to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
Described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
2. method according to claim 1, it is characterized in that, described according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node, comprising:
According to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node;
According to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
According to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, the first transformational relation expression formula generated.
3. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Reception is revised order to first of described the first transformational relation expression formula, and wherein said first revises the information that the second source node is carried in order;
According to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node;
In described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
4. method according to claim 3, is characterized in that, described described the first transformational relation expression formula is updated to described the second transformational relation expression formula after, described method also comprises:
Reception is revised order to second of described the second transformational relation expression formula, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
Operational symbol in described the second transformational relation expression formula is replaced with to described second and revise the operational symbol of carrying in order, and in described transformational relation view, upgrade amended described the second transformational relation expression formula.
5. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Reception is revised order to the 3rd of described the first transformational relation expression formula the, in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
By transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
6. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
Receive user's interpolation order to transformational relation expression formula in described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
According to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
7. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
When user clicks while changing relational expression in described transformational relation view, obtain source node and destination node corresponding in clicked described transformational relation expression formula;
In connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
8. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
When user clicks source node or destination node in Data View, obtain the destination node or the source node that possess transformational relation with clicked described source node or destination node;
In connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
9. method according to claim 1, is characterized in that, described described the first transformational relation expression formula added in order and be presented in advance in the transformational relation view of setting up after, described method also comprises:
When user triggers the order of flow path switch figure in transformational relation view, in described transformational relation view, from root node, start to obtain successively each transformational relation expression formula;
The position acquisition in transformational relation view show corresponding flow process diagram according to the described transformational relation type of expression that gets and described transformational relation expression formula in order, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
10. a device that shows data-switching relation, is characterized in that, described device comprises:
The first acquisition module, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node;
The second acquisition module, for according to the information of the information of described the first source node and described first object node, obtains for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node;
The first display module, for adding described the first transformational relation expression formula in order and being presented in advance the transformational relation view of setting up.
11. devices according to claim 10, is characterized in that, described the second acquisition module, comprising:
Determining unit, for according to the information of the information of described the first source node and described first object node, determines respectively the node type of described source node and described first object node;
Acquiring unit, be used for according to the node type of the node type of described the first source node and described first object node, from the node type of source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
Generation unit, for according to the information of the information of described the first source node and described first object node, and with reference to the transformational relation expression formula of described correspondence, generates the first transformational relation expression formula.
12. devices according to claim 10, is characterized in that, described device also comprises:
The first receiver module, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
The 3rd acquisition module, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node;
The first update module, at described transformational relation view, is updated to described the second transformational relation expression formula by described the first transformational relation expression formula.
13. devices according to claim 12, is characterized in that, described device also comprises:
The second receiver module, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
The second update module, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
14. devices according to claim 10, is characterized in that, described device also comprises:
The 3rd receiver module, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Module is set, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
15. devices according to claim 10, is characterized in that, described device also comprises:
The 4th receiver module, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
The second display module, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
16. devices according to claim 10, is characterized in that, described device also comprises:
The 4th acquisition module, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula;
The first drafting module for removing all connecting lines at connecting line view, and is drawn source node corresponding in described transformational relation expression formula and the connecting line between destination node in described connecting line view.
17. devices according to claim 10, is characterized in that, described device also comprises:
The 5th acquisition module, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node;
The second drafting module, for removing all connecting lines at connecting line view, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
18. devices according to claim 10, is characterized in that, described device also comprises:
The 6th acquisition module for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view;
Process flow diagram generation module, for in order according to the described transformational relation type of expression that gets and described transformational relation expression formula at the position acquisition of transformational relation view and show corresponding flow process diagram, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
19. 1 kinds of devices that show data-switching relation, is characterized in that, described device comprises: processor and storer,
Described processor, when complete for setting up when the data-switching relation between the first source node and first object node, obtains the information of described the first source node corresponding to described data-switching relation and the information of described first object node; According to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node; Described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance;
Described storer is for storing the data that described processor produces.
20. devices according to claim 19, is characterized in that,
Described processor specifically for according to one of at least following mode according to the information of the information of described the first source node and described first object node, obtain for describing the first transformational relation expression formula of transformational relation between described the first source node and described first object node, comprising:
According to the information of the information of described the first source node and described first object node, determine respectively the node type of described source node and described first object node;
According to the node type of the node type of described the first source node and described first object node, node type from source node, in the corresponding relation of the node type of first object node and default transformational relation expression formula, obtain corresponding transformational relation expression formula;
According to the information of the information of described the first source node and described first object node, and the transformational relation expression formula of the described correspondence of reference, the first transformational relation expression formula generated.
21. devices according to claim 19, is characterized in that, described device also comprises:
Receiver, revises order, the information that the second source node is carried in wherein said the first modification order for receiving to first of described the first transformational relation expression formula;
Described processor, be used for according to the information of described the first source node, the information of the information of described the second source node and described first object node, obtains for describing the second transformational relation expression formula of transformational relation between described the first source node, described the second source node and described first object node; In described transformational relation view, described the first transformational relation expression formula is updated to described the second transformational relation expression formula.
22. devices according to claim 21, is characterized in that, described device also comprises:
Described receiver, revises and orders second of described the second transformational relation expression formula for receiving, and wherein said second revises order carries for revising the operational symbol of described the second transformational relation expression formula;
Described processor, revises the operational symbol of carrying in order for the operational symbol of described the second transformational relation expression formula being replaced with to described second, and in described transformational relation view, upgrades amended described the second transformational relation expression formula.
23. devices according to claim 19, is characterized in that, described device also comprises:
Described receiver, revises and orders the 3rd of described the first transformational relation expression formula for receiving, and in wherein said the 3rd modification order, carries and adjusts the display position of described the first transformational relation expression formula in described transformational relation view;
Described processor, be used for transformational relation expression formula corresponding to described display position, display position with transformational relation expression formula under described display position in described transfer process view is adjusted Yi Ge unit downwards, and described the first transformational relation expression formula is arranged on described display position.
24. devices according to claim 19, is characterized in that, described device also comprises:
Described receiver, for receiving user's interpolation order to transformational relation expression formula at described transformational relation view, in wherein said interpolation order, carry transformational relation expression formula to be added, the 3rd source node entering in described transformational relation expression formula to be added to be added, the second destination node and expression argument;
Described processor, be used for according to described the 3rd source node, the second destination node and expression argument, with reference to described transformational relation expression formula to be added, generate the 3rd transformational relation expression formula, and described the first transformational relation expression formula is added in order and be presented in the transformational relation view of setting up in advance.
25. devices according to claim 19, is characterized in that, described device also comprises:
Described processor, while changing relational expression for click described transformational relation view as user, obtains source node and destination node corresponding in clicked described transformational relation expression formula; In connecting line view, remove all connecting lines, and in described connecting line view, draw source node corresponding in described transformational relation expression formula and the connecting line between destination node.
26. devices according to claim 19, is characterized in that, described device also comprises:
Described processor, for when user is when Data View is clicked source node or destination node, obtains the destination node or the source node that possess transformational relation with clicked described source node or destination node; In connecting line view, remove all connecting lines, and in described connecting line view, draw clicked described source node or destination node to and clicked described source node or the destination node destination node that possesses transformational relation or the connecting line between source node.
27. devices according to claim 19, is characterized in that, described device also comprises:
Described processor for when user is when transformational relation view triggers the order of flow path switch figure, starts to obtain successively each transformational relation expression formula from root node in described transformational relation view; The position acquisition in transformational relation view show corresponding flow process diagram according to the described transformational relation type of expression that gets and described transformational relation expression formula in order, and the operational symbol in described transformational relation expression formula and described transformational relation expression formula is added into the relevant position in described flow process diagram.
CN201380000541.8A 2013-06-27 2013-06-27 Method and device for displaying data conversion relationships Active CN103649913B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078129 WO2014205719A1 (en) 2013-06-27 2013-06-27 Method and device for displaying data conversion relationship

Publications (2)

Publication Number Publication Date
CN103649913A true CN103649913A (en) 2014-03-19
CN103649913B CN103649913B (en) 2017-02-01

Family

ID=50253405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000541.8A Active CN103649913B (en) 2013-06-27 2013-06-27 Method and device for displaying data conversion relationships

Country Status (2)

Country Link
CN (1) CN103649913B (en)
WO (1) WO2014205719A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628648A (en) * 2017-03-16 2018-10-09 华为软件技术有限公司 Data processing method and data processing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685508A (en) * 2008-09-27 2010-03-31 北京掌易迅移动软件技术有限责任公司 Total technology framework platform of data transformation system
CN101763585A (en) * 2009-12-16 2010-06-30 金蝶软件(中国)有限公司 Conversion method for business document in ERP system, device and ERP system
US8296326B1 (en) * 2010-08-20 2012-10-23 Cellco Partnership Grid-based user interface techniques for interacting with nested hierarchical data structures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685508A (en) * 2008-09-27 2010-03-31 北京掌易迅移动软件技术有限责任公司 Total technology framework platform of data transformation system
CN101763585A (en) * 2009-12-16 2010-06-30 金蝶软件(中国)有限公司 Conversion method for business document in ERP system, device and ERP system
US8296326B1 (en) * 2010-08-20 2012-10-23 Cellco Partnership Grid-based user interface techniques for interacting with nested hierarchical data structures

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628648A (en) * 2017-03-16 2018-10-09 华为软件技术有限公司 Data processing method and data processing equipment
CN108628648B (en) * 2017-03-16 2021-12-14 华为技术有限公司 Data processing method and data processing device

Also Published As

Publication number Publication date
WO2014205719A1 (en) 2014-12-31
CN103649913B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN109634598A (en) A kind of page display method, device, equipment and storage medium
CN106250100B (en) Analyzing logic control method and device
US20190196672A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
CN106062711B (en) Method, system, and computer storage medium for compound controls
CN110109659A (en) A kind of system that realizing front end applications scaffold and server
CN104484189A (en) Construction and design method of application interface
CN106202006B (en) Document generating method and device
US10970052B2 (en) System and method for enhancing component based development models with auto-wiring
CN102394778A (en) Network topology display method and device
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN103744647A (en) Java workflow development system and method based on workflow GPD
JP2018005933A (en) Method and apparatus for managing system specification
CN109582289B (en) Method, system, storage medium and processor for processing rule flow in rule engine
CN112099788A (en) Visual data development method, system, server and storage medium
CN104834715A (en) Website generating method and system based on components and container
US20150280996A1 (en) Cloud topology visualizations
US20120079413A1 (en) Dynamic, set driven, ribbon, supporting deep merge
CN112558968B (en) Method, device, equipment and storage medium for generating resource tree view
CN103218425A (en) Method and device for processing browser extension items
CN112685409A (en) PAAS application service topology generation method, device and readable storage medium
CN102541544A (en) Method, device and system for processing tree control
CN103649913A (en) Method and device for displaying data conversion relationships
US20220342742A1 (en) Graphical management of big data pipelines
CN103678687A (en) Project establishment method and device based on configuration system
EP1501011A2 (en) Method and apparatus for generating a graphical user interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant