WO2022169010A1 - System and method for converting document structure for arxml migration - Google Patents

System and method for converting document structure for arxml migration Download PDF

Info

Publication number
WO2022169010A1
WO2022169010A1 PCT/KR2021/001625 KR2021001625W WO2022169010A1 WO 2022169010 A1 WO2022169010 A1 WO 2022169010A1 KR 2021001625 W KR2021001625 W KR 2021001625W WO 2022169010 A1 WO2022169010 A1 WO 2022169010A1
Authority
WO
WIPO (PCT)
Prior art keywords
xml
document
attribute
original document
xml element
Prior art date
Application number
PCT/KR2021/001625
Other languages
French (fr)
Korean (ko)
Inventor
서용진
Original Assignee
주식회사 알티스트
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 주식회사 알티스트 filed Critical 주식회사 알티스트
Publication of WO2022169010A1 publication Critical patent/WO2022169010A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring

Definitions

  • the present invention relates to a document structure conversion system and method for ARXML migration.
  • the present invention is a research result of "Development of high-reliability and adaptive battlefield SW platform technology for intelligent vehicle service” carried out with the support of the SW computing industry source technology development (R&D) project of the Information and Communication Planning and Evaluation Institute with the resources of the Ministry of Science and ICT. Ida (task identification number: 1711102833).
  • R&D SW computing industry source technology development
  • AUTOSAR aims to standardize the SW architecture and development methodologies mounted on ECUs, largely for the automotive SW architecture and application interfaces, methodology for developing electronic equipment software using them, and for software safety. Standardization is in progress by dividing it into conformance test fields.
  • ARXML Autosar standard format based on XML (eXtensible Markup Language).
  • ARXML has a schema of about 140,000 lines and a vast document form that contains design information from various perspectives, it is difficult to track changes. Very difficult problems also arise.
  • the embodiment of the present invention converts the structure of an original document, which is a document created by the existing version of ARXML, to the same as that of a reference document, which is a document created by the newly updated version of ARXML, when the version of ARXML is updated.
  • a document structure conversion system (10) that analyzes the structure of the document to reduce the waste of time and money required to manually change it to match the structure of the reference document, or to rewrite an existing document to fit the structure of the newly updated version of ARXML. ) and to provide a document structure conversion system (10).
  • a document structure transformation method includes: (a) analyzing, by a structure analysis unit, the structure of a reference document and an original document having an ARXML structure created through XML schema; (b) a document structure comparison step of comparing, by a structure comparison unit, a difference in structure between the reference document and the original document; and (c) converting the structure of the original document into the structure of the reference document based on the comparison result by the structure conversion unit.
  • the step (a) includes: (a-1) mapping each XML element included in the ARXML structure to each node; (a-2) mapping the XML attribute of each XML element included in the ARXML structure to the attribute of each node; and (a-3) analyzing the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
  • the step (b) includes: (b-1) comparing, by a first comparison unit, a graph database for each of the reference document and the original document, and adding the XML element, deleting the XML element, and the XML attribute determining whether there is an addition, deletion of the XML attribute, or a change of the XML attribute; (b-2) comparing, by a second comparison unit, a graph database for each of the reference document and the original document, and determining whether there is a movement of the position of the XML element or movement of the XML attribute; and (b-3) providing, by the review unit, the determination result in steps (b-1) and (b-2) and a user interface in which a pop-up menu for correcting the determination result is displayed.
  • the step (b-1) includes: (b-1-1) determining that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document instead of being included in the structure of the original document ; (b-1-2) determining that the XML element is deleted when an XML element having the same XML attribute is included in the structure of the original document but not in the structure of the reference document; (b-1-3) determining that the XML attribute is added when an XML attribute having the same data type and multiplicity for a specific XML element is not included in the structure of the original document but is included in the structure of the reference document; (b-1-4) determining that the XML attribute is deleted when an XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document; and (b-1-5) determining that the XML attribute is changed when the data type or multiplicity of the specific XML attribute of the specific
  • the step (b-2) includes: (b-2-1) determining that the position of the XML element is moved when the XML element is deleted from the structure of the original document and added from the structure of the reference document ; and (b-2-2) determining that the position of the XML attribute is moved when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document.
  • the step (b-3) includes: (b-3-1) providing a user interface displaying the structure of the added reference document when it is determined that the XML element is added or the XML attribute is added; (b-3-2) providing a user interface displaying the structure of the deleted original document when it is determined that the XML element is deleted or the XML attribute is deleted; (b-3-3) providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed when it is determined that the XML attribute is changed; (b-3-4) When it is determined that there is a movement of the position of the XML element or movement of the XML attribute, a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed providing; and (b-3-5) when it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML
  • the method may further include providing a user interface in which a pop-up menu is displayed.
  • the step (c) includes: (c-1) converting the structure of the original document into the structure of the reference document based on the comparison result; and (c-2) when it is determined that the XML element or XML attribute included in the structure of the original document is deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the deleted XML element or XML
  • the information included in the attribute may further include the step of separately storing the information in a separate database.
  • a document structure conversion system includes: a structure analyzer configured to analyze the structure of a reference document and an original document having an ARXML structure created through XML schema; a structure comparison unit configured to compare a difference in structure between the reference document and the original document; and a structure conversion unit configured to convert the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit.
  • the structure analysis unit maps each XML element included in the ARXML structure to each node; mapping an XML attribute of each XML element included in the ARXML structure to an attribute of each node; It may be configured to analyze the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
  • the structure comparison unit compares graph databases for each of the reference document and the original document, and adds the XML element, deletes the XML element, adds the XML attribute, deletes the XML attribute, or changes the XML attribute.
  • a first comparison unit configured to determine whether there is a second comparison unit, configured to compare a graph database for each of the reference document and the original document to determine whether there is a positional movement of the XML element or a movement of the XML attribute; and a review unit configured to provide a user interface in which a result of determination by the first comparison unit and the second comparison unit and a pop-up menu for modifying the determination result are displayed.
  • the first comparison unit is configured to: determine that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document rather than included in the structure of the original document; when an XML element having the same XML attribute is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML element is deleted; When an XML attribute having the same data type and multiplicity of a specific XML element is not included in the structure of the original document but is included in the structure of the reference document, it is determined that the XML attribute is added; For a specific XML element, when an XML attribute having the same data type and multiplicity is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML attribute is deleted; When a data type or multiplicity of a specific XML attribute for a specific XML element is different from each other, it may be configured to determine that the XML attribute has been changed.
  • the second comparison unit is configured to: determine that there is a positional movement of the XML element when the XML element is deleted from the structure of the original document and added from the structure of the reference document; When the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, it may be determined that the position of the XML attribute is moved.
  • the review unit is configured to: if it is determined that there is the addition of the XML element or the addition of the XML attribute, provides a user interface in which the structure of the added reference document is displayed; when it is determined that there is deletion of the XML element or deletion of the XML attribute, providing a user interface displaying the structure of the deleted original document; if it is determined that there is a change in the XML attribute, providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed; when it is determined that there is a movement of the position of the XML element or movement of the XML attribute, providing a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed; When it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or by deleting an XML
  • a user interface displaying a pop-up menu that can be modified by adding an XML attribute or by adding an XML attribute in the reference document when it is determined that there is a movement of the XML attribute in the original document.
  • the structure conversion unit converts the structure of the original document into the structure of the reference document based on the comparison result; When it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the information included in the deleted XML element or XML attribute is It can be configured to be kept separately in a separate database.
  • the document structure conversion system 10 and the document structure conversion method S10 convert the structure of the original document, which is a document created by the existing version of ARXML, to the newly updated version of ARXML.
  • the structure of the reference document which is a document created by It can reduce the waste of time and money.
  • FIG. 1 is a flowchart illustrating a document structure conversion method (S10) according to an embodiment of the present invention.
  • FIG. 2 is a diagram illustrating a document structure conversion system 10 according to an embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a state in which the document structure conversion method ( S10 ) is performed by the document structure conversion system 10 .
  • FIG. 4 is a diagram illustrating a graph database of an original document.
  • FIG. 5 is a diagram illustrating a graph database of an XML element added transformation document.
  • FIG. 6 is a diagram illustrating a graph database of a converted document in which an XML element is deleted.
  • FIG. 7 is a diagram illustrating a graph database of a converted document to which an XML attribute is added.
  • FIG. 8 is a diagram illustrating a graph database of a converted document in which the XML attribute is deleted.
  • FIG. 9 is a diagram illustrating a graph database of a converted document in which the XML attribute is changed.
  • FIG. 10 is a diagram illustrating a graph database of a converted document in which the position of an XML element is moved.
  • FIG. 11 is a diagram illustrating a graph database of a converted document in which the position of the XML attribute has been moved.
  • FIG. 12 is a diagram illustrating a user interface provided by review unit 230 .
  • FIG. 1 is a flowchart illustrating a document structure conversion method S10 according to an embodiment of the present invention
  • FIG. 2 is a diagram illustrating a document structure conversion system 10 according to an embodiment of the present invention
  • FIG. 3 is a document It is a flowchart showing a state that the document structure conversion method (S10) is performed by the structure conversion system (10).
  • the document structure conversion method ( S10 ) is performed through steps S100 to S300 .
  • the document structure conversion method (S10) is performed by the structure analysis unit 100, and a document structure analysis step (S100) of analyzing the structure of a reference document and an original document having an ARXML structure created through XML schema; It is performed by the structure comparison unit 200 and is performed by the document structure comparison step (S200) and the structure conversion unit 300 for comparing the structural difference between the reference document and the original document, and based on the comparison result in step S200, the original and a document structure conversion step (S300) of converting the structure of the document into the structure of the reference document.
  • the structure analysis unit 100 is configured to analyze the structure of a reference document and an original document written through XML schema and having an ARXML structure, and the structure comparison unit 200 compares a difference in structure between the reference document and the original document.
  • the structure conversion unit 300 is configured to convert the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit 200 .
  • the original document refers to a document written by ARXML before the version is updated
  • the reference document refers to a document written by ARXML after the version is updated.
  • the document structure conversion system 10 and the document structure conversion method S10 of the present invention refer to a system and method for changing an ARXML structure of an original document into an ARXML structure of a reference document.
  • an original document and a reference document are input to the structure analysis unit 100 .
  • the structure analysis unit 100 analyzes the structure of the reference document and the original document having the ARXML structure by being created through the XML schema, and implemented by the graph database of the reference document implemented by the structure of the reference document and the structure of the original document Outputs the graph database of the original document.
  • the graph database of the reference document and the graph database of the original document output by the structure analysis unit 100 are input to the structure comparison unit 200 .
  • the structure comparison unit 200 compares the graph database of the reference document with the graph database of the original document, determines whether there is a difference in structure between the two documents, and outputs the determination result.
  • the determination result on the difference in the structure output by the structure comparison unit 200 is input to the structure conversion unit 300 .
  • the structure conversion unit 300 converts the structure of the original document into the structure of the reference document based on the determined difference in structure, and as a result, the structure of the document is converted to be the same as the structure of the reference document (hereinafter referred to as conversion) document) is printed.
  • An XML document having an ARXML structure includes one or more XML elements, and a hierarchical relationship exists between each XML element.
  • Each XML element contains an XML element identifier indicating the name of the XML element and one or more XML attributes.
  • the XML attribute may include an XML attribute identifier indicating the name of the corresponding XML attribute, a data type indicating the range of attribute values that the corresponding XML attribute can have, and a multiplicity indicating the number of corresponding XML attribute values. Indicates the characteristics of the corresponding XML element.
  • Step S100 performed by the structure analysis unit 100 may include steps S110 to S130.
  • Step S110 refers to a step of mapping each XML element included in the ARXML structure to each node.
  • Step S120 refers to a step of mapping the XML attribute of each XML element included in the ARXML structure to the attribute of each node.
  • step S130 refers to a step of analyzing the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
  • Steps S110 to S130 may be performed by the structure analysis unit 100 .
  • the structure analysis unit 100 maps each XML element included in the ARXML structure to each node, and then XML attributes can be mapped to attributes of each node.
  • ARXML The structure of ARXML consists of XML elements and XML attributes in text form according to XML schema. Since information composed in text form can be compared through the arrangement and position of the characters constituting the information, even if they have the same character arrangement, they can be identified as different XML elements if they exist in different positions.
  • the ARXML structure needs to be converted into an appropriate form so that it can be compared based on the XML element identifier and the XML attribute identifier.
  • the graph database may be composed of nodes and edges. Each node is composed of a name and an attribute.
  • the node is mapped to an XML element in the ARXML structure, and the attribute of the node can be mapped to an XML attribute.
  • an XML element may be mapped to a node in the graph database, and an XML attribute for each XML element may be mapped to an attribute for a corresponding node in the graph database.
  • the structure analyzer 100 maps each XML element included in the ARXML structure to each node of the graph database, and maps the XML attribute of each XML element included in the ARXML structure to the attribute of each node.
  • the structure of each document can be analyzed by implementing a graph database for each of the reference document and the original document.
  • the structure comparison unit 200 may include a first comparison unit 210 , a second comparison unit 220 , and a review unit 230 .
  • Step S200 performed by the structure comparison unit 200 may include steps S210 to S230.
  • Step S210 is performed by the first comparison unit 210 and compares the graph database for each of the reference document and the original document, to add an XML element, delete an XML element, add an XML attribute, delete an XML attribute, or an XML attribute refers to a step of determining whether there is a change in
  • step S220 is performed by the second comparison unit 220 and compares the graph database for each of the reference document and the original document to move the position of the XML element or the position of the XML attribute
  • step S230 is performed by the review unit 230 and provides a user interface in which the determination result in steps S210 and S220 and a pop-up menu for correcting the determination result are displayed steps to say
  • the user interface may be provided as shown in FIG. 12 to be described later.
  • the first comparison unit 210 compares the graph database for each of the reference document and the original document, so that addition of an XML element, deletion of an XML element, addition of an XML attribute, deletion of an XML attribute, or change of an XML attribute is determined.
  • the second comparison unit 220 is configured to compare the graph database for each of the reference document and the original document to determine whether there is a displacement of an XML element or a displacement of an XML attribute.
  • the review unit 230 may be configured to provide a user interface in which a result of the determination by the first comparison unit 210 and the second comparison unit 220 and a pop-up menu for modifying the determination result are displayed. .
  • Step S210 performed by the first comparison unit 210 may include steps S211 to S215 .
  • Step S211 refers to a step of determining that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document rather than included in the structure of the original document.
  • step S212 when an XML element having the same XML attribute is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML element is deleted.
  • Step S213 refers to a step of determining that the XML attribute is added when an XML attribute having the same data type and multiplicity for a specific XML element is not included in the structure of the original document but is included in the structure of the reference document.
  • Step S214 refers to a step of determining that the XML attribute is deleted when, for a specific XML element, an XML attribute having the same data type and multiplicity is included in the structure of the original document but not in the structure of the reference document.
  • step S215 refers to a step of determining that the XML attribute is changed when the data type or multiplicity of a specific XML attribute for a specific XML element is different from each other.
  • the first comparison unit 210 determines that the XML element is added, and determines that the XML element has the same XML attribute is included in the structure of the original document but not in the structure of the reference document, it is determined that the XML element has been deleted, and the XML attribute with the same data type and multiplicity for a specific XML element is not included in the structure of the original document.
  • the XML attribute has been added, and the XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document. In this case, it may be determined that the XML attribute has been deleted, and if the data type or multiplicity of a specific XML attribute for a specific XML element is different from each other, it may be determined that the XML attribute has been changed.
  • FIG. 4 is a diagram illustrating a graph database of an original document
  • FIG. 5 is a diagram illustrating a graph database of a converted document to which an XML element is added
  • FIG. 6 is a diagram illustrating a graph database of a converted document in which an XML element is deleted.
  • the addition of an XML element means that an XML element that did not exist in the structure of the original document exists in the structure of the reference document.
  • deletion of the XML element means that the XML element existing in the structure of the original document does not exist in the structure of the reference document.
  • XML elements are basically identified through XML element identifiers
  • addition and deletion of XML elements can be identified by comparing both the structure of the original document and the XML element identifier of the structure of the reference document.
  • FIG. 7 is a diagram illustrating a graph database of a converted document in which an XML attribute is added
  • FIG. 8 is a diagram illustrating a graph database of a converted document in which an XML attribute is deleted.
  • an XML attribute means that an XML attribute that does not exist in the structure of an original document exists in the structure of a reference document with respect to a specific XML element.
  • deletion of the XML attribute means that for a specific XML element, the XML attribute that existed in the structure of the original document does not exist in the structure of the reference document.
  • XML attributes are identified through XML attribute identifiers, so addition and deletion of XML attributes can be identified by comparing all XML attribute identifiers for all XML elements in the structure of the original document and the structure of the reference document.
  • FIG. 9 is a diagram illustrating a graph database of a converted document in which the XML attribute is changed.
  • the change of XML attribute means a case in which specific XML attributes having the same XML attribute identifier have different configurations.
  • step S210 performed by the first comparison unit 210 may be performed by comparing the structure of the original document with the structure of the basic document and determining the difference.
  • Step S220 performed by the second comparison unit 220 may include steps S221 and S222.
  • Step S221 refers to a step of determining that the position of the XML element is moved when the XML element is deleted from the structure of the original document and added from the structure of the reference document.
  • step S222 when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, it is determined that the position of the XML attribute is moved.
  • the second comparison unit 220 determines that the position of the XML element has moved, and the XML attribute is deleted from the structure of the original document. and added in the structure of the reference document, it may be configured to determine that there is a positional movement of the XML attribute.
  • FIG. 10 is a diagram illustrating a graph database of a converted document in which the position of an XML element is moved.
  • the movement of the position of an XML element means that a specific XML element exists in both the structure of the original document and the structure of the reference document, but the positions are different. means it has been changed.
  • relationship information between XML elements is expressed as XML attributes, so this can be identified through differences in XML attributes.
  • FIG. 11 is a diagram illustrating a graph database of a converted document in which the position of the XML attribute has been moved.
  • the movement of the XML attribute is a case in which specific XML attributes having the same XML attribute identifier, data type, and multiplicity exist in different XML elements in the structure of the original document and the structure of the reference document. it means.
  • the difference between the structure of the original document and the structure of the reference document is analyzed through comparison between XML elements having the same XML element identifier.
  • step S220 since the deleted information is added to another location in step S220 performed by the second comparison unit 220, an XML element or XML attribute having the same configuration is deleted from the structure of the original document, It can be performed by determining whether to be added in the structure of the reference document.
  • the review unit 230 may provide a user interface to the user so that the determination result can be corrected.
  • FIG. 12 is a diagram illustrating a user interface provided by review unit 230 .
  • step S230 performed by the review unit 230 may include steps S231 to S235 .
  • Step S231 refers to a step of providing a user interface in which the structure of the added reference document is displayed when it is determined that there is an addition of an XML element or an addition of an XML attribute.
  • Step S232 refers to a step of providing a user interface in which the structure of the deleted original document is displayed when it is determined that there is deletion of the XML element or deletion of the XML attribute.
  • step S233 when it is determined that there is a change in the XML attribute, a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed is provided.
  • Step S234 refers to a step of providing a user interface in which the structure of the original document before the position movement and the structure of the reference document after the position movement are displayed when it is determined that there is a movement of the position of the XML element or movement of the XML attribute. .
  • step S235 if it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or deletion of an XML attribute in the original document and the addition of an XML element in the reference document. If it is determined that there is an XML attribute addition in the , it is corrected by moving the position of the XML attribute. Refers to the step of providing a user interface displaying a pop-up menu for further modification or, when it is determined that there is a movement of the XML attribute, the deletion of the XML attribute from the original document and the addition of the XML attribute from the reference document. .
  • the review unit 230 provides a user interface in which the structure of the added reference document is displayed, and it is determined that there is the deletion of the XML element or the deletion of the XML attribute.
  • a user interface is provided in which the structure of the deleted original document is displayed, and when it is determined that there is a change in the XML attribute, the user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed and, when it is determined that there is a movement of an XML element or a movement of an XML attribute, a user interface is provided in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed.
  • it is modified by moving the position of the XML attribute, or if it is determined that there is a movement of the XML element, it is modified by deleting the XML element from the original document and adding an XML element from the base document, or , when it is determined that there is a positional movement of the XML attribute, it may be configured to provide a user interface in which a pop-up menu is displayed in which the deletion of the XML attribute in the original document and addition of the XML attribute in the reference document can be modified.
  • the user interface may be shown as shown in FIG. 12 .
  • Step S300 performed by the structure conversion unit 300 may include steps S310 and S320.
  • Step S310 refers to a step of converting the structure of the original document into the structure of the reference document based on the comparison result in step S200.
  • step S320 when it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but information included in the deleted XML element or XML attribute refers to the step of storing separately in a separate database.
  • the structure conversion unit 300 converts the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit 200 to output the converted document, and an XML element included in the structure of the original document or
  • the XML element or XML attribute may be deleted from the structure of the original document, but information included in the deleted XML element or XML attribute may be separately stored in a separate database.
  • step S300 refers to a step of converting the structure of the original document to be the same as that of the reference document based on the comparison result in step S200.
  • step S300 a specific XML element or a specific XML attribute may be deleted or added after deletion. Since step S300 converts the structure of the original document to be the same as that of the reference document, it is not possible to add new information that does not exist. Therefore, it will be obvious that only additional work is not performed separately.
  • the delete operation is performed targeting the deletion of XML elements and the deletion of XML attributes. This can be done by literally deleting the relevant information. However, since all of the previously created information is created out of necessity, it is desirable to keep it as it is even if it does not exist in the target structure. Therefore, all information deleted through step S300 may be separately stored in a separate database.
  • the operation to be added after deletion is performed by moving the position of the XML element, moving the position of the XML attribute, and changing the XML attribute.
  • the deletion operation proceeds in the same manner as described above. After deletion, the information is equally added to the structure of the reference document, but since this also accompanies the deletion process, all deleted information may be separately stored in a separate database.
  • the document structure conversion method S10 performed by the document structure conversion system 10 and the document structure conversion system 10 according to an embodiment of the present invention is a document created by the existing version of ARXML when the version of ARXML is updated.
  • the structure of the original document, which is a document created by the newly updated version of ARXML, can be converted to be the same as that of the reference document.
  • the present invention may further include a computer-readable recording medium in which a program for executing the above-described document structure conversion method ( S10 ) is recorded.

