CN107562763A - The display methods and device of data variation - Google Patents

The display methods and device of data variation Download PDF

Info

Publication number
CN107562763A
CN107562763A CN201610515979.5A CN201610515979A CN107562763A CN 107562763 A CN107562763 A CN 107562763A CN 201610515979 A CN201610515979 A CN 201610515979A CN 107562763 A CN107562763 A CN 107562763A
Authority
CN
China
Prior art keywords
data
change
legacy
data element
traversal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610515979.5A
Other languages
Chinese (zh)
Inventor
吴大瑞
王喜萍
周宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610515979.5A priority Critical patent/CN107562763A/en
Publication of CN107562763A publication Critical patent/CN107562763A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a kind of display methods of data variation and device, method therein includes:Obtain legacy data and new data;According to the order of key value, traversal is synchronized to legacy data and new data, finds out the data element to change;In a manner of legacy data and new data contrast, the data element to change is shown.The present invention is by way of new and old comparing, intuitively to the change of user's display data generation.

Description

The display methods and device of data variation
Technical field
The present invention relates to the display methods and device of field of computer technology, more particularly to a kind of data variation.
Background technology
At present, as the fast development of computer technology, various application systems, management platform etc. is required for processing complexity Data.For example, for the business administration page, generally require to carry out the data processing that data volume is huge, data structure is complicated, and User mutual is generally required in processing procedure to be completed, and such as user confirms operation.
When editing complex data object, interface and data structure are complicated, then when saving data, user can not one What mesh was clear sees which item data have modified actually clearly, and once preservation may produce very big shadow to the data of mistake to system Ring, so generally requiring the confirmation that user carries out data correctness.It is that all changes data are set out to come in existing way, It is however, often numerous for complex data, the data items of change, then with regard to a lot, user is difficult to look into the data item being set out See, moreover, being not easy to user's identification goes out that specifically there occurs what to change, can not explicit data variation relation on the whole.
The content of the invention
Present invention solves the technical problem that one of be to provide the display methods and device of a kind of data variation.
One embodiment according to an aspect of the present invention, there is provided a kind of display methods of data variation, including:Obtain old Data and new data;According to the order of key value, traversal is synchronized to legacy data and new data, finds out the number to change According to element;In a manner of legacy data and new data contrast, the data element to change is shown.
Optionally, after the acquisition legacy data and new data, methods described also includes:Respectively to legacy data and new number According to row format conversion is entered, tree structure legacy data and tree structure new data are obtained.
Optionally, the order according to key value, traversal is synchronized to legacy data and new data, finds out and becomes The data element of change, including:According to order of the tree structure data from father node to child node, to tree structure legacy data and tree Shape structure new data carries out longitudinal direction traversal from top to bottom;In longitudinal ergodic process described in carrying out from top to bottom, for same Multiple data elements of one father node or child node, carry out laterally traversal according to the order of key value and compare, find out generation The data element of change.
Optionally, the key value refers to the letter of data element;The order according to key value carries out horizontal traversal Compare, refer to that carrying out laterally traversal to same father node or multiple data elements of child node in alphabetical order compares.
Optionally, methods described also includes:Count and show the back end to change and the data to change The number of node;Fast positioning button is set, so as to be linked to the back end to change.
Optionally, it is described to show the data element to change in a manner of new data and legacy data contrast, including:With Legacy data and the mode of new data contrast, the back end of related data elements before and after being combined by the data element that changes Integral form, highlight the data element to change.
Optionally, it is described to highlight the data element to change, including:With special color, special brightness and/or figure Target mode, highlight the data element to change.
Optionally, the data element to change, including:Data element, the data element of modification newly increased, And/or the data element of deletion.
One embodiment according to a further aspect of the invention, there is provided a kind of display device of data variation, including:Obtain Unit, for obtaining legacy data and new data;Comparing unit is traveled through, for the order according to key value, to legacy data and new number According to traversal is synchronized, the data element to change is found out;Display unit, for the side of legacy data and new data contrast Formula, show the data element to change.
Optionally, described device also includes:Converting unit, for entering row format conversion to legacy data and new data respectively, Obtain tree structure legacy data and tree structure new data.
Optionally, the traversal comparing unit is specifically used for, suitable from father node to child node according to tree structure data Sequence, the longitudinal direction carried out from top to bottom to tree structure legacy data and tree structure new data travel through;Carry out described in from top to bottom Longitudinal ergodic process in, for same father node or multiple data elements of child node, carried out according to the order of key value Laterally traversal compares, and finds out the data element to change.
Optionally, the key value refers to the letter of data element;It is described to travel through order of the comparing unit according to key value Carry out laterally traversal to compare, refer in alphabetical order carry out laterally same father node or multiple data elements of child node Traversal compares.
Optionally, described device also includes:Statistic unit, for counting and showing the back end and hair that change The number of the back end for changing;Button setting unit, for setting fast positioning button, so as to be linked to described become The back end of change.
Optionally, the display unit is specifically used for, and in a manner of legacy data and new data contrast, passes through the number that changes The integral form of the back end of front and rear related data elements is combined according to element, highlights the data element to change.
Optionally, the display unit highlights the hair in a manner of special color, special brightness and/or icon The data element for changing.
Optionally, the data element to change, including:Data element, the data element of modification newly increased, And/or the data element of deletion.
It can be seen that the embodiment of the present invention passes through contrast in order to give the user eye-catching prompting, by the data item to change The mode of display, the data item that will be changed is by way of the data item control after legacy data item and change, intuitively Shown to user, so as to improve the convenience that user checks, and then conveniently confirmed or the operation such as cancel.Optional In embodiment, the data element to change can be highlighted by way of special color or brightness or icon, so that The project that must change is more eye-catching, moreover, it is also possible to by way of showing overall data node, can facilitate user on the whole Judge which element is changed, in addition, by the setting of fast positioning button, user's fast positioning can be facilitated to becoming The back end of change.
Although those of ordinary skill in the art will be appreciated that following detailed description carries out referenced in schematic embodiment, accompanying drawing, But the present invention is not limited in these embodiments.But the scope of the present invention is extensive, and it is intended to be bound only by appended right It is required that limit the scope of the present invention.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of the display methods of data variation according to embodiments of the present invention;
Fig. 2 is tree structure data schematic diagram according to embodiments of the present invention;
Fig. 3 is the display control schematic diagram of data variation according to embodiments of the present invention;
Fig. 4 is the display device structure schematic diagram according to the data variation of the embodiment of the present invention.
Although those of ordinary skill in the art will be appreciated that following detailed description carries out referenced in schematic embodiment, accompanying drawing, But the present invention is not limited in these embodiments.But the scope of the present invention is extensive, and it is intended to be bound only by appended right It is required that limit the scope of the present invention.
Embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although operations are described as the processing of order by flow chart, therein to be permitted Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.When it The processing can be terminated when operation is completed, it is also possible to the additional step being not included in accompanying drawing.The processing It can correspond to method, function, code, subroutine, subprogram etc..
The computer equipment includes user equipment and the network equipment.Wherein, the user equipment includes but is not limited to electricity Brain, smart mobile phone, PDA etc.;The network equipment includes but is not limited to single network server, multiple webservers form Server group or the cloud being made up of a large amount of computers or the webserver based on cloud computing (Cloud Computing), wherein, Cloud computing is one kind of Distributed Calculation, a super virtual computer being made up of the computer collection of a group loose couplings.Its In, the computer equipment can isolated operation realize the present invention, also can access network and by with other calculating in network The present invention is realized in the interactive operation of machine equipment.Wherein, the network residing for the computer equipment include but is not limited to internet, Wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that the user equipment, the network equipment and network etc. are only for example, other are existing or from now on may be used The computer equipment or network that can occur such as are applicable to the present invention, should also be included within the scope of the present invention, and to draw It is incorporated herein with mode.
Method (some of them are illustrated by flow) discussed hereafter can be by hardware, software, firmware, centre Part, microcode, hardware description language or its any combination are implemented.Implement when with software, firmware, middleware or microcode When, to implement the program code of necessary task or code segment can be stored in machine or computer-readable medium and (for example deposit Storage media) in.(one or more) processor can implement necessary task.
Concrete structure and function detail disclosed herein are only representational, and are for describing showing for the present invention The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and it is not interpreted as It is limited only by the embodiments set forth herein.
Although it should be appreciated that may have been used term " first ", " second " etc. herein to describe unit, But these units should not be limited by these terms.It is used for the purpose of using these terms by a unit and another unit Make a distinction.For example, in the case of the scope without departing substantially from exemplary embodiment, it is single that first module can be referred to as second Member, and similarly second unit can be referred to as first module.Term "and/or" used herein above include one of them or Any and all combination of more listed associated items.
It should be appreciated that when a unit is referred to as " connecting " or during " coupled " to another unit, it can directly connect Connect or be coupled to another unit, or there may be temporary location.On the other hand, when a unit is referred to as " directly connecting Connect " or " direct-coupling " when arriving another unit, then in the absence of temporary location.It should in a comparable manner explain and be used to retouch State the relation between unit other words (such as " between being in ... " compared to " between being directly in ... ", " and with ... it is adjacent Closely " compared to " with ... be directly adjacent to " etc.).
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless Context clearly refers else, otherwise singulative used herein above "one", " one " also attempt to include plural number.Should also When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation, The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit, Component and/or its combination.
It should further be mentioned that in some replaces realization modes, the function/action being previously mentioned can be according to different from attached The order indicated in figure occurs.For example, depending on involved function/action, the two width figures shown in succession actually may be used Substantially simultaneously to perform or can perform in a reverse order sometimes.
The technical term in the embodiment of the present invention is described as follows first.
Tree form data structure, refer to be there is the data structure of the tree-like relation of " one-to-many " between data element A kind of important nonlinear data structure.In tree structure, root node does not have forerunner's node, and remaining each node has and only had One forerunner's node.Tree structure can represent hierarchical relationship, subordinate relation and coordination.
JSON (JavaScript Object Notation) is a kind of data interchange format of lightweight, and it is based on ECMAScript a subset.JSON uses the text formatting for being totally independent of language, but also using similar to C language The custom of family (including C, C++, C#, Java, JavaScript, Perl, Python etc.).
XML is extensible markup language, can be used for flag data, define data type, is that one kind allows user to certainly The original language that oneself markup language is defined.
Technical scheme is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the flow chart of the display methods of data variation according to embodiments of the present invention.The method of the present embodiment is main Comprise the following steps:
S101:Obtain legacy data and new data;
S102:According to the order of key value, traversal is synchronized to legacy data and new data, finds out the number to change According to element;
S103:In a manner of legacy data and new data contrast, the data element to change is shown.
Confirm as it was previously stated, prior art often only lists all changes data item for user, however, user is in crowd It can not learn which is changed on the whole in more change items, i.e. can not be contrasted with legacy data.On the other hand, this hair Bright embodiment is in order to give the user eye-catching prompting, by the data item to change by way of contrasting and showing, Ji Jiangfa The data item for changing legacy data item and change after data item control by way of, intuitively shown to user, from And the convenience that user checks is improved, and then conveniently confirmed or the operation such as cancel.
Wherein, comparatively legacy data and new data are.In general, data after pre-editing are new data, compile Nearest data are legacy data before volume.For example, in enterprise management platform system, user understand login system to some set into Row change and preservation, then, the data after preserving are new data, and the data before preserving are then legacy datas.It is appreciated that New data is referred to as data or current data etc. after editor, and legacy data is referred to as data or legacy data before editing Deng.
Optionally, can be by way of Data Format Transform during the data element to change is searched, will Data are converted to tree structure, so as to which convenient compare changes.
According to the different qualities of relation between data element, generally there is the basic structure of following four class:Collecting structure, the structure Data element between relation be " belonging to same set ";Linear structure, there is a pair between the data element of the structure One relation;Tree, there is one-to-many relation between the data element of the structure;Graphic structure, the number of the structure According to the relation between element there is multi-to-multi, also referred to as network structure.
Wherein, tree structure refer to be there is the data structure of the tree-like relation of " one-to-many " between data element A kind of important nonlinear data structure.In tree structure, root node does not have forerunner's node, and remaining each node has and only had One forerunner's node.Tree structure can represent hierarchical relationship, subordinate relation and coordination.
Therefore, in order to clearly go out the hierarchical relationship of each back end, in embodiments of the present invention, the data of acquisition can be entered Row Data Format Transform, so as to obtain tree structure.I.e., after step s 102, it is further comprising the steps of:Respectively to new data Enter row format conversion with legacy data, obtain tree structure new data and tree structure legacy data.
Specifically, form conversion can be carried out to data by programming language.
For example, data are changed using JSON language, so as to obtain JSON tree structure datas.JSON (JavaScript Object Notation) is a kind of data interchange format of lightweight, its one based on ECMAScript Subset.JSON using being totally independent of the text formatting of language, but also using similar to C language family custom (including C, C++, C#, Java, JavaScript, Perl, Python etc.).These characteristics make JSON turn into preferable data interchange language, It is easy to read and writes, while be also easy to machine parsing and generation, is generally used for lifting network transmission speed.
For another example, data are subjected to XML format, obtain XML tree shape structured data.XML is extensible markup language, can be with For flag data, data type is defined, is a kind of original language for allowing user to be defined the markup language of oneself.Example Such as, a kind of tree construction can be formed by XML document, wherein, XML document must include root element, and the element is every other member Father's element of element.Element in XML document forms a document tree, and this tree expands to the most bottom of tree since root End.All elements can possess daughter element;The terms such as father, son and compatriot are used to describe the relation between element.Father's element is gathered around There is daughter element.Daughter element in same level turns into (brothers or sisters) born of the same parents;All elements can possess content of text and category Property (similar HTML in).
It the above is only and illustrate and JSON or XML can be used to carry out Data Format Transform, in fact, being not limited to Both the above language, it can also take other language that the data of complexity are converted into tree structure data, for example, taking Go language (second item of Google's issue is increased income programming language), etc..
Enter row format conversion to new data and legacy data respectively, obtain tree structure new data and tree structure legacy data Afterwards, it is possible to the characteristics of according to tree structure data, traversal comparison is carried out to each element of data.Therefore, step S102 In " according to the order of key value, traversal is synchronized to new data and legacy data, finds out the data element to change ", can To be:According to order of the tree structure data from father node to child node, to tree structure new data and tree structure legacy data Carry out longitudinal direction traversal from top to bottom;In longitudinal ergodic process from top to bottom is carried out, saved for same father node or son Multiple data elements of point, carry out laterally traversal according to the order of key value and compare, find out the data element to change.
The characteristics of tree structure data is that each node is well arranged, and the present invention utilizes the feature, so as to easily and quickly right Tree structure data after conversion carries out traversal comparison.Specifically, traversal is divided into two stages (two levels):First stage, According to longitudinal direction order from top to bottom, the tree structure new data and tree structure legacy data being converted to are carried out respectively time Go through;Second stage, for some specific back end, according to the traversal order of data element key value, to the back end Multiple data elements carry out traversal comparison.
It is the schematic diagram of tree structure legacy data and tree structure new data referring to Fig. 2, wherein, Fig. 2 (a) shows tree Shape structure legacy data structural representation;Fig. 2 (b) shows the schematic diagram of tree structure new data.
In Fig. 2 (a), in data structure, root node (father node) is A-old, A-old include two child node B-old and C-old, B-old include three child node D-old, E-old and F-old, C-old two child nodes G-old and H-old.Enter one Walk, in each back end, can be made up of again multiple data elements.For example, node D-old includes data element D-old1, D- old2、D-old3…D-old100。
In Fig. 2 (b), in data structure, root node (father node) is A-new, A-new include two child node B-new and C-new, B-new include three child node D-new, E-new and F-new, C-new two child nodes G-new and H-new.Enter one Walk, in each back end, can be made up of again multiple data elements.For example, node D-new includes data element D-new1, D- new2、D-new3…D-new100。
For this example of Fig. 2 (a) and Fig. 2 (b), in the first stage " according to longitudinal direction order from top to bottom, to changing To tree structure new data and tree structure legacy data traveled through respectively ", be order from father node to child node with This traversal, i.e. respectively from A-old, B-old, C-old, D-old, E-old, F-old, G-old to H-old, and, from A- New, B-new, C-new, D-new, E-new, F-new, G-new are traveled through to H-new;In second stage " for specific Some back end, according to the traversal order of data element key value, multiple data elements of the back end are traveled through Compare ", it is that the traversal that each element is carried out for some node compares, for example, the two are corresponding for D-old and D-new Node, according to certain order traversal its data element D-old1, D-old2, D-old3 ... D-old100 and D-new1, D- Which which new2, D-new3 ... D-new100, whether changed so as to find out in or element.
Wherein, when carrying out the comparison of data element of second stage, carried out according to certain order.For example, according to Lexicographic order carries out traversal comparison to multiple elements of same node.
Optionally, methods described also includes:Count and show the back end to change and the data to change The number of node;Fast positioning button is set, so as to be linked to the back end to change.Still with Fig. 2 examples, it is assumed that The back end to change includes D and G, then fast positioning button can be set to navigate to node D and G, and shown to user The button, so as to facilitate user quickly to be checked, confirmed or the operation such as be cancelled.
Optionally, when carrying out the display of data element change, can pass through in a manner of new data and legacy data contrast The integral form of the back end of related data elements, highlights the number to change before and after the data element that changes combines According to element.Still with Fig. 2 example explanations, it is assumed that some data elements in D nodes are changed, in order to which entirety is shown to user There occurs which to change, then can highlight the data element changed by way of showing node D data.
Optionally, the data element to change, including:Data element, the data element of modification newly increased, and/or, The data element of deletion.For example, for the example in Fig. 2, if in Fig. 2 (a) D-old nodes include data element D-old1, D-old2, D-old3 ... D-old100, and D-new nodes include data element D-new1, D-new2, D-new3 ... in Fig. 2 (b) D-new100 and D-new101, then it is assumed that D-new101 is the element newly increased.For another example, by specifically comparing discovery, data element Plain D-old3 and D-new3 are changed, then it is assumed that D-new3 is the data element of modification.For another example, found by comparing, D- Old nodes include data element D-old50, and do not include data element D-new50 in D-new nodes, then, it is believed that data element D-old50 is deleted.
When carrying out showing the data element to change in a manner of new data and legacy data contrast, can specifically use In a manner of legacy data and new data contrast, the back end of related data elements before and after being combined by the data element that changes Integral form, highlight the data element to change.For example, the side with special color, special brightness and/or icon Formula, highlight the data element to change.Represent that different types of data become for example, being protruded with three kinds of different colours Change, such as with the green data element for representing to newly increase, the data primary colors for representing to be deleted with grey, the number for representing to change with yellow According to element.It is of course also possible to it is different from the element that the color unified representation of element changes that do not change only with a kind of, For example, a kind of this color table shows newly-increased, modification and the data element deleted such as only with yellow.Similarly, can take different bright Degree shown, or, take beside data element or in unified position, highlighted and changed in a manner of icon Data element.In a kind of optional mode, shown for the back end to change in a manner of highlighted, it is further, right In the data element wherein to change, then according to change type (newly-increased, modification, deleting) carry out protruding in different colors aobvious Show.
It is a schematic diagram of new and old data comparison referring to Fig. 3.In figure 3, left side is legacy data tree, including Father node A, child node B, C, B child node B1, B2, and C child node C1, C2;Right side is new data tree, including Father node A, child node B, C, B child node B1, B2 and B3, and C child node C1.By shown in Fig. 3 by new legacy data The mode of comparison is put together, very clear can determine the data that change, can especially by the form of tree More quickly navigate to the data being modified.Can be clear and definite by Fig. 3, it is new in new data structure compared to legacy data structure Increase node B3 and delete origin node C2.In display, in order to further highlight the data to change, Ke Yiru Described in preceding, show that deleted C2 (is not represented, only with text in Fig. 3 with color by the newly-increased B3 of green display, by grey Word is illustrated).
It can be seen that the embodiment of the present invention passes through contrast in order to give the user eye-catching prompting, by the data item to change The mode of display, the data item that will be changed is by way of the data item control after legacy data item and change, intuitively Shown to user, so as to improve the convenience that user checks, and then conveniently confirmed or the operation such as cancel.Optional In embodiment, the data element to change can be highlighted by way of special color or brightness or icon, so that The project that must change is more eye-catching, moreover, it is also possible to by way of showing overall data node, can facilitate user on the whole Judge which element is changed, in addition, by the setting of fast positioning button, user's fast positioning can be facilitated to becoming The back end of change.
The embodiment of the present invention provides a kind of a kind of display device of the data variation corresponding with the above method.Referring to Fig. 4, The device includes:
Acquiring unit 401, for obtaining legacy data and new data;
Comparing unit 402 is traveled through, for the order according to key value, traversal is synchronized to legacy data and new data, looked into Find out the data element to change;
Display unit 403, in a manner of being contrasted by legacy data and new data, show the data element to change.
Optionally, described device also includes:
Converting unit 404, for legacy data and new data are entered respectively row format conversion, obtain tree structure legacy data and Tree structure new data.
Optionally, the traversal comparing unit 402 is specifically used for, according to tree structure data from father node to child node Sequentially, the longitudinal direction carried out from top to bottom to tree structure legacy data and tree structure new data travels through;It is described from up in progress Under longitudinal ergodic process in, for same father node or multiple data elements of child node, enter according to the order of key value Laterally traversal compares row, finds out the data element to change.
Optionally, the key value refers to the letter of data element;The traversal comparing unit 402 is according to the suitable of key value Sequence carries out laterally traversal and compared, and refers to horizontal to same father node or the progress of multiple data elements of child node in alphabetical order Compared to traversal.
Optionally, described device also includes:
Statistic unit 405, for counting and showing the back end to change and the back end to change Number;
Button setting unit 406, for setting fast positioning button, so as to be linked to the data section to change Point.
Optionally, the display unit 403 is specifically used for, in a manner of legacy data and new data contrast, by becoming Change the integral form of the back end of related data elements before and after data element combines, highlight the data element to change Element.
Optionally, the display unit 403 is highlighted described in a manner of special color, special brightness and/or icon The data element to change.
Optionally, the data element to change, including:Data element, the data element of modification newly increased, And/or the data element of deletion.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can realize steps described above or function by computing device.Similarly, it is of the invention Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to realize, example Such as, coordinate as with processor so as to perform the circuit of each step or function.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provided. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, the device includes using Memory in storage computer program instructions and processor for execute program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (16)

  1. A kind of 1. display methods of data variation, it is characterised in that including:
    Obtain legacy data and new data;
    According to the order of key value, traversal is synchronized to legacy data and new data, finds out the data element to change;
    In a manner of legacy data and new data contrast, the data element to change is shown.
  2. 2. the method as described in claim 1, it is characterised in that after the acquisition legacy data and new data, methods described Also include:
    Enter row format conversion to legacy data and new data respectively, obtain tree structure legacy data and tree structure new data.
  3. 3. method as claimed in claim 2, it is characterised in that the order according to key value, to legacy data and new data Traversal is synchronized, finds out the data element to change, including:
    According to order of the tree structure data from father node to child node, tree structure legacy data and tree structure new data are entered The longitudinal direction traversal of row from top to bottom;
    In longitudinal ergodic process described in carrying out from top to bottom, for same father node or multiple data elements of child node Element, carry out laterally traversal according to the order of key value and compare, find out the data element to change.
  4. 4. method as claimed in claim 3, it is characterised in that the key value refers to the letter of data element;It is described according to The order of key value carries out laterally traversal and compared, and refers to multiple data in alphabetical order to same father node or child node Element carries out laterally traversal and compared.
  5. 5. the method as described in claim any one of 1-4, it is characterised in that methods described also includes:
    Count and show the number of the back end to change and the back end to change;
    Fast positioning button is set, so as to be linked to the back end to change.
  6. 6. the method as described in claim any one of 1-4, it is characterised in that the side contrasted with new data and legacy data Formula, the data element to change is shown, including:
    In a manner of legacy data and new data contrast, the data of related data elements before and after being combined by the data element that changes The integral form of node, highlight the data element to change.
  7. 7. method as claimed in claim 6, it is characterised in that it is described to highlight the data element to change, including:
    In a manner of special color, special brightness and/or icon, the data element to change is highlighted.
  8. 8. method as claimed in claim 7, it is characterised in that the data element to change, including:The number newly increased According to element, the data element of modification, and/or, the data element of deletion.
  9. A kind of 9. display device of data variation, it is characterised in that including:
    Acquiring unit, for obtaining legacy data and new data;
    Comparing unit is traveled through, for the order according to key value, traversal is synchronized to legacy data and new data, finds out generation The data element of change;
    Display unit, in a manner of being contrasted by legacy data and new data, show the data element to change.
  10. 10. device as claimed in claim 9, it is characterised in that described device also includes:
    Converting unit, for entering row format conversion to legacy data and new data respectively, obtain tree structure legacy data and tree-like knot Structure new data.
  11. 11. device as claimed in claim 10, it is characterised in that the traversal comparing unit is specifically used for, according to tree-like knot Order of the structure data from father node to child node, from top to bottom vertical is carried out to tree structure legacy data and tree structure new data To traversal;In longitudinal ergodic process described in carrying out from top to bottom, for same father node or multiple data of child node Element, carry out laterally traversal according to the order of key value and compare, find out the data element to change.
  12. 12. device as claimed in claim 11, it is characterised in that the key value refers to the letter of data element;Described time Go through comparing unit and carry out laterally traversal comparison according to the order of key value, refer in alphabetical order to same father node or son Multiple data elements of node carry out laterally traversal and compared.
  13. 13. the device as described in claim any one of 9-12, it is characterised in that described device also includes:
    Statistic unit, for counting and showing the number of the back end to change and the back end to change;
    Button setting unit, for setting fast positioning button, so as to be linked to the back end to change.
  14. 14. the device as described in claim any one of 9-12, it is characterised in that the display unit is specifically used for, with old number According to the mode contrasted with new data, the entirety of the back end of related data elements before and after being combined by the data element that changes Form, highlight the data element to change.
  15. 15. device as claimed in claim 14, it is characterised in that the display unit with special color, special brightness and/or The mode of icon, highlight the data element to change.
  16. 16. method as claimed in claim 15, it is characterised in that the data element to change, including:Newly increase Data element, the data element of modification, and/or, the data element of deletion.
CN201610515979.5A 2016-07-01 2016-07-01 The display methods and device of data variation Pending CN107562763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610515979.5A CN107562763A (en) 2016-07-01 2016-07-01 The display methods and device of data variation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610515979.5A CN107562763A (en) 2016-07-01 2016-07-01 The display methods and device of data variation

Publications (1)

Publication Number Publication Date
CN107562763A true CN107562763A (en) 2018-01-09

Family

ID=60969887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610515979.5A Pending CN107562763A (en) 2016-07-01 2016-07-01 The display methods and device of data variation

Country Status (1)

Country Link
CN (1) CN107562763A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992698A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Data processing method, device, electronic equipment and readable storage medium storing program for executing
CN111144090A (en) * 2019-12-23 2020-05-12 网易(杭州)网络有限公司 File comparison method and device, electronic equipment and storage medium
CN111949660A (en) * 2020-08-12 2020-11-17 光大兴陇信托有限责任公司 Distributed comparison method based on HashMap data structure
CN112114793A (en) * 2020-09-14 2020-12-22 中国船舶重工集团公司第七0九研究所 Code generation method and system for converting general JSON object into C/C + + structured object

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008038416A1 (en) * 2006-09-26 2008-04-03 Justsystems Corporation Document searching device and document searching method
CN101441647A (en) * 2008-12-25 2009-05-27 中国烟草总公司郑州烟草研究院 Automatic updating method and system of patent legal state in enterprise patent database
CN101464874A (en) * 2007-12-17 2009-06-24 金宝电子(上海)有限公司 Method for representing electronic dictionary catalog data by XML
CN103136230A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Comparing method and device of tree-type structure file
CN103500169A (en) * 2013-09-02 2014-01-08 用友软件股份有限公司 File comparison device and file comparison method
CN103761276A (en) * 2014-01-09 2014-04-30 大唐移动通信设备有限公司 Tree-structure data comparison displaying method and device
CN104750775A (en) * 2013-12-24 2015-07-01 Tcl集团股份有限公司 Content alignment method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008038416A1 (en) * 2006-09-26 2008-04-03 Justsystems Corporation Document searching device and document searching method
CN101464874A (en) * 2007-12-17 2009-06-24 金宝电子(上海)有限公司 Method for representing electronic dictionary catalog data by XML
CN101441647A (en) * 2008-12-25 2009-05-27 中国烟草总公司郑州烟草研究院 Automatic updating method and system of patent legal state in enterprise patent database
CN103136230A (en) * 2011-11-25 2013-06-05 阿里巴巴集团控股有限公司 Comparing method and device of tree-type structure file
CN103500169A (en) * 2013-09-02 2014-01-08 用友软件股份有限公司 File comparison device and file comparison method
CN104750775A (en) * 2013-12-24 2015-07-01 Tcl集团股份有限公司 Content alignment method and system
CN103761276A (en) * 2014-01-09 2014-04-30 大唐移动通信设备有限公司 Tree-structure data comparison displaying method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992698A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Data processing method, device, electronic equipment and readable storage medium storing program for executing
CN111144090A (en) * 2019-12-23 2020-05-12 网易(杭州)网络有限公司 File comparison method and device, electronic equipment and storage medium
CN111949660A (en) * 2020-08-12 2020-11-17 光大兴陇信托有限责任公司 Distributed comparison method based on HashMap data structure
CN111949660B (en) * 2020-08-12 2024-04-12 光大兴陇信托有限责任公司 Distributed comparison method based on HashMap data structure
CN112114793A (en) * 2020-09-14 2020-12-22 中国船舶重工集团公司第七0九研究所 Code generation method and system for converting general JSON object into C/C + + structured object
CN112114793B (en) * 2020-09-14 2023-09-22 中国船舶重工集团公司第七0九研究所 Code generation method and system for converting general JSON object into C/C++ structured object

Similar Documents

Publication Publication Date Title
US20150339375A1 (en) Web application for debate maps
US8762834B2 (en) User interface for defining a text file transformation
AU2020260374A1 (en) Building reports
US20120059858A1 (en) Minimal representation of connecting walks
CN106104518A (en) For the framework extracted according to the data of example
CN103793135B (en) User interface tree-structure display method and system
Sánchez Ramón et al. Model-driven reverse engineering of legacy graphical user interfaces
CN107562763A (en) The display methods and device of data variation
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
JP5241738B2 (en) Method and apparatus for building tree structure data from tables
AU2013323260A1 (en) Graphically representing programming attributes
US8825696B2 (en) Computer readable storage medium recording database search program, database search device, and database search method
CN102053987B (en) For showing the unified interface with Update Table array
CN104090769B (en) The figure methods of exhibiting and device of a kind of business datum
US9250925B2 (en) Adding inheritance support to a computer programming language
JPWO2005098658A1 (en) Document processing apparatus and document processing method
Chen et al. A visualization method for geographic conceptual modelling
US20100235385A1 (en) Semi-structured data retrieval method, and structured data retrieval device
CN110309239B (en) Visual map editing method and device
JP2009238215A (en) Data processing device and data processing method
Chen et al. An overview on visualization of ontology alignment and ontology entity
JPWO2006137564A1 (en) Document processing device
Shihab et al. Angur: A visualization system for XML documents
Swaminathan et al. Comprehensive ontology cognitive assisted visualization tools-A survey
CN116680444B (en) Data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication