Information processing method and device, readable storage medium and program product
By automatically locating form fields and electronic document content within the same display interface, the problem of low information retrieval efficiency in massive electronic documents is solved, achieving efficient and accurate cross-format data verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-07
AI Technical Summary
Searching for relevant information in massive amounts of electronic documents is inefficient, and existing technologies rely on manual operation, resulting in low efficiency and poor accuracy.
By simultaneously displaying electronic documents and forms on the same interface, and automatically locating form fields and electronic document content during user operations, a content generation relationship is established, enabling cross-format data verification.
It significantly improves the efficiency and accuracy of data verification, reduces the need for users to switch between multiple windows or tabs, and enhances the efficiency and accuracy of information comparison.
Smart Images

Figure CN121807858A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an information processing method, apparatus, readable storage medium, and program product. Background Technology
[0002] Electronic documents (such as Portable Document Format, PDF) serve as carriers of information and typically include information such as document titles, subheadings, and paragraphs. This information is usually unstructured, and when users are faced with a massive amount of electronic documents and try to find relevant information from them, the efficiency is low. Summary of the Invention
[0003] This disclosure provides an information processing method, apparatus, readable storage medium, and program product.
[0004] In a first aspect, embodiments of this disclosure provide an information processing method, comprising: displaying at least one of the following: a first form and a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; and further comprising at least one of the following:
[0005] In response to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, the first field in the first form is displayed in association, and the value of the first field is generated based on the first content;
[0006] In response to displaying the first form and receiving a second operation on the second field in the first form, the second content in the first electronic document is displayed in association, and the value of the second field is generated based on the second content.
[0007] Secondly, according to one or more embodiments of this disclosure, a content display method is provided, comprising:
[0008] The stored content generates an association relationship, which indicates that the first content is generated based on the second content, or that the second content is generated based on the first content;
[0009] Display the first content;
[0010] In response to a first operation on the first content, an association relationship is generated based on the content to obtain the second content;
[0011] The second content is displayed in association with the first content.
[0012] Thirdly, according to one or more embodiments of this disclosure, an information processing apparatus is provided, comprising:
[0013] The first display unit is configured to display at least one of the following: a first form and a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; and further includes at least one of the following:
[0014] The second display unit is configured to, in response to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, display the first field in the first form in association, wherein the value of the first field is generated based on the first content;
[0015] The third display unit is configured to respond to displaying the first form and receiving a second operation on the second field in the first form, and to display the second content in the first electronic document in association, wherein the value of the second field is generated based on the second content.
[0016] Fourthly, embodiments of this disclosure provide a content display device, including:
[0017] A storage unit is used to store content generation associations, wherein the associations indicate that first content is generated based on second content, or that second content is generated based on first content;
[0018] The fifth display unit is used to display the first content;
[0019] The third acquisition unit is configured to, in response to the first operation on the first content, generate an association relationship based on the content and acquire the second content;
[0020] The sixth display unit is used to display the second content in association with the first content.
[0021] Fifthly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;
[0022] The memory stores computer-executed instructions;
[0023] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method described in the first aspect above and various possible designs of the first aspect.
[0024] In a sixth aspect, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method described in the first aspect above and various possible designs of the first aspect.
[0025] In a seventh aspect, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect above and various possible designs of the first aspect.
[0026] This embodiment provides an information processing method, device, readable storage medium, and program product. The method displays forms and / or electronic documents related to the values of form fields. When operations are performed on the content of the electronic document, the view in the form automatically locates the field originating from that content; when operations are performed on the fields in the form, the view in the electronic document automatically locates the original text content that generated the field value. This provides a cross-format data verification mechanism. Users can trigger operations on documents or forms to generate a content association relationship between form content and document content, triggering the other party in the document and form to automatically locate and display the corresponding content. This replaces the tedious process of traditional manual searching and switching, significantly improving the efficiency and accuracy of data verification. Specifically, by generating the content association relationship, the generated content can be quickly verified based on the original content on which it is based, improving content accuracy. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 Flowchart of the information processing method provided in the embodiments of this disclosure Figure 1 ;
[0029] Figure 2 Flowchart of the information processing method provided in the embodiments of this disclosure Figure 2 ;
[0030] Figure 3 This is a schematic diagram of an application scenario;
[0031] Figure 4 This is a schematic diagram of an application scenario;
[0032] Figure 5 A structural block diagram of the information processing apparatus provided in the embodiments of this disclosure;
[0033] Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0035] In some application scenarios, there are a large number of electronic documents. To help users quickly understand the key content within these massive amounts of documents, computer assistance can be used. To improve efficiency, at least some of the data in the electronic documents can be converted into computer-manageable data.
[0036] In one example, the process of converting data from electronic documents into computer-operable data typically relies heavily on manual operation. For instance, one or more users read multiple electronic documents, manually locate and copy key fields based on their understanding, and then input them into spreadsheets. For multiple electronic documents requiring unified management, the first user also needs to manually construct a system form by referring to the content of the individual spreadsheets in each document, such as copying the content from multiple spreadsheets into a single system form. A second user can also repeatedly manually construct the aforementioned system form by referring to the content of multiple spreadsheets for dual-recording verification.
[0037] The system can compare the input from the first user and the input from the second user, and then verify the accuracy of the input from the two users.
[0038] In the above process, excessive human intervention leads to low efficiency, long processing times, and high costs. Furthermore, excessive human intervention can easily cause discrepancies between the final system forms and the original electronic documents, resulting in lower accuracy.
[0039] The solution provided in this disclosure assists users in efficiently and accurately completing the validation between system forms and documents through interactive methods such as two-way linkage.
[0040] Please refer to Figure 1 , Figure 1 Flowchart of the information processing method provided in this disclosure Figure 1 ,like Figure 1 As shown, the method includes the following steps:
[0041] S101: Display at least one of the following: a first form, a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document.
[0042] In this embodiment, the entity executing the information processing method can be an application client or server running on an electronic device. The aforementioned application can be various applications, such as an application client that can convert documents into forms.
[0043] The first form can include multiple preset fields, such as "start date", "asset principal balance", and "asset owner's identifier".
[0044] The values of multiple fields in the first form described above can be generated based on the content of at least one electronic document. If the at least one electronic document is a single electronic document, the values of multiple fields in the first form are generated based on the content of that electronic document.
[0045] If there are multiple electronic documents, these multiple electronic documents can be related electronic documents.
[0046] In one example, a portion of the original content (also known as the source text) from at least one electronic document can be used as field values to populate the corresponding fields in the first form, thus obtaining the first form.
[0047] In one example, at least a portion of the original content from an electronic document can be processed, and the values of the processed fields can be used to fill in the corresponding blank fields to obtain the first form. Processing the aforementioned portion of the original content may include, for example, calculating the values in the portion of the original content according to a preset formula, or summarizing the content of the portion of the original content.
[0048] In some application scenarios, the first form can be displayed. For example, the first form can be displayed when an open operation is performed based on its identifier.
[0049] In some application scenarios, the first electronic document can be displayed. For example, a trigger operation can be performed on the identifier corresponding to the first electronic document to display the first electronic document.
[0050] In one example, a first form and a first electronic document can be displayed based on the user's actions. These actions could, for example, be instructing the user to validate the first form.
[0051] In this example, if the quantity of at least one electronic document is one, that one electronic document is the first electronic document. The first form and the first electronic document can be displayed based on the user's validation operation on the first form.
[0052] If there are multiple electronic documents, the first electronic document can be any one of the multiple electronic documents. In one example, the first electronic document can be the electronic document associated with one or more fields currently displayed in the first form.
[0053] In some implementations, displaying the first form and the first electronic document includes:
[0054] The first electronic document is displayed in the first area of the display interface, and the first form is displayed in the second area of the display interface; there is no overlap between the first area and the second area.
[0055] Schematic representation: the first area and the second area can be, for example, two areas arranged horizontally on the display interface, or two areas arranged vertically on the display interface.
[0056] In these implementations, by simultaneously displaying the first form and the first electronic document in different areas of the same display interface, users can view the structured form data and the original document in parallel within the same view without switching between multiple windows or tabs. This improves the efficiency of information comparison and reduces the burden on users performing information comparisons. Furthermore, the fact that the two areas do not overlap ensures that operations on one area will not interfere with the visibility of the other.
[0057] S102: In response to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, the first field in the first form is displayed in association, and the value of the first field is generated based on the first content.
[0058] There is no logical order of execution between steps S102 and S103. Either step S102 or step S103 can occur.
[0059] The aforementioned client can display a first electronic document. Upon receiving a first operation performed on the first content in the first electronic document, it can display a first form and show the first field associated with the first content.
[0060] The first content here can be any content that generates the values of the fields in the first form. Users can perform the first operation described above on the first content to check whether the fields and values corresponding to the first content match the first content.
[0061] The first operation mentioned above can be any operation that can clearly point to a specific area in the electronic document. The first operation includes, but is not limited to, one or more of the following: clicking, hovering, double-clicking, or voice commands.
[0062] Upon receiving the user's first action, the aforementioned executing entity can position the displayed content of the first form to the first field associated with the first content. The value of the first field can be generated based on the aforementioned first content.
[0063] Taking the user clicking on the first content item "Start Date: October 10, 2025" on page 5 of the first electronic document as an example, after detecting the click event, the aforementioned executing entity can find the corresponding field in the first form based on the identifier of the first content and use that field as the first field. Then, it calculates the position of the first field in the scroll container of the first form and scrolls the displayed content of the first form to near the first field "Start Date", where the value of the first field is "October 10, 2025".
[0064] In some embodiments, step S102 above includes at least one of the following:
[0065] Display the first form in the associated area of the first area where the first electronic document is displayed;
[0066] Position the content of the first form to the first field;
[0067] Keep the first field displayed for a preset duration;
[0068] The first field is displayed in a first display style, which is different from the display style of the rest of the content displayed in the first form.
[0069] In some application scenarios, illustratively speaking, a first electronic document can be displayed in the first area of the display interface, and a first form can be displayed in an associated area of the first area. This associated area can be, for example, an adjacent area of the first area. By displaying the first form in an associated area of the first area displaying the first electronic document, it is convenient to display the first electronic document and the first form spatially adjacent, minimizing the user's visual scanning distance, helping to maintain the continuity of the user's contextual perception, facilitating comparative browsing, and improving efficiency.
[0070] In some application scenarios, upon receiving a first operation on the first content, a first form can be displayed, and the displayed content of the first form can be positioned in the first field. In one example, the aforementioned execution entity can, based on the relative positional relationship between the field currently displayed in the center of the display area and the first field, position the content displayed in the center of the first form's display area in the first field.
[0071] By automatically displaying the first form and locating the first field associated with the first content after receiving the first operation, it is easier for users to compare and check the value in the first field with the first content, thus improving efficiency.
[0072] In some application scenarios, upon receiving the first operation on the first content, a first form can be displayed, and the displayed content of the first form can be positioned at the first field. This first field is then displayed for a preset duration. In these scenarios, by maintaining the display of the first field corresponding to the first content for a preset duration, the correlation between document content and form fields can be strengthened from a time perspective, facilitating user comparison and checking of form field content.
[0073] In some application scenarios, after receiving the first operation on the first content, a first form can be displayed, and the first field can be displayed in a first display style. This first display style may include, for example, highlighting the first field (e.g., adding a background color different from the rest of the first form), or configuring the font and / or font color of the data in the first field to be different from the rest of the first form. Another example is a short-term blinking border on the first field without user intervention. For instance, adding a blinking border to the first field for 2 seconds.
[0074] In these application scenarios, by displaying fields related to the document content in a differentiated style within the form, user attention is drawn through this style, providing visual guidance from the document to the form. This allows users to quickly find fields associated with the primary content within the form, thereby improving efficiency.
[0075] In these implementations, the correlation between document content and form fields is strengthened through various enhancement methods, such as displaying forms in association with the electronic document display area, automatically scrolling to the target field, displaying fields with differentiated styles, and maintaining the display for a certain period of time. This ensures that users can quickly and unambiguously understand the correspondence between the document and the form.
[0076] S103: In response to displaying the first form and receiving a second operation on the second field in the first form, display the second content in the first electronic document, wherein the value of the second field is generated based on the second content.
[0077] The aforementioned client can display a first form. When it receives a second operation performed on a second field in the first form, it can display the first form in association and show the first field associated with the first content.
[0078] The second operation here can be any action that instructs you to view the corresponding data in the original electronic document. The second operation can include, but is not limited to, one or more of the following: clicking, hovering, touch, double-clicking, and voice commands.
[0079] When the first form is displayed on the client, the user can perform a second operation on a second field in the first form. This second field can be any field in the first form. Upon receiving the second operation on the second field, the first electronic document can be displayed, along with the aforementioned second content. This allows the user to quickly navigate from the form to the corresponding original text based on their operation on the second field.
[0080] In one example, during the data validation process in the first form, a user can perform a second operation on any field (such as "asset principal balance"). The executing entity can detect the second field corresponding to the second operation, then find the second content associated with the second field, and scroll the displayed content of the first electronic document to the second content. Scrolling the displayed content of the first electronic document to the second content can, for example, be achieved by scrolling to display the second content in the center of the second area corresponding to the first electronic document.
[0081] In step S103, when validating the values of fields in the form, the system can directly display the associated content of the electronic document based on the user's actions on the fields. This facilitates the user's comparison and verification of the form field values with the content of the electronic document, improving the efficiency of form content validation.
[0082] In some embodiments, step S103 includes at least one of the following:
[0083] The first electronic document is displayed in the associated area of the second area that displays the first form;
[0084] Position the display content of the first electronic document to the second content;
[0085] The second content will remain displayed for a preset duration.
[0086] The second content is displayed in a second display style, which is different from the display style of the rest of the content in the first electronic document.
[0087] In some application scenarios, illustratively speaking, a first form can be displayed in a second area of the display interface, and a first electronic document can be displayed in an associated area of the second area. This associated area can be, for example, an adjacent area of the second area. By displaying the first electronic document in an associated area of the second area where the first electronic document is displayed, it is convenient to display the first electronic document and the first form spatially adjacent, minimizing the user's visual scanning distance, helping to maintain the user's coherence of contextual awareness, facilitating comparative browsing, and improving efficiency.
[0088] In some application scenarios, upon receiving a second operation targeting the second field, the first electronic document can be displayed, and its content can be positioned relative to the second content. By automatically displaying the first electronic document and locating the second content associated with the second field after receiving the aforementioned second operation, users can more easily compare and check the value of the second field with the second content, thus improving efficiency.
[0089] In some application scenarios, after receiving a first operation on the second field, a first electronic document can be displayed, and its content can be positioned relative to the second content. This second content is then displayed for a preset duration. By maintaining the display of the second content corresponding to the second field for this preset duration, the correlation between document content and form fields can be strengthened over time, facilitating user comparison and verification of field values and original text.
[0090] In some application scenarios, after receiving a second operation on the second field, the first electronic document can be displayed, and the second content can be displayed in a second display style. This second display style may include, for example, highlighting the second content (e.g., adding a background color different from other content in the first electronic document to the first field), or configuring the font and / or font color of the second content to be different from the font and font color of other content in the first electronic document. For example, it could be a short-term blinking border on the second content without user intervention.
[0091] In these implementations, by triggering the display of the original text content through operations on fields in the electronic form, users can quickly compare and verify the values of fields in the electronic form with the original text content, thus improving verification efficiency.
[0092] In this embodiment, by displaying a form and / or an electronic document related to the values of form fields, when operations are performed on the content of the electronic document, the view in the form automatically locates the field originating from that content; conversely, when operations are performed on a field in the form, the view in the electronic document automatically locates the original text content that generated the field value. This provides a cross-format data verification mechanism. Users can trigger operations on documents or forms to generate a content association between form content and document content, automatically locating and displaying the corresponding content in the other part of the document or form. This replaces the tedious process of traditional manual searching and switching, significantly improving the efficiency and accuracy of data verification. Specifically, by generating content associations, the generated content (also known as the generated content) can be quickly verified based on the original content on which the generated content is based, or the original content on which the generated content is based can be displayed, thus facilitating content verification and improving content accuracy.
[0093] In some embodiments, associated display may include at least one of the following:
[0094] Based on the content generation relationship, the generated content is displayed according to the original content on which the generated content is based; or, based on the content generation relationship, the original content on which the generated content is based is displayed according to the generated content.
[0095] Among them, the content generation relationship includes the relationship between the generated content and the original content on which the generated content is based.
[0096] In some embodiments, a content generation association relationship can be stored, indicating that the first content is generated based on the second content, or vice versa; the first content is displayed; in response to a first operation on the first content, the second content is obtained based on the content generation association relationship; and the second content is displayed in association with the first content. Thus, after content is generated, it can be displayed in association with the original content as needed (e.g., upon receiving a first operation), based on the association relationship between the generated content and the original content, thereby improving the content display effect and the efficiency of viewing related content. This disclosure does not limit the form of the association display.
[0097] In some embodiments, step S101 includes:
[0098] Multiple fourth pieces of content from the first electronic document are displayed in a third display style. These fourth pieces of content are associated with the values of fields in the first form. This third display style can differ from the display style of the rest of the content in the first electronic document. For example, a preset background color can be added to the fourth pieces of content during the display of the first electronic document, or the fourth pieces of content can be displayed with a preset font or color. That is, during the validation of the first form, multiple pieces of fourth content can be displayed in the electronic document presented simultaneously with the form in the third display style to prompt the user that these fourth pieces of content are associated with the values of corresponding fields in the form, allowing the form content to be validated based on these fourth pieces of content.
[0099] In one example, a user can perform a first action, such as clicking or touching, on any fourth piece of content; this fourth piece of content serves as the first piece of content. Then, based on the structured data associated with this first piece of content, the form (serving as the first form) and fields corresponding to the first piece of content are determined, and these fields are used as the first field.
[0100] In these embodiments, by pre-displaying multiple fourth contents in the displayed electronic document using a third display style, intuitive visual cues are provided to the user, indicating which contents have been mapped to form fields, reducing the trial-and-error cost for user operations. By simultaneously displaying multiple fourth contents using a third display style, users can quickly identify the original text distribution of all associated fields within the document's field of view, thereby achieving efficient verification based on visual attention.
[0101] Please refer to Figure 2 , Figure 2 Flowchart of the information processing method provided in this disclosure Figure 2 ,like Figure 2 As shown, the method includes, in addition to, with Figure 1 In addition to the same steps S201 to S203 as steps S101 to S103 in the illustrated embodiment, the following steps are also included:
[0102] S204: In response to a third operation associated with a third field, display the third content of the second electronic document; wherein the third field belongs to the first form.
[0103] In this embodiment, the entity executing the information processing method can be an application client running on a terminal device.
[0104] The aforementioned executing entity can receive a third operation performed by the user and display the aforementioned third content. This third field can be different from the first field, and the value in the third field can, for example, be generated from a portion of the content in a second electronic document. It is understood that the second electronic document can be a different document from the first electronic document.
[0105] The third operation mentioned above can be any operation that instructs the display of the original text content associated with the third field.
[0106] In some implementations, the third operation associated with the third field includes one or more of the following:
[0107] The trigger operation is based on the third field of the first form, where the value of the third field is generated based on the third content; or,
[0108] Move the displayed content of the first form to the third field.
[0109] In some application scenarios, users can perform clicks, touches, or other trigger operations on the third field of the first form. Upon receiving the trigger operation on the third field, the aforementioned execution entity displays a second electronic document and positions the content of the second electronic document to the third content. In other words, when the data for a form field originates from multiple different electronic documents, this solution can automatically determine and load the correct associated source document based on the user's trigger operation on the field, while simultaneously positioning the document view to the original text that generated the field's value. Compared to the process of requiring users to manually search, open, and locate multiple files, this solution enables automatic navigation and context switching across documents, allowing users to focus entirely on verifying the data content itself, thereby significantly improving the efficiency of complex verification tasks.
[0110] In some application scenarios, users can perform a swipe operation on the first form, such as switching the displayed content in the center of the first form to the third field (e.g., switching the displayed content corresponding to the center of the second area of the first form to the third field). After detecting the switch in the first form's displayed content to the third field, the aforementioned execution entity can automatically display the third content of the second electronic document. In these application scenarios, by using the form's swipe browsing operation as a trigger event, the switching of the focus field in the displayed form area is detected in real time, and the source document and original content corresponding to that field are switched and located synchronously. This achieves linkage between form browsing and document content reception, improving the efficiency of form content verification. By switching and locating the document based on the user's swipe operation on the form, the content basis of each data point is presented sequentially, providing visual assistance for users to verify the form or quickly scan form data. This can further improve the efficiency of form content verification.
[0111] In some embodiments, the above-described display of the third content of the second electronic document includes:
[0112] Move the display position of the first electronic document to display the third content of the second electronic document.
[0113] When the aforementioned execution entity detects that a user's operation on the third field of a form requires switching documents, it determines, based on pre-stored structured data, that the third content associated with the third field is located in the second electronic document. Within the document display area, it uses smooth visual animation (such as panning, fading, or scaling) to move the view of the first electronic document out of the visible area, while simultaneously loading the second electronic document. After the second electronic document is loaded and displayed, it automatically performs scrolling and positioning operations based on the normalized coordinates corresponding to the third content, placing the third content area at a preset focus position within the visible area. The aforementioned structured data includes the position information of the third content in the second electronic document, the identifier of the third field, and the value of the third field.
[0114] In these implementations, the dynamic transition effect of moving the display position can represent the switching relationship between documents, avoid instantaneous changes in view, and maintain the continuity of the user's visual focus and context awareness.
[0115] Please refer to Figure 3 , Figure 3 This is a schematic diagram of an application scenario. For example... Figure 3 As shown, the client interface displays approximately two areas, area 31 and area 32. Area 31 displays the first form "AAAAA", and area 32 displays the first electronic document "Document 1". Within the first electronic document displayed in area 32, multiple fourth content items, "Section Title 2" and "Section Title 3", can be highlighted with a high-brightness background. These fourth content items are the original text of the field values in the first form. The user can select "Section Title 2", and the client can search multiple structured data sets to determine that the original text "Section Title 2" is the original text of the field value of the first field "Field 1" in the first form.
[0116] In the second area 31, the content displayed in the first form can be located in field 1. The field value "BBBB" of field 1 is generated based on "section title 2". This allows for validation from document content to form content.
[0117] Furthermore, users can validate multiple fields of the first form in the second area 31. For example, when a user triggers an operation on the field value "DDDD" of field 3 in the first form, hoping to view the original content corresponding to that field, the client can search for multiple structured data associated with the first form to determine the structured data corresponding to field 3. Based on this structured data, the electronic document corresponding to this field is determined to be the second electronic document "Document 2," and the original content is "Section Title 21." The client can move "Document 1" out of the visible area and load "Document 2." After loading "Document 2," the display content of "Document 2" is positioned to "Section Title 21" within the first area according to the position information of "Section Title 21." Please refer to [link / reference] for details. Figure 4 , Figure 4 This is a schematic diagram of an application scenario. The above process enables two-way linkage validation between forms and documents.
[0118] In this embodiment, by automatically determining and switching to the correct source document based on the form fields currently being verified by the user, and locating the content corresponding to the field values, the traditional discrete operations of manually searching and opening multiple document files are integrated into a coherent automated interactive process, simplifying the verification path in scenarios involving multiple files. The document is replaced within the document display area, dynamically presenting the most relevant document content within a limited interface area, avoiding screen space congestion and visual interference caused by multiple windows coexisting, and improving the focus and operational efficiency of single-screen information display. Compared to using manual double-entry verification, this solution improves verification efficiency, shortens the verification cycle, and reduces verification costs.
[0119] In some embodiments, the method further includes:
[0120] Retrieve multiple structured data associated with the first form; wherein, the structured data includes field identifiers, field values, and value location information, and the location information includes the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding field values;
[0121] The above Figure 1 Step S102 of the illustrated embodiment includes:
[0122] Based on the location information of the first content in the first electronic document, determine the corresponding first structured data;
[0123] Based on the field identifier of the first structured data, determine the first field corresponding to the first content;
[0124] The first field is displayed in relation to the previous field.
[0125] The structured data here can be pre-constructed based on information such as the fields of the first form, the original text content that generates the field values, and the electronic document containing the original text content. This structured data can be stored locally or on a remote electronic device.
[0126] After receiving the operation to validate the first form, the aforementioned executing entity can obtain multiple structured data corresponding to the first form through backend operations.
[0127] Structured data includes field identifiers, field values, and value location information. The location information includes the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding field values.
[0128] The aforementioned first position may include, for example, the page number (PageNum), the physical dimensions of the file (PageWidth, PageHeight), and the pixel coordinates and dimensions (Left, Top, Width, Height) of a rectangular area.
[0129] Taking a PDF document as an example, the aforementioned execution entity can first establish a coordinate system for the electronic document using a parsing engine (such as a PDF parsing library or an OCR engine). This coordinate system can have its origin (0, 0) at the bottom left or top left corner of the electronic document page, and be measured in pixels. When the text content in the electronic document is recognized or extracted, the engine simultaneously captures the bounding box coordinates of each text character, word, or line of text within its respective page. These coordinates are represented in the form of (left, top, width, height), precisely defining the position and extent of the text area within the page.
[0130] When a complete content fragment (such as "October 10, 2025") is identified from a document as the original content corresponding to the target field, it is necessary to determine the overall position of the fragment.
[0131] In some application scenarios, coordinate aggregation can be performed to calculate the smallest bounding rectangle that covers the original content, and the position information of this rectangle can be used as the position information corresponding to the original content. Illustratively, first, all consecutive text units (such as characters or words) constituting the content fragment are found, and the smallest bounding rectangle that can completely cover these units is calculated. The position information of this rectangle can be represented, for example, as: left = min (left boundary of all units), top = min (top boundary of all units), width = max (right boundary of all units) - left, height = max (bottom boundary of all units) - top.
[0132] In some application scenarios, the coordinates of the geometric center of the aforementioned rectangular region can be used as the location information of the original content. Optionally, this location information may also include the width and height of the rectangle.
[0133] To ensure consistent display of location information across different resolutions and scaling ratios, the absolute coordinates in the location information can be converted into normalized coordinates (such as percentages) relative to the page size.
[0134] The normalized coordinates, along with the page number and the document's unique identifier, together constitute the location information of the original text content, which is then written into the structured data.
[0135] In these implementations, the original text content is characterized by its location information within the electronic document. By binding the original text content to its precise location coordinates within the electronic document, pixel-level highlighting, selection, or visual indication of content associated with fields can be achieved in the document view. This also supports interactive features such as two-way linkage verification and click-to-jump functionality.
[0136] The corresponding structured data can be determined based on the first position of the first content in the first electronic document, and then the corresponding first field can be determined based on the structured data, thereby positioning the display content of the first form to the first field.
[0137] In this embodiment, a relationship between forms and documents is established through structured data, providing support for the linked display of form content and document content.
[0138] In some embodiments, step S103 further includes:
[0139] The corresponding second structured data is determined based on the second field;
[0140] Based on the location information of the second structured data, the second content in the first electronic document is determined;
[0141] The second content will be displayed in conjunction with the previous content.
[0142] In these implementations, the corresponding second structured data can be determined by the identifier of the second field. Then, the second content is determined based on the identifier of the electronic document corresponding to the second structured data and the first position, and then the second content is displayed. By associating fields with the original text content through structured data, support is provided for displaying the corresponding document content through field operations.
[0143] In some implementations, the method further includes:
[0144] In response to the construction instruction of the first form, multiple structured data associated with the first form are obtained, the structured data being generated based on the fields of the first form and at least one electronic document indicated by the construction instruction;
[0145] Extract the identifiers and values of fields from multiple structured data sources;
[0146] Fill the fields with their values into the corresponding fill areas to obtain the first form.
[0147] In these embodiments, the aforementioned construction instructions may include information about at least one electronic document used to construct form content, such as the identifier and / or storage location of at least one electronic document. The executing entity may obtain multiple structured data generated based on the at least one electronic document according to the aforementioned construction instructions.
[0148] The aforementioned execution entity can obtain field identifiers for multiple fields in the first form. For each field, it matches against multiple structured data sets based on the field identifier to determine the corresponding structured data. The values from the corresponding structured data are then filled into the data input area for that field. This data filling process for multiple fields in the first form yields the filled-in first form.
[0149] In these implementations, structured data corresponding to the electronic document is automatically retrieved based on form construction instructions to populate the field input areas in the form, thus achieving automated form content filling. This improves form content filling efficiency compared to users manually entering form content. Furthermore, a high level of accuracy can be maintained during the form content filling process.
[0150] In some implementations, structured data is generated based on the following steps:
[0151] Receive at least one electronic document to be processed;
[0152] At least one electronic document to be processed is sent to a first model, and multiple structured data points output by the first model are obtained. These structured data points include field identifiers, field values, and corresponding position information. The position information includes the electronic document identifier and the first position of the original content corresponding to the value within the electronic document. The values are generated based on the original content.
[0153] The first step involves extracting the original content from the input electronic document based on field identifiers and generating field values based on the original content; generating the first location corresponding to the original content and the identifier location information of the electronic document; and constructing structured data based on the field values and location information.
[0154] The first model mentioned above can be, for example, a natural language processing model. The preset model receives the input information and, for each field indicated by its field identifier, matches it against the text of at least one electronic document according to the content extraction rules for that field, thereby obtaining one or more original text contents. These content extraction rules can be semantic extraction rules, that is, one or more requirements that the first model can understand to match the original text contents corresponding to the field from the text. When multiple original text contents are matched, the first model can remove redundant matching content according to preset deduplication rules, retaining only one original text content. Then, it generates the field value for that field based on the original text content. It records the field identifier, the field value, the first position of the field value in the original text content, and the identifier of the electronic document containing the original text content. This process constructs structured data.
[0155] The first model described above can output structured data for each field.
[0156] In these implementations, by using a first model to identify the original text content from electronic documents based on fields, and generating structured data including field identifiers, field values, and the location information of those values, the efficiency and accuracy of constructing structured data can be improved. This provides data support for the linked display of forms and electronic documents.
[0157] Below is a description of an application scenario.
[0158] First, receive the operation to build a form for at least one electronic document, obtain the field names of multiple fields in the first form, and the content extraction rules corresponding to each field.
[0159] Users can initiate a "create table based on electronic documents" operation through interactive controls on the display interface, selecting at least one electronic document (multiple electronic documents with related relationships). Upon receiving this operation, the aforementioned execution entity retrieves a first form template corresponding to at least one electronic document from a predefined form template library. This template defines field identifiers for multiple fields (such as "amount of debt," "start date," etc.) and content extraction rules for each field.
[0160] For each field, the content extraction rules described above can be, for example, rules that accurately extract the corresponding original text content from an electronic document. In one example, the content extraction rules could include regular expressions. In another example, the content extraction rules could be location rules utilizing document structure (e.g., leveraging the document's physical layout features, such as tables, content under specific chapter headings, etc.). In yet another example, the content extraction rules could also be semantic rules based on natural language understanding.
[0161] Second, based on the content extraction rules, extract the original text content corresponding to multiple fields from the text of at least one electronic document.
[0162] For example, a regular expression can be pre-defined for each field. The regular expressions for multiple fields are compiled into a regular expression pattern object, and a mapping relationship is established with the identifiers of the corresponding fields, which is then stored in the rule set of the rule engine.
[0163] The aforementioned execution entity can perform optical character recognition (OCR) processing on at least one electronic document (such as a PDF document) to obtain a plain text stream with position coordinates for each document. This text stream can be organized by page and paragraph, retaining basic formatting information such as line breaks, to form the text string to be searched.
[0164] In one example, the aforementioned execution entity can traverse each regular expression rule in the rule set and perform a global search in turn on the text strings corresponding to the multiple electronic documents.
[0165] In one example, for each text string of an electronic document, the aforementioned execution entity can first perform word segmentation or sentence segmentation on the text string, and then apply all regular expression rules in parallel to match each sentence to improve efficiency.
[0166] For each field, the original text content is extracted based on the pattern defined in the corresponding regular expression. If the rule for the same field matches multiple candidate results (such as multiple occurrences of "loan amount" in the text string), the optimal result can be selected according to a preset strategy, such as selecting the first match.
[0167] Third, generate values for the fields corresponding to the multiple content items.
[0168] For each field, the value can be generated based on the corresponding original text content. In one example, the original text content can be used directly as the field value. In another example, the original text content can be processed according to preset processing requirements, and the result can be used as the field value.
[0169] Fourth, construct structured data associated with the field based on the field identifier, the field value, the location information of the original text content corresponding to the field value in the electronic document, and the electronic document identifier.
[0170] For each field, structured data can be constructed by the field identifier, the value generated for the field, the location information of the original content, and the identifier of the electronic document in which the original content is located.
[0171] Understandably, the "second" and "third" steps mentioned above can be completed by the first model, outputting the structured data corresponding to the electronic document.
[0172] Fifth, write the field values into the corresponding input area of the first form to obtain the first form with the field values filled in.
[0173] In these implementations, the entire process, from document content recognition, data extraction, format conversion to form filling, is automatically completed by receiving construction instructions. This transforms the traditionally time-consuming process, which relies on manual reading, understanding, and data entry, into a one-time triggered automated task, solving the problems of low efficiency and high cost in document digitization. Electronic documents are parsed and structured data is extracted, establishing a mapping relationship between the data and its original location. The parsed data is then automatically entered into the form. This mapping relationship records what data is in the form and the source of each piece of data. This provides a complete, reliable, and queryable underlying data foundation for data traceability and trusted verification.
[0174] This disclosure also includes a content display method, comprising the following steps:
[0175] The stored content generates an association relationship, which indicates that the first content is generated based on the second content, or that the second content is generated based on the first content;
[0176] Display the first content;
[0177] In response to the first operation on the first content, a relationship is generated based on the content to obtain the second content;
[0178] The second content is displayed in association with the first content.
[0179] By generating relationships through stored content, when an operation is performed based on the first content, the second content is displayed according to these relationships. This allows for linked display based on the relationships between content, providing users with convenient access to compare and browse content. Furthermore, it improves the efficiency of information retrieval for users.
[0180] Corresponding to the above text Figures 1-3 The information processing method of the embodiment shown, Figure 5 This is a structural block diagram of an information processing apparatus provided according to embodiments of the present disclosure. For ease of explanation, only the parts relevant to embodiments of the present disclosure are shown. (Refer to...) Figure 5 The information processing device 50 includes: a first display unit 501, a second display unit 502 and a third display unit 503.
[0181] The first display unit 501 is configured to display at least one of the following: a first form and a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; and further includes at least one of the following:
[0182] The second display unit 502 is configured to respond to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, and to display the first field in the first form in association, wherein the value of the first field is generated based on the first content;
[0183] The third display unit 503 is used to respond to displaying the first form and receiving a second operation on the second field in the first form, and to display the second content in the first electronic document in association, wherein the value of the second field is generated based on the second content.
[0184] The information processing apparatus provided in this disclosure, by displaying forms and / or electronic documents related to the values of the form's fields, automatically locates the field in the form when operations are performed on the content of the electronic document, and automatically locates the original content that generated the field value when operations are performed on the field in the form. This provides a cross-format data verification method. Users can trigger operations on documents or forms to generate a content association relationship between the form content and the document content, triggering the other party in the document and form to automatically locate and display the corresponding content. This replaces the tedious process of traditional manual searching and switching, significantly improving the efficiency and accuracy of data verification. Specifically, by generating content association relationships, the generated content can be quickly verified based on the original content on which it is based, or the original content on which the generated content is based can be found based on the generated content, thereby improving content accuracy.
[0185] In one embodiment of this disclosure, the device 50 further includes a fourth display unit (not shown), the fourth display unit being used for:
[0186] In response to a third operation associated with the third field, the third content of the second electronic document is displayed; wherein the third field belongs to the first form.
[0187] In one embodiment of this disclosure, the third operation associated with the third field includes one or more of the following:
[0188] The trigger operation is based on the third field of the first form, where the value of the third field is generated based on the third content; or,
[0189] Move the displayed content of the first form to the third field.
[0190] In one embodiment of this disclosure, the fourth display unit is further configured to:
[0191] Move the display position of the first electronic document to display the third content of the second electronic document.
[0192] In one embodiment of this disclosure, the second display unit 502 is further configured to perform at least one of the following:
[0193] Display the first form in the associated area of the first area where the first electronic document is displayed;
[0194] Position the content of the first form to the first field;
[0195] Keep the first field displayed for a preset duration;
[0196] The first field is displayed in a first display style, which is different from the display style of the rest of the content displayed in the first form.
[0197] In one embodiment of this disclosure, the third display unit 503 is further configured to perform at least one of the following:
[0198] The first electronic document is displayed in the associated area of the second area that displays the first form;
[0199] Position the display content of the first electronic document to the second content;
[0200] The second content will remain displayed for a preset duration.
[0201] The second content is displayed in a second display style, which is different from the display style of the rest of the content in the first electronic document.
[0202] In one embodiment of this disclosure, the first display unit 501 is further configured to: display a plurality of fourth contents in the first electronic document in a third display style; wherein the fourth contents are associated with the values of fields in the first form.
[0203] In one embodiment of this disclosure, the apparatus further includes a first acquisition unit (not shown in the figures), the first acquisition unit being configured to:
[0204] Retrieve multiple structured data associated with the first form; wherein, the structured data includes field identifiers, field values, and value location information, and the location information includes the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding field values;
[0205] The second display unit 502 is further used for:
[0206] Based on the location information of the first content in the first electronic document, determine the corresponding first structured data;
[0207] Based on the field information of the first structured data, determine the first field corresponding to the first content;
[0208] The first field is displayed in relation to the previous field.
[0209] In one embodiment of this disclosure, the second display unit 503 is further configured to:
[0210] The corresponding second structured data is determined based on the second field;
[0211] Based on the location information of the second structured data, the second content in the first electronic document is determined;
[0212] The second content will be displayed in conjunction with the previous content.
[0213] In one embodiment of this disclosure, the apparatus 50 further includes a second acquisition unit (not shown in the figures), the second acquisition unit being used for:
[0214] In response to the construction instruction of the first form, multiple structured data associated with the first form are obtained, the structured data being generated based on the fields of the first form and at least one electronic document indicated by the construction instruction;
[0215] Extract the identifiers and values of fields from multiple structured data sources;
[0216] Fill the fields with their values into the corresponding fill areas to obtain the first form.
[0217] In one embodiment of this disclosure, the apparatus 50 further includes a generation unit (not shown in the figures), which is configured to generate structured data based on the following steps:
[0218] Receive at least one electronic document to be processed;
[0219] At least one electronic document to be processed is sent to a first model, and multiple structured data points output by the first model are obtained. These structured data points include field identifiers, field values, and corresponding position information. The position information includes the electronic document identifier and the first position of the original content corresponding to the value within the electronic document. The values are generated based on the original content.
[0220] The first step involves extracting the original content from the input electronic document based on field identifiers and generating field values based on the original content; generating the first location corresponding to the original content and the identifier location information of the electronic document; and constructing structured data based on the field values and location information.
[0221] In one embodiment of this disclosure, the first display unit 502 and the second display unit 503 are further configured to perform associated display based on at least one of the following:
[0222] The first display unit 502 displays generated content based on the original content, according to the content generation relationship and the original content on which the content generation is based.
[0223] Alternatively, the second display unit 503 can generate a content association relationship and display the original content on which the generated content is based, according to the generated content.
[0224] Among them, the content generation relationship includes the relationship between the generated content and the original content on which the generated content is based.
[0225] This disclosure also provides a content display device, including: a storage unit, a fifth display unit, a third acquisition unit, and a sixth display unit; wherein,
[0226] A storage unit is used to store content generation associations, whereby the associations indicate that the first content is generated based on the second content, or that the second content is generated based on the first content.
[0227] The fifth display unit is used to display the first content;
[0228] The third acquisition unit is used to acquire the second content in response to the first operation on the first content, based on the content generating association relationship;
[0229] The sixth display unit is used to display the second content in association with the first content.
[0230] refer to Figure 6 The diagram illustrates a structural schematic of an electronic device 600 suitable for implementing embodiments of the present disclosure. The electronic device 600 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0231] like Figure 6 As shown, electronic device 600 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. RAM 603 also stores various programs and data required for the operation of electronic device 600. The processing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0232] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0233] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by a processing device 601, it performs the functions defined in the methods of embodiments of this disclosure.
[0234] It should be noted that the computer-readable storage medium described in this disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0235] The aforementioned computer-readable storage medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0236] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0237] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0238] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0239] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0240] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0241] The electronic devices, computer-readable storage media, and computer program products provided in this disclosure, by displaying forms and / or electronic documents related to the values of the form's fields, allow for cross-format data verification. When operations are performed on the content of the electronic document, the view in the form automatically locates the field originating from that content; conversely, when operations are performed on the fields in the form, the view in the electronic document automatically locates the original text content that generated the field value. This provides a method for cross-format data verification. Users can trigger operations on documents or forms to generate a content association relationship between form content and document content, automatically locating and displaying the corresponding content in the other party of the document and form. This replaces the tedious process of traditional manual searching and switching, significantly improving the efficiency and accuracy of data verification. Specifically, by generating content association relationships, the generated content can be quickly verified based on the original content on which it is based, or the generated content can be used to find the original content on which it is based, thereby improving content accuracy.
[0242] In a first aspect, according to one or more embodiments of this disclosure, an information processing method is provided, comprising:
[0243] Displaying at least one of the following: a first form, a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; and further including at least one of the following:
[0244] In response to displaying a first electronic document and receiving a first operation performed on the first content in the first electronic document, the first field in the first form is displayed in association, and the value of the first field is generated based on the first content;
[0245] In response to displaying a first form and receiving a second operation on a second field in the first form, the second content in the first electronic document is displayed in association, and the value of the second field is generated based on the second content.
[0246] According to one or more embodiments of this disclosure, it further includes:
[0247] In response to a third operation associated with the third field, the third content of the second electronic document is displayed; wherein the third field belongs to the first form.
[0248] According to one or more embodiments of this disclosure, the third operation associated with the third field includes one or more of the following:
[0249] The trigger operation is based on the third field of the first form, where the value of the third field is generated based on the third content; or,
[0250] Move the displayed content of the first form to the third field.
[0251] According to one or more embodiments of this disclosure, displaying third content of a second electronic document includes:
[0252] Move the display position of the first electronic document to display the third content of the second electronic document.
[0253] According to one or more embodiments of this disclosure, in response to displaying a first electronic document and receiving a first operation performed on first content in the first electronic document, displaying a first field in a first form in association includes at least one of the following:
[0254] Display the first form in the associated area of the first area where the first electronic document is displayed;
[0255] Position the content of the first form to the first field;
[0256] Keep the first field displayed for a preset duration;
[0257] The first field is displayed in a first display style, which is different from the display style of the rest of the content displayed in the first form.
[0258] According to one or more embodiments of this disclosure, in response to displaying a first form and receiving a second operation on a second field in the first form, displaying second content in a first electronic document in association includes:
[0259] The first electronic document is displayed in the associated area of the second area that displays the first form;
[0260] Position the display content of the first electronic document to the second content;
[0261] The second content will remain displayed for a preset duration.
[0262] The second content is displayed in a second display style, which is different from the display style of the rest of the content in the first electronic document.
[0263] According to one or more embodiments of this disclosure, displaying a first electronic document includes: displaying a plurality of fourth contents in the first electronic document in a third display style; wherein the fourth contents are associated with values of fields in a first form.
[0264] According to one or more embodiments of this disclosure, it further includes:
[0265] Retrieve multiple structured data associated with the first form; wherein, the structured data includes field identifiers, field values, and value location information, and the location information includes the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding field values;
[0266] In response to displaying a first electronic document and receiving a first operation performed on first content in the first electronic document, the first field in the first form is displayed in association, including:
[0267] Based on the location information of the first content in the first electronic document, determine the corresponding first structured data;
[0268] Based on the field information of the first structured data, determine the first field corresponding to the first content;
[0269] The first field is displayed in relation to the previous field.
[0270] According to one or more embodiments of this disclosure, in response to displaying a first form and receiving a second operation on a second field in the first form, second content in a first electronic document is displayed in association, the value of the second field being generated based on the second content, including:
[0271] The corresponding second structured data is determined based on the second field;
[0272] Based on the location information of the second structured data, the second content in the first electronic document is determined;
[0273] The second content will be displayed in conjunction with the previous content.
[0274] According to one or more embodiments of this disclosure, the method further includes:
[0275] In response to the construction instruction of the first form, multiple structured data associated with the first form are obtained, the structured data being generated based on the fields of the first form and at least one electronic document indicated by the construction instruction;
[0276] Extract the identifiers and values of fields from multiple structured data sources;
[0277] Fill the fields with their values into the corresponding fill areas to obtain the first form.
[0278] According to one or more embodiments of this disclosure, structured data is generated based on the following steps:
[0279] Receive at least one electronic document to be processed;
[0280] At least one electronic document to be processed is sent to a first model, and multiple structured data points output by the first model are obtained. These structured data points include field identifiers, field values, and corresponding position information. The position information includes the electronic document identifier and the first position of the original content corresponding to the value within the electronic document. The values are generated based on the original content.
[0281] The first step involves extracting the original content from the input electronic document based on field identifiers and generating field values based on the original content; generating the first location corresponding to the original content and the identifier location information of the electronic document; and constructing structured data based on the field values and location information.
[0282] According to one or more embodiments of this disclosure, the associated display includes at least one of the following:
[0283] Based on the content generation relationship, the generated content is displayed according to the original content on which the content generation is based;
[0284] Alternatively, based on content-generated relationships, the original content on which the generated content is based can be displayed.
[0285] Among them, the content generation relationship includes the relationship between the generated content and the original content on which the generated content is based.
[0286] Secondly, according to one or more embodiments of this disclosure, a content display method is provided, comprising:
[0287] The stored content generates an association relationship, which indicates that the first content is generated based on the second content, or that the second content is generated based on the first content;
[0288] Display the first content;
[0289] In response to the first operation on the first content, a relationship is generated based on the content to obtain the second content;
[0290] The second content is displayed in association with the first content.
[0291] Thirdly, according to one or more embodiments of this disclosure, an information processing apparatus is provided, comprising:
[0292] The first display unit is configured to display at least one of the following: a first form and a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; and further includes at least one of the following:
[0293] The second display unit is configured to respond to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, and to display the first field in the first form in association, wherein the value of the first field is generated based on the first content;
[0294] The third display unit is used to respond to displaying the first form and receiving a second operation on the second field in the first form, and to display the second content in the first electronic document in association, wherein the value of the second field is generated based on the second content.
[0295] According to one or more embodiments of this disclosure, the device further includes a fourth display unit, the fourth display unit being used for:
[0296] In response to a third operation associated with the third field, the third content of the second electronic document is displayed; wherein the third field belongs to the first form.
[0297] According to one or more embodiments of this disclosure, the third operation associated with the third field includes one or more of the following:
[0298] The trigger operation is based on the third field of the first form, where the value of the third field is generated based on the third content; or,
[0299] Move the displayed content of the first form to the third field.
[0300] According to one or more embodiments of this disclosure, the fourth display unit is further configured to:
[0301] Move the display position of the first electronic document to display the third content of the second electronic document.
[0302] According to one or more embodiments of this disclosure, the second display unit is further configured to perform at least one of the following:
[0303] Display the first form in the associated area of the first area where the first electronic document is displayed;
[0304] Position the content of the first form to the first field;
[0305] Keep the first field displayed for a preset duration;
[0306] The first field is displayed in a first display style, which is different from the display style of the rest of the content displayed in the first form.
[0307] According to one or more embodiments of this disclosure, the third display unit is further configured to perform at least one of the following:
[0308] The first electronic document is displayed in the associated area of the second area that displays the first form;
[0309] Position the display content of the first electronic document to the second content;
[0310] The second content will remain displayed for a preset duration.
[0311] The second content is displayed in a second display style, which is different from the display style of the rest of the content in the first electronic document.
[0312] According to one or more embodiments of this disclosure, the first display unit is further configured to: display a plurality of fourth contents in the first electronic document in a third display style; wherein the fourth contents are associated with the values of fields in the first form.
[0313] According to one or more embodiments of this disclosure, the apparatus further includes a first acquisition unit, the first acquisition unit being configured to:
[0314] Retrieve multiple structured data associated with the first form; wherein, the structured data includes field identifiers, field values, and value location information, and the location information includes the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding field values;
[0315] The second display unit is further used for:
[0316] Based on the location information of the first content in the first electronic document, determine the corresponding first structured data;
[0317] Based on the field information of the first structured data, determine the first field corresponding to the first content;
[0318] The first field is displayed in relation to the previous field.
[0319] According to one or more embodiments of this disclosure, the second display unit is further configured to:
[0320] The corresponding second structured data is determined based on the second field;
[0321] Based on the location information of the second structured data, the second content in the first electronic document is determined;
[0322] The second content will be displayed in conjunction with the previous content.
[0323] According to one or more embodiments of this disclosure, the apparatus further includes a second acquisition unit, the second acquisition unit being configured to:
[0324] In response to the construction instruction of the first form, multiple structured data associated with the first form are obtained, the structured data being generated based on the fields of the first form and at least one electronic document indicated by the construction instruction;
[0325] Extract the identifiers and values of fields from multiple structured data sources;
[0326] Fill the fields with their values into the corresponding fill areas to obtain the first form.
[0327] According to one or more embodiments of this disclosure, the apparatus further includes a generation unit, which is configured to: generate structured data based on the following steps:
[0328] Receive at least one electronic document to be processed;
[0329] At least one electronic document to be processed is sent to a first model, and multiple structured data points output by the first model are obtained. These structured data points include field identifiers, field values, and corresponding position information. The position information includes the electronic document identifier and the first position of the original content corresponding to the value within the electronic document. The values are generated based on the original content.
[0330] The first step involves extracting the original content from the input electronic document based on field identifiers and generating field values based on the original content; generating the first location corresponding to the original content and the identifier location information of the electronic document; and constructing structured data based on the field values and location information.
[0331] According to one or more embodiments of this disclosure, the first display unit and the second display unit are further configured to perform associated display based on at least one of the following:
[0332] The first display unit displays generated content based on the original content, according to the content generation relationship.
[0333] Alternatively, the second display unit can generate a relationship based on the content and display the original content on which the generated content is based.
[0334] Among them, the content generation relationship includes the relationship between the generated content and the original content on which the generated content is based.
[0335] Fourthly, according to one or more embodiments of this disclosure, a content display device is provided, comprising:
[0336] A storage unit is used to store content generation associations, whereby the associations indicate that the first content is generated based on the second content, or that the second content is generated based on the first content.
[0337] The fifth display unit is used to display the first content;
[0338] The third acquisition unit is used to acquire the second content in response to the first operation on the first content, based on the content generating association relationship;
[0339] The sixth display unit is used to display the second content in association with the first content.
[0340] Fifthly, according to one or more embodiments of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory;
[0341] The memory stores the instructions that the computer executes;
[0342] At least one processor executes computer execution instructions stored in memory, causing at least one processor to perform the methods described in the first aspect above and various possible designs of the first aspect.
[0343] In a sixth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the methods described in the first aspect and various possible designs of the first aspect.
[0344] In a seventh aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, a method for implementing the first aspect and various possible designs of the first aspect when the computer program is executed by a processor.
[0345] In summary, by displaying forms and / or electronic documents related to the values of form fields, when operations are performed on the content of the electronic document, the view in the form automatically locates the field originating from that content, and when operations are performed on the fields in the form, the view in the electronic document automatically locates the original text content that generated the field value. This provides a cross-format data verification method. Users can trigger operations on documents or forms to generate a content association between form content and document content, triggering the other party in the document and form to automatically locate and display the corresponding content, replacing the tedious process of traditional manual searching and switching, and significantly improving the efficiency and accuracy of data verification. Specifically, by generating content associations, the generated content can be quickly verified based on the original content on which it is based, or the generated content can be used to find the original content on which it is based, thereby improving content accuracy.
[0346] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0347] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0348] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An information processing method, characterized in that, include: Displaying at least one of the following: a first form, a first electronic document; wherein the value of at least one field in the first form is generated based on the first electronic document; further comprising at least one of the following: In response to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, the first field in the first form is displayed in association, and the value of the first field is generated based on the first content; In response to displaying the first form and receiving a second operation on the second field in the first form, the second content in the first electronic document is displayed in association, and the value of the second field is generated based on the second content.
2. The method according to claim 1, characterized in that, Also includes: In response to a third operation associated with a third field, a third piece of content from the second electronic document is displayed; wherein the third field belongs to the first form.
3. The method according to claim 2, characterized in that, The third operation associated with the third field includes one or more of the following: The trigger operation is based on the third field of the first form, wherein the value of the third field is generated based on the third content; or, Move the displayed content of the first form to display the third field.
4. The method according to claim 2, characterized in that, The third content of the second electronic document includes: Move the display position of the first electronic document to display the third content of the second electronic document.
5. The method according to claim 1, characterized in that, The step of displaying the first field in the first form in response to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document includes at least one of the following: The first form is displayed in the associated area of the first area where the first electronic document is displayed; Position the content of the first form to the first field; The first field will remain displayed for a preset duration; The first field is displayed in a first display style, wherein the first display style is different from the display style of the rest of the content displayed in the first form.
6. The method according to claim 1, characterized in that, The step of responding to displaying the first form and receiving a second operation on the second field of the first form, and then displaying the second content in the first electronic document, includes: The first electronic document is displayed in the associated area of the second area displaying the first form; Position the display content of the first electronic document to the second content; The second content will remain displayed for a preset duration; The second content is displayed in a second display style, wherein the second display style is different from the display style of the rest of the content displayed in the first electronic document.
7. The method according to claim 1, characterized in that, The display of the first electronic document includes: displaying a plurality of fourth contents in the first electronic document in a third display style; wherein the fourth contents are associated with the values of fields in the first form.
8. The method according to any one of claims 1-5, characterized in that, Also includes: Obtain multiple structured data associated with the first form; wherein, the structured data includes field identifiers, field values, and position information of the values, the position information including the identifier of the electronic document and the first position of the original content corresponding to the value in the electronic document; multiple fields in the first form are filled with the corresponding values of the fields; The step of responding to displaying the first electronic document and receiving a first operation performed on the first content in the first electronic document, and associating the display of the first field in the first form, includes: Based on the location information of the first content in the first electronic document, determine the corresponding first structured data; Based on the field information of the first structured data, determine the first field corresponding to the first content; The first field is displayed in conjunction with the first field; The step of responding to displaying the first form and receiving a second operation on the second field in the first form, and associating the display of second content in the first electronic document, wherein the value of the second field is generated based on the second content, includes: The corresponding second structured data is determined based on the second field; Based on the location information of the second structured data, the second content in the first electronic document is determined; The second content will be displayed in conjunction with it.
9. The method according to claim 1, characterized in that, The method further includes: In response to a construction instruction for a first form, multiple structured data associated with the first form are obtained, the structured data being generated based on fields of the first form and at least one electronic document indicated by the construction instruction; Obtain the field identifiers and field values from the multiple structured data sets; The values of the fields are filled into the fill area corresponding to the field's identifier to obtain the first form.
10. The method according to claim 8, characterized in that, The structured data is generated based on the following steps: Receive at least one electronic document to be processed; The at least one electronic document to be processed is sent to a first model to obtain multiple structured data output by the first model. The structured data includes field identifiers, field values, and position information corresponding to the values. The position information includes the electronic document identifier and the first position of the original content corresponding to the value within the electronic document. The value is generated based on the original content. The first content involves extracting the original content of the input electronic document based on the field identifier, and generating the value of the field based on the original content; generating the first position corresponding to the original content and the identifier position information of the electronic document; and constructing the structured data based on the field value and the position information.
11. The method according to claim 1, characterized in that, The associated display includes at least one of the following: Based on the content generation relationship, the generated content based on the original content on which the content generation is based is displayed; Alternatively, based on the content, generate associations and display the original content on which the generated content is based; The content generation association relationship includes the relationship between the generated content and the original content on which the generated content is based.
12. A content display method, comprising: The stored content generates an association relationship, which indicates that the first content is generated based on the second content, or that the second content is generated based on the first content; Display the first content; In response to a first operation on the first content, an association relationship is generated based on the content to obtain the second content; The second content is displayed in association with the first content.
13. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1 to 12.
15. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 12.