Abstract

A method for converting a document's structure according to one embodiment of the present invention comprises: (a) a document structure analysis step of analyzing, by means of a structure analysis unit, the structures of an original document and a reference document having an ARXML structure created through an XML schema; (b) a document structure comparison step of comparing, by means of a structure comparison unit, a difference in structure between the reference document and the original document; and (c) a document structure conversion step of converting, by means of a structure conversion unit, the structure of the original document into the structure of the reference document on the basis of the comparison result.

Description

ARXML 마이그레이션을 위한 문서 구조 변환 시스템 및 방법Document structure conversion system and method for ARXML migration
본 발명은 ARXML 마이그레이션을 위한 문서 구조 변환 시스템 및 방법에 관한 것이다.The present invention relates to a document structure conversion system and method for ARXML migration.
본 발명은 과학기술정보통신부의 재원으로 정보통신기획평가원의 SW컴퓨팅산업원천기술개발(R&D) 사업의 지원을 받아 수행된 "지능형 차량서비스를 위한 고신뢰·적응형 전장SW플랫폼 기술 개발"의 연구결과이다(과제고유번호: 1711102833).The present invention is a research result of "Development of high-reliability and adaptive battlefield SW platform technology for intelligent vehicle service" carried out with the support of the SW computing industry source technology development (R&D) project of the Information and Communication Planning and Evaluation Institute with the resources of the Ministry of Science and ICT. Ida (task identification number: 1711102833).
최근 안정성과 편의성 위주의 다양한 차량 부가 서비스가 개발되면서 과거 단순한 이동수단에 불과하였던 자동 차는 이제 운전자 개인의 하나의 공간 영역의 개념으로 인식되고 있다.With the recent development of various additional vehicle services focusing on stability and convenience, automobiles, which were merely a means of transportation in the past, are now recognized as the concept of a single space area of the driver.
이에 따라, 자동차의 바디 제어를 통한 다양한 자동화 서비스는 물론이고 GPS 및 이동통신 네트워크, 블루투스 등을 기반으로 하는 다양한 멀티미디어 서비스까지 소비자의 니즈와 취향에 맞는 자동차의 서비스는 나날이 발 전해 가고 있다.Accordingly, automobile services that meet the needs and tastes of consumers are developing day by day, from various automation services through vehicle body control to various multimedia services based on GPS, mobile communication network, and Bluetooth.
이러한 서비스는 대체로 기계식 장치가 아닌 전자 제어 장치(Electronic Control Unit: ECU)로 제공될 수밖에 없으며, 이에 따라 자동차 산업에 소프트웨어 및 IT 기술의 접목은 필수 불가결하게 되었다.These services are generally inevitably provided as electronic control units (ECUs) rather than mechanical devices. Accordingly, the integration of software and IT technologies into the automobile industry has become indispensable.
다만, 제품의 안전성 보장과 모듈 재사용성의 문제, 하드웨어 의존성 제거 등은 모든 소프트웨어 제품의 공통 적인 숙제이며, 소프트웨어 중심의 서비스를 탑재하는 자동차 전자 장비화 서비스 또한 이 문제를 피해갈 수 없다.However, product safety assurance, module reusability, and hardware dependency removal are common tasks for all software products, and automotive electronic equipment service equipped with software-oriented services cannot avoid this problem.
이러한 문제점을 해결하기 위하여, BMW, Bosch, Volkswagen 등 세계적인 자동차 완성 업체 및 부품 업체가 중심 이 되어 AUTOSAR(Automotive Open System Architecture)라는 협의체를 구성하여 표준화를 진행하고 있다.In order to solve these problems, global automobile manufacturers and parts makers such as BMW, Bosch, and Volkswagen have formed a consultative body called AUTOSAR (Automotive Open System Architecture) to standardize it.
이러한, 오토사(AUTOSAR)는 ECU에 탑재되는 SW 아키텍처와 개발 방법론을 표준화하는 것을 목적으로 하며, 크게 자동차 SW 아키텍처 및 어플리케이션 인터페이스, 이들을 이용하여 전자 장비화 소프트웨어를 개발하기 위한 방법론, 소프트웨어 안전성을 위한 적합성 테스트 분야로 나누어 표준화를 진행하고 있다.Such, AUTOSAR aims to standardize the SW architecture and development methodologies mounted on ECUs, largely for the automotive SW architecture and application interfaces, methodology for developing electronic equipment software using them, and for software safety. Standardization is in progress by dividing it into conformance test fields.
이에 따라, 제안된 모델과 방법론에 의해 차량용 소프트웨어를 개발하기 위한 Vector, EB, KPIT 등과 같은 다양 한 개발 도구가 제안되고 있다.Accordingly, various development tools such as Vector, EB, and KPIT have been proposed to develop vehicle software according to the proposed model and methodology.
이러한 개발 도구를 이용하면 XML(eXtensible Markup Language) 기반의 Autosar 표준 포맷인 ARXML로 작성된다.Using these development tools, it is written in ARXML, the Autosar standard format based on XML (eXtensible Markup Language).
다만, 작성된 ARXML은 복잡한 구조에 많은 코드를 기재하고 있는 바, 설계자가 작성된 ARXML을 통하여 작성 결 과를 확인하고, 작성된 ARXML을 수정하기는 어렵고, 이러한 어려움은 ARXML에 대한 지식이 부족한 일반 사용자에게 더욱 클 수 있다.However, since the written ARXML contains a lot of code in a complex structure, it is difficult for the designer to check the writing result and modify the written ARXML through the written ARXML. can be large
또한, ARXML은 새로운 버전이 지속적으로 배포되며 변경 사항 역시 많이 발생하게 되는데, ARXML은 약 14만줄의 스키마를 가질 뿐만 아니라 다양한 관점의 설계 정보를 내포하는 방대한 문서 양식을 갖기 때문에 변경 사항을 추적하기가 매우 어려운 문제 역시 발생하고 있다.In addition, new versions of ARXML are continuously distributed and many changes occur. Because ARXML has a schema of about 140,000 lines and a vast document form that contains design information from various perspectives, it is difficult to track changes. Very difficult problems also arise.
하지만 소프트웨어 개발자가 변경 사항에 대해 일일이 추적하지 않으면, 기 작성된 ARXML 문서를 재활용하는 것도 매우 어려우며, 이와 같은 상황은 AUTOSAR 기반의 소프트웨어 개발 비용을 증가시키고 생산성을 떨어뜨리는 문제를 야기한다.However, if the software developer does not track the changes one by one, it is very difficult to recycle the already prepared ARXML document, which increases the cost of developing AUTOSAR-based software and lowers productivity.
따라서, ARXML의 버전이 새로 업데이터 됨으로써 ARXML 마이그레이션이 진행될 경우 기존 버전으로 작성된 ARXML 문서를 새로운 버전의 ARXML 문서로 변경해야 할 필요성이 증가하고 있다. Therefore, when ARXML migration proceeds as the version of ARXML is newly updated, the need to change the ARXML document written in the existing version to the new version of the ARXML document is increasing.
본 발명의 실시예는 ARXML의 버전이 업데이트 될 경우 기존 버전의 ARXML에 의해 작성된 문서인 원본 문서의 구조를 새로 업데이트된 버전의 ARXML에 의해 작성된 문서인 기준 문서의 구조와 동일하게 변환함으로써, 원본 문서의 구조를 분석하여 수동으로 기준 문서의 구조와 일치하도록 변경하거나 기존에 작성된 문서를 새로 업데이트된 버전의 ARXML 구조에 맞게 새로 작성하는데 드는 시간과 비용의 낭비를 줄일 수 있는, 문서 구조 변환 시스템(10) 및 문서 구조 변환 시스템(10)을 제공하는 것을 목적으로 한다.The embodiment of the present invention converts the structure of an original document, which is a document created by the existing version of ARXML, to the same as that of a reference document, which is a document created by the newly updated version of ARXML, when the version of ARXML is updated. A document structure conversion system (10) that analyzes the structure of the document to reduce the waste of time and money required to manually change it to match the structure of the reference document, or to rewrite an existing document to fit the structure of the newly updated version of ARXML. ) and to provide a document structure conversion system (10).
한편, 본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.On the other hand, the technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned are clearly to those of ordinary skill in the art to which the present invention belongs from the description below. can be understood
본 발명의 일 실시예에 따른 문서 구조 변환 방법은 (a) 구조 분석부에 의해, XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하는 문서 구조 분석 단계; (b) 구조 비교부에 의해, 상기 기준 문서와 상기 원본 문서 간의 구조 상의 차이를 비교하는 문서 구조 비교 단계; 및 (c) 구조 변환부에 의해, 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 문서 구조 변환 단계를 포함한다.A document structure transformation method according to an embodiment of the present invention includes: (a) analyzing, by a structure analysis unit, the structure of a reference document and an original document having an ARXML structure created through XML schema; (b) a document structure comparison step of comparing, by a structure comparison unit, a difference in structure between the reference document and the original document; and (c) converting the structure of the original document into the structure of the reference document based on the comparison result by the structure conversion unit.
상기 (a) 단계는: (a-1) 상기 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하는 단계; (a-2) 상기 ARXML 구조에 포함된 상기 각각의 XML 요소의 XML 속성을 상기 각각의 노드의 속성으로 매핑하는 단계; 및 (a-3) 상기 노드와 상기 노드의 속성을 기반으로 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 구현하여 구조를 분석하는 단계를 더 포함할 수 있다.The step (a) includes: (a-1) mapping each XML element included in the ARXML structure to each node; (a-2) mapping the XML attribute of each XML element included in the ARXML structure to the attribute of each node; and (a-3) analyzing the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
상기 (b) 단계는: (b-1) 제1 비교 유닛에 의해, 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 추가, 상기 XML 요소의 삭제, 상기 XML 속성의 추가, 상기 XML 속성의 삭제 또는 상기 XML 속성의 변경이 있는지 여부를 판단하는 단계; (b-2) 제2 비교 유닛에 의해, 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는지 여부를 판단하는 단계; 및 (b-3) 검토 유닛에 의해, 상기 (b-1) 단계 및 상기 (b-2) 단계에서의 판단 결과와 상기 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 더 포함할 수 있다.The step (b) includes: (b-1) comparing, by a first comparison unit, a graph database for each of the reference document and the original document, and adding the XML element, deleting the XML element, and the XML attribute determining whether there is an addition, deletion of the XML attribute, or a change of the XML attribute; (b-2) comparing, by a second comparison unit, a graph database for each of the reference document and the original document, and determining whether there is a movement of the position of the XML element or movement of the XML attribute; and (b-3) providing, by the review unit, the determination result in steps (b-1) and (b-2) and a user interface in which a pop-up menu for correcting the determination result is displayed. may include
상기 (b-1) 단계는: (b-1-1) XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하는 단계; (b-1-2) XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하는 단계; (b-1-3) 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하는 단계; (b-1-4) 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하는 단계; 및 (b-1-5) 특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하는 단계를 더 포함할 수 있다.The step (b-1) includes: (b-1-1) determining that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document instead of being included in the structure of the original document ; (b-1-2) determining that the XML element is deleted when an XML element having the same XML attribute is included in the structure of the original document but not in the structure of the reference document; (b-1-3) determining that the XML attribute is added when an XML attribute having the same data type and multiplicity for a specific XML element is not included in the structure of the original document but is included in the structure of the reference document; (b-1-4) determining that the XML attribute is deleted when an XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document; and (b-1-5) determining that the XML attribute is changed when the data type or multiplicity of the specific XML attribute of the specific XML element is different from each other.
상기 (b-2) 단계는: (b-2-1) 상기 XML 요소가 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 요소의 위치 이동이 있는 것으로 판단하는 단계; 및 (b-2-2) 상기 XML 속성이 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 속성의 위치 이동이 있는 것으로 판단하는 단계를 더 포함할 수 있다.The step (b-2) includes: (b-2-1) determining that the position of the XML element is moved when the XML element is deleted from the structure of the original document and added from the structure of the reference document ; and (b-2-2) determining that the position of the XML attribute is moved when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document.
상기 (b-3) 단계는: (b-3-1) 상기 XML 요소의 추가 또는 상기 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계; (b-3-2) 상기 XML 요소의 삭제 또는 상기 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계; (b-3-3) 상기 XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하는 단계; (b-3-4) 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계; 및 (b-3-5) 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, 상기 XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가로 수정하거나, 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 더 포함할 수 있다.The step (b-3) includes: (b-3-1) providing a user interface displaying the structure of the added reference document when it is determined that the XML element is added or the XML attribute is added; (b-3-2) providing a user interface displaying the structure of the deleted original document when it is determined that the XML element is deleted or the XML attribute is deleted; (b-3-3) providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed when it is determined that the XML attribute is changed; (b-3-4) When it is determined that there is a movement of the position of the XML element or movement of the XML attribute, a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed providing; and (b-3-5) when it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or an XML attribute in the original document. When it is determined that there is a deletion of the XML attribute and the addition of an XML attribute in the reference document, it is corrected by the position movement of the XML attribute, or when it is determined that there is a position movement of the XML element, it is deleted by the XML element in the original document. and addition of an XML element in the reference document, or when it is determined that there is a movement of the XML attribute, it can be modified by deleting the XML attribute in the original document and adding an XML attribute in the reference document The method may further include providing a user interface in which a pop-up menu is displayed.
상기 (c) 단계는: (c-1) 상기 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 단계; 및 (c-2) 상기 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 상기 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하는 단계를 더 포함할 수 있다.The step (c) includes: (c-1) converting the structure of the original document into the structure of the reference document based on the comparison result; and (c-2) when it is determined that the XML element or XML attribute included in the structure of the original document is deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the deleted XML element or XML The information included in the attribute may further include the step of separately storing the information in a separate database.
본 발명의 일 실시예에 따른 문서 구조 변환 시스템은 XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하도록 구성되는 구조 분석부; 상기 기준 문서와 상기 원본 문서 간의 구조 상의 차이를 비교하도록 구성되는 구조 비교부; 및 상기 구조 비교부에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하도록 구성되는 구조 변환부를 포함한다.A document structure conversion system according to an embodiment of the present invention includes: a structure analyzer configured to analyze the structure of a reference document and an original document having an ARXML structure created through XML schema; a structure comparison unit configured to compare a difference in structure between the reference document and the original document; and a structure conversion unit configured to convert the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit.
상기 구조 분석부는: 상기 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하고; 상기 ARXML 구조에 포함된 상기 각각의 XML 요소의 XML 속성을 상기 각각의 노드의 속성으로 매핑하고; 상기 노드와 상기 노드의 속성을 기반으로 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 구현하여 구조를 분석하도록 구성될 수 있다.The structure analysis unit: maps each XML element included in the ARXML structure to each node; mapping an XML attribute of each XML element included in the ARXML structure to an attribute of each node; It may be configured to analyze the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
상기 구조 비교부는: 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 추가, 상기 XML 요소의 삭제, 상기 XML 속성의 추가, 상기 XML 속성의 삭제 또는 상기 XML 속성의 변경이 있는지 여부를 판단하도록 구성되는 제1 비교 유닛; 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는지 여부를 판단하도록 구성되는 제2 비교 유닛; 및 상기 제1 비교 유닛 및 상기 제2 비교 유닛에 의한 판단 결과와 상기 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성되는 검토 유닛을 더 포함할 수 있다.The structure comparison unit compares graph databases for each of the reference document and the original document, and adds the XML element, deletes the XML element, adds the XML attribute, deletes the XML attribute, or changes the XML attribute. a first comparison unit, configured to determine whether there is a second comparison unit, configured to compare a graph database for each of the reference document and the original document to determine whether there is a positional movement of the XML element or a movement of the XML attribute; and a review unit configured to provide a user interface in which a result of determination by the first comparison unit and the second comparison unit and a pop-up menu for modifying the determination result are displayed.
상기 제1 비교 유닛은: XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하고; XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하고; 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하고; 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하고; 특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하도록 구성될 수 있다.The first comparison unit is configured to: determine that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document rather than included in the structure of the original document; when an XML element having the same XML attribute is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML element is deleted; When an XML attribute having the same data type and multiplicity of a specific XML element is not included in the structure of the original document but is included in the structure of the reference document, it is determined that the XML attribute is added; For a specific XML element, when an XML attribute having the same data type and multiplicity is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML attribute is deleted; When a data type or multiplicity of a specific XML attribute for a specific XML element is different from each other, it may be configured to determine that the XML attribute has been changed.
상기 제2 비교 유닛은: 상기 XML 요소가 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 요소의 위치 이동이 있는 것으로 판단하고; 상기 XML 속성이 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 속성의 위치 이동이 있는 것으로 판단하도록 구성될 수 있다.the second comparison unit is configured to: determine that there is a positional movement of the XML element when the XML element is deleted from the structure of the original document and added from the structure of the reference document; When the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, it may be determined that the position of the XML attribute is moved.
상기 검토 유닛은: 상기 XML 요소의 추가 또는 상기 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하고; 상기 XML 요소의 삭제 또는 상기 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하고; 상기 XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하고; 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하고; 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, 상기 XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가로 수정하거나, 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성될 수 있다.The review unit is configured to: if it is determined that there is the addition of the XML element or the addition of the XML attribute, provides a user interface in which the structure of the added reference document is displayed; when it is determined that there is deletion of the XML element or deletion of the XML attribute, providing a user interface displaying the structure of the deleted original document; if it is determined that there is a change in the XML attribute, providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed; when it is determined that there is a movement of the position of the XML element or movement of the XML attribute, providing a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed; When it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or by deleting an XML attribute from the original document and adding an XML element to the reference document. When it is determined that there is an XML attribute addition, it is corrected by moving the position of the XML attribute. Provides a user interface displaying a pop-up menu that can be modified by adding an XML attribute or by adding an XML attribute in the reference document when it is determined that there is a movement of the XML attribute in the original document. can be configured to
상기 구조 변환부는: 상기 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하고; 상기 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 상기 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하도록 구성될 수 있다.The structure conversion unit: converts the structure of the original document into the structure of the reference document based on the comparison result; When it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the information included in the deleted XML element or XML attribute is It can be configured to be kept separately in a separate database.
본 발명의 실시예에 따른 문서 구조 변환 시스템(10) 및 문서 구조 변환 방법(S10)은 ARXML의 버전이 업데이트 될 경우 기존 버전의 ARXML에 의해 작성된 문서인 원본 문서의 구조를 새로 업데이트된 버전의 ARXML에 의해 작성된 문서인 기준 문서의 구조와 동일하게 변환함으로써, 원본 문서의 구조를 분석하여 수동으로 기준 문서의 구조와 일치하도록 변경하거나 기존에 작성된 문서를 새로 업데이트된 버전의 ARXML 구조에 맞게 새로 작성하는데 드는 시간과 비용의 낭비를 줄일 수 있다.When the version of ARXML is updated, the document structure conversion system 10 and the document structure conversion method S10 according to an embodiment of the present invention convert the structure of the original document, which is a document created by the existing version of ARXML, to the newly updated version of ARXML. By converting the same as the structure of the reference document, which is a document created by It can reduce the waste of time and money.
한편, 본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.On the other hand, the effects obtainable in the present invention are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. will be able
도 1은 본 발명이 일 실시예에 따른 문서 구조 변환 방법(S10)을 나타낸 흐름도이다.1 is a flowchart illustrating a document structure conversion method (S10) according to an embodiment of the present invention.
도 2는 본 발명의 일 실시예에 따른 문서 구조 변환 시스템(10)을 나타낸 도면이다.2 is a diagram illustrating a document structure conversion system 10 according to an embodiment of the present invention.
도 3은 문서 구조 변환 시스템(10)에 의해 문서 구조 변환 방법(S10)이 수행되는 모습을 나타낸 흐름도이다.3 is a flowchart illustrating a state in which the document structure conversion method ( S10 ) is performed by the document structure conversion system 10 .
도 4는 원본 문서의 그래프 데이터베이스를 나타낸 도면이다.4 is a diagram illustrating a graph database of an original document.
도 5는 XML 요소의 추가된 변환 문서의 그래프 데이트베이스를 나타낸 도면이다.5 is a diagram illustrating a graph database of an XML element added transformation document.
도 6은 XML 요소가 삭제된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.6 is a diagram illustrating a graph database of a converted document in which an XML element is deleted.
도 7은 XML 속성이 추가된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.7 is a diagram illustrating a graph database of a converted document to which an XML attribute is added.
도 8은 XML 속성이 삭제된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.8 is a diagram illustrating a graph database of a converted document in which the XML attribute is deleted.
도 9는 XML 속성이 변경된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.9 is a diagram illustrating a graph database of a converted document in which the XML attribute is changed.
도 10은 XML 요소의 위치가 이동된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.10 is a diagram illustrating a graph database of a converted document in which the position of an XML element is moved.
도 11은 XML 속성의 위치가 이동된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.11 is a diagram illustrating a graph database of a converted document in which the position of the XML attribute has been moved.
도 12는 검토 유닛(230)에 의해 제공되는 사용자 인터페이스를 나타낸 도면이다.12 is a diagram illustrating a user interface provided by review unit 230 .
이하에서는 본 발명의 구체적인 실시예들에 대하여 도면을 참조하여 상세히 설명한다.Hereinafter, specific embodiments of the present invention will be described in detail with reference to the drawings.
아울러 본 발명을 설명함에 있어서, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.In addition, in describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.
본 발명의 실시예들은 당해 기술 분야에서 통상의 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위하여 제공되는 것이며, 하기 실시예는 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 하기 실시예에 한정되는 것은 아니다. Examples of the present invention are provided to more completely explain the present invention to those of ordinary skill in the art, and the following examples may be modified in various other forms, and the scope of the present invention is as follows It is not limited to an Example.
오히려, 이들 실시예는 본 개시를 더욱 충실하고 완전하게 하고, 당업자에게 본 발명의 사상을 완전하게 전달하기 위하여 제공되는 것이다.Rather, these examples are provided so that this disclosure will be more thorough and complete, and will fully convey the spirit of the invention to those skilled in the art.
또한, 이하의 도면에서 각 구성은 설명의 편의 및 명확성을 위하여 과장된 것이며, 도면 상에서 동일 부호는 동일한 요소를 지칭한다. 본 명세서에서 사용된 바와 같이, 용어 "및/또는"는 해당 열거된 항목 중 어느 하나 및 하나 이상의 모든 조합을 포함한다.In addition, in the following drawings, each configuration is exaggerated for convenience and clarity of description, and the same reference numerals refer to the same elements in the drawings. As used herein, the term “and/or” includes any one and any combination of one or more of those listed items.
본 명세서에서 사용된 용어는 특정 실시예를 설명하기 위하여 사용되며, 본 발명을 제한하기 위한 것이 아니다.The terminology used herein is used to describe specific embodiments, not to limit the present invention.
본 명세서에서 사용된 바와 같이, 단수 형태는 문맥상 다른 경우를 분명히 지적하는 것이 아니라면, 복수의 형태를 포함할 수 있다. 또한, 본 명세서에서 사용되는 경우 "포함한다(comprise)" 및/또는 "포함하는(comprising)"은 언급한 형상들, 숫자, 단계, 동작, 부재, 요소 및/또는 이들 그룹의 존재를 특정하는 것이며,As used herein, the singular forms may include the plural forms unless the context clearly dictates otherwise. Also, as used herein, “comprise” and/or “comprising” refers to the presence of the recited shapes, numbers, steps, actions, members, elements, and/or groups of those specified. will,
하나 이상의 다른 형상, 숫자, 동작, 부재, 요소 및 /또는 그룹들의 존재 또는 부가를 배제하는 것이 아니다.It does not exclude the presence or addition of one or more other shapes, numbers, movements, members, elements and/or groups.
도 1은 본 발명이 일 실시예에 따른 문서 구조 변환 방법(S10)을 나타낸 흐름도이고, 도 2는 본 발명의 일 실시예에 따른 문서 구조 변환 시스템(10)을 나타낸 도면이고, 도 3은 문서 구조 변환 시스템(10)에 의해 문서 구조 변환 방법(S10)이 수행되는 모습을 나타낸 흐름도이다.1 is a flowchart illustrating a document structure conversion method S10 according to an embodiment of the present invention, FIG. 2 is a diagram illustrating a document structure conversion system 10 according to an embodiment of the present invention, and FIG. 3 is a document It is a flowchart showing a state that the document structure conversion method (S10) is performed by the structure conversion system (10).
도 1 내지 도 3을 참조하면, 문서 구조 변환 방법(S10)은 S100 내지 S300 단계를 통해 수행된다.1 to 3 , the document structure conversion method ( S10 ) is performed through steps S100 to S300 .
보다 상세히 말하면, 문서 구조 변환 방법(S10)은 구조 분석부(100)에 의해 수행되며 XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하는 문서 구조 분석 단계(S100), 구조 비교부(200)에 의해 수행되며 기준 문서와 원본 문서 간의 구조 상의 차이를 비교하는 문서 구조 비교 단계(S200) 및 구조 변환부(300)에 의해 수행되며 S200 단계에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 문서 구조 변환 단계(S300)를 포함한다.In more detail, the document structure conversion method (S10) is performed by the structure analysis unit 100, and a document structure analysis step (S100) of analyzing the structure of a reference document and an original document having an ARXML structure created through XML schema; It is performed by the structure comparison unit 200 and is performed by the document structure comparison step (S200) and the structure conversion unit 300 for comparing the structural difference between the reference document and the original document, and based on the comparison result in step S200, the original and a document structure conversion step (S300) of converting the structure of the document into the structure of the reference document.
즉, 구조 분석부(100)는 XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하도록 구성되고, 구조 비교부(200)는 기준 문서와 원본 문서 간의 구조 상의 차이를 비교하도록 구성되며, 구조 변환부(300)는 구조 비교부(200)에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하도록 구성된다.That is, the structure analysis unit 100 is configured to analyze the structure of a reference document and an original document written through XML schema and having an ARXML structure, and the structure comparison unit 200 compares a difference in structure between the reference document and the original document. The structure conversion unit 300 is configured to convert the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit 200 .
여기서 원본 문서는 버전이 업데이트 되기 전의 ARXML에 의해 작성된 문서를 말하고, 기준 문서는 버전이 업데이트 된 후의 ARXML에 의해 작성된 문서를 말한다.Here, the original document refers to a document written by ARXML before the version is updated, and the reference document refers to a document written by ARXML after the version is updated.
따라서, 본 발명의 문서 구조 변환 시스템(10) 및 문서 구조 변환 방법(S10)은 원본 문서의 ARXML 구조를 기준 문서의 ARXML 구조로 변화하기 위한 시스템 및 방법을 말한다.Accordingly, the document structure conversion system 10 and the document structure conversion method S10 of the present invention refer to a system and method for changing an ARXML structure of an original document into an ARXML structure of a reference document.
도 3을 참조하면, 구조 분석부(100)로 원본 문서와 기준 문서가 입력된다. 구조 분석부(100)는 XML 스키마를 통해 작성됨으로써 ARXML 구조를 갖게 된 기준 문서와 원본 문서의 구조를 분석하며, 기준 문서의 구조에 의해 구현된 기준 문서의 그래프 데이터베이스와 원본 문서의 구조에 의해 구현된 원본 문서의 그래프 데이터베이스를 출력한다.Referring to FIG. 3 , an original document and a reference document are input to the structure analysis unit 100 . The structure analysis unit 100 analyzes the structure of the reference document and the original document having the ARXML structure by being created through the XML schema, and implemented by the graph database of the reference document implemented by the structure of the reference document and the structure of the original document Outputs the graph database of the original document.
구조 분석부(100)에 의해 출력된 기준 문서의 그래프 데이터베이스와 원본 문서의 그래프 데이터베이스는 구조 비교부(200)로 입력된다.The graph database of the reference document and the graph database of the original document output by the structure analysis unit 100 are input to the structure comparison unit 200 .
구조 비교부(200)는 기준 문서의 그래프 데이터베이스와 원본 문서의 그래프 데이터베이스를 비교하여 두 문서 간의 구조 상의 차이가 있는지 여부를 판단하여 판단 결과를 출력한다.The structure comparison unit 200 compares the graph database of the reference document with the graph database of the original document, determines whether there is a difference in structure between the two documents, and outputs the determination result.
구조 비교부(200)에 의해 출력된 구조 상의 차이에 대한 판단 결과는 구조 변환부(300)로 입력된다.The determination result on the difference in the structure output by the structure comparison unit 200 is input to the structure conversion unit 300 .
구조 변환부(300)는 판단된 구조 상의 차이를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하게 되고, 그 결과 문서의 구조가 기준 문서의 구조와 동일하게 변환된 원본 문서(이하, 변환 문서)를 출력하게 된다.The structure conversion unit 300 converts the structure of the original document into the structure of the reference document based on the determined difference in structure, and as a result, the structure of the document is converted to be the same as the structure of the reference document (hereinafter referred to as conversion) document) is printed.
이하에서는 문서 구조 변환 시스템(10)에 포함된 각 구성과 상기 각 구성에 의해 수행되는 문서 구조 변환 방법(S10)을 보다 상세히 설명하도록 한다.Hereinafter, each component included in the document structure conversion system 10 and the document structure conversion method S10 performed by each component will be described in more detail.
ARXML 구조를 갖는 XML 문서는 하나 이상의 XML 요소를 포함하며, 각각의 XML 요소 사이에는 계층 관계가 존재한다.An XML document having an ARXML structure includes one or more XML elements, and a hierarchical relationship exists between each XML element.
각각의 XML 요소는 해당 XML 요소의 이름을 나타내는 XML 요소 식별자와 하나 이상의 XML 속성을 포함한다.Each XML element contains an XML element identifier indicating the name of the XML element and one or more XML attributes.
XML 속성은 해당 XML 속성의 이름을 나타내는 XML 속성 식별자와, 해당 XML 속성이 가질 수 있는 속성값의 범위를 나타내는 데이터 타입과, 해당 XML 속성값의 개수를 나타내는 다중도를 포함할 수 있으며, 이를 통해 해당 XML 요소의 특성을 나타낸다.The XML attribute may include an XML attribute identifier indicating the name of the corresponding XML attribute, a data type indicating the range of attribute values that the corresponding XML attribute can have, and a multiplicity indicating the number of corresponding XML attribute values. Indicates the characteristics of the corresponding XML element.
구조 분석부(100)에 의해 수행되는 S100 단계는 S110 단계 내지 S130 단계를 포함할 수 있다.Step S100 performed by the structure analysis unit 100 may include steps S110 to S130.
S110 단계는 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하는 단계를 말한다.Step S110 refers to a step of mapping each XML element included in the ARXML structure to each node.
S120 단계는 ARXML 구조에 포함된 각각의 XML 요소의 XML 속성을 각각의 노드의 속성으로 매핑하는 단계를 말한다.Step S120 refers to a step of mapping the XML attribute of each XML element included in the ARXML structure to the attribute of each node.
마지막으로, S130 단계는 노드와 노드의 속성을 기반으로 기준 문서와 원본 문서 각각에 대한 그래프 데이터베이스를 구현하여 구조를 분석하는 단계를 말한다.Finally, step S130 refers to a step of analyzing the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node.
S110 단계 내지 S130 단계는 구조 분석부(100)에 의해 수행될 수 있다.Steps S110 to S130 may be performed by the structure analysis unit 100 .
즉, 구조 분석부(100)는 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하기 위하여, 먼저 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하고, 다음으로 각각의 XML 요소의 XML 속성을 각각의 노도의 속성으로 매핑할 수 있다.That is, in order to analyze the structure of the reference document and the original document having the ARXML structure, the structure analysis unit 100 maps each XML element included in the ARXML structure to each node, and then XML attributes can be mapped to attributes of each node.
ARXML의 구조는 XML 스키마에 맞게 XML 요소와 XML 속성이 텍스트 형태로 구성되어 있다. 텍스트 형태로 구성된 정보는 해당 정보를 구성하는 문자의 나열과 위치를 통해 비교 가능하기에 비록 동일한 문자의 나열을 갖더라도 서로 다른 위치에 존재한다면 서로 다른 XML 요소로 식별될 수 있다.The structure of ARXML consists of XML elements and XML attributes in text form according to XML schema. Since information composed in text form can be compared through the arrangement and position of the characters constituting the information, even if they have the same character arrangement, they can be identified as different XML elements if they exist in different positions.
따라서, ARXML 구조는 XML 요소 식별자와 XML 속성 식별자를 기준으로 비교할 수 있도록 적절한 형태로의 변환이 필요하므로, 이를 고려하여 트리 형태를 갖는 그래프 데이터베이스(Graph Database)로 변환하여 ARXML 구조를 저장할 수 있다.Therefore, the ARXML structure needs to be converted into an appropriate form so that it can be compared based on the XML element identifier and the XML attribute identifier.
그래프 데이터베이스는 노드(Node)와 간선(Edge)으로 구성될 수 있다. 각각의 노드는 이름과 속성으로 구성되는데, 노드는 ARXML 구조에서의 XML 요소와 매핑되며, 노드의 속성은 XML 속성으로 매핑될 수 있다. 다시 말해, XML 요소는 그래프 데이터베이스의 노드로 매핑될 수 있고, 각각의 XML 요소에 대한 XML 속성은 그래프 데이터베이스에서 해당 노드에 대한 속성으로 매핑될 수 있다.The graph database may be composed of nodes and edges. Each node is composed of a name and an attribute. The node is mapped to an XML element in the ARXML structure, and the attribute of the node can be mapped to an XML attribute. In other words, an XML element may be mapped to a node in the graph database, and an XML attribute for each XML element may be mapped to an attribute for a corresponding node in the graph database.
즉, 구조 분석부(100)는 ARXML 구조에 포함된 각각의 XML 요소를 그래프 데이터베이스의 각각의 노드로 매핑하고, ARXML 구조에 포함된 각각의 XML 요소의 XML 속성을 각각의 노드의 속성으로 매핑할 수 있으며, 이를 통해 기준 문서와 원본 문서 각각에 대한 그래프 데이터베이스를 구현함으로써 각 문서의 구조를 분석할 수 있다.That is, the structure analyzer 100 maps each XML element included in the ARXML structure to each node of the graph database, and maps the XML attribute of each XML element included in the ARXML structure to the attribute of each node. Through this, the structure of each document can be analyzed by implementing a graph database for each of the reference document and the original document.
구조 비교부(200)는 제1 비교 유닛(210), 제2 비교 유닛(220) 및 검토 유닛(230)을 포함할 수 있다.The structure comparison unit 200 may include a first comparison unit 210 , a second comparison unit 220 , and a review unit 230 .
구조 비교부(200)에 의해 수행되는 S200 단계는 S210 단계 내지 S230 단계를 포함할 수 있다.Step S200 performed by the structure comparison unit 200 may include steps S210 to S230.
S210 단계는 제1 비교 유닛(210)에 의해 수행되며 기준 문서와 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, XML 요소의 추가, XML 요소의 삭제, XML 속성의 추가, XML 속성의 삭제 또는 XML 속성의 변경이 있는지 여부를 판단하는 단계를 말하고, S220 단계는 제2 비교 유닛(220)에 의해 수행되며 기준 문서와 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, XML 요소의 위치 이동 또는 XML 속성의 위치 이동이 있는지 여부를 판단하는 단계를 말하고, S230 단계는 검토 유닛(230)에 의해 수행되며 상기 S210 단계 및 상기 S220 단계에서의 판단 결과와, 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 말한다.Step S210 is performed by the first comparison unit 210 and compares the graph database for each of the reference document and the original document, to add an XML element, delete an XML element, add an XML attribute, delete an XML attribute, or an XML attribute refers to a step of determining whether there is a change in , and step S220 is performed by the second comparison unit 220 and compares the graph database for each of the reference document and the original document to move the position of the XML element or the position of the XML attribute Refers to the step of determining whether there is a movement, step S230 is performed by the review unit 230 and provides a user interface in which the determination result in steps S210 and S220 and a pop-up menu for correcting the determination result are displayed steps to say
예를 들어, 사용자 인터페이스는 후술할 도 12에 도시된 바와 같이 제공될 수 있다.For example, the user interface may be provided as shown in FIG. 12 to be described later.
즉, 제1 비교 유닛(210)은 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, XML 요소의 추가, XML 요소의 삭제, XML 속성의 추가, XML 속성의 삭제 또는 XML 속성의 변경이 있는지 여부를 판단하도록 구성될 수 있고, 제2 비교 유닛(220)은 기준 문서와 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, XML 요소의 위치 이동 또는 XML 속성의 위치 이동이 있는지 여부를 판단하도록 구성될 수 있고, 검토 유닛(230)은 제1 비교 유닛(210) 및 제2 비교 유닛(220)에 의한 판단 결과와, 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성될 수 있다.That is, the first comparison unit 210 compares the graph database for each of the reference document and the original document, so that addition of an XML element, deletion of an XML element, addition of an XML attribute, deletion of an XML attribute, or change of an XML attribute is determined. may be configured to determine whether there is, and the second comparison unit 220 is configured to compare the graph database for each of the reference document and the original document to determine whether there is a displacement of an XML element or a displacement of an XML attribute. The review unit 230 may be configured to provide a user interface in which a result of the determination by the first comparison unit 210 and the second comparison unit 220 and a pop-up menu for modifying the determination result are displayed. .
제1 비교 유닛(210)에 의해 수행되는 S210 단계는 S211 단계 내지 S215 단계를 포함할 수 있다.Step S210 performed by the first comparison unit 210 may include steps S211 to S215 .
S211 단계는 XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하는 단계를 말한다.Step S211 refers to a step of determining that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document rather than included in the structure of the original document.
S212 단계는 XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하는 단계를 말한다.In step S212, when an XML element having the same XML attribute is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML element is deleted.
S213 단계는 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하는 단계를 말한다.Step S213 refers to a step of determining that the XML attribute is added when an XML attribute having the same data type and multiplicity for a specific XML element is not included in the structure of the original document but is included in the structure of the reference document.
S214 단계는 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하는 단계를 말한다.Step S214 refers to a step of determining that the XML attribute is deleted when, for a specific XML element, an XML attribute having the same data type and multiplicity is included in the structure of the original document but not in the structure of the reference document.
마지막으로, S215 단계는 특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하는 단계를 말한다.Finally, step S215 refers to a step of determining that the XML attribute is changed when the data type or multiplicity of a specific XML attribute for a specific XML element is different from each other.
즉, 제1 비교 유닛(210)은 XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하고, XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하고, 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하고, 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하고, 특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하도록 구성될 수 있다.That is, when an XML element having the same XML attribute is included in the structure of the reference document instead of in the structure of the original document, the first comparison unit 210 determines that the XML element is added, and determines that the XML element has the same XML attribute is included in the structure of the original document but not in the structure of the reference document, it is determined that the XML element has been deleted, and the XML attribute with the same data type and multiplicity for a specific XML element is not included in the structure of the original document. and included in the structure of the reference document, it is determined that the XML attribute has been added, and the XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document. In this case, it may be determined that the XML attribute has been deleted, and if the data type or multiplicity of a specific XML attribute for a specific XML element is different from each other, it may be determined that the XML attribute has been changed.
도 4는 원본 문서의 그래프 데이터베이스를 나타낸 도면이고, 도 5는 XML 요소가 추가된 변환 문서의 그래프 데이트베이스를 나타낸 도면이고, 도 6은 XML 요소가 삭제된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.4 is a diagram illustrating a graph database of an original document, FIG. 5 is a diagram illustrating a graph database of a converted document to which an XML element is added, and FIG. 6 is a diagram illustrating a graph database of a converted document in which an XML element is deleted.
도 4 내지 도 6을 참조하면, XML 요소의 추가는 원본 문서의 구조에서는 존재하지 않던 XML 요소가 기준 문서의 구조에는 존재하는 경우를 의미한다.4 to 6 , the addition of an XML element means that an XML element that did not exist in the structure of the original document exists in the structure of the reference document.
반면, XML 요소의 삭제는 원본 문서의 구조에서는 존재하던 XML 요소가 기준 문서의 구조에는 존재하지 않는 경우를 의미한다.On the other hand, the deletion of the XML element means that the XML element existing in the structure of the original document does not exist in the structure of the reference document.
기본적으로 XML 요소는 XML 요소 식별자를 통해 식별되므로, XML 요소의 추가와 삭제는 원본 문서의 구조와 기준 문서의 구조가 갖는 XML 요소 식별자를 모두 비교함으로써 파악할 수 있다.Since XML elements are basically identified through XML element identifiers, addition and deletion of XML elements can be identified by comparing both the structure of the original document and the XML element identifier of the structure of the reference document.
단, 이는 XML 요소의 XML 속성이 모두 동일할 때만 성립한다.However, this is only true when the XML attributes of the XML elements are all the same.
도 7은 XML 속성이 추가된 변환 문서의 그래프 데이터베이스를 나타낸 도면이고, 도 8은 XML 속성이 삭제된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.7 is a diagram illustrating a graph database of a converted document in which an XML attribute is added, and FIG. 8 is a diagram illustrating a graph database of a converted document in which an XML attribute is deleted.
도 4, 도 7 및 도 8을 참조하면, XML 속성의 추가는 특정 XML 요소에 대하여 원본 문서의 구조에서는 존재하지 않던 XML 속성이 기준 문서의 구조에는 존재하는 경우를 의미한다.4, 7, and 8 , the addition of an XML attribute means that an XML attribute that does not exist in the structure of an original document exists in the structure of a reference document with respect to a specific XML element.
반면, XML 속성의 삭제는 특정 XML 요소에 대해 원본 문서의 구조에서는 존재했던 XML 속성이 기준 문서의 구조에는 존재하지 않는 경우를 의미한다.On the other hand, the deletion of the XML attribute means that for a specific XML element, the XML attribute that existed in the structure of the original document does not exist in the structure of the reference document.
기본적으로 XML 속성은 XML 속성 식별자를 통해 식별되므로, XML 속성의 추가와 삭제는 원본 문서의 구조와 기준 문서의 구조가 갖는 모든 XML 요소에 대해 모든 XML 속성 식별자를 비교함으로써 파악할 수 있다.Basically, XML attributes are identified through XML attribute identifiers, so addition and deletion of XML attributes can be identified by comparing all XML attribute identifiers for all XML elements in the structure of the original document and the structure of the reference document.
단, 이는 XML 속성을 구성하는 데이터 타입과 다중도가 모두 동일할 때만 성립한다.However, this is only true when the data type and multiplicity constituting the XML attribute are all the same.
도 9는 XML 속성이 변경된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.9 is a diagram illustrating a graph database of a converted document in which the XML attribute is changed.
도 5 및 도 9를 참조하면, XML 속성의 변경은 동일한 XML 속성 식별자를 갖는 특정 XML 속성이 서로 다른 구성을 갖는 경우를 의미한다.5 and 9 , the change of XML attribute means a case in which specific XML attributes having the same XML attribute identifier have different configurations.
다시 말해, 특정 XML 요소 내에 존재하는 특정 XML 속성이 서로 같은 XML 속성 식별자를 가질 때, 원본 문서의 구조와 기준 문서의 구조에서의 XML 속성이 서로 다른 데이터 타입이나 다중도를 갖는 경우를 의미한다.In other words, when specific XML attributes existing in a specific XML element have the same XML attribute identifier, the XML attribute in the structure of the original document and the structure of the reference document have different data types or multiplicity.
이는 동일한 이름의 XML 요소 식별자 및 XML 속성 식별자에 대하여 XML 속성의 구성 요소(데이터 타입 또는 다중도)를 서로 비교함으로써 파악할 수 있다.This can be identified by comparing the components (data type or multiplicity) of an XML attribute with respect to an XML element identifier and an XML attribute identifier of the same name.
정리하면, 제1 비교 유닛(210)에 의해 수행되는 S210 단계는 원본 문서의 구조와 기본 문서의 구조를 비교하여 그 차이를 판단함으로써 수행될 수 있다.In summary, step S210 performed by the first comparison unit 210 may be performed by comparing the structure of the original document with the structure of the basic document and determining the difference.
제2 비교 유닛(220)에 의해 수행되는 S220 단계는 S221 단계 및 S222 단계를 포함할 수 있다.Step S220 performed by the second comparison unit 220 may include steps S221 and S222.
S221 단계는 XML 요소가 원본 문서의 구조에서는 삭제되고 기준 문서의 구조에서는 추가된 경우, XML 요소의 위치 이동이 있는 것으로 판단하는 단계를 말한다.Step S221 refers to a step of determining that the position of the XML element is moved when the XML element is deleted from the structure of the original document and added from the structure of the reference document.
S222 단계는 XML 속성이 원본 문서의 구조에서는 삭제되고 기준 문서의 구조에서는 추가된 경우, XML 속성의 위치 이동이 있는 것으로 판단하는 단계를 말한다.In step S222, when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, it is determined that the position of the XML attribute is moved.
즉, 제2 비교 유닛(220)은 XML 요소가 원본 문서의 구조에서는 삭제되고 기준 문서의 구조에서는 추가된 경우, XML 요소의 위치 이동이 있는 것으로 판단하고, XML 속성이 상기 원본 문서의 구조에서는 삭제되고 기준 문서의 구조에서는 추가된 경우, XML 속성의 위치 이동이 있는 것으로 판단하도록 구성될 수 있다.That is, when the XML element is deleted from the structure of the original document and added from the structure of the reference document, the second comparison unit 220 determines that the position of the XML element has moved, and the XML attribute is deleted from the structure of the original document. and added in the structure of the reference document, it may be configured to determine that there is a positional movement of the XML attribute.
도 10은 XML 요소의 위치가 이동된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.10 is a diagram illustrating a graph database of a converted document in which the position of an XML element is moved.
도 4 및 도 10을 참조하면, XML 요소의 위치 이동은 특정 XML 요소가 원본 문서의 구조와 기준 문서의 구조에 모두 존재하나, 그 위치가 다른 경우를 의미하는데, 간단히 말해 XML 요소의 계층 구조가 변경되었음을 의미한다.4 and 10 , the movement of the position of an XML element means that a specific XML element exists in both the structure of the original document and the structure of the reference document, but the positions are different. means it has been changed.
일반적으로 XML 요소 사이의 관계 정보는 XML 속성으로 표현되므로, 이는 XML 속성에 대한 차이를 통해 파악할 수 있다.In general, relationship information between XML elements is expressed as XML attributes, so this can be identified through differences in XML attributes.
도 11은 XML 속성의 위치가 이동된 변환 문서의 그래프 데이터베이스를 나타낸 도면이다.11 is a diagram illustrating a graph database of a converted document in which the position of the XML attribute has been moved.
도 4 및 도 11을 참조하면, XML 속성의 위치 이동은 동일한 XML 속성 식별자, 데이터 타입 및 다중도를 갖는 특정 XML 속성이 원본 문서의 구조와 기준 문서의 구조에서 서로 다른 XML 요소 내에 존재하는 경우를 의미한다.4 and 11, the movement of the XML attribute is a case in which specific XML attributes having the same XML attribute identifier, data type, and multiplicity exist in different XML elements in the structure of the original document and the structure of the reference document. it means.
XML 속성은 XML 요소 내에 포함되어 해당 XML 요소의 특성을 표현하기 때문에, 동일한 XML 요소 식별자를 갖는 XML 요소 간의 비교를 통해 원본 문서의 구조와 기준 문서의 구조 사이의 차이를 분석하게 된다.Since the XML attribute is included in the XML element to express the characteristics of the corresponding XML element, the difference between the structure of the original document and the structure of the reference document is analyzed through comparison between XML elements having the same XML element identifier.
그러나 XML 속성의 위치 이동은 동일한 구성의 XML 속성이 서로 다른 XML 요소 내에 포함되어 있는지를 확인하여야 하므로, 일반적인 방법으로 파악하기 어렵다.However, the movement of XML attributes is difficult to understand in a general way because it is necessary to check whether XML attributes of the same configuration are included in different XML elements.
그러나 단순하게 생각하면 XML 속성의 위치가 변경되기 위해서는 동일한 구성의 XML 속성에 대해 추가와 삭제가 동시에 발생되어야 한다. 보다 상세히 말하면, 위치가 이동되기 전의 XML 속성은 원본 문서의 구조에만 존재하므로 이는 XML 속성의 삭제에 해당하고, 위치가 이동된 후의 XML 속성은 기준 문서의 구조에만 존재하므로 이는 XML 속성의 추가에 해당한다.However, in simple terms, in order to change the position of an XML attribute, addition and deletion of the XML attribute of the same configuration must occur at the same time. More specifically, since the XML attribute before the position is moved exists only in the structure of the original document, this corresponds to the deletion of the XML attribute. do.
따라서 동일한 구성의 XML 속성에 대해 원본 문서의 구조에서의 XML 속성 삭제와 기준 문서의 구조에서의 XML 속성 추가가 동시에 발생된 경우, 이를 XML 속성의 위치 이동으로 판단할 수 있다.Therefore, when the deletion of the XML attribute in the structure of the original document and the addition of the XML attribute in the structure of the reference document occur at the same time for the XML attribute of the same configuration, it can be determined that the position of the XML attribute is moved.
정리하면, 제2 비교 유닛(220)에 의해 수행되는 S220 단계에서는 삭제된 정보가 다른 위치에 추가되는 과정을 통해 수행되므로, 동일한 구성을 갖는 XML 요소 또는 XML 속성이 원본 문서의 구조에서는 삭제되고, 기준 문서의 구조에서는 추가되는지를 판단함으로써 수행될 수 있다.In summary, since the deleted information is added to another location in step S220 performed by the second comparison unit 220, an XML element or XML attribute having the same configuration is deleted from the structure of the original document, It can be performed by determining whether to be added in the structure of the reference document.
하지만, 경우에 따라 동일한 구성을 갖는 XML 요소 또는 XML 속성이 추가 및 삭제되더라도 서로 문맥이 동일하지 않는 경우에는 위치 이동으로 판단할 수 없으며, XML 요소 또는 XML 속성이 각각 추가되고 삭제되었다고 판단해야 한다.However, in some cases, even if XML elements or XML attributes having the same configuration are added and deleted, if the contexts are not the same, it cannot be determined as position movement, and it must be determined that XML elements or XML attributes are added and deleted, respectively.
이를 위해, 후술할 검토 유닛(230)에서는 사용자에게 사용자 인터페이스를 제공하여, 판단 결과를 수정할 수 있도록 할 수 있다.To this end, the review unit 230, which will be described later, may provide a user interface to the user so that the determination result can be corrected.
도 12는 검토 유닛(230)에 의해 제공되는 사용자 인터페이스를 나타낸 도면이다.12 is a diagram illustrating a user interface provided by review unit 230 .
도 12를 참조하면, 검토 유닛(230)에 의해 수행되는 S230 단계는 S231 단계 내지 S235 단계를 포함할 수 있다.Referring to FIG. 12 , step S230 performed by the review unit 230 may include steps S231 to S235 .
S231 단계는 XML 요소의 추가 또는 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계를 말한다.Step S231 refers to a step of providing a user interface in which the structure of the added reference document is displayed when it is determined that there is an addition of an XML element or an addition of an XML attribute.
S232 단계는 XML 요소의 삭제 또는 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계를 말한다.Step S232 refers to a step of providing a user interface in which the structure of the deleted original document is displayed when it is determined that there is deletion of the XML element or deletion of the XML attribute.
S233 단계는 XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하는 단계를 말한다.In step S233, when it is determined that there is a change in the XML attribute, a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed is provided.
S234 단계는 XML 요소의 위치 이동 또는 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계를 말한다.Step S234 refers to a step of providing a user interface in which the structure of the original document before the position movement and the structure of the reference document after the position movement are displayed when it is determined that there is a movement of the position of the XML element or movement of the XML attribute. .
마지막으로, S235 단계는 원본 문서에서의 XML 요소의 삭제와 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 원본 문서에서의 XML 속성의 삭제와 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 원본 문서에서의 XML 요소의 삭제와 기준 문서에서의 XML 요소의 추가로 수정하거나, XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 원본 문서에서의 XML 속성의 삭제와 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 말한다.Finally, in step S235, if it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or deletion of an XML attribute in the original document and the addition of an XML element in the reference document. If it is determined that there is an XML attribute addition in the , it is corrected by moving the position of the XML attribute. Refers to the step of providing a user interface displaying a pop-up menu for further modification or, when it is determined that there is a movement of the XML attribute, the deletion of the XML attribute from the original document and the addition of the XML attribute from the reference document. .
즉, 검토 유닛(230)은 XML 요소의 추가 또는 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하고, XML 요소의 삭제 또는 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하고, XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하고, XML 요소의 위치 이동 또는 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공한다.That is, when it is determined that there is the addition of the XML element or the addition of the XML attribute, the review unit 230 provides a user interface in which the structure of the added reference document is displayed, and it is determined that there is the deletion of the XML element or the deletion of the XML attribute. When it is determined, a user interface is provided in which the structure of the deleted original document is displayed, and when it is determined that there is a change in the XML attribute, the user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed and, when it is determined that there is a movement of an XML element or a movement of an XML attribute, a user interface is provided in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed.
또한, 원본 문서에서의 XML 요소의 삭제 및 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 원본 문서에서의 XML 속성의 삭제 및 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 원본 문서에서의 XML 요소의 삭제 및 기준 문서에서의 XML 요소의 추가로 수정하거나, XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 원본 문서에서의 XML 속성의 삭제 및 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성될 수 있다.In addition, if it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, it is corrected by moving the position of the XML element, or deletion of an XML attribute in the original document and XML attribute in the reference document. If it is determined that there is an addition of , it is modified by moving the position of the XML attribute, or if it is determined that there is a movement of the XML element, it is modified by deleting the XML element from the original document and adding an XML element from the base document, or , when it is determined that there is a positional movement of the XML attribute, it may be configured to provide a user interface in which a pop-up menu is displayed in which the deletion of the XML attribute in the original document and addition of the XML attribute in the reference document can be modified.
예를 들어, 도 4와 같은 구조를 갖는 원본 문서가 도 5 내지 도 11에 해당하는 변경이 있을 경우, 사용자 인터페이스는 도 12와 같이 도시될 수 있다.For example, when the original document having the structure shown in FIG. 4 has changes corresponding to FIGS. 5 to 11 , the user interface may be shown as shown in FIG. 12 .
구조 변환부(300)에 의해 수행되는 S300 단계는 S310 단계 및 S320 단계를 포함할 수 있다.Step S300 performed by the structure conversion unit 300 may include steps S310 and S320.
S310 단계는 S200 단계에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 단계를 말한다.Step S310 refers to a step of converting the structure of the original document into the structure of the reference document based on the comparison result in step S200.
S320 단계는 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하는 단계를 말한다.In step S320, when it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but information included in the deleted XML element or XML attribute refers to the step of storing separately in a separate database.
즉, 구조 변환부(300)는 구조 비교부(200)에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하여 변환 문서를 출력하고, 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하도록 구성될 수 있다.That is, the structure conversion unit 300 converts the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit 200 to output the converted document, and an XML element included in the structure of the original document or When it is determined that the XML attribute has been deleted or moved, the XML element or XML attribute may be deleted from the structure of the original document, but information included in the deleted XML element or XML attribute may be separately stored in a separate database.
보다 상세히 말하면, S300 단계는 S200 단계에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 기준과 동일하게 변환하는 단계를 말한다.More specifically, step S300 refers to a step of converting the structure of the original document to be the same as that of the reference document based on the comparison result in step S200.
즉, S300 단계에서는 특정 XML 요소 또는 특정 XML 속성을 삭제하거나 삭제 후 추가하는 작업을 수행할 수 있다. S300 단계는 기준 문서의 구조와 동일하게 원본 문서의 구조를 변환하는 것이므로, 존재하지 않는 정보를 새로 추가할 수 없다. 따라서 추가 작업만을 따로 수행하지 않는 것은 자명할 것이다.That is, in step S300, a specific XML element or a specific XML attribute may be deleted or added after deletion. Since step S300 converts the structure of the original document to be the same as that of the reference document, it is not possible to add new information that does not exist. Therefore, it will be obvious that only additional work is not performed separately.
삭제 작업은 XML 요소의 삭제, XML 속성의 삭제를 대상으로 수행된다. 말그대로 관련된 정보를 삭제함으로써 완료할 수 있다. 다만, 기존에 작성된 정보들은 모두 필요에 의해 작성된 것이므로 대상 구조에 존재하지 않더라도 그대로 유지하는 것이 바람직하다. 따라서 S300 단계를 통해 삭제되는 모든 정보는 별도의 데이터베이스에 따로 저장될 수 있다.The delete operation is performed targeting the deletion of XML elements and the deletion of XML attributes. This can be done by literally deleting the relevant information. However, since all of the previously created information is created out of necessity, it is desirable to keep it as it is even if it does not exist in the target structure. Therefore, all information deleted through step S300 may be separately stored in a separate database.
삭제 후 추가하는 작업은 XML 요소의 위치 이동, XML 속성의 위치 이동, XML 속성의 변경을 대상으로 수행된다. 삭제 작업은 앞서 소개한 것과 동일하게 진행된다. 삭제 후 그 정보가 기준 문서의 구조에 동일하게 추가되지만, 이 역시 삭제 과정을 동반하기에 삭제되는 모든 정보는 별도의 데이터베이스에 따로 저장될 수 있다.The operation to be added after deletion is performed by moving the position of the XML element, moving the position of the XML attribute, and changing the XML attribute. The deletion operation proceeds in the same manner as described above. After deletion, the information is equally added to the structure of the reference document, but since this also accompanies the deletion process, all deleted information may be separately stored in a separate database.
본 발명의 일 실시예에 따른 문서 구조 변환 시스템(10) 및 문서 구조 변환 시스템(10)에 의해 수행되는 문서 구조 변환 방법(S10)은 ARXML의 버전이 업데이트 될 경우 기존 버전의 ARXML에 의해 작성된 문서인 원본 문서의 구조를 새로 업데이트된 버전의 ARXML에 의해 작성된 문서인 기준 문서의 구조와 동일하게 변환할 수 있다.The document structure conversion method S10 performed by the document structure conversion system 10 and the document structure conversion system 10 according to an embodiment of the present invention is a document created by the existing version of ARXML when the version of ARXML is updated. The structure of the original document, which is a document created by the newly updated version of ARXML, can be converted to be the same as that of the reference document.
이를 통해, 원본 문서의 구조를 분석하여 수동으로 기준 문서의 구조와 일치하도록 변경하거나, 기존에 작성된 문서를 새로 업데이트된 버전의 ARXML 구조에 맞게 새로 작성하는데 드는 시간과 비용의 낭비를 줄일 수 있다.Through this, it is possible to reduce the waste of time and money required to analyze the structure of the original document and manually change it to match the structure of the reference document, or to rewrite the existing document according to the structure of the newly updated version of ARXML.
또한, 본 발명은 상술한 문서 구조 변환 방법(S10)을 실행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체를 더 포함할 수 있다.In addition, the present invention may further include a computer-readable recording medium in which a program for executing the above-described document structure conversion method ( S10 ) is recorded.
이상 본 발명의 실시예에 따른 문서 구조 변환 방법, 문서 구조 변환 시스템을 구체적인 실시 형태로서 설명하였으나, 이는 예시에 불과한 것으로서, 본 발명은 이에 한정되지 않는 것이며, 본 명세서에 개시된 기초 사상에 따르는 최광의 범위를 갖는 것으로 해석되어야 한다. 당업자는 개시된 실시형태들을 조합, 치환하여 적시되지 않은 형상의 패턴을 실시할 수 있으나, 이 역시 본 발명의 범위를 벗어나지 않는 것이다. 이외에도 당업자는 본 명세서에 기초하여 개시된 실시형태를 용이하게 변경 또는 변형할 수 있으며, 이러한 변경 또는 변형도 본 발명의 권리범위에 속함은 명백하다.Although the document structure conversion method and the document structure conversion system according to the embodiment of the present invention have been described as specific embodiments, this is merely an example, and the present invention is not limited thereto, and the should be construed as having a range. A person skilled in the art may implement a pattern of a shape not specified by combining or substituting the disclosed embodiments, but this also does not depart from the scope of the present invention. In addition, those skilled in the art can easily change or modify the disclosed embodiments based on the present specification, and it is clear that such changes or modifications also fall within the scope of the present invention.

