WO2006051964A1 - データ処理システム、データ処理方法、及び管理サーバ - Google Patents
データ処理システム、データ処理方法、及び管理サーバ Download PDFInfo
- Publication number
- WO2006051964A1 WO2006051964A1 PCT/JP2005/020891 JP2005020891W WO2006051964A1 WO 2006051964 A1 WO2006051964 A1 WO 2006051964A1 JP 2005020891 W JP2005020891 W JP 2005020891W WO 2006051964 A1 WO2006051964 A1 WO 2006051964A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- document
- file
- data
- unit
- user
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6227—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/123—Storage facilities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/131—Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
Definitions
- the present invention relates to a data processing technique, and more particularly to a data processing system and a data processing method for processing a file in which data is stored, and a management server that can be used in the data processing system.
- XML is attracting attention as a format suitable for sharing data with others via a network, and applications for creating, displaying, and editing XML documents have been developed (for example, (See Patent Document 1).
- An XML document is created based on a vocabulary (tag set) defined by a document type definition or the like.
- Patent Document 1 Japanese Patent Laid-Open No. 2001-290804
- XML is expected to be used as a common format when data is shared by multiple users.
- data such as documents written in XML is shared by many users via a network, the need to properly manage the confidentiality of data to be kept confidential in files increases. .
- the present invention has been made in view of such circumstances, and an object thereof is to provide a technique for ensuring confidentiality of confidential data included in a file storing data.
- the data processing system includes a data processing device that processes data and a management server that manages a file in which the data is stored, and the data processing device sends a file containing confidential data to the management server.
- An identifier is issued for confidential data
- the storage unit When the management server receives a request for acquiring the file, a user having authority to view the secret data, the storage unit reads a composition unit that reads the secret data and combines it with the file. Further, it may be included. As a result, confidential data can be presented to a user who is authorized to browse.
- the synthesizing unit may select secret data that should be permitted to be browsed according to the authority level of the user and synthesize it into the file. As a result, confidential data is disclosed to users who are permitted to browse, and confidential data is not disclosed to users who are prohibited from viewing! Therefore, confidentiality of the confidential data can be appropriately managed.
- the storage unit may be a finale different from a file in which the data is stored.
- the management server includes an extraction unit that extracts data to be moved to another file from a file in which data is stored, an issue unit that issues an identifier for the data extracted by the extraction unit, and the file A replacement unit that replaces the extracted data with the identifier, and a storage unit that associates the extracted data with the identifier and stores them in another file.
- FIG. 1 is a diagram showing a configuration of a document processing apparatus according to a base technology.
- FIG. 2 is a diagram showing an example of an XML document to be processed.
- FIG. 3 is a diagram showing an example of mapping the XML document shown in FIG. 2 to a table described in HTML.
- FIG. 4 (b) is a diagram showing an example of a definition file for mapping the XML document shown in FIG. 2 to the table shown in FIG.
- FIG. 5 is a diagram showing an example of a screen displayed by mapping the XML document described in the grade management vocabulary shown in FIG. 2 to HTML according to the correspondence shown in FIG.
- FIG. 6 is a diagram showing an example of a graphical user interface presented to the user by the definition file generation unit in order for the user to generate a definition file.
- FIG. 7 is a diagram showing another example of the screen layout generated by the definition file generation unit.
- FIG. 8 is a diagram showing an example of an XML document editing screen by the document processing apparatus.
- FIG. 9 is a diagram showing another example of an XML document edited by the document processing apparatus.
- FIG. 10 is a diagram showing an example of a screen displaying the document shown in FIG.
- FIG. 11 is a diagram illustrating a basic configuration of a document processing system.
- FIG. 11 (b) is a diagram showing a block diagram of the entire document processing system.
- FIG. 11 (c) is a diagram showing a block diagram of the entire document processing system.
- FIG. 13 is a diagram showing details of the vocabulary connection subsystem.
- FIG. 14 is a diagram showing details of the relationship between the program starter and other components.
- FIG. 15 is a diagram showing the details of the structure of the application service loaded by the program startup unit.
- FIG. 16 is a diagram showing details of the core component.
- ⁇ 17 It is a diagram showing details of the document management unit.
- FIG. 18 is a diagram showing details of an undo framework and an undo command.
- FIG. 19 is a diagram showing how a document is loaded in the document processing system.
- FIG. 21 is a diagram showing a relationship between a model and a controller.
- FIG. 22 is a diagram showing details of the plug-in sub-system, the library connection, and the connector.
- FIG. 23 shows an example of a VCD file.
- FIG. 24 is a diagram showing a procedure for loading a compound document in the document processing system.
- FIG. 25 is a diagram showing a procedure for loading a compound document in the document processing system.
- FIG. 26 is a diagram showing a procedure for loading a compound document in the document processing system.
- FIG. 27 is a diagram showing a procedure for loading a compound document in the document processing system.
- FIG. 28 is a diagram showing a procedure for loading a compound document in the document processing system.
- FIG. 29 is a diagram showing a command flow.
- FIG. 30 is a diagram showing a configuration of a document management system according to an embodiment.
- ⁇ 31 A diagram showing an internal configuration of the document processing apparatus according to the present embodiment.
- FIG. 32 is a diagram showing an internal configuration of a document management server.
- FIG. 33 is a diagram showing an example of internal data of a document file management table.
- FIG. 34 is a diagram showing an example of internal data of a user database.
- FIG. 35 is a diagram showing an example of an XML document processed in the document management system of the embodiment.
- FIG. 36 is a diagram showing an example of a definition file for mapping and displaying the XML document shown in FIG. 35 by mapping it to XHTML.
- FIG. 37 is a diagram showing an example of a screen displayed by applying the definition file shown in FIG. 36 to the XML document shown in FIG.
- FIG. 38 is a diagram showing an example of an XML document in which confidential data is marked up.
- FIG. 39 is a diagram showing an example of a table file generated by the document file dividing unit dividing the XML document shown in FIG. 38.
- FIG. 40 is a diagram showing an example of a back file generated by the document file dividing unit dividing and generating the XML document shown in FIG. 38.
- FIG. 39 is a diagram showing another example of the back file generated by the document file dividing unit generated by dividing the XML document shown in FIG.
- FIG. 42 is a diagram showing a definition file in which a definition for synthesizing the back file shown in FIG. 40 is described in the table file shown in FIG. 39.
- FIG. 43 is a diagram showing a display example of a generated composite file.
- FIG. 44 is a diagram showing a display example of a generated composite file.
- FIG. 45 is a diagram showing a display example of a generated composite file.
- FIG. 46 is a diagram showing a display example of a generated composite file.
- FIG. 47 is a diagram showing another example of a table file generated by the document file dividing unit dividing the XML document shown in FIG. 38.
- FIG. 48 is a diagram showing an example of a definition file applied to the table file shown in FIG. 47.
- FIG. 49 is a diagram showing an example of a screen displayed by applying the definition file shown in FIG. 48 to the table file shown in FIG. 47.
- FIG. 1 shows the configuration of the document processing apparatus 20 according to the base technology.
- the document processing apparatus 20 processes a structured document in which data in the document is classified into a plurality of components having a hierarchical structure.
- the document processing apparatus 20 includes a main control unit 22, an editing unit 24, a DOM unit 30, a CSS unit 40, an HTML unit 50, an SVG unit 60, and a VC unit 80 which is an example of a conversion unit.
- these configurations are the power realized by the CPU, memory, and programs loaded in the memory of any computer.
- functional blocks realized by their cooperation are depicted. Gatsutsu Those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.
- the main control unit 22 provides a framework for loading plug-ins and executing commands.
- the editing unit 24 provides a framework for editing XML documents.
- the document display and editing functions in the document processing device 20 are realized by plug-ins, and necessary plug-ins are loaded by the main control unit 22 or the editing unit 24 according to the document type.
- the main control unit 22 or the editing unit 24 refers to the name space of the XML document to be processed, determines whether the XML document is described by a misplaced library, and displays or displays the document corresponding to the missing library. Load the editing plug-in to display or edit.
- the document processing device 20 has a display system and an editing system plug-in for each vocabulary (tag set) such as an HTML unit 50 that displays and edits HTML documents and an SVG unit 60 that displays and edits SVG documents.
- the HTML unit 50 is loaded when editing an HTML document
- the SVG unit 60 is loaded when editing an S VG document.
- both HTML unit 50 and SVG unit 60 are loaded.
- the user can select and install only the necessary functions and add or delete functions as needed later, so that the recording medium such as a hard disk for storing the program
- the storage area can be used effectively, and memory can be prevented from being wasted during program execution.
- it has excellent function expandability, and as a development entity, it is possible to cope with a new vocabulary in the form of a plug-in, making development easier, and as a user, it is easy and low by adding plug-ins. Additional functions can be added at cost.
- the editing unit 24 accepts an editing instruction event via the user interface, notifies the appropriate plug-in of the event, and re-executes the event (redo) or cancels the execution (undo). Control the process.
- the DOM unit 30 includes a DOM providing unit 32, a DOM generating unit 34, and an output unit 36.
- the DOM unit 30 is a document document defined to provide an access method when an XML document is handled as data. A function compliant with the Document Object Model (DOM) is realized.
- the DOM provider 32 is a DOM implementation that satisfies the interface defined in the editing unit 24.
- the DOM generator 34 also generates a DOM tree with XML document capabilities. As will be described later, when XML document power to be processed is mapped to another library by VC unit 80, the source tree corresponding to the mapping source XML document and the destination tree corresponding to the mapping destination XML document Is generated.
- the output unit 36 outputs the DOM tree as an XML document at the end of editing, for example.
- the CSS unit 40 includes a CSS analysis unit 42, a CSS providing unit 44, and a rendering unit 46, and provides a display function compliant with CSS.
- the CSS analysis unit 42 has a function of a parser that analyzes the syntax of CSS.
- the CSS provider 44 is an implementation of a CSS object and performs CSS cascade processing on the DOM tree.
- the rendering unit 46 is a CSS rendering engine, and is used to display a document described in a vocabulary such as HTML that is laid out using CSS.
- the HTML unit 50 displays or edits a document described in HTML.
- the SVG unit 60 displays or edits documents written in SVG.
- These display Z editing systems are realized in the form of plug-ins.
- Each display unit (Canvas) 56 and 66 displays a document, and each control unit (Editlet) 52 and 62 receives and transmits an event including an editing instruction. It is equipped with editing sections (Zone) 54 and 64 that receive editing commands and edit the DOM.
- the control unit 52 or 62 accepts a DOM tree editing command even when an external force is received, the editing unit 54 or 64 changes the DOM tree, and the display unit 56 or 66 updates the display.
- MVC Model-View-Controller
- the document processing apparatus 20 of the base technology enables not only editing of an XML document in a tree display format but also editing according to the respective vocabulary.
- the HTML unit 50 provides a user interface for editing an HTML document in a manner similar to a word processor
- the SVG unit 60 provides a user interface for editing an SVG document in a manner similar to an image drawing tool.
- the VC unit 80 includes a mapping unit 82, a definition file acquisition unit 84, and a definition file generation unit 86.
- a mapping destination Provides a framework for displaying or editing documents with a display editing plug-in that supports the vocabulary.
- this function is called Vocabulary Connection (VC).
- the definition file acquisition unit 84 acquires a script file in which the mapping definition is described. This definition file describes the correspondence (connection) between nodes for each node. At this time, whether to edit the element value or attribute value of each node may be specified. Also, an arithmetic expression using the element value or attribute value of the node may be described.
- the mapping unit 82 refers to the script file acquired by the definition file acquisition unit 84, causes the DOM generation unit 34 to generate a destination tree, and manages the correspondence between the source tree and the destination tree.
- the definition file generator 86 provides a graphical user interface for the user to generate a definition file.
- the VC unit 80 monitors the connection between the source tree and the destination tree.
- the VC unit 80 first matches the source tree. Change the node to be used.
- the DOM unit 30 issues a mutation event indicating that the source tree has been changed
- the VC unit 80 receives the mutation event and synchronizes the destination tree with the change in the source tree. Change the destination tree node corresponding to the changed node.
- a plug-in that displays / edits the destination tree for example, the HTML unit 50, receives a mutation event indicating that the destination tree has been changed, and updates the display with reference to the changed destination tree.
- the DOM generation unit 34 When the document processing device 20 reads a document to be processed, the DOM generation unit 34 generates a DOM tree for the XML document power. Also, the main control unit 22 or the editing unit 24 The bubbly library describing the document is determined by referring to the interval. If a plug-in corresponding to the vocabulary is installed in the document processing apparatus 20, the plug-in is loaded to display / edit the document. If the plug-in linker S is not installed, check whether the mapping definition file exists. If the definition file exists, the definition file acquisition unit 84 acquires the definition file, generates a destination tree according to the definition, and displays and edits the document by the plug-in corresponding to the mapping destination library.
- the corresponding parts of the document are displayed and edited by plug-ins corresponding to each vocabulary as described later. If the definition file does not exist, the document source or tree structure is displayed and edited on the display screen.
- FIG. 2 shows an example of an XML document to be processed.
- This XML document is used to manage student grade data.
- the component “score” that is the top node of the XML document has a plurality of component “students” provided for each student under the subordinate.
- the component “student” has an attribute value “name” and child elements “national language”, “mathematics”, “science”, and “society”.
- the attribute value “name” stores the name of the student.
- the constituent elements “National language”, “Mathematics”, “Science”, and “Society” store the results of national language, mathematics, science, and society, respectively.
- the student with the name “A” has a national grade of “90”, a mathematical grade of “50”, a science grade of “75”, and a social grade of “60”.
- the vocabulary (tag set) used in this document will be referred to as the “results management vocabulary”.
- the document processing apparatus 20 of the base technology does not have a plug-in that supports display Z editing of the grade management vocabulary, in order to display this document by a method other than source display and tree display,
- the VC function is used.
- the user interface for creating a definition file by the user himself will be described later.
- the description will proceed assuming that a definition file has already been prepared.
- FIG. 3 shows an example of mapping the XML document shown in FIG. 2 to a table described in HTML.
- the “Student” node in the Grade Management Library is a table in HTML (“TA BLE ") row (" TR "node), the attribute value" name "is in the first column of each row, the element value of the" national language “node is in the second column,"
- TR "node the attribute value of the “Mathematics” node
- the element values of the “Science” node in the fourth column and the element values of the “Society” node in the fifth column, respectively.
- the XML document shown in FIG. 2 can be displayed in an HTML table format.
- the sixth column specifies the formula for calculating the weighted average of national language, mathematics, science, and society, and displays the average score of the students. In this way, by making it possible to specify an arithmetic expression in the definition file, more flexible display is possible, and user convenience during editing can be improved. Note that the sixth column specifies that editing is not possible, so that only the average score cannot be edited individually. In this way, by making it possible to specify whether or not editing can be performed in the mapping definition, it is possible to prevent erroneous operations by the user.
- FIGS. 4A and 4B show examples of definition files for mapping the XML document shown in FIG. 2 to the table shown in FIG.
- This definition file is described in the script language defined for the definition file.
- the definition file contains command definitions and display templates.
- "add student” and “delete student” are defined as commands, respectively, the operation of inserting the node “student” into the source tree, and the source tree The operation of deleting the node “student” from the node is associated.
- headings such as “name” and “national language” are displayed in the first line of the table, and the contents of the node “student” are displayed in the second and subsequent lines.
- FIG. 5 shows an example of a screen displayed by mapping the XML document described in the grade management vocabulary shown in FIG. 2 to HTML according to the correspondence shown in FIG.
- Each row in Table 90 has a left
- Each student's name, national language grade, mathematics grade, science grade, social grade, and average score are displayed.
- the user can edit the XML document on this screen. For example, if the value in the second row and third column is changed to “70”, the element value of the source corresponding to this node, that is, the math grade of the student “B” is changed to “70”.
- the VC unit 80 changes the corresponding part of the destination tree that causes the destination tree to follow the source tree, and updates the display based on the changed destination tree. Therefore, also in the table on the screen, the mathematics score of the student “B” is changed to “70”, and the average score is changed to “55”.
- the screen shown in FIG. 5 displays the “add student” and “delete student” command menus as defined in the definition file shown in FIGS. 4 (a) and 4 (b). Is displayed.
- the node “Student” is added or deleted in the source tree.
- Such a single-structure editing function may be provided to the user in the form of a command.
- a command for adding or deleting a table row may be associated with an operation for adding or deleting the node “student”.
- a command for embedding other vocabulary may be provided to the user.
- this table as an input template, new student grade data can be added in the form of hole filling.
- the VC function makes it possible to edit a document described in the grade management vocabulary while using the display Z editing function of the HTML unit 50.
- FIG. 6 shows an example of a graphical user interface that the definition file generator 86 presents to the user in order for the user to generate a definition file.
- the XML document of the mapping source is displayed in a tree.
- the area 92 on the right side of the screen shows the screen layout of the mapping destination XML document.
- This screen layout can be edited by the HTML unit 50, and the user creates a screen layout for displaying a document in an area 92 on the right side of the screen.
- the node of the mapping source XML document displayed in the area 91 on the left side of the screen is dragged into the HTML screen layout displayed in the area 92 on the right side of the screen.
- the connection between the mapping source node and the mapping destination node is specified. For example, if you drop “math”, which is a child element of the element “student”, into the first row and third column of Table 90 on the HTML screen, it will be between the “math” node and the “TD” node in the third column.
- a connection is established.
- Each node can be designated for editing.
- An arithmetic expression can also be embedded in the display screen.
- the definition file generation unit 86 generates a definition file describing the screen layout and the connection between the nodes.
- FIG. 7 shows another example of the screen layout generated by the definition file generator 86.
- a table 90 and a pie chart 93 are created on the screen for displaying the XML document described in the grade management vocabulary.
- This pie chart 93 is described in SVG.
- the document processing apparatus 20 of the base technology can process a compound document including a plurality of libraries in one XML document, and thus a table described in HTML as in this example. 90 and a pie chart 93 written in SVG can be displayed on one screen.
- FIG. 8 shows an example of an XML document editing screen by the document processing apparatus 20.
- one screen is divided into multiple parts, and the XML document to be processed is displayed in different display formats in each area.
- the document 94 is displayed in the area 94
- the tree structure of the document is displayed in the area 95
- the table described in HTML shown in FIG. 5 is displayed in the area 96.
- Documents can be edited on any of these screens.
- the source tree is changed and the plug-in and source trees responsible for displaying each screen are displayed. Update the screen to reflect your changes.
- source tree changes As a listener of the mutation event to be notified, register the display part of the plug-in responsible for displaying each editing screen, and when the source tree is changed by any plug-in or VC unit 80, All display units displaying the edit screen receive the issued mutation event and update the screen. At this time, if the plug-in is displaying with the VC function, the VC unit 80 changes the destination tree following the change of the source tree, and then refers to the changed destination tree. The display unit updates the screen.
- the source display plug-in and the tree display plug-in directly refer to the source tree without using the destination tree. And display.
- the source display plug-in and the tree display plug-in update the screen with reference to the changed source tree, and take charge of the screen in area 96! /
- the HTML unit 50 updates the screen by referring to the changed destination tree following the change of the source tree.
- the source display and the tree display can also be realized by using the VC function. That is, the source and tree structure may be laid out in HTML, an XML document may be mapped to the HTML, and displayed by the HTML unit 50. In this case, three destination trees are generated: source format, tree format, and tabular format.
- VC Unit 80 changes the source tree, then changes each of the three destination trees: source format, tree format, and tabular format. Refer to those destination trees and update the three screens.
- the user can display and edit a document in a format that can be easily visually divided using the table 90 or the like while grasping the hierarchical structure of the document by the source display or the tree display.
- the ability to divide a screen and display a screen in multiple display formats at the same time may display a screen in a single display format on a single screen, and the display format can be switched by a user instruction.
- the main control unit 22 receives a display format switching request from the user, and sends it to each plug-in. Instruct to switch display.
- FIG. 9 shows another example of an XML document edited by the document processing device 20.
- the XHTML document is embedded in the “foreignObject” tag of the SVG document, and moreover, the mathematical expression described in MathML is included in the XHTML document.
- the editing unit 24 refers to the name space and distributes the drawing work to an appropriate display system.
- the editing unit 24 first causes the SVG unit 60 to draw a rectangle, and then causes the HTML unit 50 to draw an XHTML document.
- the MathML unit (not shown) is made to draw mathematical expressions. In this way, a compound document including a plurality of vocabularies is appropriately displayed.
- Figure 10 shows the display results.
- the displayed menu may be switched according to the position of the cursor (carriage). That is, when the cursor is in the area where the SVG document is displayed, the menu defined by the SVG unit 60 or the command defined in the definition file for mapping the SVG document is displayed.
- the menu defined by the HTML unit 50 or the command defined in the definition file for mapping the XHTML document is displayed. Thereby, an appropriate user interface can be provided according to the editing position.
- the portion described by the specified library may be displayed in the source display or the tree display.
- the application power to display the embedded document S Installed powerful power that cannot display its contents
- the contents can be grasped by displaying the XML document composed of text data in the source display or tree display. This is a unique feature of text-based documents such as XML.
- Tags of other vocabulary may be used in a document described by a certain vocabulary. This XML document is not valid, but if it is well-formed (welH rmed), it can be processed as a valid XML document. In this case, the tag of another inserted library may be mapped by the definition file. For example, you can use tags such as “Important” and “Most important” in an XHTML document and highlight the parts enclosed by these tags, or sort them in order of importance. Moyo.
- the plug-in or VC unit 80 responsible for the edited part changes the source tree. Mutation event listeners can be registered for each node in the source tree. Normally, the plug-in display or VC cut 80 corresponding to the vocabulary to which each node belongs is registered as a listener. Is done.
- the DOM provider 32 traces from the changed node to a higher hierarchy, and if there is a registered listener, issues a mutation event to that listener. For example, in the document shown in Fig.
- the overall layout may change as the display is updated by the HTML unit 50.
- the layout of the display area for each plug-in is updated by a configuration that manages the layout of the screen, for example, a plug-in that is responsible for displaying the top node.
- the HTML unit 50 first draws a part that it is in charge of and determines the size of the display area. Then, it notifies the configuration that manages the layout of the screen of the size of the display area after the change, and requests a layout update.
- the configuration that manages the layout of the screen receives the notification and re-lays out the display area for each plug-in.
- Documents described in a markup language are usually expressed in the form of a tree data structure in browsers and other applications. This structure corresponds to the tree of the results of parsing the document.
- the DOM (Document Object Model) is a well-known tree-based data structure model used to represent and manipulate documents.
- the DOM provides a standard set of objects for representing documents, including HTML and XML documents.
- the DOM includes two basic components: a standard model of how objects that represent components in a document are connected, and a standard interface for accessing and manipulating those objects.
- Application developers can support DOM as an interface to their own data structures and API (Application Program Interface).
- API Application Program Interface
- application developers who create documents can use the DOM standard interface rather than the proprietary interface of their API.
- the DOM is effective in facilitating the mutual use of documents in various environments, especially the web.
- Several versions of the DOM are defined and different programs Used by operating environments and applications.
- a DOM tree is a hierarchical representation of a document based on the contents of the corresponding DOM.
- a DOM tree contains a “root” and one or more “nodes” that originate from the root. In some cases, the root represents the entire document. Intermediate nodes can represent elements such as rows and columns in a table and its table, for example.
- a “leaf” in a DOM tree usually represents data such as text or images that cannot be further decomposed!
- Each node in the DOM tree may be associated with attributes that describe the parameters of the element represented by the node, such as font, size, color, and indentation.
- HTML is a language for power formatting and layout, which is a language generally used for creating documents, and is not a language for data description.
- a node in the DOM tree that represents an HTML document is an element that is predefined as an HTML formatting tag. Normally, HTML does not provide functions for data detailing or tagging Z labeling of data. So, it is often difficult to formulate queries for data in HTML documents.
- XML XML Markup Language
- HTML HyperText Markup Language
- XSL XML Style Language
- Xpath is a common syntax and semaphore for specifying the location of parts of an XML document. Provide An example of functionality is traversing (moving) a DOM tree corresponding to an XML document. It provides basic functionality for string, number, and Boolean character manipulation associated with various representations of XML documents.
- Xpath is the visual syntax of XML documents, such as the number of lines and the number of characters when viewed as text! It works with a simple structure. Using Xpath, you can specify a location through a hierarchical structure in the DOM tree of an XML document, for example. In addition to its use for addressing, Xpath is also designed to be used to test whether a node in a DOM tree matches a pattern. More details on XPath can be found at http: ⁇ www. W3.org/TR/xpath.
- MVC Modd-View-Controller
- the MVC paradigm divides an application or part of an application interface into three parts: a model, a view, and a controller. MVC was originally developed to assign traditional input, processing, and output roles to the GUI world.
- model M
- view V
- controller C
- the controller acts to interpret input such as mouse and keyboard input from the user and map these user actions to commands sent to the model and Z or view to bring about appropriate changes.
- the model acts to manage one or more data elements, responds to queries about its state, and responds to instructions to change the state. Views are created to manage the rectangular area of the display. And has a function to present data to the user by a combination of graphics and text
- FIG. 11 (a) shows a conventional configuration example of elements that function as the basis of a document processing system of the type described later.
- Configuration 10 includes a processor of the type such as a CPU or mic processor 11 connected to memory 12 by communication path 13.
- Memory 12 may be in any ROM and Z or RAM format available now or in the future.
- the communication path 13 is typically provided as a bus.
- An input / output interface 16 for user input device 14 and display device 15 (or other user interface) such as a mouse, keyboard, voice recognition system, etc. is also connected to the bus for communication between processor 11 and memory 12.
- This configuration may be stand-alone, or may be a networked form in which a plurality of terminals and one or more servers are connected, or may be configured in a known manner. Yes.
- the present invention is not limited by the arrangement of these components, the centralized or distributed architecture, or the communication method of the various components.
- the present system and the embodiments discussed herein are discussed as including several components and subcomponents that provide various functionalities. These components and sub-components can be realized with hardware only or software alone, not just a combination of hardware and software, to provide the noted functionality. Furthermore, the hardware, software, and combinations thereof can be realized by general-purpose computing devices, dedicated hardware, or combinations thereof. Thus, the configuration of a component or subcomponent includes a general-purpose Z-only computing device that executes specific software to provide the functionality of the component or subcomponent.
- FIG. 11B shows an overall block diagram of an example of the document processing system.
- a document is generated and edited.
- These documents may be described in any language having markup language characteristics, such as XML.
- markup language characteristics such as XML.
- the document processing system can be regarded as having two basic configurations.
- the first configuration is an “execution environment” 101 that is an environment in which the document processing system operates.
- the execution environment provides basic utilities and functions that support the system as well as the user during document processing and management.
- the second configuration is an “application” 102 that also includes application capabilities that run in the execution environment. These applications include the document itself and various representations of the document.
- Programlnvoker 103 program invoking power: program activation unit.
- Programlnvokerl03 is a basic program that is accessed to activate the document processing system. For example, when a user logs on to a document processing system and starts, Programlnvokerl03 is executed.
- Programlnvoker 103 can, for example, read and execute functions stored as plug-ins in the document processing system, start and execute applications, and read properties related to documents.
- the function of Programlnvokerl03 is not limited to these.
- Programlnvokerl03 finds the application, launches it, and executes the application.
- Programlnvoker 103 several components such as a plug-in subsystem 104, a command subsystem 105, and a resource module 109 are attached. These configurations will be described in detail below.
- Plug-in subsystem 104 is used as a highly flexible and efficient configuration for adding functionality to a document processing system.
- the plug-in subsystem 104 can also be used to modify or delete functionality that exists in the document processing system.
- a wide variety of functions can be added or modified using the plug-in subsystem. For example, an Editlet that works to help render a document on the screen. G: Editing Department) function can also be added.
- the Editlet plug-in also supports editing of vocabularies that are added to the system.
- the plug-in subsystem 104 includes a Service Broker (service broker: service mediation unit) 1041.
- ServiceBrokerl041 mediates services added to the document processing system by managing plug-ins added to the document processing system.
- Service 1042 Individual functions that achieve the desired functionality are added to the system in the form of Service 1042.
- Available Servicel042 types are: Application service, ZoneFactory (zone factory: zone generator) Service, Editlet (editlet: editor) Service, CommandFactory (command factory: command generator) Service ⁇ C onnectXPath (Connect XPath: XPath Management Department) Service, CSSComputation (CSS Combination: CSS Calculation Department) Services including, but not limited to, these.
- a plug-in is a unit that can contain one or more Service Providers (Service Providers). Each ServiceProvider has one or more classes of Service associated with it. For example, by using a single plug-in with the appropriate software application, one or more services can be added to the system, thereby adding the corresponding functionality to the system.
- Service Providers Service Providers
- Each ServiceProvider has one or more classes of Service associated with it. For example, by using a single plug-in with the appropriate software application, one or more services can be added to the system, thereby adding the corresponding functionality to the system.
- Command subsystem 105 is used to execute instructions in the form of commands related to document processing.
- a user can execute an operation on a document by executing a series of instructions. For example, a user edits an XML DOM tree corresponding to an XML document in the document processing system by issuing an instruction in the form of a command, and processes the XML document. These commands may be entered using keystrokes, mouse clicks, or other valid user interface actions.
- One command may execute more than one instruction. In this case, these instructions are wrapped in one command and executed sequentially. For example, a user may enter a wrong word Suppose you want to replace it with a word. In this case, the first command is to find the wrong word in the document, the second command is to delete the wrong word, and the third command is to insert the correct word. It may be. These three instructions may be wrapped in one command.
- the command may have an associated function, for example, an "Undo" function, which will be described in detail later. These functions may also be assigned to some base classes that are used to create objects.
- a key component of the command subsystem 105 is a Commandlnvoker (command invoking force: command initiating unit) 105 1 which acts to selectively give and execute a command. Although only one Commandlnvoker is shown in Fig. 11 (b), one or more commands may be executed at the same time.
- Com mandlnvokerl051 holds functions and classes necessary for executing commands.
- a Command 1052 to be executed is loaded into Queue 1 053.
- Commandlnvoker creates a command thread that runs continuously. If there is no Command already running in Commandlnvoker, Commandl052 intended to be executed by Commandlnvoker 1051 is executed.
- Commandlnvoker If Commandlnvoker is already executing a command, the new Command will be stacked at the end of Queuel053. However, each Commandlnvokerl051 executes only one Command at a time. CommandlnvokerlO 51 executes exception handling when execution of the specified Command fails.
- Command types executed by Commandlnvoker 1051 include, but are not limited to, UndoableCommand 1054, AsynchronousCommand 1055, and VCCo mmand (VC command) 1056.
- UndoableCommand 10 54 is a command that can cancel the result of the command if the user desires it.
- Examples of UndoableCommands include cut, copy, and insert text. In operation, when a user selects a part of a document and applies a cut command to that part, the cut-out part can be “cut off, if necessary” by using UndoableCommand. Can be.
- VCCommand1056 is stored in a Vocabulary Connection Descriptor (VCD) script file. These are user-specified commands that can be defined by the programmer. The Command may be a more abstract combination of Comm and for adding an XML fragment, deleting an XML fragment, or setting an attribute, for example. These commands are specifically focused on document editing.
- AsynchronousCommand 105 is a command from the system, such as loading and saving of a document, and is executed asynchronously separately from UndoableCommand and VCCommand. Async hronousCommand is not an UndoableCommand and cannot be undone.
- Resourcel09 is an object that provides several functions to various classes. For example, string resources, icons, and default key bindings are examples of resources used in the system.
- the application component 102 which is the second main feature of the document processing system, is executed in the execution environment 101.
- Application component 102 includes the actual document and various logical and physical representations of the document in the system.
- the application component 102 includes the configuration of the system used to manage the document.
- the application component 102 further includes a UserApplication (user application) 106, an application core 108, a user interface 107, and a Core Component (core component) 110.
- UserApplicationl06 is loaded on the system together with Programlnvokerl03.
- User Application 106 is an adhesive that connects the document, various representations of the document, and the user interface required to interact with the document. For example, suppose a user wants to generate a set of documents that are part of a project. When these documents are loaded, an appropriate representation of the document is generated. The user interface function is added as part of UserApplication06. In other words, UserApplicationl06 allows users to form part of a project. It maintains both the representation of the document that allows it to interact with the resulting document and the various aspects of the document. And once UserApplication06 is created, whenever the user wants to interact with the documents that form part of the project, the user can easily load UserApplication10 on the execution environment.
- CoreComponentl 10 provides a way to share documents between multiple panes.
- Pane displays the DOM tree and handles the physical layout of the screen.
- a physical screen can also have multiple Pane forces in the screen that depict individual pieces of information.
- Documents visible to the user from the screen can appear in one or more panes.
- two different documents may appear in two different panes on the screen!
- the physical layout of the screen is also in the form of a tree.
- a Pane can be a RootPane 1084 or a SubPane 1085.
- RootPanel084 is a Pane that hits the root of the Pane tree, and
- SubPane 10 85 is any Pane other than RootPanel084.
- CoreComponentl 10 also provides fonts and serves as a source of multiple functional operations for documents, such as toolkits.
- An example of a task performed by CoreComponentl 10 is moving the mouse cursor between multiple panes.
- Another example of a task to be performed is to mark a part of a document in one pane and copy it onto another pane that contains a different document.
- the application component 102 consists of documents that are processed and managed by the system. This includes various logical and physical representations of documents within the system.
- the application core 108 is a configuration of the application component 102. Its function is to keep the actual document with all the data it contains.
- the application core 108 includes DocumentManager (document manager: document management unit) 1081 and Document (document: document) 1082 itself.
- the DocumentManager 108 1 manages Documentl082. DocumentManagerl081, RootPanel084, Sub It is also connected to Pane 1085, ClipBoard utility 1087, and Snapshot utility 1088.
- the ClipBoard utility 1087 provides a way to keep the portion of the document that the user decides to add to the clipboard. For example, a user may want to cut a part of a document and save it in a new document for later review. In such cases, it is added to the clipped partial force SClipBoard.
- the Snapshot utility 1088 allows the current state of an application to be stored when the application transitions from one state force to another.
- a user interface 107 that provides a means for a user to physically interact with the system.
- the user interface is used by users to upload, delete, edit, and manage documents.
- the user interface includes Frame 1071, MenuBar 1072, StatusBar 1073, and URLBar 1074.
- Frame 071 is considered to be an active area of the physical screen, as is generally known.
- MenuBarl072 is a screen area that contains menus that provide selection to the user.
- StatusBarl073 is a screen area that displays the execution status of the application.
- URLBarl074 provides an area for entering URL addresses to navigate the Internet.
- FIG. 12 shows the details of DocumentManagerl081. This includes the data structures and structures used to represent the document within the document processing system. For simplicity, the configuration described in this subsection is described using the MVC paradigm.
- the DocumentManagerl 081 includes a DocumentContainer (document container: document container) 203 that holds and hosts all the documents in the document processing system.
- Document The tool kit 201 attached to Managerl081 provides various tools used by DocumentManagerl081.
- DomService DOM service
- IOManager input / output manager
- StreamHandler is a tool that handles uploading documents using bitstreams.
- the model (M) includes a DOM tree model 202 of the document. As mentioned above, all documents are represented as DOM trees in the document processing system. The document also forms part of the DocumentContainer 203.
- a DOM tree representing a document is a tree having Node 2021.
- Zone 209 which is a subset of the DOM tree, contains the associated region of one or more nodes in the DOM tree. For example, only a part of the document can be displayed on the screen, but this part of the visualized document is displayed using the Zone 209.
- ZoneFactory zone factory: zone generation unit
- a Zone may use a “namespace” with a power of 1 or more to express part of the DOM.
- a namespace is a collection of names that are unique within a namespace. In other words, the same name does not exist in the namespace.
- the Facet 2022 is another configuration within the model (M) part of the MVC paradigm. Facet is used to edit Nodes in the Zone. Facet 2022 organizes access to the DOM using procedures that can be executed without affecting the contents of the Zone itself. As explained next, these procedures perform important and useful operations related to Node.
- Each Node has a corresponding Facet. Instead of directly manipulating Nodes in the DOM, By using Facet to perform operations, the integrity of the DOM is protected. If the operation is performed directly on Node, several plug-ins can modify the DOM at the same time, resulting in inconsistencies.
- the DOM standard established by the W3C has the power to define a standard interface for operating Nodes. Actually, there are operations specific to each library or each Node. It is convenient to prepare it as an API. In the document processing system, APIs specific to each node are prepared as Facet and attached to each node. This makes it possible to add useful APIs while complying with the DOM standard. In addition, by adding a specific API to a standard DOM implementation that does not implement a specific DOM for each vocabulary, various vocabularies can be processed in a unified manner. It is possible to appropriately process a document in which multiple bubbly libraries are mixed in any combination.
- the vocabulary is a set of tags (for example, XML tags) belonging to the namespace.
- a namespace has a unique set of names (here, tags).
- the vocabulary appears as a subtree of the DOM tree that represents the XML document. This subtree contains Z one.
- tag set boundaries are defined by Zones.
- Zone 209 is generated using a service called ZoneFactory205. As described above, Zone 209 is an internal representation of a part of the DOM tree that represents a document. A logical representation is required to provide access to some of these documents. This logical representation informs the computer how the document is logically represented on the screen.
- Canvas 210 is a service that acts to provide a logical layout corresponding to the Zone.
- Pane 211 is a physical screen layout corresponding to the logical layout provided by Canvas 210.
- the user sees only the rendering of the document with text and images on the display screen. Therefore, the document must be drawn on the screen by the process of drawing characters and images on the screen.
- the document is rendered on the screen by Canvas 210 based on the physical layout provided by Pane211.
- a Canvas 210 corresponding to Zone 209 is generated using Editlet 206.
- DO for documents M is edited using Editlet206 and Canvas210.
- Editlet 206 and Canvas 210 use Facet corresponding to one or more Nodes in Zone209. These services do not directly operate Zone and Node in DOM. Facet is operated using Command207.
- a user generally interacts with the screen by moving a cursor on the screen or typing a command.
- the Canvas 210 that provides a logical layout on the screen accepts this cursor operation.
- Canvas210 can cause Facet to execute the corresponding action.
- the cursor subsystem 204 functions as a controller (C) of the MVC paradigm with respect to DocumentManager 081.
- Canvas210 also has a task to handle events. For example, Canvas 210 handles events such as mouse clicks, focus movements, and similar actions triggered by the user.
- Documents in a document processing system can be viewed from at least four perspectives. 1) data structure used to maintain document content and structure in the document processing system, 2) means to edit document content without affecting document integrity, 3) document content Logical layout on the screen, 4) Physical layout on the document screen. Z one, Facet, Canvas, and Pane represent the components of the document processing system that correspond to the above four viewpoints.
- UndoManager Undo Manager 2121 holds operations for all documents that may be canceled by the user.
- the controller portion of the MVC may include a cursor subsystem 204.
- the cursor subsystem 204 also accepts user power. These inputs generally have the nature of commands and Z or editing operations.
- the cursor subsystem 204 can be thought of as the controller (C) portion of the MVC paradigm associated with DocumentManager1081.
- Canvas 210 represents a logical layout of a document to be presented on the screen.
- Canvas 210 may include a box tree 208 that logically represents how the document looks on the screen. This box tree 208 will be included in the view (V) portion of the MVC paradigm associated with DocumentManager 1081.
- XML documents can be handled by mapping them to other representations, and if the mapped representations are edited, the edits remain consistent with the original XML document. It is to provide an environment that is reflected.
- a document described in a markup language such as an XML document, is created based on a vocabulary defined by a document type definition.
- a bokeh library is a set of tags. Since a vocabulary may be arbitrarily defined, there can be an infinite number of vocabularies. However, it is impractical to provide a dedicated processing Z management environment for each of the many possible bubbly libraries. Vocabulary connection provides a way to solve this problem.
- a document may be described in two or more markup languages.
- Documents may be written in, for example, XHTML (.extensible HyperText Markup Language), 3 ⁇ 4 V "G (Scalable Vector Grap hies), MathML (Mathematical Markup Language), or other markup languages.
- XHTML .extensible HyperText Markup Language
- 3 ⁇ 4 V "G Scalable Vector Grap hies
- MathML MathML
- a markup language may be viewed in the same way as a vocabulary tag set in XML.
- the vocabulary is processed using the vocabulary plug-in.
- Documents written in a library that cannot be used in the document processing system are plug-ins. Is displayed by mapping it to another vocabulary document that is available. Because of this feature, it is possible to properly display a document in a library that does not have a plug-in.
- a vocabulary connection includes the ability to obtain a definition file and map between two different vocabularies based on the obtained definition file.
- a document written in one vocabulary can be mapped to another vocabulary.
- the vocabulary connection allows the document to be displayed and edited by the display Z editing plug-in corresponding to the vocabulary to which the document is mapped.
- each document is generally described in a document processing system as a DOM tree having a plurality of nodes.
- the “definition file” describes the correspondence between each node and other nodes. It is specified whether the element value and attribute value of each node can be edited. An arithmetic expression using the element value or attribute value of the node may be described.
- a destination DOM tree to which a definition file is applied is generated using the feature of mapping. In this way, the relationship between the source DOM tree and the destination DOM tree is constructed and maintained.
- the vocabulary connection monitors the correspondence between the source DOM tree and the destination DOM tree. When user power is also instructed to edit, the vocabulary connection changes the associated node in the source DOM tree. A “mutation event” is issued to indicate that the source DOM tree has changed, and the destination DOM tree is changed accordingly.
- the vocabulary connection subsystem that is a part of the document processing system provides a function that enables a plurality of expressions of a document.
- FIG. 13 shows a Vocabulary Connection (VC) subsystem 300.
- VC subsystem 300 maintains the integrity of two alternative representations of the same document Provide a method.
- the two representations may be representations of the same document from two different vocabularies. As mentioned above, one may be the source DOM tree and the other may be the destination DOM tree.
- the functions of the vocabulary connection subsystem 300 are realized in a document processing system using a plug-in called VocabularyConnection301.
- VocabularyConnection301 For each Vocabulary 305 in which the document is represented, a corresponding plug-in is required. For example, if a part of a document is written in HTML and the rest is written in SVG, a browser library corresponding to HTML and SVG is required.
- the VocabularyConnection plug-in 301 generates an appropriate VCCanvas 310 for the Zone 209 or Pane 211 corresponding to the appropriate Vocabulary 305 document.
- VocabularyConnection 301 changes to Zone 209 in the source DOM tree are communicated to the corresponding Zone in another DOM tree 306 by the conversion rule.
- the conversion rule is described in the form of a Vocabulary Connection Descriptor (VCD). For each VCD file corresponding to such a conversion between the source DOM and the destination DOM! /, A corresponding VCMa nager 302 is created.
- Connector 304 connects the source node of the source DOM tree and the destination node of the destination DOM tree. Connector 304 acts to see modifications (changes) to the source node in the source DOM tree and the source document corresponding to the source node. Then modify the corresponding destination DOM tree node. Connector 304 is the only object that can modify the destination DOM tree. For example, the user can make modifications only to the source document and the corresponding source DOM tree. Connector 304 then makes the corresponding modifications to the destination DOM tree.
- the connectors 304 are logically linked to form a tree structure.
- the tree formed by the connector 304 is called ConnectorTree (connector tree).
- Connect or304 is generated using a service called ConnectorFactory (connector factory: connector generation unit) 303.
- ConnectorFactory303 generates Connector304 from the source document and links them to form ConnectorTree.
- VocabularyConnectionManager r302 holds ConnectorFactory303.
- the bubbly library is a set of tags in the namespace.
- Vocabulary 305 is generated for a document by VocabularyConnection 301. This is done by parsing the document file and generating an appropriate VocabularyConnectionManager 302 for mapping between the source DOM and the destination DOM.
- an appropriate relationship is created between the ConnectorFactory 303 that generates the Connector, the ZoneF actory 205 that generates the Zone 209, and the Editlet 206 that generates the Canvas corresponding to the nodes in the Zone.
- the corresponding vocabulary connection manager 302 is deleted.
- Vocabulary 305 generates VCCanvas310. Further, a connector 304 and a destination DOM tree 306 are generated correspondingly.
- the source DOM and Canvas correspond to the model (M) and the view (V), respectively.
- M model
- V view
- a bokeh rib laggin Vocabulary plug-ins are provided for major vocabulary libraries such as XHTML, SVG, and MathML.
- Bobber rib lagins are used in conjunction with the target bobbler. These provide a way to map between vocabularies using vocabulary connection descriptors.
- mapping is meaningful only when the target vocabulary is mappable and the method of drawing on the screen is predefined.
- rendering methods are standards defined by organizations such as W3C, such as XHTML.
- VCCanvas is used when a vocabulary connection is required.
- the source canvas cannot be generated because the source view cannot be generated directly.
- it is generated using VCCanvas force ConnectorTree.
- This VCCanvas is It deals only with the conversion of events and does not assist in rendering the document on the screen.
- the purpose of the vocabulary connection subsystem is to simultaneously generate and maintain two representations of the same document.
- the second representation is also in the form of a DOM tree, which has already been described as a destination DOM tree. DestinationZone, Canvas and Pane are needed to see the document in the second representation.
- a VCCanvas When a VCCanvas is created, a corresponding DestinationPane307 is created. In addition, an associated DestinationCanvas 308 and a corresponding BoxTree 309 are generated. Similarly, VCC anvas 310 is associated with Pane 211 and Zone 209 for the source document.
- DestinationCanvas 308 provides a logical layout of the document in the second representation.
- DestinationCanvas 308 provides user interface functions such as cursors and selections to depict documents in the destination representation. Events that occur in Destination Canvas 308 are supplied to the Connector.
- DestinationCanvas 308 notifies Connector 304 of mouse events, keyboard events, drag and drop events, and events specific to the document destination (second) representation of the library.
- VC vocabulary connection
- VC vocabulary connection
- the vocabulary connection command subsystem 313 generates a VCCommand (vocabulary connection command) 315 that is used to execute instructions related to the vocabulary connection subsystem 300.
- the VCCo mmand can be generated by using the built-in CommandTemplate 318 and by using the script language in the Z or script subsystem 314 to generate the scratch command as well.
- the command templates include, for example, an "If” command template, a "When” command template, an "Insert” command template, and the like. These templates are used to create V CCommand.
- Connector 304 generally includes xpath information. As mentioned above, one of the tasks of the vocabulary connection is to reflect changes in the source DOM tree in the destination DOM tree.
- the xpath information contains one or more xpath expressions that are used to determine the subset of the source DOM tree that should be monitored for change Z modifications.
- the source DOM tree is a DOM tree or Zone that represents a document in a vocabulary before being converted to another vocabulary.
- the node in the source DOM tree is called the source node.
- the destination DOM tree is a DOM tree or Zone that represents the same document in different vocabulary after being converted by mapping, as described above in connection with the vocabulary connection.
- a node in the destination DOM tree is called a destination node.
- ConnectorTree is a hierarchical expression based on a Connector representing the correspondence between a source node and a destination node.
- the Connector monitors the source node and modifications made to the source document and modifies the destination DOM tree.
- the Connector is the only object that is allowed to modify the destination DOM tree.
- An event is a method for describing and executing a user action executed on a program.
- Many high-level languages such as «Java®, rely on events that describe user actions.
- programs had to actively gather information to understand user actions and execute them themselves. This means, for example, that after the program initializes itself, it enters a loop that repeatedly checks the user's actions to take appropriate action when the user takes action on the screen, keyboard, mouse, etc. To do.
- this process is cumbersome.
- it requires a program that consumes CPU cycles and loops while waiting for the user to do something. [0127]
- Many languages solve these problems by adopting different paradigms.
- Event-driven programming which is the basis of all modern window systems.
- all user actions belong to a set of abstract events called “events”.
- Events describe specific user actions in sufficient detail.
- the system notifies the program when an event occurs that should be monitored rather than actively collecting events generated by the user. Programs that handle user interaction in this way are said to be “event driven”.
- the document processing system defines and uses its own events and how to handle these events.
- a mouse event is an event that occurs from a user's mouse action.
- User actions involving the mouse are passed to the mouse event by Canva s210.
- Canvas can be said to be at the forefront of interaction by users of the system. If necessary, the canvas at the front passes the content related to the event to the child.
- the keystroke event flows from the Canvas 210.
- Keystroke events have immediate focus. That is, it relates to work at any moment.
- the keystroke event input on Canvas210 is passed to its parent.
- Keystrokes are handled by different events that can handle string insertion.
- the event that handles string insertion occurs when a character is inserted using the keyboard.
- Other “events” include, for example, other events that are handled in the same way as drag events, drop events, and mouse events.
- Programlnvokerl03 is a basic program in the execution environment that is executed to start the document processing system.
- User Application 106, 3 ⁇ 4erviceBrokerl04l, Commandlnvokerl051, and Resourcel09 are all connected to Programlnvokerl03.
- the application 102 is a component that is executed in the execution environment.
- ServiceBrokerl041 manages plug-ins that support various functions in the system.
- Commandlnvokerl051 executes instructions provided by the user and holds classes and functions used to execute the commands.
- ServiceBrokerl041 will be described in more detail with reference to FIG. 14 (b). As described above, ServiceBrokerl041 manages plug-ins (and related services) that add various functions to the system.
- Service 1042 is the lowest layer that can add or change features to the document processing system.
- “Service” consists of two parts, ServiceCategory 401 and ServiceProvider 402. As shown in FIG. 14 (c), one ServiceCategory 401 can have a plurality of related ServiceProviders 402. Each ServiceProvider acts to execute some or all of a specific ServiceCategory. On the other hand, ServiceCategory 401 defines the type of Service.
- Service is 1) "spot color service” that provides a specific spot color to the document processing system, 2) "application service” that is an application executed by the document processing system, 3 ) It can be divided into three types: “environmental services” that provide the necessary features throughout the document processing system.
- FIG. 14 An example of Service is shown in Fig. 14 (d).
- Application Category is an example of ServiceProvider supported by the system utility.
- Editlet 206 is a Category
- HTMLEditlet and SVGEditlet are corresponding ServiceProviders.
- the ZoneFactory 205 is another Category of Service and has a corresponding ServiceProvider (not shown).
- a plug-in may be considered a unit consisting of several ServiceProviders 402 and their associated classes that have already been described as providing functionality to a document processing system. Each plug-in has dependencies and ServiceCategory 401 described in the declaration file.
- Figure 14 (e) shows further details about the relationship between Programlnvokerl03 and UserApplicationl06. Necessary documents and data are loaded from the storage. All necessary plug-ins are loaded on ServiceBrokerl041. ServiceBrokerl041 holds and manages all plug-ins. Plug-ins can be physically added to the system, and their functionality can also be loaded by the storage card. When the plug-in content is loaded, ServiceBrokerl041 defines the corresponding plug-in. Next, the corresponding UserApplication106 is created, loaded into the execution environment 101, and is attacked by Programlnvokerl03.
- Figure 15 (a) shows further details about the configuration of the application service loaded on Programlnvokerl03.
- Comm and lnvokerl051 which is a component of the command subsystem 105, activates or executes Commandl052 in Programlnvokerl03.
- Commandl052 is a command used to process a document such as XML and edit a corresponding XMLDOM tree in a document processing system.
- Commandlnvokerl05 1 holds classes and functions necessary for executing Commandl052.
- ServiceBrokerl041 is also executed in Programlnvokerl03.
- UserApplicationl06 Is connected to the user interface 107 and CoreComponentlO.
- CoreCompone ntl lO provides a way to share documents between all panes.
- CoreComponentl lO also provides fonts and serves as a toolkit for Pane.
- FIG. 15 (b) shows the relationship between Framel071, MenuBarl072, and StatusBarl073.
- FIG. 16 (a) provides further explanation of the application core 108 that holds all documents and parts of the documents and data belonging to the documents.
- CoreComponentl lO is attached to DocumentManagerl081 that manages document 1082.
- DocumentManager 1081 is the owner of all documents 1082 stored in memory associated with the document processing system.
- DocumentManager1081 is also connected to RootPanel 084 to facilitate the display of the document on the screen.
- the functions of ClipBoardl087, SnapShotl088, Drag & Drop601, and Overlay602 are also attached to CoreComponentl10.
- SnapShotl088 is used to restore the application state.
- the current status of the application is detected and stored. Then, when the application state changes to another state, the contents of the stored state are saved. SnapShotl088 is illustrated in FIG. 16 (b). In operation, SnapShotl088 remembers the previous state so that when an application moves to another URL force, it is possible to seamlessly execute a backward operation and a forward operation.
- FIG. 17 (a) shows further explanation of DocumentManager1081 and how documents are organized and maintained in DocumentManager.
- the DocumentManager 1081 manages the document 1082.
- one of the plurality of documents is RootDocument (root document) 701
- the remaining documents are SubDocument (subdocument) 702.
- DocumentManager 1081 is connected to RootDocument 701
- Root Document 701 is connected to all SubDocuments 702.
- the DocumentManager 1081 is coupled to the DocumentContainer 203 that is an object that manages all the documents 1082.
- DOMService703 And a tool for opening a part of toolkit 201 (for example, XML toolkit) including IOManager704 is also supplied to DocumentManagerl081.
- DOMService703 generates a DOM tree based on the document managed by DocumentManager1081.
- Each Document 705 is managed by the corresponding DocumentContainer 203 regardless of whether it is a RootDocument 701 or a SubDocument 702.
- FIG. 17 (b) shows how documents A to E are arranged in a hierarchy.
- Document A is RootDocume nt.
- Document B—D is a SubDocument of Document A.
- Document E is a SubDocument of Document D.
- the left side of Fig. 17 (b) shows an example where the same document hierarchy is displayed on the screen.
- Document A which is a RootDocument, is displayed as a basic frame.
- Document B—D which is the SubDocument of Document A, is displayed as a subframe in Basic Frame A.
- Document E which is a SubDocument of Document D, is displayed on the screen as a subframe of Subframe D.
- UndoManager Undo Manager: Undo Manager
- UndoWrapper Undo Wrapper
- UndoManager 706 and UndoWrapper 707 are generated for each DocumentContainer 203.
- UndoManager 706 and UndoWrapper 707 are used to execute a cancelable command.
- SubDocument changes are also closely related to Root Document.
- the undo operation takes into account changes that affect other documents in the hierarchy, for example, to maintain consistency among all documents in a chained hierarchy as shown in Figure 17 (b). Guarantee that.
- UndoWrapper 707 wraps the undo objects related to SubDocument in DocumentContainer 203 and binds them to the undo object related to RootDocument.
- UndoWrapper707 collects undo objects that can be used in UndoableEditAcceptor (Undoable EditAcceptor: Undoable Edit Accepting Unit) 709.
- UndoManager 706 and UndoWrapper 707 are connected to UndoableEditAcceptor 709 and Undo ableEditSource (Undoable Edit Source) 708.
- UndoableEditSource708 It may be the source of the edit object.
- Figures 18 (a) and 18 (b) provide further details about the undo framework and undo commands.
- UndoCommand 801, RedoCommand 802, and UndoableEditCommand 803 are commands that can be placed on Commandlnvoker 1051 as shown in FIG. 11 (b), and are executed in order.
- UndoableEditCommand 8 03 is further attached to UndoableEditSource708 and UndoableEditAcceptor709. Examples of "foo" Edit ommand804 and "bar" Edit ommand805i UndoableEditCommand.
- Figure 18 (b) shows the execution of UndoableEditCommand.
- the UndoableEditActceptor709 force Document705 is attacked by UndoableEditSource708, which is the DOM tree.
- the second step S2 Docum ent705 is edited using the DOM API based on the command issued by the user.
- the third step S3 it is notified that the listener power of the mutation event has been changed. That is, in this step, the listener that monitors all changes in the DOM tree detects the editing operation.
- UndoableEdit is stored as an object of UndoManager706.
- UndoableEditAcceptor709 is detected from UndoableEditSource708.
- UndoableEditSource 708 may be Document 705 itself.
- Figure 19 (a) shows an overview of how a document is loaded into the document processing system. Each step is detailed in relation to a specific example in Figures 24-28.
- a document processing system generates a DOM from a binary data stream that is a data force included in a document.
- ApexNode (apex node) is generated for the part of the document that is the target of attention and belongs to the Zone.
- the corresponding Pane is Identified.
- the identified pane creates a zone and canvas from the ApexNode and the physical screen surface.
- the Zone then creates Facets for each node and provides the information needed for them.
- Canvas generates a data structure for rendering nodes from a DOM tree.
- the document is loaded from storage 901.
- a DOM tree 902 of the document is generated.
- a corresponding DocumentContainer 903 is generated to hold the document.
- DocumentContainer 903 is attached to DocumentManager 904.
- a DOM tree includes a root node and sometimes multiple secondary nodes.
- the DOM tree may have, for example, an SVG subtree as well as an XHTML subtree.
- the XHTML subtree has an XHTML ApexNode905.
- SVG sub-tree has SVG ApexNode906.
- Step 1 the ApexNode906 force is attacked by Pane907, which is the logical layout of the screen.
- Pane907 requests a ZoneFactory for ApexNode906 from CoreComponent PaneOwner (pane owner) 908.
- PaneOwner908 returns a ZoneFactory and an Editlet that is a CanvasF actory for ApexNode906.
- step 4 the Pane907 force one909 is generated. Zone909 is attached to Pane907.
- step 5 Zone909 generates a facet for each node and attaches to the corresponding node.
- step 6 the Pane907 force Canvas 910 is generated. Canv as910 is attached to Pane907.
- Canvas910 includes various commands.
- Step 7 the Canvas 910 builds a data structure for rendering the document on the screen. For XHTML, this includes a box tree structure.
- Figure 19 (b) shows an overview of the Zone configuration using the MVC paradigm.
- the model (M) since Zone and Facet are inputs related to the document, the model (M) includes Zone and Facet. Since the canvas and the data structure for rendering the document on the screen are the output that the user sees on the screen, the view (V) corresponds to the canvas and the data structure.
- Command Controls operations on documents and their various relationships, so controls include commands included in Canvas.
- the document used in this example contains both text and images.
- Text is represented using XHTML, and images are represented using SVG.
- Figure 20 details the MVC representation of the relationship between the document components and the corresponding object.
- DocumentlOOl is attached to DocumentContainer 1002 that holds Document 1001.
- the document is represented by a DOM tree 1003.
- the DOM tree includes ApexNodel004.
- ApexNode is represented by a black circle. Nodes that are not vertices are represented by white circles. A Facet used to edit a node is represented by a triangle and is attached to the corresponding node. Since a document has text and images, the DOM tree for this document contains an XHTML part and an SV G part.
- ApexNodel004 is the top node of the XHTML subtree. This is attached to XHTMLPanelO 05, the top pane for the physical representation of the XHTML part of the document. ApexNodel004 is also attached to XHTMLZ onel006, which is part of the document's DOM tree.
- Facet corresponding to Nodel004 is also attached to XHTMLZonel006.
- XHTMLZone 1006 is attached to XHTMLPanel005.
- XHTMLEditlet generates XHTMLCanvasl007, which is a logical representation of the document.
- XHTMLCanvasl007 is attached to XHTMLPane 1005.
- XHTMLCanvasl007 creates BoxTreel009 for the XHTML component of Document 1001.
- Various Commandl008 required to hold and render the XHTML part of the document are also added to XHTMLCanvasl007.
- SVGZone 1011 which is part of the Document 1001 DOM tree that represents the document's SVG component.
- ApexNodelOlO is attached to SV GPanelO 13, which is the highest Pane in the physical representation of the SVG part of the document.
- SVGCanvas 1012 representing the logical representation of the SVG part of the document is generated by SVGEditlet and attached to SVGPanel013.
- the data structure and commands for rendering the SVG part of the document on the screen are stored in SVGCanvas. Attached.
- the data structure may include circles, lines, rectangles, etc. as shown.
- FIG. 21 (a) shows a simplified MV relationship in the XHTM L component of document 1001.
- the model is XHTMLZone 1101 for DocumentlOOl's XHTML component.
- the XHTMLZone tree contains several Nodes and their corresponding Facets.
- the corresponding XHTMLZone and Pane are part of the model (M) part of the MVC paradigm.
- the View (V) part of the MVC paradigm is the corresponding XHTML Canvasl 102 and BoxTree of DocumentlOOl's XHTML component.
- the XHTML portion of the document is rendered on the screen using the Canvas and the commands it contains. Events such as keyboard and mouse input proceed in the reverse direction as shown.
- SourcePane has a further function: the role as a DOM holder.
- Figure 21 (b) provides a vocabulary connection to the DocumentlOl component shown in Figure 21 (a).
- SourcePanel 103 which acts as a DOM holder, contains the document's source DOM tree.
- ConnectorTree is created by ConnectorFactory and creates DestinationPanel 105 that also functions as the destination DOM holder.
- DestinationPanel 105 is laid out in the form of a box tree as XHTMLDestinationCanvasl 106.
- FIGS 22 (a)-(c) show further details related to the plug-in subsystem, the library connection, and the connector, respectively.
- Plug-in subsystems are used to add or replace functionality in a document processing system.
- the plug-in subsystem includes ServiceBrokerl041.
- a ZoneFactoryServicel 201 attached to ServiceBrokerl041 generates a Zone for a part of a document.
- EditletServicel202 is also attached to ServiceBroke rl041.
- EditletServicel202 generates Canvas corresponding to Node in Zone.
- ZoneFactory example generates XHTMLZone and SVGZone respectively.
- Factoryl211 and SVGZoneFactoryl212 As described above in connection with the example document, the text component of the document may be represented by generating XHTMLZone, and the image may be represented using SVGZone.
- Examples of EditletService include XHTMLEditle U221 and SVGEditletl222.
- Figure 22 (b) shows further details related to the vocabulary connection.
- the vocabulary connection is an important feature of a document processing system, and enables consistent expression and display of documents in two different ways.
- the VCManager 302 that holds the ConnectorFactory 303 is a part of the vocabulary connection subsystem.
- ConnectorFactory 303 generates a connector 304 for the document.
- the Connector monitors the nodes in the source DOM and modifies the nodes in the destination DOM to maintain consistency between the two representations.
- Template 317 represents the conversion node of several nodes.
- a vocabulary connection descriptor (VCD) file is a list of Templates that represent a number of rules that transform an element or set of elements that satisfy a particular path or rule into another element.
- Template 317 and Command Template 318 are all attached to VCManager 302.
- VCManager is an object that manages all sections in a VCD file. One VCManager object is created for one VCD file.
- FIG. 22 (c) provides further details related to the Connector.
- ConnectorFactory303 generates a connector such as “No ⁇ ”.
- ConnectorFactory303 is attached to Vocabulary ⁇ Tempplate ⁇ and ElementTemplate, and VocabularyConnector ⁇ TempplateConnector, Element and onnector are generated * f, respectively.
- the VCManager 302 holds a ConnectorFactory 303.
- the corresponding VCD file is read to generate the Vocabulary.
- ConnectorFactory303 is generated.
- the onnectorFactory30d is related to the ZoneFactory that generates the Zone and the Editlet that generates the anvas.
- VCCa nvas also creates an ApexNode Connector in the source DOM tree or Zone. Child connectors are generated recursively as needed. ConnectorTree VCD Generated by the set of templates in the file.
- a template is a set of rules for converting an element of a markup language into another element. For example, each template is matched to the source DOM tree or Zone. If it matches properly, a vertex connector is created. For example, the template “/ * / D” matches all branches that start with node A and end with node D, regardless of what nodes are in between. Similarly, “ ⁇ B” matches all “B” nodes from the root.
- FIG. 23 shows an example of a VCD script using VCManager and ConnectorFactoryTree for the MySampleXMLj file. It shows the vocabulary section, template section and corresponding components in VCManager in the script file.
- vcd vocabulary
- the attribute “match_ ⁇ 3 ⁇ 4“ sample: root ”,“ label ”is“ MySampleXML ”, and“ caU-temp late ” is sample template.
- Vocabulary includes a vertex element as “sample: root” in VCManager of “MySampleXML”.
- the corresponding UI label is “MySampleXML”.
- the tag is “vcd: template” and the name is “sample: template”.
- FIG. 24 (a) shows a detailed description of loading the document “MySampleXML”.
- the document is loaded from the storage 1405.
- DOMService generates DocumentContainerl401 corresponding to DOM tree and DocumentManagerl406.
- DocumentContainerl401 is attached to DocumentManagerl406.
- the document contains XHTML and MySampleXML subtrees.
- XHTML ApexNode 1403 is the top node of XHTML with the tag “xhtml: html”.
- “The ApexNodel404 of MySampleX MLJ is the top node of“ MySampleXML ”with the tag“ sample: root ”.
- step 2 shown in Fig. 24 (b) RootPane generates XHTMLZone, Facet, and Canvas of the document.
- Panel407, XHTMLZonel408, XHTMLCanvasl409, and Bo xTreel410 force Generated corresponding to ApexNodel403.
- step 3 shown in Fig. 24 (c) a tag "sample: root” that XHTMLZone does not know is found, and a SubPane is generated from the XHTMLCanvas area.
- step 4 shown in Figure 25 SubPane can handle “sample: root”
- ZoneFactory This ZoneFactoryi; ZoneFactory line is located in the correct Vocabulary. It contains the contents of the VocabularySection of “MySampleXML”.
- step 5 shown in FIG. 26 Vocabulary corresponding to “MySampleXML” generates Default Zonel601. A corresponding Editlet is generated and SubPanel501 is provided to generate the corresponding Canvas. Editlet generates VCCanvas. And that is called Template3 ⁇ 4ection. Connectorractory freet a.3; And onnectorFactoryTree becomes ConnectorTree and generates all connectors.
- each Connector creates a destination DOM object.
- Some of the connectors contain xpath information.
- the xpath information contains one or more xpath expressions that are used to determine the subset of the source DOM tree that needs to be monitored for change Z modifications.
- step 7 shown in Figure 28 the vocabulary creates a DestinationPane for the destination DOM tree from the source DOM pane. This is done based on the SourcePane.
- the ApexNode of the destination tree is set to DestinationPane and the corresponding Zone.
- the DestinationPane is provided with its own Editlet that creates a DestinationCanvas and builds the data structure and commands for rendering the document in the format of the testtion.
- FIG. 29 (a) shows the flow when an event occurs on a node that does not have a corresponding source node and exists only in the destination tree.
- Events acquired by Canvas such as mouse events and keyboard events, pass through the destination tree and reach the ElementTemplateConnector izs. Since ElementTemplateConnector does not have a corresponding node, the transmitted event is not an editing operation on the source node.
- the ElementTemplateConnector is the one that has reached 1ZS. If the specified command is matched, the corresponding action is executed. If there is no matching command, ElementTemplateConnector ignores the transmitted event.
- FIG. 29 (b) shows the flow when an event occurs on a node of the destination tree associated with the source node by TextOfConnector.
- TextOfConnector gets the node force text node specified by the XPath of the source DOM tree and maps it to the node of the destination DOM tree.
- Events acquired by Canvas such as mouse events and keyboard events, pass through the destination tree and are transmitted to the Text OlConnector.
- TextO! Connector maps the transmitted event to the edit command of the corresponding source node and loads it on Queuel053.
- An edit command is a set of DOM API calls that are executed via Face t. When the queued command is executed, the source node is edited.
- TextOfConnector reconstructs the destination tree so that changes in the source node are reflected in the corresponding destination node.
- ConnectorFactory re-evaluates this control statement and reconstructs TextOfConnector. The tree is rebuilt.
- a technique is proposed in which a document is divided into a plurality of files and stored, and when the document processing apparatus opens the document, the divided files are appropriately combined and presented to the user. For example, when a document containing data that should be kept confidential is created for some users, the data to be kept secret is divided into separate files and stored, and the data that is allowed to view the confidential data is kept confidential. The document is also displayed by combining the documents, and browsing of the secret data is permitted, and the document is presented to the user while keeping the secret data secret.
- FIG. 30 shows a configuration of the document management system 21 according to the present embodiment.
- the document management system 21 includes a document processing apparatus 100 that performs processing such as document editing and display, and a document management server 23 that manages document division and composition.
- Document processing apparatus 100 and document management server The bus 23 is connected via a LAN 25, which is an example of a network.
- the document processing apparatus 100 transmits the created XML document to the document management server 23, and requests to save the document.
- the document management server 23 stores the XML document received from the document processing apparatus 100. At this time, if confidential data is included in the XML document, the confidential data is divided into separate files and stored.
- the document management server 23 authenticates the user of the requesting document processing apparatus 100, and according to the authentication level.
- the confidential data is appropriately combined with the XML document and transmitted to the document processing apparatus 100.
- FIG. 31 shows the internal configuration of the document processing apparatus 100 of the present embodiment.
- the document processing apparatus 100 of this embodiment includes a communication unit 26 in addition to the configuration of the document processing apparatus 20 of the base technology shown in FIG.
- the communication unit 26 transmits the document created by the document processing apparatus 100 to the document management server 23 via the LAN 25. Further, the communication unit 26 receives a document stored in the document management server 23 via the LAN 25.
- Other configurations and operations are the same as the base technology.
- FIG. 32 shows the internal configuration of the document management server 23.
- the document management server 23 mainly includes a communication unit 3010, a document storage request receiving unit 3020, a document file receiving unit 3022, a secret data extracting unit 3024, an ID issuing unit 3026, a document file dividing unit 3028, and a document acquisition request receiving unit. 3030, a user authentication unit 3032, a document file composition unit 3034, a document file transmission unit 3036, a document file management table 3040, a document file storage unit 3050, and a user database 3060.
- These configurations can also be realized in various forms by hardware only, software only, or their combination.
- the document file receiving unit 3022 When the document storage request receiving unit 3020 receives a document file storage request from the document processing device 100, the document file receiving unit 3022 also receives the document file via the communication unit 3010.
- the secret data extraction unit 3024 extracts secret data such as proper nouns included in the document file received by the document file reception unit 3022.
- the secret data may be marked up with a predetermined tag in the document, as will be described later, and an interface for the secret data extraction unit 3024 to accept the specification of the secret data to the user's document processing apparatus 100. Display the screen etc. May be accepted.
- the configuration of the editing units 54 and 64 that attach tags indicating confidential data to the document and the tagging power attached to the document file Functions as a notification unit that notifies the document management server 23 of the confidential data in the document file
- the interface screen functions as a notification unit.
- the secret data extraction unit 3024 keeps the data listed in its own list confidential without receiving a notification from the document processing apparatus 100 that may hold a list of data that should be kept secret. It may be extracted as data.
- the ID issuing unit 3026 issues an ID for each of the secret data extracted by the secret data extracting unit 3024. This ID may overlap with the ID of confidential data in other documents as long as the confidential data can be uniquely identified in the document! /.
- the document file dividing unit 3028 functioning as a replacement unit first issues an ID to the secret data in the document file (hereinafter referred to as the “original file”) received by the document file receiving unit 3022. It is replaced with the ID issued by the section 3026 and stored in the document file storage section 3050.
- the document file generated in this way is hereinafter referred to as a “table file”.
- the document file dividing unit 3028 further generates a file in which the secret data and the ID are described in association with each other, and stores the file in the document file storage unit 3050.
- the document file generated in this way is hereinafter referred to as “back file”.
- the document file dividing unit 3028 divides the original file into a front file and a back file and stores them in the document file storage unit 3050.
- the table file may be stored in an area that accepts direct access from the document processing apparatus 100, but the back file is stored so that it cannot be accessed directly from the document processing apparatus 100. .
- the document management server 23 saves the confidential data contained in the original file requested to be saved from the document processing device 100 in the back file without accepting direct access from the document processing device 100.
- the document file dividing unit 3028 registers information necessary for managing the correspondence between the front file and the back file in the document file management table 3040.
- the document management server 23 sets the authentication level or access authority of the user of the requesting document processing apparatus 100. Accordingly, the document file is appropriately synthesized and provided. For example, a table file that keeps confidential data secret is provided to users with low access privileges. For users with high access authority, the back file is combined with the front file, and the ID in the front file is replaced with the secret data in the back file. Multiple back files may be prepared depending on the level of access authority of the user who wants to obtain the document. For example, for the user with the highest access authority, in order to disclose all the confidential data, a back file describing the correspondence between all the confidential data and the ID is prepared.
- a back file describing the correspondence between the partial confidential data and the ID is prepared, and the access authority is the lowest.
- the back file may not be combined.
- the cover data may be selectively combined into the table file according to the user access authority. Oh ,.
- the user authentication unit 3032 authenticates the user of the document processing device 100.
- the user authentication unit 3032 may request the document processing apparatus 100 to input a user ID and password, and authenticate the received user ID and password pair with reference to the user database 3060.
- the document file composition unit 3034 appropriately combines the back file with the front file according to the user authentication level.
- the document file composition unit 3034 refers to the document file management table 3040, obtains the correspondence between the front and back files of the requested document, reads out the necessary files from the document file storage unit 3050, and composes them.
- the document file transmission unit 3036 transmits the document file combined by the document file combining unit 3034 to the document processing apparatus 100 via the communication unit 3010.
- FIG. 33 shows an example of internal data of the document file management table 3040.
- the document file management table 3040 is provided with a document file name field 3042 and a correspondence information field 3044 for storing information on the back file to be combined with the document file.
- the name of the original file may be used as the document file name when receiving a document acquisition request from the user, or the name of the original file may be different from the name of the table file.
- the original file and the table file have the same name.
- the table file generated from the original file is stored in the document file storage unit 3050 with the same name as the original file, and can be accessed with the same name as the original file.
- the correspondence information column 3044 is provided for the number of back files prepared for one table file, and includes an authentication level column 3046 and a back file name column 3048, respectively.
- the document file division unit 3028 When the confidential data to be disclosed should be changed in stages according to the authentication level of the user, the document file division unit 3028 generates and stores a plurality of back files, and sets each back file and the authentication level. The correspondence is registered in the correspondence information column 3044.
- the document file composition unit 3034 obtains the name of the back file to be composed from the document file management table 3040 according to the authentication level of the user authenticated by the user authentication unit 3032, and the back file is stored in the document file storage unit 3 050. Is read out and combined into a table file.
- FIG. 34 shows an example of internal data of the user database 3060.
- the user data base 3060 is provided with a user ID field 3062, a nose word field 3064, and an authentication level field 3066.
- the user authentication unit 3032 authenticates whether the combination of the user ID and password received from the user matches that registered in the user database 3060, and if it matches, registers it in the authentication level field 3066. Get the authenticated level.
- FIG. 35 shows an example of an XML document processed in the document management system 21 of the present embodiment.
- the XML document “sample.xml” is described using the “xmail” vocabulary for describing mail.
- the root node “xmail” has an element “title” and an element “comment” as child elements.
- the title node of the mail is stored in the text node of the element “title”, and the body of the mail is stored in the text node of the element “comment”.
- the element “comment” has an element “list” that stores a name list as a child element.
- the element “list” has element “lt” and element “person” as child elements.
- the text node of the element “lt” stores the title of the list.
- a plurality of elements “per SO n” are provided, and each stores personal information.
- Element “personj” has child element “name” for storing a name and element “addres s” for storing an address, respectively.
- Figure 36 shows the Z document edited by mapping the XML document shown in Figure 35 to XHTML.
- An example of the definition file “sample.vcd” is shown below.
- a template 4000 corresponding to the root node “xmail” describes XHTML basic elements “html”, “head”, “body”, etc.
- the element value of the element “xmail: title” is assigned to “title”.
- the element value of the element “xmail: title” is displayed as the heading “hl” at the head of the body “body” of the XHTML document.
- the template 4002 corresponding to the element “comment” describes that the element value of the element “comment” is displayed in the paragraph “.”
- the template 4004 corresponding to the element “list” includes the title of the list stored in the element “xma ihltj” in the first row of the table “table”, the character string “name” in the first column of the second row, The second column describes that the character string “address” is displayed.
- template 4006 corresponding to element “person” the template corresponding to element “xmail: name” is applied to the first column of each row, and the element corresponding to element “xmail: address” is applied to the second column. It describes that the template is applied.
- the template 4008 corresponding to the element “name” describes that the element value of the element “name” is displayed, and the template 410 corresponding to the element “address” displays the element value of the element “a dressesj”. Is described.
- FIG. 37 shows an example of a screen displayed by applying the definition file shown in FIG. 36 to the XML document shown in FIG.
- the XML document “sample.xml” is converted into an XHTML document by the mapping unit 82 of the VC unit 80 using the definition file “sample.vcd” and the display unit 56 of the HTML unit 50. Is displayed.
- FIG. 38 shows an example of an XML document in which confidential data is marked up.
- the data specified as confidential data is marked with the “secret” tag.
- the authentication level of the user who is permitted to disclose the confidential data is specified as the attribute value.
- the document management server 23 sets the document file receiving unit 30 22 to the XML document.
- the secret data extraction unit 3024 extracts the secret data.
- the secret data extraction unit 3024 extracts the component “xmail: secret”.
- the ID issuing unit 3026 issues IDs by the number of extracted secret data. In the example of Fig. 38, there are 6 component elements “xmail: secret”, so 6 IDs may be issued, but the 3 secret data stored in the component “xmail: address” are the same. Therefore, 4 IDs are issued here.
- the document file division unit 3028 separates the confidential data into separate files and divides the XML document into a plurality of files.
- FIG. 39 shows an example of a table file generated by dividing the XML document shown in FIG. 38 by the document file dividing unit 3028.
- the confidential data is removed from the original file cover, and the “anonymous” tag of the “xmail” library is inserted instead, and the ID of the confidential data is stored as the attribute value.
- the user who acquires this table file can only know the ID of the confidential data, not the actual secret data! ,.
- FIG. 40 shows an example of the back file generated by the document file dividing unit 3028 dividing and generating the XML document shown in FIG. Back fuinole!
- the ID of the confidential data specified in the original file and the entity are described in association with each other by the "anonymous” library.
- the component “item” of the “anonymous” vocabulary includes a component “serial” that stores the ID of the confidential data and a component “name” that stores the entity of the confidential data associated with the ID. Including.
- FIG. 41 shows another example of the back file generated by dividing the XML document shown in FIG. 38 by the document file dividing unit 3028.
- the back file shown in FIG. 40 is synthesized into a front file when a user with authentication level power “1” requests to obtain a document.
- the back file shown in FIG. This is synthesized when the user of “2” requests acquisition of a document.
- the back file of Fig. 40 shows the authentication level in the XML document shown in Fig. 38. Only secret data with "1" specified is described.
- the secret data with the authentication level “1” and the secret data with the authentication level “2” are described in the XML document shown in FIG.
- FIG. 42 shows an example of a definition file in which definitions for synthesizing the back file shown in FIG. 40 are described in the table file shown in FIG.
- the definition file contains information that the portion described in the “anonymous” library should be resolved using the back file.
- the document file composition unit 3034 refers to the definition file and composes the front file and the back file. Compared to the contents of the definition file shown in Fig. 36, this definition file has a namespace declaration 4012 for the "anomymous" library, which is a library for describing the composition of secret data, etc.
- the template for “name” has been rewritten to 4014, and the template for element “address” has been rewritten to 4016.
- the document acquisition request receiving unit 3030 receives the request
- the user authentication unit 3032 receives the user database.
- the document file combining unit 3034 acquires the file name of the back file to be combined with the table file of this document from the document file management table 3040 according to the user authentication level, and displays it from the document file storage unit 3050. Read file and back file. Furthermore, the document file composition unit 3034 reads the definition file described in the table file from the document file storage unit 3050.
- the document file composition unit 3034 refers to the definition file and resolves the contents of the “anonymous” tag with the back file and composes it.
- secret data stored in the back file is assigned to the “anonymous” tag.
- the document file composition unit 3034 modifies the definition file for compositing the back file with the front file, and generates a definition file for processing the composite file.
- the document file transmission unit 3036 transmits the generated document file to the document processing apparatus 100.
- the document file composition unit 3034 may use the table file as a composite file as it is, delete the “xmail: anonymous” tag indicating the confidential data in the table file, and use the confidential data ID or the confidential data instead.
- the document file composition unit 3034 deletes the namespace declaration 4012 of the “anomymous” library from the definition file for compositing the back file with the table file shown in FIG.
- the back file for the user whose authentication level is "1" shown in FIG. 40 is combined with the table file shown in FIG.
- the secret data with ID power 0001, 0002, and 0003, which is resolved by the final secret data and the actual value is substituted is not resolved.
- 45 and 46 show display examples of the generated composite file. In Fig. 45, the confidential data is displayed by ID. In FIG. 46, the confidential data is displayed as an icon.
- FIG. 47 shows another example of a table file generated by dividing the XML document shown in FIG. 38 by the document file dividing unit 3028.
- the "xmail: anonymous" tag inserted in place of the element value of the "xmail: name” element, which is the secret data has a text node, and it replaces the secret data such as "Anonymous A”.
- the string is stored! RU
- FIG. 48 shows an example of a definition file applied to the table file shown in FIG.
- the template 4018 of the “xmail: na me” element if there is a text node in the “xmail: anonymous” element, the string is displayed, and if there is no text node, it is specified as the attribute value of the “xmail: anonymous” element. An instruction to display the ID is written.
- FIG. 49 shows an example of a screen displayed by applying the definition file shown in FIG. 48 to the table file shown in FIG.
- the text of the “xmail: anonymous” element is displayed.
- the value of the text node, ie, “Anonymous A”, “Anonymous B”, “Anonymous C” is displayed, and in the “Address” field, the ID specified as the attribute value of the “xmail: anonymous” element, ie, “ 0004 ”force is displayed.
- the power described as an example of processing an XML document can also process a document described in other markup languages such as SGML and HTML. It can be processed similarly.
- the present invention can be used for a data processing system that handles confidential data.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Databases & Information Systems (AREA)
- Document Processing Apparatus (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006545035A JPWO2006051964A1 (ja) | 2004-11-12 | 2005-11-14 | データ処理システム、データ処理方法、及び管理サーバ |
EP05806015A EP1816586A1 (en) | 2004-11-12 | 2005-11-14 | Data processing system, data processing method, and management server |
US11/576,232 US20080209572A1 (en) | 2004-11-12 | 2005-11-14 | Data Processing System, Data Processing Method, and Management Server |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004328418 | 2004-11-12 | ||
JP2004-328418 | 2004-11-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2006051964A1 true WO2006051964A1 (ja) | 2006-05-18 |
Family
ID=36336629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2005/020891 WO2006051964A1 (ja) | 2004-11-12 | 2005-11-14 | データ処理システム、データ処理方法、及び管理サーバ |
Country Status (4)
Country | Link |
---|---|
US (1) | US20080209572A1 (ja) |
EP (1) | EP1816586A1 (ja) |
JP (1) | JPWO2006051964A1 (ja) |
WO (1) | WO2006051964A1 (ja) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4259588B2 (ja) * | 2007-03-30 | 2009-04-30 | 富士ゼロックス株式会社 | 情報処理システム及び情報処理プログラム |
US8019767B2 (en) * | 2007-11-12 | 2011-09-13 | International Business Machines Corporation | Correlation-based visualization of service-oriented architecture protocol (SOAP) messages |
JP2009276854A (ja) * | 2008-05-12 | 2009-11-26 | Canon Inc | 情報処理装置、その制御方法及びプログラム |
JP2010050760A (ja) * | 2008-08-22 | 2010-03-04 | Hitachi Ltd | コンテンツ保護装置、および、コンテンツ利用装置 |
US9043694B2 (en) | 2009-06-19 | 2015-05-26 | Blackberry Limited | Methods and apparatus to maintain ordered relationships between server and client information |
WO2010148243A1 (en) * | 2009-06-19 | 2010-12-23 | Research In Motion Limited | Methods and apparatus to maintain validity of shared information |
US9262185B2 (en) * | 2010-11-22 | 2016-02-16 | Unisys Corporation | Scripted dynamic document generation using dynamic document template scripts |
JP5535115B2 (ja) * | 2011-03-29 | 2014-07-02 | 株式会社日立システムズ | マルチスレッド型ファイル入出力システム、及びマルチスレッド型ファイル入出力プログラム |
WO2013011730A1 (ja) * | 2011-07-21 | 2013-01-24 | インターナショナル・ビジネス・マシーンズ・コーポレーション | 文書を処理する装置及び方法 |
EP2842052B1 (en) | 2012-04-25 | 2021-06-23 | Ent. Services Development Corporation LP | File transfer using xml |
CN103973632A (zh) * | 2013-01-25 | 2014-08-06 | 苏州精易会信息技术有限公司 | 一种提高外网数据应用安全性的浏览器装置 |
CN103312803B (zh) * | 2013-06-17 | 2016-07-13 | 杭州华三通信技术有限公司 | 一种Web访问体验优化方法及装置 |
US10198583B2 (en) * | 2013-11-26 | 2019-02-05 | Sap Se | Data field mapping and data anonymization |
US12093413B2 (en) * | 2018-06-13 | 2024-09-17 | Malikie Innovations Limited | Electronic device and method of providing information for display |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295932A (ja) * | 1994-04-28 | 1995-11-10 | Fujitsu Ltd | 情報管理装置 |
JP2002182964A (ja) * | 2000-12-11 | 2002-06-28 | Saito:Kk | セキュリティシステム、セキュリティ方法およびプログラム |
JP2002358257A (ja) * | 2001-03-28 | 2002-12-13 | Minoru Ikeda | 情報交換システム、情報通信端末、情報交換方法、プログラム、および、記録媒体 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5960080A (en) * | 1997-11-07 | 1999-09-28 | Justsystem Pittsburgh Research Center | Method for transforming message containing sensitive information |
US7475242B2 (en) * | 2001-12-18 | 2009-01-06 | Hewlett-Packard Development Company, L.P. | Controlling the distribution of information |
US8166299B2 (en) * | 2004-07-06 | 2012-04-24 | Andrew Christopher Kemshall | Secure messaging |
-
2005
- 2005-11-14 EP EP05806015A patent/EP1816586A1/en not_active Withdrawn
- 2005-11-14 JP JP2006545035A patent/JPWO2006051964A1/ja active Pending
- 2005-11-14 US US11/576,232 patent/US20080209572A1/en not_active Abandoned
- 2005-11-14 WO PCT/JP2005/020891 patent/WO2006051964A1/ja active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295932A (ja) * | 1994-04-28 | 1995-11-10 | Fujitsu Ltd | 情報管理装置 |
JP2002182964A (ja) * | 2000-12-11 | 2002-06-28 | Saito:Kk | セキュリティシステム、セキュリティ方法およびプログラム |
JP2002358257A (ja) * | 2001-03-28 | 2002-12-13 | Minoru Ikeda | 情報交換システム、情報通信端末、情報交換方法、プログラム、および、記録媒体 |
Also Published As
Publication number | Publication date |
---|---|
US20080209572A1 (en) | 2008-08-28 |
JPWO2006051964A1 (ja) | 2008-05-29 |
EP1816586A1 (en) | 2007-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2006051964A1 (ja) | データ処理システム、データ処理方法、及び管理サーバ | |
WO2006137530A1 (ja) | 文書処理装置 | |
WO2006051905A1 (ja) | データ処理装置およびデータ処理方法 | |
JP2008508644A (ja) | 文書のある表現における変更を別の表現に反映させるための文書処理及び管理方法 | |
WO2006051715A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2007034858A1 (ja) | データ管理装置、データ編集装置、データ閲覧装置、データ管理方法、データ編集方法およびデータ閲覧方法 | |
WO2006051975A1 (ja) | 文書処理装置 | |
JPWO2006046666A1 (ja) | 文書処理装置および文書処理方法 | |
JP4521408B2 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051960A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051713A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051904A1 (ja) | データ処理装置およびデータ処理方法 | |
WO2006120926A1 (ja) | 入力フォーム設計装置および入力フォーム設計方法 | |
WO2006051954A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051966A1 (ja) | 文書管理装置及び文書管理方法 | |
WO2006051716A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051959A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2006051712A1 (ja) | 文書処理装置及び文書処理方法 | |
JP4723511B2 (ja) | 文書処理装置及び文書処理方法 | |
WO2006046668A1 (ja) | 文書処理装置および文書処理方法 | |
JPWO2007105364A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2007007529A1 (ja) | 文書処理装置および文書処理モジュール | |
WO2006051972A1 (ja) | データ処理装置、文書処理装置および文書処理方法 | |
WO2006051717A1 (ja) | 文書処理装置及び文書処理方法 | |
WO2007032460A1 (ja) | データ処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2006545035 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2005806015 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 2005806015 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11576232 Country of ref document: US |