Document data tracing method and device, electronic equipment, medium and system
By displaying the document and its data source, users can intuitively understand the data basis of document generation, solve the problem of invisible document generation process, and improve the evaluation of document accuracy and quality.
Patent Information
- Application Number
- CN202311814328.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult for users to judge the accuracy of the generated document and the writing effect of the writing system, because the document generation process is invisible and cannot trace the source of the data.
Provide a method for document data traceability, displaying the generated target documents, and responding to user selections, displaying the target data source related to the target content, allowing users to view and switch data sources, and intuitively understand the data basis.
Make the document generation process more transparent and the data source can be traced. Users can intuitively evaluate the accuracy of content and improve their confidence in document quality.
Smart Images

Figure CN118568273A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a document data tracing method and device, electronic equipment, medium and system. Background Art
[0002] With the development of computer technology, some assisted writing or automated writing systems can help people improve the efficiency of content writing, for example, they can generate a variety of text content, including articles, stories, etc. Generally speaking, these assisted writing or automated writing systems need to refer to some existing materials or information to generate the documents required by users. In this process, the conversion from existing materials or information to the required documents is the core of the writing system, which directly affects the quality of the final generated document content.
[0003] However, since the document generation process of the writing system, or the conversion process of materials and data, is invisible to users, after the document is generated, it is difficult for users to judge the accuracy of the current document content, and it is also difficult to evaluate the writing effect of the writing system. Summary of the invention
[0004] Exemplary embodiments of the present disclosure may solve at least the above problems.
[0005] According to a first aspect of the present disclosure, a document data tracing method is provided, the data tracing method comprising: displaying a generated target document, wherein the target document is generated based on at least one data source; in response to a user selecting target content in the target document, displaying a target data source related to the target content; in response to a user selecting any target data source from the target data sources, displaying to the user content related to the target content in the selected target data source.
[0006] Optionally, the display of the generated target document includes: displaying the target document and a data traceability control in different columns within the same window, wherein the data traceability control is used to guide the user to trace the data of the content in the target document, and the data traceability control displays a traceability prompt, and the traceability prompt indicates to the user the currently traceable content and the method of selecting the currently traceable content.
[0007] Optionally, the target data source related to the target content is displayed in the following manner: in response to a user selecting the target content in the target document, a display style of the target content in the target document is changed, and the target data source is displayed in parallel with the target document.
[0008] Optionally, the target data source is multiple data sources, wherein the target data sources are displayed in the following manner: displaying the target document and the target data source in different columns within the same window; displaying multiple tabs in the column of the target data source, wherein the multiple tabs correspond one-to-one to the multiple data sources.
[0009] Optionally, the content related to the target content in the selected target data source includes multiple associated contents, wherein the content related to the target content in the selected target data source is displayed to the user in the following manner: in the selected target data source, the current associated content among the multiple associated contents is displayed in a first style, the other associated contents among the multiple associated contents are displayed in a second style, and the other content in the selected target data source is displayed in a third style; in response to receiving a switch operation of the user on the current associated content, the previous associated content or the next associated content of the current associated content is displayed in the first style, and the current associated content and the other associated contents among the multiple associated contents are displayed in the second style.
[0010] Optionally, in response to the user selecting the target content in the target document, displaying the target data source related to the target content includes: in response to receiving the custom content input by the user, searching the target content in the target document, and in response to the user selecting any one of the found custom content, querying the at least one data source for a target data source related to the any one of the custom content, and displaying the target data source; and / or, in response to receiving the user selecting preset editable content in the target document, querying the at least one data source for a target data source related to the editable content, and displaying the target data source.
[0011] Optionally, the data tracing method further includes: in response to a user accessing a document material library for storing generated historical documents, displaying historical documents in the document material library to the user, and displaying brief information of a data source associated with each historical document.
[0012] Optionally, the data tracing method also includes: in response to receiving a user's access request to any historical document, displaying detailed contents of relevant data sources associated with the historical document to the user in the form of a floating window, wherein, if there are multiple relevant data sources, multiple tabs are displayed in the floating window, and each tab corresponds to a relevant data source.
[0013] Optionally, the data tracing method also includes: in response to receiving a user operation of querying a keyword in the relevant data source, searching for the keyword in the floating window and highlighting the found keyword; in response to receiving a switch operation of the user on the found keyword, jumping from the current keyword to the previous keyword or the next keyword.
[0014] Optionally, the target document is generated in the following manner: obtaining a writing template for generating the target document, displaying the writing template and a writing guide control for writing to the writing template to a user, wherein the writing template includes editable fields to be edited, and the writing guide control is used to guide the user to write to the writing template; in response to receiving an interactive operation of the user on the writing guide control, determining writing materials for filling the editable fields; and filling the editable fields in the writing template based on the writing materials to generate the target document.
[0015] According to a second aspect of the present disclosure, a data tracing device for a document is provided, the data tracing device comprising: a document display unit, configured to display a generated target document, wherein the target document is generated based on at least one data source; a data source display unit, configured to display a target data source related to the target content in response to a user selecting a target content in the target document; and a content display unit, configured to display to the user content related to the target content in the selected target data source in response to a user selecting any target data source from the target data sources.
[0016] Optionally, the document display unit is further configured to: display the target document and the data traceability control in different columns within the same window, wherein the data traceability control is used to guide the user to trace the data of the content in the target document, and the data traceability control displays a traceability prompt, and the traceability prompt indicates to the user the currently traceable content and the method of selecting the currently traceable content.
[0017] Optionally, the data source display unit is configured to display a target data source related to the target content in the following manner: in response to a user selecting the target content in the target document, changing a display style of the target content in the target document, and displaying the target data source in parallel with the target document.
[0018] Optionally, the target data source is multiple data sources, wherein the data source display unit is further configured to display the target data source in the following manner: displaying the target document and the target data source in different columns within the same window; displaying multiple tabs in the column of the target data source, wherein the multiple tabs correspond one-to-one to the multiple data sources.
[0019] Optionally, the content related to the target content in the selected target data source includes multiple associated contents, wherein the content display unit is configured to display the content related to the target content in the selected target data source to the user in the following manner: in the selected target data source, display the current associated content among the multiple associated contents in a first style, display other associated contents among the multiple associated contents in a second style, and display other content in the selected target data source in a third style; in response to receiving a user's switching operation on the current associated content, display the previous associated content or the next associated content of the current associated content in the first style, and display the current associated content and other associated content among the multiple associated contents in the second style.
[0020] Optionally, the data source display unit is further configured to: in response to receiving custom content input by a user, search for the custom content in the target document, and in response to the user selecting any custom content found, query the at least one data source for a target data source related to the any custom content, and display the target data source; and / or, in response to receiving a user selecting preset editable content in the target document, query the at least one data source for a target data source related to the editable content, and display the target data source.
[0021] Optionally, the data tracing device also includes a historical document tracing unit, which is configured to: in response to a user accessing a document material library for storing generated historical documents, display historical documents in the document material library to the user, and display brief information of the data source associated with each historical document.
[0022] Optionally, the historical document tracing unit is also configured to: in response to receiving a user's access request for any historical document, display to the user detailed contents of the relevant data source associated with the historical document in the form of a floating window, wherein, when there are multiple relevant data sources, multiple tabs are displayed in the floating window, and each tab corresponds to a relevant data source.
[0023] Optionally, the historical document tracing unit is also configured to: in response to receiving a user operation of querying a keyword in the relevant data source, search for the keyword in the floating window and highlight the found keyword; in response to receiving a switch operation of the user on the found keyword, jump from the current keyword to the previous keyword or the next keyword.
[0024] Optionally, the target document is generated in the following manner: obtaining a writing template for generating the target document, displaying the writing template and a writing guide control for writing to the writing template to a user, wherein the writing template includes editable fields to be edited, and the writing guide control is used to guide the user to write to the writing template; in response to receiving an interactive operation of the user on the writing guide control, determining writing materials for filling the editable fields; and filling the editable fields in the writing template based on the writing materials to generate the target document.
[0025] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor executable instructions, when executed by the processor, prompt the processor to execute the document data tracing method according to an embodiment of the present disclosure.
[0026] According to a fourth aspect of the present disclosure, a computer-readable storage medium storing instructions is provided. When the instructions are executed by at least one computing device, the at least one computing device is prompted to execute the document data tracing method described in the embodiments of the present disclosure.
[0027] According to a fifth aspect of the present disclosure, a system is provided comprising at least one computing device and at least one storage device storing instructions, wherein when the instructions are executed by the at least one computing device, the at least one computing device is prompted to execute the document data tracing method according to an embodiment of the present disclosure.
[0028] According to the data tracing method and device, electronic device, medium and system of the document of the exemplary embodiment of the present disclosure, it is possible to display the target content in the target document of interest to the user and the data source related to the target content in response to the user's selection, and can allow the user to view the part related to the target content in any data source, so that the user can intuitively understand the data basis of the target content of interest to the user and judge the accuracy of the content in time, so that the document generation process is more transparent and reliable, and the data source can be traced, so that the user can be more assured of the document quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] These and / or other aspects and advantages of the present disclosure will become clear and more easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0030] Figure 1 is a flowchart illustrating a data provenance method of a document according to an exemplary embodiment of the present disclosure.
[0031] Figure 2It is a schematic diagram showing an interface of a data tracing control in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0032] Figure 3 It is a schematic diagram showing an example interface for displaying a data source in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0033] Figure 4 It is a schematic diagram showing another example interface for displaying a data source in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0034] Figure 5 The present invention is a flowchart showing steps of displaying contents related to target contents in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0035] Figure 6 It is a schematic diagram showing an interface for viewing related materials of a target document in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0036] Figure 7 It is a schematic diagram showing detailed contents of viewing relevant materials of a target document in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0037] Figure 8 It is a schematic diagram showing downloading relevant information of a target document in a data tracing method of a document according to an exemplary embodiment of the present disclosure.
[0038] Fig. 9 and Fig.10 It is a schematic diagram showing an interface for displaying multiple related materials of a target document in a document data tracing method according to an exemplary embodiment of the present disclosure.
[0039] Fig.11 The present invention is a flowchart showing steps of generating a target document in a document data provenance method according to an exemplary embodiment of the present disclosure.
[0040] Fig.12 is a block diagram illustrating a data provenance apparatus for a document according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the embodiments of the present disclosure as defined by the claims and their equivalents. Various specific details are included to assist in understanding, but these details are considered to be exemplary only. Therefore, one of ordinary skill in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and structures are omitted for clarity and brevity.
[0042] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.
[0043] The following describes, with reference to the accompanying drawings, a document data tracing method, a document data tracing device, an electronic device, a computer-readable storage medium, and a system including at least one computing device and at least one storage device for storing instructions according to exemplary embodiments of the present disclosure.
[0044] It is worth noting that before the present disclosure, since the document generation process of the writing system, or the conversion process of materials and data, is invisible to users, after the document is generated, it is difficult for users to judge the accuracy of the current document content, and it is also difficult to evaluate the writing effect of the writing system.
[0045] In view of this, in a first aspect, an exemplary embodiment of the present disclosure proposes a data provenance method for a document to at least solve one of the problems in the related art.
[0046] The execution subject of the data tracing method of a document according to an exemplary embodiment of the present disclosure may be any type of electronic device capable of performing data tracing. For example, the electronic device may be loaded with a document data tracing system, and the user may interact with the document data tracing system to request data tracing for the content in the target document. The document data tracing system may perform the following steps: displaying a generated target document, wherein the target document is generated based on at least one data source; in response to the user selecting the target content in the target document, displaying the target data source related to the target content; in response to the user selecting any target data source from the target data sources, displaying the content related to the target content in the selected target data source to the user. The above-mentioned electronic device may be, but is not limited to, a desktop computer, a laptop computer, a tablet computer, a personal digital assistant, a smart phone or other device capable of performing page generation.
[0047] Figure 1 FIG. 1 is a flow chart showing a method for tracing the data provenance of a document according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the data tracing method may include the following steps:
[0048] In step S110, the generated target document may be displayed.
[0049] Here, the target document can be generated based on at least one data source. Specifically, the target document can be a document related to at least one data source. As an example, a document can be generated based on at least one data source through any intelligent writing method. For example, these data sources can be used as writing materials to generate documents by intelligently filling in writing templates. However, the embodiments of the present disclosure are not limited to this. The target document can also be generated by any other method, or the document can be generated based on the data source through other automated writing or assisted writing methods, and the data source is associated with the document to execute the data tracing method described in the embodiments of the present disclosure. An example of generating a target document according to an embodiment of the present disclosure will be described in detail later.
[0050] In addition, the target document can be generated in the data traceability system or in other systems connected to the data traceability system, so that the data traceability system can obtain the target document and its related data sources, and can obtain the correlation between the document content and each data source. For example, after the template filling is completed in smart writing, the user can be prompted to check the data traceability of the smart filling result; or, the target document and its related data source can also be imported or specified by the user. The data traceability system can parse the document and its data source when the user imports or specifies the target document to obtain the correlation between the document content and the data source.
[0051] In step S110, the generated target document may be displayed in the following manner: the target document and the data traceability control may be displayed in different columns in the same window.
[0052] Here, the data traceability control can be used to guide the user to trace the data of the content in the target document. The data traceability control can display a traceability prompt, which can indicate to the user the current traceable content and the method of selecting the current traceable content.
[0053] As an example, the data traceability control can provide the user with an entry for data traceability of the target content. Here, data traceability can be understood as finding the source of data or finding related information. In an embodiment of the present disclosure, based on the association between the acquired or parsed document content and the data source, the user can be prompted in the traceability prompt of the content that can be traced in the target document, such as prompting the document content that is associated with one or more data sources. Here, the data source can be, for example, the writing material used to generate the target document, or it can be other related information.
[0054] For example, Figure 2 As shown, the target document and data traceability controls can be displayed in the same window in the form of left and right columns. For example, Figure 2 The left side of the document display bar is Figure 2 The right side of is the traceability display bar, where the user can be prompted in the data traceability control to "click the field for traceability".
[0055] Through the above method, users can view the target document and data traceability controls at the same time to more intuitively compare the traced content and related data sources, making it easier to check the accuracy of the data.
[0056] In step S120 , in response to the user selecting the target content in the target document, a target data source related to the target content may be displayed.
[0057] For example, Figure 3 As shown, for the target content "personal account", by tracing the source of the content, it can be determined that its information source involves 5 data sources, namely data source 1, data source 2, data source 3, data source 4 and data source 5.
[0058] In addition, as an example, in this step, the target data source related to the target content can be displayed in the following manner: in response to the user selecting the target content in the target document, the display style of the target content in the target document is changed, and the target data source is displayed in parallel with the target document.
[0059] For example, Figure 3 As shown, when the user selects the target content "Personal Account" and wants the data traceability control to display its target data source, the style of the target content can be changed while displaying the target data source, that is, the style of the target content can be different from the style of other unselected content in the target document to prompt the user to which content the currently displayed data source is traced.
[0060] In addition, when the data traceability control is activated (for example, when the target document and the data traceability control are displayed in the same window), when the user switches from selecting a target content (for example, "personal account") to selecting another target content (for example, "Zhang San"), the target data source displayed in the traceability display bar can be switched, for example, from displaying the target data source corresponding to the target content "personal account" to displaying the target data source corresponding to the target content "Zhang San", so that the target document and target data source displayed in the same window correspond to each other.
[0061] As an example, the styles described herein may include, but are not limited to, color, highlight, font, etc., and different styles may be distinguished in color, highlight and / or font.
[0062] In addition, if Figure 3As shown, the target data source can be multiple data sources. In this case, the target data source can be displayed in the following ways: display the target document and the target data source in different columns in the same window; display multiple tabs in the column of the target data source, wherein the multiple tabs correspond one-to-one to the multiple data sources.
[0063] Through the above display method, users can view the target content and the corresponding target data source more intuitively and quickly, thereby improving the user's verification efficiency of the target document content.
[0064] In addition, in step S120, according to the content generation method of the target document or the source of the content, the user may be allowed to select the target content in different ways.
[0065] In one example, in response to receiving a user selecting preset editable content in a target document, a target data source related to the editable content may be queried in at least one data source, and the target data source may be displayed.
[0066] In this example, the target document can be generated based on a writing template containing editable fields. During the generation process, the intelligent writing system or the automated writing system can fill the editable fields in the writing template based on the writing materials specified by the user or preset to replace the content at the editable fields. The replaced content can be the above-mentioned editable content. In this example, the editable field corresponding to the editable content "personal account" can be, for example, "{{account type}}". During the writing process, based on the writing materials provided by the user (for example, the information form filled out by the customer, etc.), the field value corresponding to "{{account type}}" can be extracted from the materials, that is, the above-mentioned editable content "personal account", and filled into the corresponding position. In the target data source display process described in this step, the writing materials used to determine the target content "personal account" can be displayed to the user as the target data source to establish the association between the target content and the data source. In this way, the process or basis of generating the target content can also be displayed to the user, so as to realize the transparency of data conversion and ensure the reliability and security of information.
[0067] Alternatively or additionally, in another example, in response to receiving custom content input by the user, the custom content may be searched in the target document, and in response to the user selecting any custom content found, a target data source related to any custom content may be queried in at least one data source, and the target data source may be displayed.
[0068] Specifically, users can search for custom content in the target document. When users find custom content somewhere, they can request the data traceability control to trace it. The data traceability control can find the data source related to the custom content based on the relevance between the target document and the data source, and display the data source. Here, the custom content can be the editable content described above, or other content in the target document. When the data traceability control fails to find the relevant target data source, it can prompt the user that the relevant data source has not been traced.
[0069] In addition, according to an embodiment of the present disclosure, traceable content, such as the above-mentioned editable content, may be displayed in a target document in a highlighted manner or in a manner different from other content styles.
[0070] Through the above method, more traceability methods can be provided to users, and users can quickly trace data according to the target content selected as the editable field.
[0071] In addition, in the embodiments of the present disclosure, the traceable data source may include content in the form of tables, pictures, text, etc., all of which may be displayed in the traceability display column. Figure 3 In the example, the pictures and text in data source 1 can be displayed; Figure 4 In the example, the table in data source 2 can be displayed.
[0072] In step S130 , in response to the user selecting any target data source from the target data sources, content related to the target content in the selected target data source may be displayed to the user.
[0073] When the target data source is determined, the user can view the specific content in the target data source. For example, the content related to the target content in the target data source can be displayed in a highlighted manner, for example, the display style of the related content can be different from other irrelevant content in the target data source.
[0074] As Figure 3 and Figure 4 For example, when the target content corresponds to multiple data sources, the user can choose to view data source 1 or data source 2. In response to the user selecting the corresponding data source, the content related to the target content in the data source can be displayed, and the related content can be displayed in a manner different from other content, for example, in Figure 3 In , the content related to the target content is the content in areas 310, 320, 330 and 340; Figure 4 In the example, the content related to the target content is the content in area 410 .
[0075] In addition, according to an embodiment of the present disclosure, in some cases, the target content may be generated based on multiple associated contents in a target data source or may be related to multiple associated contents. In this case, the content related to the target content in the target data source selected by the user may include multiple associated contents, such as Figure 3 The situation shown.
[0076] In this example, if Figure 5 As shown, the content related to the target content in the selected target data source can be displayed to the user in the following ways:
[0077] In step S510, in the selected target data source, the current associated content among the multiple associated contents may be displayed in a first style, other associated contents among the multiple associated contents may be displayed in a second style, and other contents in the selected target data source may be displayed in a third style.
[0078] Specifically, users can view each related content one by one. Figure 3 For example, the associated content currently viewed by the user may be the content in area 320. In this case, the content in area 320 may be displayed in a first style, and the content in areas 310, 330, and 340 may be displayed in a second style. Other content in the data source that is not related to the target content (e.g., content outside areas 310, 320, 330, and 340) may be displayed in a third style.
[0079] In step S520, in response to receiving a user switching operation on the current associated content, the previous associated content or the next associated content of the current associated content may be displayed in a first style, and the current associated content and other associated contents in the plurality of associated contents may be displayed in a second style.
[0080] In this step, the user can view the previous or next related content according to actual needs, jump to the corresponding position in the traceability display bar, and display the jumped content in the first style, while displaying the originally viewed content in the second style.
[0081] Here, the switching operation can be performed by, for example, selecting a switching control in the page (for example, Figure 3 For example, the switching instruction may be input through an input device such as a mouse or keyboard, for example, the previous or next location may be viewed by sliding the mouse wheel up and down or by using the "up key" or "down key" on the keyboard.
[0082] Through the above method, the related content that the user is currently paying attention to, the related content that the user is not currently paying attention to, and other irrelevant content can be displayed separately to improve readability and facilitate users to quickly find content of interest.
[0083] The above describes the data tracing method according to the embodiment of the present disclosure, and demonstrates different tracing examples of the document display bar and the tracing display bar. In addition to the above examples, according to the embodiment of the present disclosure, data tracing can also be performed directly outside the document without accessing the document content.
[0084] For example, the data tracing method may also include: in response to a user accessing a document material library for storing generated historical documents, displaying historical documents in the document material library to the user, and displaying brief information of a data source associated with each historical document.
[0085] Specifically, one or more historical documents may be stored in the data traceability system or the system to which it is connected. These historical documents may be stored in a document library, and users may view brief information about these historical documents and related data sources in the document library.
[0086] For example, Figure 6 As shown, the user can view the file "456789" in the document material library, and the data sources associated with the file may include material 1, material 2, material 3, material 4, and material 5.
[0087] In this example, the data tracing method may also include: in response to receiving a user's access request to any historical document, displaying detailed content of relevant data sources associated with the historical document to the user in the form of a floating window.
[0088] Here, when there are multiple related data sources, multiple tabs are displayed in the floating window, and each tab corresponds to one related data source.
[0089] For example, Figure 7 As shown, when a user selects a historical document in the document library, a floating window can be popped up directly on the library interface, and the detailed content of the data source associated with the historical document can be displayed in the floating window. Here, the displayed content can include pictures, tables, text and other formats.
[0090] Furthermore, in the case where the historical document selected by the user is associated with multiple data sources, e.g. Figure 6 For the file "456789" in the floating window, multiple tabs can be displayed in the "View Data Page" window, and each tab corresponds to a data source. Figure 8As shown, data 1, data 2, data 3, data 4, and data 5 can be displayed in five tabs respectively. The user can select any tab to view the data source content according to actual needs.
[0091] Here, as an example, the floating window also supports users downloading a single document or batch downloading of multiple documents. For example, in response to the user's download request, the content of one or more data sources displayed in the current floating window can be downloaded.
[0092] Through the above method, the relevant data sources of the document can be directly found in the document material library, so that the document can be traced more conveniently, especially when the user is interested in the data source of the entire document and is not limited to the tracing of a specific content in the document. This tracing method is more advantageous and can enable users to quickly understand whether the overall content of the document is compatible with its relevant data sources, thereby improving the efficiency of evaluating the quality of document content.
[0093] In addition, in this example, in response to receiving a user operation of querying keywords in a related data source, keywords can be searched in a floating window and the found keywords can be highlighted; in response to receiving a switch operation of the user on the found keywords, the user can jump from the current keyword to the previous keyword or the next keyword.
[0094] Specifically, for the data source displayed in the floating window, the user can enter a keyword, for example, a keyword can be entered in the text input box in the floating window to query related content, and can jump to view content at different locations through a switching operation. The switching operation here can be implemented similarly to the switching operation described above, for example, through external hardware input or a switching control in the page.
[0095] In addition, when there are multiple relevant data sources for a document, in response to receiving a keyword input by the user, content or fragments related to the keyword can be searched in all relevant data sources, and the content and source of each fragment can be displayed in a floating window.
[0096] For example, still Figure 6 Take the file "456789" in as an example. Fig. 9 As shown, in response to receiving the keyword "data", content containing the keyword can be searched in documents 1 to 5, and related fragments can be found in documents 1, 2 and 3. In this case, the next level page "Search Results Display Page" of the "View Document Page" can be entered in the floating window to display all search results. The number of search results is displayed based on the document dimension, for example, related fragments in document 1, document 2 and document 3 are displayed, and the source of each fragment can be indicated, such as "Source: Document 1".
[0097] Here, in the search result display page, a view details option can be displayed for each search result. In response to the user selecting the view details option for any result, for example, selecting to view the detailed content of the relevant fragment of document 2, the next level page "search details display page" of the "search result display page" can be entered in the floating window (such as Fig.10 ), to show the user the detailed content of the segment (e.g., the entire paragraph or chapter of the segment). In this page, the user can also quickly jump to the previous or next keyword location for viewing through a switching operation, and the switching operation can be implemented similarly to the switching operation described above.
[0098] In the above example, whether in the search result display page or in the search details display page, the keywords can be highlighted to prompt the user the location of the keywords that interest the user.
[0099] Through the above method, after the user understands the data source of the entire document, the user can be further provided with a query on the specific content in the data source, so that the user can verify whether the document content is correct layer by layer.
[0100] Several examples of document data tracing are described above. An example process of generating a target document is given below.
[0101] like Fig.11 As shown, the target document can be generated in the following manner: in step S1110, a writing template for generating the target document can be obtained, and the writing template and a writing guide control for writing on the writing template can be displayed to the user, wherein the writing template includes editable fields to be edited, and the writing guide control is used to guide the user to write on the writing template; in step S1120, in response to receiving an interactive operation of the user on the writing guide control, writing materials for filling in the editable fields can be determined; in step S1130, the editable fields in the writing template can be filled based on the writing materials to generate the target document.
[0102] As an example, in step S1110, a writing template can be obtained in the following manner: in response to receiving a local document imported by a user, parsing the content of the local document and identifying replaceable content in the local document, wherein the replaceable content includes: replaceable content pre-marked in the local document; and / or replaceable content obtained through semantic analysis; based on the characteristics of each replaceable content, determining the editable fields corresponding to each replaceable content; replacing the corresponding replaceable content in the local document with the editable fields to generate a writing template.
[0103] As an example, in step S1110, the writing template may also be obtained in the following manner: in response to receiving a writing instruction from the user, displaying at least one candidate template to the user; in response to receiving a selection instruction from the user to select a candidate template, using the candidate template selected by the user as the writing template.
[0104] As an example, a writing guidance control may include a dialog box for guiding a user to write, the dialog box including at least one writing assistant option, each writing assistant option corresponding to a writing mode, and in step S1120, the writing material for filling in the editable field can be determined in the following manner: in response to the user selecting a target writing assistant from at least one writing assistant option, displaying an operation prompt corresponding to the target writing assistant to the user, wherein the operation prompt includes: the writing material required to fill in the editable field in the writing mode corresponding to the target writing assistant; in response to the user specifying the writing material related to the writing template, obtaining the writing material.
[0105] As an example, the writing guidance control may also include a material interface for guiding the user to specify writing materials. The material interface may include a floating component for the user to upload materials and / or a material selection interface linked to a preset material library. In step S1120, the writing material can be obtained in the following ways: in response to the user uploading materials through the floating component, the materials uploaded by the user are used as writing materials; and / or, in response to the user selecting at least one material from the preset material library through the material selection interface, the material selected by the user is used as the writing material.
[0106] As an example, the preset material library includes historically generated documents and preset materials. In step S1120, the material selected by the user can be used as writing material in the following ways: in response to the user selecting the material selection interface, the historically generated documents and preset materials are displayed to the user, and the content related to the editable fields in the historically generated documents and preset materials are highlighted; in response to the user selecting any historically generated document and / or any preset material, the historically generated document and / or preset material selected by the user is used as writing material.
[0107] As an example, the data tracing method may also include: receiving custom filling content input by a user in an editable field; and filling the corresponding editable field based on the custom filling content.
[0108] As an example, the data tracing method may also include: displaying editable fields that have not been filled in, editable fields filled based on writing materials, and editable fields filled based on custom filled content in different styles in the user interface.
[0109] As an example, the writing guidance control also includes an optimization dialog box for guiding users to optimize their writing. The data traceability method may also include: in response to receiving an optimization instruction for a document input by a user in the optimization dialog box, optimizing the currently generated document according to the genre of the writing template and utilizing preset writing rules corresponding to the genre, and displaying the optimization results; in response to receiving an import instruction from a user to import the optimization results into the currently generated document, updating the currently generated document based on the optimization results.
[0110] As an example, the data traceability method may also include: in response to a user selecting any filled editable field, displaying all data sources related to the filled editable field; in response to a user selecting any data source from the data sources, displaying the content related to the filled editable field in the data source selected by the user.
[0111] As an example, the data provenance method can be implemented based on a pre-trained large model.
[0112] In a second aspect, an exemplary embodiment of the present disclosure provides a data source tracing device for a document. Fig.12 is a block diagram showing a data source tracing device for a document according to an exemplary embodiment of the present disclosure. Fig.12 The data tracing device includes a document display unit 100, a data source display unit 200 and a content display unit 300.
[0113] The document display unit 100 is configured to display a generated target document, wherein the target document is generated based on at least one data source.
[0114] The data source display unit 200 is configured to display a target data source related to the target content in response to a user selecting the target content in the target document.
[0115] The content display unit 300, in response to the user selecting any target data source from the target data sources, displays the content related to the target content in the selected target data source to the user.
[0116] As an example, the document display unit 100 is also configured to: display the target document and the data traceability control in different columns within the same window, wherein the data traceability control is used to guide the user to trace the data of the content in the target document, and the data traceability control displays a traceability prompt, which indicates to the user the currently traceable content and the method of selecting the currently traceable content.
[0117] As an example, the data source display unit 200 is configured to display a target data source related to the target content in the following manner: in response to a user selecting the target content in the target document, changing the display style of the target content in the target document, and displaying the target data source in parallel with the target document.
[0118] As an example, the target data source is multiple data sources, wherein the data source display unit 200 is further configured to display the target data source in the following manner: displaying the target document and the target data source in different columns within the same window; displaying multiple tabs in the column of the target data source, wherein the multiple tabs correspond one-to-one to the multiple data sources.
[0119] As an example, the content related to the target content in the selected target data source includes multiple associated contents, wherein the content display unit 300 is configured to display the content related to the target content in the selected target data source to the user in the following manner: in the selected target data source, display the current associated content among the multiple associated contents in a first style, display other associated contents among the multiple associated contents in a second style, and display other content in the selected target data source in a third style; in response to receiving a switching operation of the user on the current associated content, display the previous associated content or the next associated content of the current associated content in the first style, and display the current associated content and other associated content among the multiple associated contents in the second style.
[0120] As an example, the data source display unit 200 is further configured to: in response to receiving custom content input by a user, search for the custom content in the target document, and in response to the user selecting any custom content found, query at least one data source for a target data source related to any custom content, and display the target data source; and / or, in response to receiving a user selecting preset editable content in the target document, query at least one data source for a target data source related to the editable content, and display the target data source.
[0121] As an example, the data tracing device also includes a historical document tracing unit, which is configured to: in response to a user accessing a document material library for storing generated historical documents, display historical documents in the document material library to the user, and display brief information about the data source associated with each historical document.
[0122] As an example, the historical document tracing unit is also configured to: in response to receiving a user's access request for any historical document, display the detailed content of the relevant data source associated with the historical document to the user in the form of a floating window, wherein, when there are multiple relevant data sources, multiple tabs are displayed in the floating window, and each tab corresponds to a relevant data source.
[0123] As an example, the historical document tracing unit is also configured to: in response to receiving a user operation of querying keywords in a relevant data source, search for keywords in a floating window and highlight the found keywords; in response to receiving a user switch operation on the found keywords, jump from the current keyword to the previous keyword or the next keyword.
[0124] As an example, a target document is generated in the following manner: obtaining a writing template for generating the target document, displaying the writing template and a writing guide control for writing to the writing template to the user, wherein the writing template includes editable fields to be edited, and the writing guide control is used to guide the user to write to the writing template; in response to receiving an interactive operation of the user on the writing guide control, determining writing material for filling in the editable fields; and filling in the editable fields in the writing template based on the writing material to generate the target document.
[0125] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0126] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions, wherein the processor-executable instructions, when executed by the processor, prompt the processor to execute the document data tracing method described in an embodiment of the present disclosure.
[0127] According to a fourth aspect of the present disclosure, a computer-readable storage medium storing instructions is provided. When the instructions are executed by at least one computing device, the at least one computing device is prompted to execute the document data tracing method described in the embodiments of the present disclosure.
[0128] According to a fifth aspect of the present disclosure, a system is provided comprising at least one computing device and at least one storage device storing instructions, wherein when the instructions are executed by the at least one computing device, the at least one computing device is prompted to execute the document data tracing method according to an embodiment of the present disclosure.
[0129] Fig.12 Each unit in the data traceability device of the document shown can be configured as software, hardware, firmware or any combination of the above items to perform a specific function. For example, each unit may correspond to a dedicated integrated circuit, or to a pure software code, or to a module that combines software and hardware. In addition, one or more functions implemented by each unit may also be uniformly executed by components in a physical entity device (e.g., a processor, a client or a server, etc.).
[0130] In addition, refer to Figures 1 to 11The data tracing method of the document described can be implemented by a program (or instruction) recorded on a computer-readable storage medium. For example, according to an exemplary embodiment of the present disclosure, a computer-readable storage medium storing instructions can be provided, wherein when the instructions are executed by at least one computing device, the at least one computing device is prompted to execute the data tracing method of the document according to the present disclosure.
[0131] The computer program in the computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. It should be noted that the computer program can also be used to perform additional steps in addition to the above steps or perform more specific processing when performing the above steps. The contents of these additional steps and further processing have been described in reference to Figures 1 to 11 It is mentioned in the description of the related method, so it will not be repeated here to avoid repetition.
[0132] It should be noted that each unit in the data tracing device of a document according to the exemplary embodiment of the present disclosure can completely rely on the operation of a computer program to realize the corresponding function, that is, each unit corresponds to each step in the functional architecture of the computer program, so that the entire system is called through a special software package (for example, lib library) to realize the corresponding function.
[0133] on the other hand, Fig.12 The various units shown may also be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. When implemented by software, firmware, middleware, or microcode, the program code or code segment for performing the corresponding operation may be stored in a computer-readable medium such as a storage medium, so that the processor may perform the corresponding operation by reading and running the corresponding program code or code segment.
[0134] For example, an exemplary embodiment of the present disclosure may also be implemented as a computing device, which includes a storage component and a processor, wherein a set of computer-executable instructions is stored in the storage component. When the set of computer-executable instructions is executed by the processor, a data tracing method for a document according to an exemplary embodiment of the present disclosure is executed.
[0135] Specifically, the computing device can be deployed in a server or client, or can be deployed on a node device in a distributed network environment. In addition, the computing device can be a PC, a tablet device, a personal digital assistant, a smart phone, a web application, or other device capable of executing the above instruction set.
[0136] Here, the computing device is not necessarily a single computing device, but may also be any device or circuit collection that can execute the above instructions (or instruction sets) individually or jointly. The computing device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that is interconnected with a local or remote (e.g., via wireless transmission) interface.
[0137] In a computing device, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller, or a microprocessor. By way of example and not limitation, a processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.
[0138] According to the data provenance method of a document according to the exemplary embodiment of the present disclosure, some operations described in the method can be implemented by software, some operations can be implemented by hardware, and furthermore, these operations can also be implemented by a combination of software and hardware.
[0139] The processor may execute instructions or codes stored in one of the storage components, which may also store data. Instructions and data may also be sent and received over a network via a network interface device, which may employ any known transmission protocol.
[0140] The storage component may be integrated with the processor, for example, RAM or flash memory is arranged within an integrated circuit microprocessor, etc. In addition, the storage component may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The storage component and the processor may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor can read files stored in the storage component.
[0141] In addition, the computing device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the computing device may be connected to each other via a bus and / or a network.
[0142] The document data tracing method according to the exemplary embodiment of the present disclosure can be described as various interconnected or coupled functional blocks or functional diagrams. However, these functional blocks or functional diagrams can be equally integrated into a single logical device or operate according to non-exact boundaries.
[0143] Therefore, refer to Figures 1 to 11 The document data provenance method described may be implemented through a system including at least one computing device and at least one storage device storing instructions.
[0144] According to an exemplary embodiment of the present disclosure, at least one computing device is a computing device for executing a data provenance method for a document according to an exemplary embodiment of the present disclosure, and a computer executable instruction set is stored in the storage device. When the computer executable instruction set is executed by the at least one computing device, the execution reference Figures 1 to 11 The data provenance method of the document described.
[0145] The above describes various exemplary embodiments of the present disclosure, and it should be understood that the above description is only exemplary and not exhaustive, and the present disclosure is not limited to the disclosed exemplary embodiments. Without departing from the scope and spirit of the present disclosure, many modifications and changes are obvious to those of ordinary skill in the art. Therefore, the scope of protection of the present disclosure should be based on the scope of the claims.
Claims
1. A document data tracing method, characterized in that: The data tracing method comprises: Displaying a generated target document, wherein the target document is generated based on at least one data source; In response to a user selecting a target content in the target document, displaying a target data source related to the target content; In response to the user selecting any target data source from the target data sources, content related to the target content in the selected target data source is displayed to the user.
2. The data tracing method according to claim 1, characterized in that: The display of the generated target document includes: The target document and the data traceability control are displayed in different columns in the same window, wherein the data traceability control is used to guide the user to trace the data of the content in the target document, and the data traceability control displays a traceability prompt, and the traceability prompt indicates to the user the currently traceable content and the method of selecting the currently traceable content.
3. The data tracing method according to claim 1, characterized in that: Display target data sources related to the target content in the following ways: In response to a user selecting a target content in the target document, a display style of the target content in the target document is changed, and the target data source is displayed in parallel with the target document.
4. The data tracing method according to claim 3, characterized in that: The target data source is a plurality of data sources, wherein the target data source is displayed in the following manner: Displaying the target document and the target data source in different columns in the same window; A plurality of tab pages are displayed in the column of the target data source, wherein the plurality of tab pages correspond one-to-one to the plurality of data sources.
5. The data tracing method according to claim 1, characterized in that: The content related to the target content in the selected target data source includes a plurality of associated content, wherein the content related to the target content in the selected target data source is displayed to the user in the following manner: In the selected target data source, display the current associated content among the multiple associated contents in a first style, display other associated contents among the multiple associated contents in a second style, and display other contents in the selected target data source in a third style; In response to receiving a user switching operation on the current associated content, the previous associated content or the next associated content of the current associated content is displayed in the first style, and the current associated content and other associated contents in the multiple associated contents are displayed in the second style.
6. The data tracing method according to claim 1, characterized in that: In response to the user selecting the target content in the target document, displaying the target data source related to the target content includes: In response to receiving the custom content input by the user, searching the target document for the custom content, and in response to the user selecting any one of the found custom content, searching the at least one data source for a target data source related to the any one of the custom content, and displaying the target data source; and / or, In response to receiving a user selecting preset editable content in the target document, querying the at least one data source for a target data source related to the editable content, and displaying the target data source.
7. The data tracing method according to claim 1, characterized in that: The data tracing method further includes: In response to a user accessing a document material library for storing generated historical documents, the historical documents in the document material library are displayed to the user, and brief information of a data source associated with each historical document is displayed.
8. The data tracing method according to claim 7, characterized in that: The data tracing method further includes: In response to receiving a user's access request for any historical document, the detailed content of the relevant data source associated with the historical document is displayed to the user in the form of a floating window. In the case where there are multiple related data sources, multiple tabs are displayed in the floating window, and each tab corresponds to a related data source.
9. The data tracing method according to claim 8, characterized in that: The data tracing method further includes: In response to receiving a user operation of searching for a keyword in the relevant data source, searching for the keyword in the floating window and highlighting the found keyword; In response to receiving a user's switching operation on the found keyword, jumping from the current keyword to the previous keyword or the next keyword.
10. A document data tracing device, characterized in that: The data tracing device comprises: A document display unit, configured to display a generated target document, wherein the target document is generated based on at least one data source; a data source display unit, configured to display a target data source related to the target content in response to a user selecting the target content in the target document; The content display unit is configured to display the content related to the target content in the selected target data source to the user in response to the user selecting any target data source from the target data sources.
Citation Information
Patent Citations
Auxiliary writing method and device for standardizing content structure document
CN111553138A
Information display method and device, electronic equipment and storage medium
CN111859856A
Data query method and device, and readable storage medium
CN112559451A
Writing method and device, electronic equipment and storage medium
CN116561297A
Information processing method and device, equipment, storage medium and program product
CN116975437A