Claims (15)

  1. (a) 구조 분석부에 의해, XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하는 문서 구조 분석 단계;(a) a document structure analysis step of analyzing, by the structure analysis unit, the structure of the reference document and the original document created through XML schema and having an ARXML structure;
    (b) 구조 비교부에 의해, 상기 기준 문서와 상기 원본 문서 간의 구조 상의 차이를 비교하는 문서 구조 비교 단계; 및(b) a document structure comparison step of comparing, by a structure comparison unit, a difference in structure between the reference document and the original document; and
    (c) 구조 변환부에 의해, 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 문서 구조 변환 단계를 포함하는,(c) a document structure conversion step of converting, by the structure conversion unit, the structure of the original document into the structure of the reference document based on the comparison result,
    문서 구조 변환 방법.How to transform the document structure.
  2. 제1항에 있어서,According to claim 1,
    상기 (a) 단계는:Step (a) is:
    (a-1) 상기 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하는 단계;(a-1) mapping each XML element included in the ARXML structure to each node;
    (a-2) 상기 ARXML 구조에 포함된 상기 각각의 XML 요소의 XML 속성을 상기 각각의 노드의 속성으로 매핑하는 단계; 및(a-2) mapping the XML attribute of each XML element included in the ARXML structure to the attribute of each node; and
    (a-3) 상기 노드와 상기 노드의 속성을 기반으로 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 구현하여 구조를 분석하는 단계를 더 포함하는,(a-3) further comprising analyzing the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node,
    문서 구조 변환 방법.How to transform the document structure.
  3. 제2항에 있어서,3. The method of claim 2,
    상기 (b) 단계는:Step (b) is:
    (b-1) 제1 비교 유닛에 의해, 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 추가, 상기 XML 요소의 삭제, 상기 XML 속성의 추가, 상기 XML 속성의 삭제 또는 상기 XML 속성의 변경이 있는지 여부를 판단하는 단계;(b-1) comparing, by the first comparison unit, the graph database for each of the reference document and the original document, the addition of the XML element, the deletion of the XML element, the addition of the XML attribute, the addition of the XML attribute determining whether there is a deletion or a change of the XML attribute;
    (b-2) 제2 비교 유닛에 의해, 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는지 여부를 판단하는 단계; 및(b-2) comparing, by a second comparison unit, a graph database for each of the reference document and the original document, and determining whether there is a movement of the position of the XML element or movement of the XML attribute; and
    (b-3) 검토 유닛에 의해, 상기 (b-1) 단계 및 상기 (b-2) 단계에서의 판단 결과와 상기 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 더 포함하는,(b-3) further comprising, by the review unit, providing, by the review unit, the determination result in steps (b-1) and (b-2) and a user interface in which a pop-up menu for correcting the determination result is displayed doing,
    문서 구조 변환 방법.How to transform the document structure.
  4. 제3항에 있어서,4. The method of claim 3,
    상기 (b-1) 단계는:The step (b-1) is:
    (b-1-1) XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하는 단계;(b-1-1) determining that the XML element is added when an XML element having the same XML attribute is included in the structure of the reference document instead of being included in the structure of the original document;
    (b-1-2) XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하는 단계;(b-1-2) determining that the XML element is deleted when an XML element having the same XML attribute is included in the structure of the original document but not in the structure of the reference document;
    (b-1-3) 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하는 단계;(b-1-3) determining that the XML attribute is added when an XML attribute having the same data type and multiplicity for a specific XML element is not included in the structure of the original document but is included in the structure of the reference document;
    (b-1-4) 특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하는 단계; 및(b-1-4) determining that the XML attribute is deleted when an XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document; and
    (b-1-5) 특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하는 단계를 더 포함하는,(b-1-5) when a data type or multiplicity of a specific XML attribute for a specific XML element is different from each other, further comprising the step of determining that the XML attribute has been changed;
    문서 구조 변환 방법.How to transform the document structure.
  5. 제3항에 있어서,4. The method of claim 3,
    상기 (b-2) 단계는:The step (b-2) is:
    (b-2-1) 상기 XML 요소가 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 요소의 위치 이동이 있는 것으로 판단하는 단계; 및(b-2-1) determining that the position of the XML element is moved when the XML element is deleted from the structure of the original document and added from the structure of the reference document; and
    (b-2-2) 상기 XML 속성이 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 속성의 위치 이동이 있는 것으로 판단하는 단계를 더 포함하는,(b-2-2) when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, further comprising the step of determining that there is a positional movement of the XML attribute,
    문서 구조 변환 방법.How to transform the document structure.
  6. 제3항에 있어서,4. The method of claim 3,
    상기 (b-3) 단계는:The step (b-3) is:
    (b-3-1) 상기 XML 요소의 추가 또는 상기 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계;(b-3-1) providing a user interface displaying the structure of the added reference document when it is determined that the XML element is added or the XML attribute is added;
    (b-3-2) 상기 XML 요소의 삭제 또는 상기 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계;(b-3-2) providing a user interface displaying the structure of the deleted original document when it is determined that the XML element is deleted or the XML attribute is deleted;
    (b-3-3) 상기 XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하는 단계;(b-3-3) providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed when it is determined that the XML attribute is changed;
    (b-3-4) 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하는 단계; 및(b-3-4) When it is determined that there is a movement of the position of the XML element or movement of the XML attribute, a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed providing; and
    (b-3-5) 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, 상기 XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가로 수정하거나, 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하는 단계를 더 포함하는(b-3-5) When it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, this is corrected by moving the XML element position, or When it is determined that there is a deletion and an addition of an XML attribute in the reference document, it is corrected by a position movement of the XML attribute, or when it is determined that there is a position movement of the XML element, it is combined with the deletion of the XML element from the original document A pop-up capable of modifying by adding an XML element in the reference document or by adding an XML attribute in the reference document and deleting an XML attribute in the original document when it is determined that there is a movement of the XML attribute providing a user interface in which a menu is displayed;
    문서 구조 변환 방법.How to transform the document structure.
  7. 제3항에 있어서,4. The method of claim 3,
    상기 (c) 단계는:Step (c) is:
    (c-1) 상기 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하는 단계; 및(c-1) converting the structure of the original document into the structure of the reference document based on the comparison result; and
    (c-2) 상기 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 상기 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하는 단계를 더 포함하는,(c-2) When it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the deleted XML element or XML attribute The information contained in the further comprising the step of keeping separately in a separate database,
    문서 구조 변환 방법.How to transform the document structure.
  8. XML 스키마를 통해 작성되어 ARXML 구조를 갖는 기준 문서와 원본 문서의 구조를 분석하도록 구성되는 구조 분석부;a structure analysis unit configured to analyze the structure of a reference document and an original document created through XML schema and having an ARXML structure;
    상기 기준 문서와 상기 원본 문서 간의 구조 상의 차이를 비교하도록 구성되는 구조 비교부; 및a structure comparison unit configured to compare a difference in structure between the reference document and the original document; and
    상기 구조 비교부에서의 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하도록 구성되는 구조 변환부를 포함하는,a structure conversion unit configured to convert the structure of the original document into the structure of the reference document based on the comparison result in the structure comparison unit;
    문서 구조 변환 시스템.Document structure conversion system.
  9. 제8항에 있어서,9. The method of claim 8,
    상기 구조 분석부는:The structural analysis unit:
    상기 ARXML 구조에 포함된 각각의 XML 요소를 각각의 노드로 매핑하고;mapping each XML element included in the ARXML structure to each node;
    상기 ARXML 구조에 포함된 상기 각각의 XML 요소의 XML 속성을 상기 각각의 노드의 속성으로 매핑하고;mapping an XML attribute of each XML element included in the ARXML structure to an attribute of each node;
    상기 노드와 상기 노드의 속성을 기반으로 상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 구현하여 구조를 분석하도록 구성되는,configured to analyze the structure by implementing a graph database for each of the reference document and the original document based on the node and the properties of the node,
    문서 구조 변환 시스템.Document structure conversion system.
  10. 제9항에 있어서,10. The method of claim 9,
    상기 구조 비교부는:The structure comparison unit:
    상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 추가, 상기 XML 요소의 삭제, 상기 XML 속성의 추가, 상기 XML 속성의 삭제 또는 상기 XML 속성의 변경이 있는지 여부를 판단하도록 구성되는 제1 비교 유닛;By comparing graph databases for each of the reference document and the original document, it is determined whether there is an addition of the XML element, deletion of the XML element, addition of the XML attribute, deletion of the XML attribute, or change of the XML attribute. a first comparison unit configured to;
    상기 기준 문서와 상기 원본 문서 각각에 대한 그래프 데이터베이스를 비교하여, 상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는지 여부를 판단하도록 구성되는 제2 비교 유닛; 및a second comparison unit, configured to compare a graph database for each of the reference document and the original document to determine whether there is a positional movement of the XML element or a movement of the XML attribute; and
    상기 제1 비교 유닛 및 상기 제2 비교 유닛에 의한 판단 결과와 상기 판단 결과를 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성되는 검토 유닛을 더 포함하는,and a review unit configured to provide a user interface in which a result of determination by the first comparison unit and the second comparison unit and a pop-up menu for modifying the determination result are displayed,
    문서 구조 변환 시스템.Document structure conversion system.
  11. 제10항에 있어서,11. The method of claim 10,
    상기 제1 비교 유닛은:The first comparison unit comprises:
    XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 요소가 추가된 것으로 판단하고;When an XML element having the same XML attribute is included in the structure of the reference document instead of being included in the structure of the original document, it is determined that the XML element is added;
    XML 속성이 동일한 XML 요소가 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 요소가 삭제된 것으로 판단하고;when an XML element having the same XML attribute is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML element is deleted;
    특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되지 않고 기준 문서의 구조에는 포함된 경우, 상기 XML 속성이 추가된 것으로 판단하고;When an XML attribute having the same data type and multiplicity of a specific XML element is not included in the structure of the original document but is included in the structure of the reference document, it is determined that the XML attribute is added;
    특정 XML 요소에 대하여 데이터 타입과 다중도가 동일한 XML 속성이 원본 문서의 구조에는 포함되고 기준 문서의 구조에는 포함되지 않는 경우, 상기 XML 속성이 삭제된 것으로 판단하고;When an XML attribute having the same data type and multiplicity for a specific XML element is included in the structure of the original document and not included in the structure of the reference document, it is determined that the XML attribute is deleted;
    특정 XML 요소에 대한 특정 XML 속성에 대하여 데이터 타입 또는 다중도가 서로 다를 경우, 상기 XML 속성이 변경된 것으로 판단하도록 구성되는,configured to determine that the XML attribute is changed when the data type or multiplicity of a specific XML attribute for a specific XML element is different from each other,
    문서 구조 변환 시스템.Document structure conversion system.
  12. 제10항에 있어서,11. The method of claim 10,
    상기 제2 비교 유닛은:The second comparison unit comprises:
    상기 XML 요소가 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 요소의 위치 이동이 있는 것으로 판단하고;when the XML element is deleted from the structure of the original document and added from the structure of the reference document, it is determined that the position of the XML element is moved;
    상기 XML 속성이 상기 원본 문서의 구조에서는 삭제되고 상기 기준 문서의 구조에서는 추가된 경우, 상기 XML 속성의 위치 이동이 있는 것으로 판단하도록 구성되는,and when the XML attribute is deleted from the structure of the original document and added from the structure of the reference document, determining that there is a positional movement of the XML attribute,
    문서 구조 변환 시스템.Document structure conversion system.
  13. 제10항에 있어서,11. The method of claim 10,
    상기 검토 유닛은:The review unit is:
    상기 XML 요소의 추가 또는 상기 XML 속성의 추가가 있는 것으로 판단된 경우, 추가된 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하고;when it is determined that there is the addition of the XML element or the addition of the XML attribute, providing a user interface displaying the structure of the added reference document;
    상기 XML 요소의 삭제 또는 상기 XML 속성의 삭제가 있는 것으로 판단된 경우, 삭제된 원본 문서의 구조가 표시된 사용자 인터페이스를 제공하고;when it is determined that there is deletion of the XML element or deletion of the XML attribute, providing a user interface displaying the structure of the deleted original document;
    상기 XML 속성의 변경이 있는 것으로 판단된 경우, 변경 전의 원본 문서에서의 XML 속성과 변경 후의 기준 문서에서의 XML 속성이 표시된 사용자 인터페이스를 제공하고;when it is determined that there is a change in the XML attribute, providing a user interface in which the XML attribute in the original document before the change and the XML attribute in the reference document after the change are displayed;
    상기 XML 요소의 위치 이동 또는 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우, 위치 이동이 있기 전의 원본 문서의 구조와 위치 이동이 있은 후의 기준 문서의 구조가 표시된 사용자 인터페이스를 제공하고;when it is determined that there is a movement of the XML element or movement of the XML attribute, providing a user interface in which the structure of the original document before the movement and the structure of the reference document after the movement are displayed;
    상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가가 있는 것으로 판단된 경우 이를 XML 요소의 위치 이동으로 수정하거나, 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가가 있는 것으로 판단된 경우 이를 XML 속성의 위치 이동으로 수정하거나, 상기 XML 요소의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 요소의 삭제와 상기 기준 문서에서의 XML 요소의 추가로 수정하거나, 상기 XML 속성의 위치 이동이 있는 것으로 판단된 경우 이를 상기 원본 문서에서의 XML 속성의 삭제와 상기 기준 문서에서의 XML 속성의 추가로 수정할 수 있는 팝업 메뉴가 표시된 사용자 인터페이스를 제공하도록 구성되는,When it is determined that there is a deletion of an XML element in the original document and an addition of an XML element in the reference document, this is corrected by moving the XML element, or deletion of an XML attribute in the original document and the addition of an XML element in the reference document. When it is determined that there is an XML attribute addition, it is corrected by moving the position of the XML attribute. Provides a user interface displaying a pop-up menu that can be modified by addition of , or when it is determined that there is a movement of the XML attribute, deletion of the XML attribute from the original document and addition of the XML attribute from the reference document configured to
    문서 구조 변환 시스템.Document structure conversion system.
  14. 제10항에 있어서,11. The method of claim 10,
    상기 구조 변환부는:The structural transformation unit:
    상기 비교 결과를 기반으로 원본 문서의 구조를 기준 문서의 구조로 변환하고;converting the structure of the original document into the structure of the reference document based on the comparison result;
    상기 원본 문서의 구조에 포함되었던 XML 요소 또는 XML 속성이 삭제되거나 위치 이동된 것으로 판단된 경우, 상기 원본 문서의 구조에서는 XML 요소 또는 XML 속성을 삭제하되 삭제된 XML 요소 또는 XML 속성에 포함된 정보는 별도의 데이터베이스에 따로 보관하도록 구성되는,When it is determined that the XML element or XML attribute included in the structure of the original document has been deleted or moved, the XML element or XML attribute is deleted from the structure of the original document, but the information included in the deleted XML element or XML attribute is configured to be kept separately in a separate database;
    문서 구조 변환 시스템.Document structure conversion system.
  15. 제1항에 기재된 문서 구조 변환 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer-readable recording medium in which a program for executing the document structure conversion method according to claim 1 is recorded.
