Information processing method, information processing device, and information processing program
The information processing method addresses the issue of missing data in online editors by separating necessary and unnecessary data within the document creation process, ensuring complete and accurate document creation with enhanced reliability.
Patent Information
- Application Number
- PCT/JP2023/013737
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-03
AI Technical Summary
Existing online editors often create documents with missing unique information such as binary files and setting files, which are unnecessary for editing, leading to incomplete or erroneous document data during the document creation process.
An information processing method that acquires document data from a user terminal, extracts necessary data for editing, separates it from unnecessary data, and generates edited document data in a predetermined file format, ensuring complete and accurate document creation by maintaining essential formatting and metadata.
This approach ensures that edited documents are created with less missing data, reducing errors and providing a more accurate document creation experience by maintaining essential formatting and metadata, thus enhancing the reliability of document creation support systems.
Smart Images

Figure JP2023013737_03102024_PF_FP_ABST
Abstract
Description
Information processing method, information processing device, and information processing program
[0001] The embodiments of the present disclosure relate to an information processing method, an information processing device, and an information processing program.
[0002] An online editor is a document creation support tool that is used when creating and editing documents on, for example, a web browser.
[0003] Documents edited using an online editor contain unique information such as binary files for images and other data that are not required for the editing process, and setting files for character spacing, etc. When a new document is created by editing using an online editor, this unique information may be lost.
[0004] The problem to be solved by the present disclosure is to provide a technology that can create more appropriate document data than conventionally and provide it to a user in document creation support using an online editor.
[0005] An information processing method according to an embodiment includes acquiring first document data in a predetermined file format from a user terminal via a network, extracting from the first document data a first group of data required for editing processing and a second group of data not required for editing processing, performing editing processing using the first group of data, and generating second document data in the predetermined file format using the edited first group of data and the second group of data.
[0006] FIG. 1 is a schematic diagram illustrating an overview of a document creation support system according to an embodiment. FIG. 2 is a block diagram illustrating an example of the hardware configuration of an information processing device according to an embodiment. FIG. 3 is a diagram illustrating an example of functional blocks in a processor of the information processing device according to an embodiment. FIG. 4 is a conceptual diagram illustrating editing conversion processing and reverse editing conversion processing executed by the information processing device according to an embodiment. FIG. 5 is a block diagram illustrating an example of the hardware configuration of a terminal device according to an embodiment. FIG. 6 is a diagram illustrating an example of functional blocks in a processor of the terminal device according to an embodiment. FIG. 7 is a flowchart illustrating an example of the flow of editing processing according to an embodiment. FIG. 8 is a flowchart illustrating an example of the flow of editing conversion processing executed by a conversion processing unit according to an embodiment. FIG. 9 is a flowchart illustrating an example of the flow of reverse editing conversion processing executed by a conversion processing unit according to an embodiment.
[0007] Hereinafter, the embodiments will be described in detail with reference to the drawings. In the following description, components having substantially the same functions and configurations are designated by the same reference numerals and will be described only when necessary. In addition, the embodiments can be combined with other embodiments, modifications, and conventional techniques.
[0008] Fig. 1 is a schematic diagram for explaining an overview of a document creation support system S according to this embodiment. As shown in Fig. 1, the document creation support system S functions as a document creation support system and includes, for example, an information processing device 10 according to this embodiment and at least one terminal device T1 to TN that can communicate with the information processing device 10 via a network N. The terminal devices T1 to TN are operated by users P1 to PN, respectively. Note that the configuration of the terminal devices T1 to TN will be described as an example.
[0009] Here, the document creation support system S is a system that supports document creation on a browser. In this specification, a document refers to a document in any language that is created in accordance with certain rules or standards, such as a regulation, law, or custom. In this specification, document data refers to information that has been digitized using document creation software to make it editable, regardless of the data format. Document data is typically text data, but can also include image data, tabular data, and other data. Furthermore, the document or document data may include, as necessary, meta-information (version, creation date, update date, creator, updater, etc.) created by the document creation software, format information (decorations such as underlines and highlights, font, indentation, etc.), change history information, comment information, and the like.
[0010] In the following, for the sake of concreteness, an example will be taken in which the documents handled by the document creation support system S are legal documents (e.g., contracts) written in Japanese. However, the documents handled by the document creation support system S are not limited to contracts, nor are they limited to Japanese documents. For example, the documents may be company regulations written in English.
[0011] In this specification, a document creation support service is a service that includes at least one of the following: performing a document review process on a support target document on a web browser and providing the results to the user; performing document editing in response to instructions from the user; saving the edited document or providing it to the user; editing additional information associated with the support target document (e.g., meta information, comment information, chat information, format information, etc.); creating a new document (including copies); comparing multiple documents (e.g., clearly indicating difference information); and automatically proofreading the support target document.
[0012] In particular, the document creation support system S of this embodiment creates appropriate document data with less missing data than conventional systems when editing a document to be supported and saving it in a specified file format (e.g., DOCX format), and provides it to the user.
[0013] In this specification, a document review process refers to a process of analyzing or evaluating information contained in a document to be supported based on certain criteria and outputting the results. For example, a document review process includes checking and examining whether the information contained in the document to be supported is appropriate based on certain criteria. Specifically, the process includes comparing the text in the document with a pre-prepared checklist and outputting the results of the comparison or any issues noted in the checklist. Editing refers to adding, deleting, or changing information contained in the document to be edited.
[0014] The meta information associated with the document to be supported includes at least one of the following: document ID, document type (e.g., basic transaction agreement, non-disclosure agreement, outsourcing contract, etc.), version, creation date and time, update date and time, upload date and time, creator, updater, deadline, and document ID of related document.
[0015] In this embodiment, the comment information associated with a support target document is additional information created by at least one user involved in the creation of the document, and is associated and managed for each version of the support target document, for example. The comment information associated with a support target document is typically information separate from comments created by word processing software, but can also include comments created by word processing software as necessary.
[0016] In this embodiment, chat information refers to additional information generated by multiple users involved in the creation of a support target document using a chat function for the support target document, and is managed, for example, in association with multiple versions of the support target document. This additional information is typically text data, but can also include other data formats such as images and audio.
[0017] The document to be supported in this embodiment may be a document file uploaded from a terminal device, a file newly created on an online editor, or a file that has already been uploaded and saved and / or edited.
[0018] Terminal device T1 is a client device managed by user P1 who uses the document creation support service. Terminal device T1 displays document review results and editing data on the screen of a display device while positionally associating them with each other based on information from information processing device 10. In this embodiment, the user can use the document review results and editing screen displayed on the screen of the display device of terminal device T1 to perform operations such as indent replacement processing, document review reference, comment input / reference, chat information input / reference, editing processing, and document saving for the document to be supported.
[0019] Next, the specific configurations of the information processing device 10 and the terminal device T1 of this embodiment will be described.
[0020] (Information Processing Device 10) The information processing device 10 of this embodiment is a device that is connected to a client device via communication and performs various processes in response to requests from the client device. For example, it is a server device managed by a provider that provides document creation support services. The information processing device 10 provides document creation support services to terminal device T1 in response to a document creation support request received via network N from terminal device T1 as a client device. Specifically, the information processing device 10 of this embodiment performs editing processing on a document to be supported in the document creation support service, and generates document data in a specified file format with less missing data than conventional methods.
[0021] 2 is a block diagram showing an example of the hardware configuration of the information processing device 10 according to the embodiment. As shown in Fig. 2, the information processing device 10 is a computer, and includes, for example, a processor 11, a main storage device (memory) 13, an auxiliary storage device (memory) 15, a network interface 17, a device interface 18, and a bus 19 connecting the respective components.
[0022] The information processing device 10 shown in Figure 2 includes one of each component, but may include multiple of the same component. Also, while Figure 2 shows one information processing device 10, the software may be installed on multiple computers, and each of the multiple computers may execute the same or different parts of the software. In this case, a form of distributed computing may be used in which each computer communicates with the other computers via a network interface 17 or the like to execute the processing. In other words, the information processing device 10 in this embodiment may be configured as a system that realizes various functions described below by having one or more computers execute instructions stored in one or more storage devices.
[0023] Various calculations of the information processing device 10 may be executed in parallel using one or more processors, or using multiple computers via a network. Furthermore, various calculations may be distributed to multiple processor cores within a processor and executed in parallel. Furthermore, some or all of the processes, means, etc. disclosed herein may be executed by at least one of a processor and a storage device provided on a cloud that can communicate with the information processing device 10 via a network. Thus, the processing of the document creation support system S in this embodiment may be executed in the form of parallel computing using one or more computers.
[0024] The processor 11 may be an electronic circuit (such as a processing circuit, processing circuitry, CPU (Central Processing Unit), GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), or ASIC (Application Specific Integrated Circuit)) including a control device and an arithmetic device of the information processing device 10. The processor 11 may also be a semiconductor device including a dedicated processing circuit. The processor 11 is not limited to an electronic circuit using electronic logic elements, and may be realized by an optical circuit using optical logic elements. The processor 11 may also include an arithmetic function based on quantum computing.
[0025] The processor 11 performs arithmetic processing based on data and software (programs) input from each device, etc., configured internally of the information processing device 10, and can output arithmetic results and control signals to each device, etc. The processor 11 may control each component constituting the information processing device 10 by executing an OS (Operating System), applications, etc. of the information processing device 10.
[0026] The information processing device 10 in this embodiment may be realized by one or more processors 11. Here, the processor 11 may refer to one or more electronic circuits arranged on one chip, or may refer to one or more electronic circuits arranged on two or more chips or two or more devices. When multiple electronic circuits are used, the electronic circuits may communicate with each other via wire or wirelessly.
[0027] The main memory device 13 is a memory device that stores instructions executed by the processor 11 and various data, and information stored in the main memory device 13 is read by the processor 11. The auxiliary memory device 15 is a memory device other than the main memory device 13. Note that these memory devices refer to any electronic component capable of storing electronic information, and may be semiconductor memory. The semiconductor memory may be either volatile memory or non-volatile memory. The memory device for saving various data used in the information processing device 10 according to this embodiment may be realized by the main memory device 13 or the auxiliary memory device 15, or may be realized by an internal memory built into the processor 11. For example, the memory unit in this embodiment may be realized by the main memory device 13 or the auxiliary memory device 15.
[0028] Multiple processors may be connected (coupled) to one storage device (memory), or a single processor 11 may be connected. Multiple storage devices (memories) may be connected (coupled) to one processor. When the information processing device 10 in this embodiment is configured with at least one storage device (memory) and multiple processors connected (coupled) to this at least one storage device (memory), it may include a configuration in which at least one of the multiple processors is connected (coupled) to at least one storage device (memory). This configuration may also be realized by storage devices (memories) and processors 11 included in multiple computers. Furthermore, it may include a configuration in which the storage device (memory) is integrated with the processor 11 (for example, a cache memory including an L1 cache and an L2 cache).
[0029] The network interface 17 is an interface for connecting to the network N wirelessly or via a wire. The network interface 17 may be an appropriate interface, such as one that conforms to an existing communication standard. The network interface 17 may exchange information with an external device connected via the network N. The network N may be any one of a wide area network (WAN), a local area network (LAN), a personal area network (PAN), or a combination thereof, as long as information is exchanged between the information processing device 10 and an external device. An example of a WAN is the Internet, an example of a LAN is IEEE 802.11 or Ethernet (registered trademark), and an example of a PAN is Bluetooth (registered trademark) or NFC (Near Field Communication), etc.
[0030] The device interface 18 is an interface such as a USB (Universal Serial Bus) that directly connects to an output device such as a display device, an input device, or an external device. The external device may also be a storage device (memory), network storage, HDD, or other storage. The external device may also be a device that has some of the functions of the components of the information processing device 10 in this embodiment. In other words, the information processing device 10 may transmit or receive some or all of the processing results of the external device.
[0031] 3 is a diagram illustrating an example of functional blocks in the processor 11. The processor 11 includes, for example, an acquisition unit 111, an analysis unit 112, a conversion processing unit 113, an inverse conversion processing unit 114, an editing processing unit 115, a first control unit 117, and a first storage unit 119 as functions realized by the processor 11. The functions realized by the acquisition unit 111, the analysis unit 112, the conversion processing unit 113, the inverse conversion processing unit 114, the editing processing unit 115, the first control unit 117, and the first storage unit 119 are each stored as a program in, for example, the main storage device 13 or the auxiliary storage device 15. The processor 11 can realize the functions related to the acquisition unit 111, the analysis unit 112, the conversion processing unit 113, the inverse conversion processing unit 114, the editing processing unit 115, the first control unit 117, and the first storage unit 119 by reading and executing the program stored in the main storage device 13 or the auxiliary storage device 15.
[0032] The acquisition unit 111 acquires support target document data in DOCX format (an example of first document data) via the network N. The acquisition unit 111 also acquires, as the support target document, the support target document data in DOCX format stored in the first storage unit 119. The acquisition unit 111 also acquires, as the support target document, support target document data in DOCX format stored in a storage unit of another device via the network N.
[0033] The analysis unit 112 executes a document review process using the support target document data received from the acquisition unit 111. That is, as part of the document review process, the analysis unit 112 generates document review information (described later) for the support target document data. Note that the document review information is an example of analysis information.
[0034] The analysis unit 112 extracts, for example, information contained in a document (document data) and necessary for generating review information. A variety of techniques can be employed to extract information from document data. For example, a keyword search of the document data may be performed to extract characters, numbers, and the like contained near the keywords. Information may also be extracted using morphological analysis, syntactic analysis, semantic analysis, and contextual analysis. Information may also be extracted using natural language processing using machine learning. Prior to these processes, information necessary for document review, such as text data, may be extracted from the received document data, or text data may be extracted from image data using OCR or other processing. Document review processing may also be performed on the received document without extracting information necessary for generating document review information, as described above.
[0035] The analysis unit 112 performs a document review process and generates document review information. The document review information is based on information obtained by analyzing a document based on rules or standards that apply to the document (e.g., certain regulations, laws, or customs). For example, review information for a contract, such as that in this embodiment, can include: (1) an indication of whether clauses included in the document (in this embodiment, the contract) are advantageous or disadvantageous to the user (the parties); (2) advice on modifying or deleting clauses included in the contract; (3) an indication of the absence of items that should normally be included in the contract and suggestions for items to be added; and (4) information on the importance or recommended level of each review result item. The information may also include formatting information, such as whether the text format meets standards, and whether defined terminology is used.
[0036] The analysis unit 112 may employ various techniques for generating document review information. For example, the extracted information may be used to generate document review information based on a rule base. Alternatively, a trained model may be used that receives the extracted information as input and outputs corresponding document review information. Furthermore, a combination of a rule-based approach and a trained model may be employed. Before generating the document review information, the document may be divided into units such as articles, paragraphs, and subdivisions.
[0037] The analysis unit 112 can also generate document review information according to the perspective of the user (the party) by using meta-information associated with the support target document. Furthermore, the analysis unit 112 can also generate document review information by referencing the contents of other documents (other versions of the support target document, other contracts related to the support target document, etc.). Meta-information includes information added to the document file itself, such as information about the document creator, and information added by the user, etc., by inputting it separately from the file.
[0038] The conversion processing unit 113 executes an editing conversion process. The editing conversion process is a process of extracting a first data group necessary for the editing process and a second data group not necessary for the editing process from the support target document data in a predetermined file format (DOCX format in this embodiment) received from the acquisition unit 111, and generating editing data using the first data group. The editing data is an example of third document data.
[0039] The reverse conversion processing unit 114 executes a reverse editing conversion process, which involves reversely converting the editing data after the editing process to generate a first data group, associating and integrating the first data group with the second data group extracted by the conversion processing unit 113, and generating (restoring) support target document data in a predetermined file format (in this embodiment, DOCX format).
[0040] Here, the concepts of the conversion process for editing executed by the conversion processing unit 113 and the conversion process for reverse editing executed by the reverse conversion processing unit 114 will be described in detail.
[0041] FIG. 4 is a conceptual diagram illustrating the editing conversion process and the reverse editing conversion process. The upper part of FIG. 4 schematically illustrates the support target document data obtained by decompressing the uploaded DOCX format support target document data (the support target document data acquired from the terminal device T1 by the acquisition unit 111) and converting it to XML format. The middle part of FIG. 4 schematically illustrates the editing data in a predetermined file format (in this embodiment, JSON (JavaScript Object Notation) format) generated using only the data group necessary for the editing process from the support target document data converted to XML format. The lower part of FIG. 4 schematically illustrates the editing data after the editing process and the support target document data in XML format after the editing process generated using the data group unnecessary for the editing process from the support target document data converted to XML format. The editing conversion process corresponds to the processing from the upper to middle parts of FIG. 4, and the reverse editing conversion process corresponds to the processing from the middle to lower parts of FIG. 4.
[0042] The XML-formatted document data to be supported is composed of multiple XML data such as document XML data, numbering XML data, and style XML data. These multiple XML data can be classified into a group (an example of a first data group, also referred to as a "DIE group") of information required for editing (Document Editable Information: hereinafter also referred to as "DEI"), and a group (an example of a second data group, also referred to as a "DRI group") of information not required for editing (Document Retention Information: hereinafter also referred to as "DRI group"). The conversion processing unit 113 extracts the DEI group and the DRI group from the XML-formatted document data to be supported. When separating information necessary for the editing process from information unnecessary for the editing process and classifying them into first and second data groups, some of the data necessary for the editing process may be classified into the second data group to the extent that it does not significantly affect the editing process, and information that is not actually unnecessary for the editing process may be classified into the first data group.
[0043] Examples of DEI include document XML data, numbering XML data, comments XML data, and comments Extended XML data. DEI groups include at least document XML data. DRI is XML data other than DEI, and examples thereof include style XML data, header XML data, footer XML data, [trash] / HHHH.dat data, thmbbail.emf data, settings.XML data, and [Content_Types].XML data.
[0044] As shown in the middle of Figure 4, the conversion processing unit 113 performs a predetermined conversion process on the DEIs to generate editing data in JSON format. Therefore, the editing data in JSON format does not include information derived from the DRIs. The editing process executed by the editing processing unit 115 is performed on the editing data in JSON format based on the DEIs. Note that the DRIs are retained (for example, saved in the first storage unit 119) without being used in the editing process.
[0045] The inverse conversion processing unit 114 generates (restores) a group of DEIs in XML format by performing a predetermined inverse conversion process or the like on the edited JSON format editing data, as shown in the lower part of Fig. 4. The inverse conversion processing unit 114 associates and combines the generated group of DEIs in XML format with the group of DRIs in XML format extracted by the conversion processing unit 113, and generates (restores) the edited XML format support target document data.
[0046] The inverse conversion processing unit 114 compresses the edited support target document data in XML format to generate edited support target document data in DOCX format. The inverse conversion processing unit 114 saves the edited support target document data in DOCX format in the first storage unit 119 or transmits it to the terminal device T1. The edited support target document data in DOCX format may be managed as the next version of the support target document data in DOCX format before editing, or may be managed by overwriting the support target document data in DOCX format before editing.
[0047] The specific processes, such as the edit conversion process executed in the edit conversion process and the inverse conversion process executed in the inverse edit conversion process, will be described in detail later.
[0048] 3 , the editing processing unit 115 of the embodiment uses the editing data generated by the conversion processing unit 113 to perform editing processing on the editing data in response to an editing instruction received from the terminal device T1 via the acquisition unit 111. Here, the editing processing performed by the editing processing unit 115 includes adding, deleting, and changing information included in the editing data. More specifically, this includes adding, modifying, and deleting words, sentences, and character decorations (e.g., font, character color, character size, character thickness, underlining, strikethrough, etc.) to the editing data.
[0049] The editing process executed by the editing processing unit 115 can include format editing process, word input assistance process, sentence suggestion process, pointed out matter extraction process, and difference information extraction process.
[0050] Here, the format editing process refers to, for example, a process of correcting the format of the edit data as a document. For example, the format editing process may correct indents, line heads of bullet points, right / left justification, misalignment of clause numbers, etc., preferably automatically, by the system. The editing processing unit 115, for example, references format information of the support target document corresponding to the edit data and performs format editing on the edit data based on the information. Furthermore, the document format settings are preferably stored in advance in the information processing device 10 based on the type of the support target document, such as a contract. For example, in the case of legal documents such as contracts or company regulations, the order may be article, paragraph, and item, with the clause numbers arranged in ascending order, and the indentation increasing from article to paragraph and item to item. Furthermore, the editing processing unit 115 can perform format editing according to the type of the support target document based on meta information of the support target document. The format settings may be created by the user, provided as part of a document creation support service, or customized by the user. Alternatively, the format settings of the support target document may be interpreted and created based on them.
[0051] The word input assistance process of this embodiment is a process that assists input by, for example, presenting candidate words or phrases to be input next when editing document data. This supports the user's input operation during editing and reduces the workload. For example, frequently occurring words or phrases according to the type of the support target document can be presented as input candidates. Furthermore, support target documents stored by the user or the organization to which the user belongs can be analyzed to present frequently used words or phrases. The user can also set words or phrases. The editing processing unit 115 can determine input candidate words according to the type based on meta information of the support target document. The words or phrases presented in this input assistance process are displayed, for example, in the left window of the screen (within the document editing window).
[0052] The proposal suggestion process of this embodiment is a process of displaying input candidate proposals during editing. For example, if the document is a contract, an example of amendment based on at least some of the amendments to the contract is read from a database that stores example clause proposals and presented as a proposal candidate. This supports the input operation of the user during editing and reduces the workload.
[0053] The editing processing unit 115 may present predetermined candidate sentences, candidate sentences determined by the user, candidate sentences generated by a text generation service within or outside the system using a large-scale language model (LLM), or candidate sentences that frequently appear depending on the type of document to be supported. The editing processing unit 115 may also analyze the documents to be supported stored by the user or the organization to which the user belongs and present candidate sentences that are more frequently used than other candidates. If there are multiple candidate sentences, the editing processing unit 115 may further select at least one candidate sentence based on the adoption rate (the percentage of proposed sentences selected by users) and adoption frequency of the clauses in past document creation support services, and present the candidate with the highest adoption rate to the user first. The presented candidate sentences may also be presented, for example, as document review information or other information.
[0054] The editing processor 115 can also edit the editing data in response to the editing instruction based on the presented draft candidate, for example, an instruction by a drag-and-drop operation. The proposed draft is displayed in a document review area, etc., described below, in a positional correspondence with the corresponding portion of the document. For example, the draft candidate is displayed adjacent to the corresponding portion of the document. This display allows the draft candidate and the corresponding portion of the document to be easily compared with minimal eye movement, reducing the burden on the user.
[0055] The pointed-out item extraction process of this embodiment involves extracting pointed-out items related to at least one of the editing data and the document data corresponding to the editing data (e.g., document review information, comment information, chat information, a revision history for the editing data, comments on the document data created using functions of the word processing software, etc., for the document data corresponding to the editing data), and presenting them to the user. The editing processing unit 115 of this embodiment presents the extracted pointed-out items to the user in a predetermined display format. It is preferable that the pointed-out items be displayed in a list in an area that does not overlap with the portion of the document to which the pointed-out items refer, such as a document review area displayed alongside the editing area, or an independent (separate) window such as a pop-up window.
[0056] Furthermore, a combination of the processing for extracting identified issues and the processing for suggesting sentences may be used to propose identified issues and candidate sentences that can resolve the identified issues. In this case, it is preferable that the identified issues and candidate sentences are displayed in a manner that corresponds to the identified portions of the document. For example, it is preferable that the identified issues and candidate sentences are displayed in close proximity to the identified issues. This type of display allows the user to compare the identified issues, candidate sentences, and the corresponding portions of the document with minimal eye movement, thereby reducing the burden on the user.
[0057] Additionally, the document review area and pop-up windows displaying the issues and draft candidates can be collapsed, minimized, or resized. This allows the user to easily view the limited size of the document editing screen, for example, by aligning them with the parts of the document they are pointing out. Furthermore, the spacing between each clause in the editing area may be increased based on the height of the issues or draft candidates. This type of display makes it possible to more clearly and easily show the correspondence between the issues, draft candidates, and the parts of the document they are pointing out.
[0058] The difference information extraction process of this embodiment involves presenting to the user difference information between the editing data before and after correction. The editing processing unit 115 of this embodiment extracts difference information from the editing data before and after correction, and presents it to the user in a predetermined display format, for example, by displaying the difference information differently from the remaining parts (i.e., the same parts), for example by highlighting or highlighting them.
[0059] The first control unit 117 communicates information with the terminal device T1 via the network. Specifically, the first control unit 117 receives various instructions, such as document data, document review instructions, editing instructions, and save instructions, transmitted from the terminal device T1. The first control unit 117 also transmits editing screen information (including information for executing editing processing on the terminal device T1 side) to the terminal device T1. The first control unit 117 receives information including document data after editing processing from the terminal device T1.
[0060] The first control unit 117 of this embodiment generates layout information in the editing process. The layout information in the editing process is, for example, information for displaying the generated document review information and the editing data generated by the editing process in a predetermined format on the browser screen of the terminal device T1. Furthermore, the first control unit 117 of this embodiment may generate layout information in the document review process. The layout information in the document review process is, for example, information for displaying the document review information generated by the document review process and the support target document in a predetermined format on the browser screen of the terminal device T1.
[0061] The layout information may positionally correspond the document review information generated by the document review process to the support target document. Positional correspondence refers to positional correspondence between the document review information and the support target document to facilitate user browsing. Specifically, positional correspondence refers to positional correspondence on the screen, for example, by clause, paragraph, or sentence. Positional correspondence includes, for example, displaying corresponding portions closer to each other in the height or width direction than other portions on the screen, more preferably, displaying them side by side. Furthermore, when additional information is also displayed, the layout information includes information for positionally corresponding the additional information to the document review information and editing data.
[0062] Any method may be used to generate the layout information. For example, the layout information may be generated by using a search function to score the degree of match for each position in the editing data (e.g., each clause or each paragraph), for words and phrases included in the document review information, and displaying the document review information at the position with the highest score. Furthermore, for example, by assigning coordinates to each clause or paragraph in the editing data and associating the coordinates with the corresponding document review information, the display positions of the clauses and paragraphs and the document review information may be associated.
[0063] In this embodiment, the first control unit 117 transmits various information such as document review information generated in the analysis unit 112, editing data generated in the editing processing unit 115, and layout information generated in the first control unit 117 in response to a request from the terminal device T1.
[0064] The first storage unit 119 stores document data uploaded from the terminal device T1, new versions of document data generated from edit data by editing processing, additional information associated with each document data, and the like.
[0065] The first storage unit 119 also stores a group of DRIs in XML format extracted by the conversion process for editing.
[0066] (Terminal Device T1) The terminal device T1 of this embodiment transmits and receives information relating to document display and document editing to and from the information processing device 10 in the document creation support service.
[0067] 5 is a block diagram showing an example of the hardware configuration of a terminal device T1 according to an embodiment. As shown in FIG. 5, the terminal device T1 is a computer, and includes, for example, a processor 21, a main storage device (memory) 23, an auxiliary storage device (memory) 25, a network interface 27, a device interface 28, a bus 29 connecting the respective components, a display device 30 connected to the device interface 28, and an input device 31 connected to the device interface 28. Note that the specific hardware configurations of the processor 21, the main storage device 23, the auxiliary storage device 25, the network interface 27, the device interface 28, and the bus 29 are similar to those of the processor 11, the main storage device 13, the auxiliary storage device 15, the network interface 17, the device interface 18, and the bus 19, respectively, and therefore description thereof will be omitted.
[0068] The display device 30 is a display device such as an LCD (Liquid Crystal Display), a CRT (Cathode Ray Tube), a PDP (Plasma Display Panel), an organic EL (Electro Luminescence) panel, etc. Based on instructions from the processor 21, the display device 30 displays, for example, a document review screen and a document editing screen (described later).
[0069] The input device 31 is a device such as a keyboard, a mouse, or a touch panel. A user can use the input device 31 to input various editing instructions, for example, in the editing process described below. The instructions input from the input device 31 are sent to the processor 21.
[0070] The terminal device T1 may also include other external devices (for example, a camera, a microphone, a motion capture device, various sensors, etc.) connected via the device interface 18 in order to manipulate and edit document data.
[0071] 6 is a diagram showing an example of functional blocks in the processor 21. The processor 21 includes, for example, a second control unit 40, a browser unit 42, and a second storage unit 44 as functions realized by the processor 21. The functions realized by the second control unit 40, the browser unit 42, and the second storage unit 44 are each stored as a program in, for example, the main storage unit 23 or the auxiliary storage unit 25. The processor 21 can realize the functions related to the second control unit 40 and the browser unit 42 by reading and executing the program stored in the main storage unit 23 or the auxiliary storage unit 25.
[0072] The second control unit 40 starts up the browser unit 42 in response to an instruction from the user.
[0073] The browser unit 42 is, for example, a general web browser, and executes processing in accordance with HTML (Hyper Text Markup Language) data, scripts (for example, JavaScript (registered trademark)), etc. When started, the browser unit 42 transmits an initial access URL to the information processing device 10 and accesses it.
[0074] The browser unit 42 of this embodiment displays data including text data and image data received from the information processing device 10 in a predetermined format on the display device 30 of the terminal device T1. More specifically, in the document review process, the browser unit 42 displays the document review information, document data, additional information, etc. received from the information processing device 10 in a predetermined format based on layout information on the display device 30 of the terminal device T1. In addition, in the editing process, the browser unit 42 of this embodiment displays the document review information, editing data, additional information, etc. received from the information processing device 10 in a predetermined format based on layout information on the display device 30 of the terminal device T1.
[0075] The browser unit 42 also transmits, for example, an instruction to start editing, an instruction to save a document, etc. from the user to the information processing device 10. For example, the browser unit 42 receives editing screen information (including information for executing the editing process) from the first control unit 117. The browser unit 42 displays the editing data generated by the editing conversion process on the display device 30 and executes the editing process. The browser unit 42 receives the support target document in DOCX format after the editing process and stores it in the second storage unit 44.
[0076] The second storage unit 44 stores, for example, a support target document in DOCX format before editing processing, and a support target document in DOCX format after editing processing acquired by the browser unit 42 .
[0077] (Editing Process Including Conversion Process for Editing and Conversion Process for Reverse Editing) Next, an editing process including conversion process for editing and conversion process for reverse editing that is realized by this embodiment will be described.
[0078] 7 is a flowchart showing an example of an editing process including an editing conversion process and a reverse editing conversion process executed by the information processing apparatus according to the embodiment. First, the second control unit 40 of the terminal device T1 activates the browser unit 42 in response to an instruction from a user. The browser unit 42 of the terminal device T1 transmits login information such as an initial access URL and a registration ID to the information processing apparatus 10 (step S1).
[0079] The first control unit 117 of the information processing device 10 executes authentication processing in response to the login information from the terminal device T1. The first control unit 117 also transmits the document creation support screen information generated by the first control unit 117 (step S2).
[0080] The browser unit 42 of the terminal device T1 displays the document creation support screen on the display device 30 based on the document creation support screen information received from the information processing device 10 (step S3).
[0081] In response to a document upload instruction from the user, the browser unit 42 of the terminal device T1 transmits the support target document data in DOCX format (e.g., MS-Word data) to the information processing device 10 (step S4). Note that this upload instruction may be executed by the user issuing the editing instruction, or by a different user and / or terminal. For example, it may be executed by the terminal of a user in another department who requests the legal department to review the contract.
[0082] The acquisition unit 111 of the information processing device 10 stores the document data acquired (received) from the terminal device T1 in the first storage unit 119. The first control unit 117 of the information processing device 10 generates document preview screen information based on the document data acquired by the acquisition unit 111. The first control unit 117 of the information processing device 10 transmits the generated document preview screen information to the terminal device T1 (step S5). Note that the document upload instruction and the storage of the document data in the first storage unit 119 may be performed prior to the editing process, for example, by another user and / or another terminal in another department who requests the legal department to review the contract.
[0083] The browser unit 42 of the terminal device T1 displays a document preview screen based on the document preview screen information received from the information processing device 10 (step S6). At this stage, the document review process has not yet been performed, so the document preview screen displays, for example, only the document to be supported. By executing step S6, the document creation support system S of this embodiment can be used not only for editing documents but also for viewing documents.
[0084] The browser unit 42 of the terminal device T1 transmits the edit start instruction input by the user to the information processing device 10 (step S7).
[0085] The conversion processing unit 113 of the information processing device 10 executes conversion processing for editing in response to the editing start instruction from the terminal device T1, and generates data for editing (step S8).
[0086] 8 is a flowchart showing an example of the flow of the conversion process for editing realized by the embodiment. The specific contents of the conversion process for editing will be described with reference to FIG.
[0087] As shown in FIG. 8, the conversion processing unit 113 decompresses the document data in DOCX format acquired by the acquisition unit 111, and acquires the support target document data in XML format (step S80).
[0088] The conversion processing unit 113 executes an extraction process to extract a group of DEIs necessary for the editing process and a group of DRIs not necessary for the editing process from the XML-formatted support target document data (step S81).
[0089] The conversion processing unit 113 performs normalization processing on the extracted DEI group so that it satisfies the specifications of the XML format (step S82). Specifically, as the normalization processing, the conversion processing unit 113 performs processing such as adding an XML declaration to XML data that does not satisfy the specifications of XML, such as when an XML declaration is missing.
[0090] The conversion processing unit 113 executes a first conversion process to convert the DEI group from the XML format to the JSON format (step S83).
[0091] The conversion processing unit 113 performs a second conversion process to convert the DEIs converted to JSON format by the first conversion process into a JSON format that can be used, for example, with a specified library, and generates data for editing (step S84).
[0092] Returning to Figure 7, the first control unit 117 of the information processing device 10 transmits the generated editing data (including a URL for accessing the editing data and information for executing editing processing on the terminal device T1) to the terminal device T1 (step S9).
[0093] The browser unit 42 of the terminal device T1 accesses the edit data using the URL acquired from the information processing device 10, and displays a document edit screen including the edit data (step S10).
[0094] The browser unit 42 of the terminal device T1 transmits an editing instruction according to the editing operation input by the user to the information processing device 10 (step S11).
[0095] The browser unit 42 of the terminal device T1 executes an editing process (updating the data to be edited) in response to the editing instruction from the terminal device T1 (step S12). In the editing process, an example sentence prepared in the document creation support system S (for example, an example sentence presented in the review process) can be added to the data to be edited based on the editing instruction.
[0096] The browser unit 42 of the terminal device T1 displays the document editing screen (the edited document) based on the edited data and the edit screen information (step S13).
[0097] The processes from step S11 to step S13 are repeatedly executed every time an editing instruction is issued by the operator.
[0098] In response to the user's operation of the edit completion button, the first control unit 117 of the information processing device 10 executes an edit completion process and transmits an edit completion instruction to the information processing device 10 (step S14). At this time, the browser unit 42 transmits the edit completion instruction to the information processing device 10 together with the uuid (Universal Unique Identifier) in the URL acquired in step S9.
[0099] The reverse conversion processing unit 114 of the information processing device 10 receives a download instruction including the uuid from the terminal device T1, and in response to the instruction, performs a reverse editing conversion process to generate support target document data (document data for storage) in DOCX format (step S15).
[0100] 9 is a flowchart showing an example of the flow of the reverse editing conversion process executed by the reverse conversion processing unit 114 according to the embodiment. Specific details of the editing conversion process executed by the reverse conversion processing unit 114 will be described with reference to FIG.
[0101] As shown in FIG. 9, the inverse conversion processing unit 114 performs a conversion process (inverse second conversion process) that is the inverse of the second conversion process on the edited editing data, and generates a group of DEIs in JSON format (step S150).
[0102] The inverse conversion processing unit 114 executes a first inverse conversion process to generate a set of DEIs in XML format from a set of DEIs in JSON format (step S151).
[0103] The inverse conversion processing unit 114 associates (integrates) the DEIs in XML format obtained by the first inverse conversion process with the DRIs in XML format extracted in step S81, and generates XML document data including the DEIs and the DRIs. The DRIs in XML format extracted in step S81 can be obtained using the uuids obtained in step S16 (step S152).
[0104] The inverse conversion processing unit 114 compresses the XML format document data including the DEI group and the DRI group, and generates support target document data in DOCX format (step S153).
[0105] Returning to FIG. 7, the first control unit 117 of the information processing device 10 transmits the support target document data (document data for storage) in DOCX format after the edit process to the terminal device T1 (step S16).
[0106] In response to the operation of the download button input by the user, the browser unit 42 of the terminal device T1 transmits an instruction to download the support target document data in the DOCX format after the edit process to the information processing device 10 (step S17).
[0107] The browser unit 42 of the terminal device T1 receives the support target document data in DOCX format after the edit process from the information processing device 10, and stores it in the second storage unit 44 (step S18).
[0108] The first control unit 117 of the information processing device 10 stores the support target document data in DOCX format after the edit process in the first storage unit 119 (step S19).
[0109] In step S19, the support target document data in DOCX format after editing may be overwritten on the support target document data in DOCX format before editing that was uploaded in step S4. Also, the support target document data in DOCX format before editing that was uploaded in step S4 and the support target document data in DOCX format after editing may be saved as separate data (for example, data of different versions).
[0110] Alternatively, a URL that allows access to the edited document data may be issued without downloading the document data. The downloading terminal may be a terminal different from the terminal that performed the editing, and the download may be performed by a user in another department who requests the legal department to review the contract or by the other party in contract negotiations.
[0111] As described above, the information processing apparatus according to the embodiment includes at least one memory, such as a main memory device 13 and an auxiliary memory device 15, and at least one processor, such as a processor 11. The acquisition unit 111 implemented by the processor 11 acquires support target document data as first document data, for example, in DOCX format, from a user terminal, such as a terminal device T1, via a network. The conversion processing unit 113 implemented by the processor 11 extracts, from the support target document data, a DEI group as a first data group required for editing processing and a DRI group as a second data group not required for editing processing. The terminal device T1 executes editing processing using editing data based on the DEI group. The inverse conversion processing unit 114 implemented by the processor 11 generates support target document data in XML format using the edited DEI group and the extracted DRI group, and then converts the generated support target document data to generate second document data in DOCX format.
[0112] The post-edit DOCX-format support target document data includes not only the post-edit DEIs but also the extracted DRIs. Therefore, post-edit DOCX-format support target document data without missing image files or setting files such as character spacing can be provided to the user, preventing errors caused by missing settings XML data, for example. As a result, in document creation support using an online editor, a more appropriate post-edit document can be created and provided to the user than in the past. Furthermore, the editing process is performed using editing data based on the DEIs (and does not include DRIs). This reduces the load of the editing process on the browser. Furthermore, the editing process is performed using editing data that does not include DRIs unnecessary for editing. This reduces the likelihood of problems occurring during the editing process.
[0113] The DEIs may also include at least document XML data, and may further include numbering XML data, comments XML data, and comments Extended XML data.
[0114] Therefore, even if images are included in the DOCX format document data to be supported, the DEI group does not include the image data, which can prevent errors caused by images included in the document data to be supported in the online editor.
[0115] In addition, the support target document data in the DOCX format after editing as the second document data can also be transmitted to the terminal device T1.
[0116] Therefore, the user can save the edited document data in the DOCX format without missing any image files or setting files such as character spacing in his / her own terminal device T1.
[0117] In addition, in the editing process, editing data in a JSON file format as third document data to be displayed on the browser screen of the terminal device T1 can be generated based on the DEIs, and the editing data can be transmitted to the terminal device T1. Also, the editing data can be edited in response to an instruction from the terminal device T1, and the edited and updated editing data can be reverse-converted for editing to generate edited DEIs.
[0118] Therefore, the user can use editing data in JSON file format based on DEI groups to perform the desired editing process with a lighter load than before.
[0119] Furthermore, the support target document data in DOCX format before editing as the first document data and the support target document data in DOCX format after editing as the second document data (i.e., document data for storage) can be stored separately.
[0120] In addition, a group of DRIs may be obtained as a second group of data based on identifier information transmitted from the terminal device T1, and the obtained group of DEIs and the edited group of DEIs may be used to generate edited document data to be supported in DOCX format (i.e., document data to be saved).
[0121] In addition, in the editing process, example sentences prepared in the document creation support system S can also be added to the DEI group, which is the first data group.
[0122] The information processing program according to the embodiment enables a computer to acquire first document data in a predetermined file format from a user terminal via a network, extract from the first document data a first group of data required for editing processing and a second group of data not required for editing processing, perform editing processing using the first group of data, and generate second document data in a predetermined file format using the edited first group of data and the second group of data.
[0123] An information processing method according to an embodiment includes acquiring first document data in a predetermined file format from a user terminal via a network, extracting from the first document data a first group of data required for editing processing and a second group of data not required for editing processing, performing editing processing using the first group of data, and generating second document data in a predetermined file format using the edited first group of data and the second group of data.
[0124] (Variation 1) In the above embodiment, the case where one user edits the editing data generated in the editing conversion process using terminal device T1 has been exemplified. However, the editing data generated in the editing conversion process can also be edited by multiple users P1 to PN using multiple terminal devices, such as terminal device T1, terminal device T2, ..., terminal device TN. In such a case, for example, edited DOCX format support target document data can be generated for each terminal device (or each user), and each can be saved and managed as a different version.
[0125] (Variation 2) In the indent replacement process according to the embodiment described above, the editing process is executed on the user terminal T1, but it may also be executed on the information processing device 10. Also, the editing process is executed in response to a user instruction, but it may also be executed automatically, for example, on the information processing device 10 or the user terminal T1, without being based on a user instruction. Also, the information processing device 10 converts the data format of the document data into, for example, the JSON format in response to an instruction to start editing from the terminal device T1, but this format conversion may be executed at a timing when editing is possible.
[0126] (Variation 3) In the above embodiment, the flow of editing processing, etc., including displaying a preview screen of the support target document has been described as an example. However, displaying a preview screen of the support target document is not essential, and the preview screen display of the support target document may be omitted, and the user may receive the editing data and immediately execute the editing processing.
[0127] (Variation 4) Some or all of the devices in the above-described embodiments may be configured with hardware, or may be configured with information processing software (programs) executed by a CPU, a GPU, etc. Furthermore, in the above-described embodiments, when multiple storage devices store data, each of the multiple storage devices may store only a portion of the data, or may store the entire data.
[0128] Although the embodiments of the present disclosure have been described in detail above, these embodiments are presented as examples and are not intended to be limiting. Each embodiment can be modified by various additions, changes, substitutions, partial deletions, combinations, etc., without departing from the technical spirit of the present invention. These embodiments and their modifications are included in the scope of the invention described in the claims and their equivalents.
[0129] 10 Information processing device 11, 21 Processor 13, 23 Main storage device (memory) 15, 25 Auxiliary storage device (memory) 17, 27 Network interface 18, 28 Device interface 19, 29 Bus 30 Display device 31 Input device 40 Second control unit 42 Browser unit 44 Second storage unit 111 Acquisition unit 112 Analysis unit 113 Conversion processing unit 114 Inverse conversion processing unit 115 Editing processing unit 117 First control unit 119 First storage unit S Document creation support system T1 to TN Terminal devices P1 to PN User N Network
Claims
1. An information processing method comprising: acquiring first document data in a specified file format from a user terminal via a network; extracting from the first document data a first group of data required for editing processing and a second group of data not required for editing processing; executing editing processing using the first group of data; and generating second document data in the specified file format using the first group of data and the second group of data after editing.
2. The information processing method according to claim 1, wherein the predetermined file format is a DOCX file format.
3. The information processing method according to claim 2, wherein the first data group includes at least document XML data.
4. The information processing method according to claim 2, wherein the first data group further includes numbering XML data, comments XML data, and comments Extended XML data.
5. The information processing method according to claim 1 or 2, further comprising transmitting the second document data to the user terminal.
6. The information processing method according to claim 1 or 2, further comprising: generating third document data to be displayed on a browser screen of the user terminal based on the first data group in the editing process; and transmitting the third document data to the user terminal.
7. The information processing method according to claim 6, further comprising the steps of: editing the third document data in response to an instruction from the user terminal; and generating the first data group after editing based on the edited third document data.
8. The information processing method according to claim 6, wherein the third document data is configured in a JSON file format.
9. The information processing method according to claim 1, wherein the editing process is started in response to an instruction from the user terminal.
10. The information processing method according to claim 1 or 2, further comprising: storing the first document data and the second document data separately.
11. An information processing method as described in claim 1 or 2, further comprising the steps of: acquiring the second data group based on identifier information transmitted from the user terminal; and generating the second document data using the acquired second data group and the first data group after editing.
12. The information processing method according to claim 1 or 2, wherein the editing process includes adding example sentences prepared in a document creation support system to the first data group.
13. An information processing device comprising at least one memory and at least one processor, wherein the at least one processor acquires first document data configured in a predetermined file format from a user terminal via a network, extracts from the first document data a first group of data required for editing processing and a second group of data not required for editing processing, performs editing processing using the first group of data, and generates second document data configured in the predetermined file format using the first group of data and the second group of data after editing.
14. An information processing program for causing a computer to perform the following steps: acquire first document data in a specified file format from a user terminal via a network; extract from the first document data a first group of data required for editing processing and a second group of data not required for editing processing; execute editing processing using the first group of data; and generate second document data in the specified file format using the first group of data and the second group of data after editing.
Citation Information
Patent Citations
Document converting device, document converting program, and document converting method
JP2019008566A
Methods and apparatus for supporting the display and editing of ooxml document content using a web browser
US20200293609A1