PCT/KR2021/001625 2021-02-05 2021-02-08 System and method for converting document structure for arxml migration WO2022169010A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210016714A KR20220113030A (en) 2021-02-05 2021-02-05 Document structure change system and method for arxml migration
KR10-2021-0016714 2021-02-05

Publications (1)

Publication Number Publication Date
WO2022169010A1 true WO2022169010A1 (en) 2022-08-11

Family

ID=82742180

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/001625 WO2022169010A1 (en) 2021-02-05 2021-02-08 System and method for converting document structure for arxml migration

Country Status (2)

Country Link
KR (1) KR20220113030A (en)
WO (1) WO2022169010A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100653189B1 (en) * 2005-12-06 2006-12-04 한국전자통신연구원 Apparatus and method for xml document transformming
KR20070013770A (en) * 2005-07-27 2007-01-31 주식회사 유텍 Document conversion system using synchronization of structured documents, and it's method
KR20070062800A (en) * 2005-12-13 2007-06-18 한국과학기술정보연구원 Method for transforming of electronic document based on mapping rule and system thereof
US20090132906A1 (en) * 2004-10-27 2009-05-21 Justsystems Corporation Document processing device and document processing method
KR101487192B1 (en) * 2013-08-19 2015-01-29 인포뱅크 주식회사 Server apparatus and method for providing service related to autosar
JP2018036972A (en) * 2016-09-01 2018-03-08 ポップコーンサー コー リミテッド File format converter and conversion method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132906A1 (en) * 2004-10-27 2009-05-21 Justsystems Corporation Document processing device and document processing method
KR20070013770A (en) * 2005-07-27 2007-01-31 주식회사 유텍 Document conversion system using synchronization of structured documents, and it's method
KR100653189B1 (en) * 2005-12-06 2006-12-04 한국전자통신연구원 Apparatus and method for xml document transformming
KR20070062800A (en) * 2005-12-13 2007-06-18 한국과학기술정보연구원 Method for transforming of electronic document based on mapping rule and system thereof
KR101487192B1 (en) * 2013-08-19 2015-01-29 인포뱅크 주식회사 Server apparatus and method for providing service related to autosar
JP2018036972A (en) * 2016-09-01 2018-03-08 ポップコーンサー コー リミテッド File format converter and conversion method thereof

Also Published As

Publication number Publication date
KR20220113030A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US20080208898A1 (en) Decentralized Many-to-Many Relationship Management in an Object Persistence Management System
WO2010123168A1 (en) Database management method and system
WO2015137641A2 (en) Business rule management system having hierarchical rule structure and representation method thereof
WO2021141419A1 (en) Method and apparatus for generating customized content based on user intent
WO2021040166A1 (en) Method for generating difference between new and old data in order to update software, and device therefor
WO2010137814A2 (en) Method of providing by-viewpoint patent map and system thereof
US8756205B2 (en) System and method for rule-based data object matching
WO2020233089A1 (en) Test case generating method and apparatus, terminal, and computer readable storage medium
US7325240B2 (en) Method for generating calling convention transformation process
WO2022169010A1 (en) System and method for converting document structure for arxml migration
WO2022050551A1 (en) Legal service provision system and method therefor
WO2022260254A1 (en) On-device android malicious code detection method based on adaptive model through transfer learning, and recording medium and apparatus for performing same
WO2018105804A1 (en) Bpm-based iot diy system and method for implementing same
US20070156746A1 (en) Information management system and method
WO2018151384A1 (en) Communication data modeling method
WO2023003073A1 (en) Method and device for establishing integrated facility information management system on basis of digital twin automatic application system for sustainable facility management
US20020099754A1 (en) Data synchronizing device
WO2018080009A1 (en) Electronic apparatus for recording debugging information and control method thereof
WO2016108677A1 (en) Apparatus and method for outputting web content
WO2022169007A1 (en) User interface management system for automotive open system architecture configuration tool, and method therefor
WO2024019224A1 (en) Method for processing structured data and unstructured data in database, and data processing platform for providing method
JPH1173328A (en) Coding rule check system
WO2024019225A1 (en) Method for processing structured data and unstructured data in a plurality of different databases, and data processing platform providing same method
WO2022215776A1 (en) Cloud server and method for converting software image of robot in cloud server
WO2022211163A1 (en) Method for issuing combined web page including at least one specific identification phrase extracted from specific input data of user and at least one locator which can access at least one docking result data piece corresponding to same at least one specific identification phrase, and combined web page issuance server using same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21924911

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21924911

Country of ref document: EP

Kind code of ref document: A1