A method, device and equipment for displaying document content
By identifying and extracting table or image feature information in a document and displaying public information of the previous page on the current interface, the problem of table or image separation in the document is solved and the user experience is improved.
Patent Information
- Application Number
- CN202110935379.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-08-16
AI Technical Summary
When reading a document, the table or image is separated into two parts and set on two pages, causing the user to fail to display it completely when flipping to the content behind. The page needs to be switched to view the header or topic, which reduces the user experience.
By obtaining the user's screen-turning instructions, identifying the table or image on the current interface, extracting its characteristic information, and obtaining the corresponding public information, such as the header or topic, from the previous page, to display it on the current interface, ensuring that the public information is always visible .
Improves the user experience, ensuring that the public information of the table or image is always visible when turning the page, avoiding the trouble of users who need to switch pages to view the headers or topics.
Smart Images

Figure CN113761833B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of document content display, and in particular to a method, device and equipment for displaying document content. Background Art
[0002] When reading documents such as Word and PDF, we often encounter situations where the table or image is divided into two parts and set on two pages because the table in the document contains too much content or the image is too large. When we read such a table or image through an electronic device, the table or image cannot be fully displayed on the current interface. When the user turns to the content behind the table or image, the table header or image subject will disappear. If the user wants to view the table header or image subject, he needs to switch the document page, which reduces the user experience. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method, device and equipment for displaying document content to solve the problem in the prior art that a table or an image is divided into two parts and set on two pages. When the user turns to the content behind the table or image, if the user wants to view the table header or the subject of the image, it is necessary to switch the page of the document, which reduces the user experience.
[0004] In order to solve the above problems, in the first aspect, an embodiment of the present invention provides a method for displaying document content, including: obtaining an instruction input by a user to turn the screen of a document; turning the screen of the document according to the instruction, identifying a first table or a first image displayed on the current interface of the document after the turning the screen operation, and extracting first feature information of the first table or the first image; obtaining first public information corresponding to the first feature information, the first public information being extracted from the second table or the second image of the document before the turning the screen operation; and displaying the first public information on the current interface.
[0005] Optionally, before obtaining the user input instruction to flip the document, the method for displaying document content also includes: identifying a second table or a second image displayed on the current interface of the document; and extracting second feature information and first public information of the second table or the second image.
[0006] Optionally, obtaining the first public information corresponding to the first characteristic information includes: finding the second characteristic information that satisfies a similar condition to the first characteristic information; and finding the first public information corresponding to the second characteristic information.
[0007] Optionally, after extracting the first characteristic information of the first table or the first image, the method for displaying document content further includes: extracting second public information of the first table or the first image; and when it is determined that the second public information does not exist, acquiring first public information corresponding to the first characteristic information.
[0008] Optionally, the first public information and the second public information both include a table header and a table subject, or an image subject.
[0009] Optionally, extracting the first public information of the second table or the second image, or extracting the second public information of the first table or the first image, includes: performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; when confirming that the first table or the first image, or the second table or the second image includes annotation information based on the recognition result, extracting the annotation information to obtain a table subject or an image subject; when confirming that the first row of the first table or the second table includes a specific font or specific characters based on the recognition result, extracting the first row of the first table or the second table to obtain a table header.
[0010] Optionally, extracting the first characteristic information of the first table or the first image, or extracting the second characteristic information of the second table or the second image, includes: performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; performing semantic analysis on the first table or the first image, or the second table or the second image according to the recognition result to obtain corresponding first characteristic information or second characteristic information.
[0011] Optionally, after displaying the first public information on the current interface, the document content display method further includes: acquiring a user's move operation on the first public information; and moving the first public information according to the move operation.
[0012] In a second aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes a method for displaying document content as in the first aspect or any embodiment of the first aspect.
[0013] In a third aspect, an embodiment of the present invention provides a device for displaying document content, comprising: a first analysis unit, used to obtain an instruction input by a user to perform a screen-turning operation on a document; an extraction unit, used to perform a screen-turning operation on the document according to the instruction, identify a first table or a first image displayed on the current interface of the document after the screen-turning operation, and extract first feature information of the first table or the first image; an acquisition unit, used to obtain first public information corresponding to the first feature information, the first public information being extracted from the second table or the second image of the document before the screen-turning operation; and a display unit, used to display the first public information on the current interface.
[0014] The document content display method, device and equipment provided by the embodiments of the present invention obtain the instruction input by the user to turn the screen of the document; turn the screen of the document according to the instruction, identify the first table or the first image displayed on the current interface of the document after the turning of the screen, and extract the first characteristic information of the first table or the first image; obtain the first public information corresponding to the first characteristic information, the first public information is extracted from the second table or the second image of the document before the turning of the screen; display the first public information on the current interface; so that when a table or an image is divided into two parts and set on two pages, when the user turns to the content behind the table or image, the public information of the table or image will be displayed on the current interface, so that the public information of the table or image is always visible, which can improve the user experience.
[0015] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a flow chart of a method for displaying document content in an embodiment of the present invention;
[0017] Figure 2 A schematic diagram of a third table displayed on the current interface in an embodiment of the present invention;
[0018] Figure 3 is a schematic diagram of a fourth table displayed on the current interface in an embodiment of the present invention;
[0019] Figure 4 It is a structural schematic diagram of a device for displaying document content in an embodiment of the present invention;
[0020] Figure 5 The figure is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0022] The embodiment of the present invention provides a method for displaying document content, such as Figure 1 As shown, including:
[0023] S101. Obtain the instruction input by the user to perform a screen flipping operation on the document; specifically, the screen flipping can be to flip the document forward so that the user can read the content of the previous screen of the document; or it can be to flip the document backward so that the user can read the content of the next screen of the document. The document may include a word document, a pdf document, a ppt document, etc. When the document is opened, the content displayed on the current interface of the document can be analyzed in real time to extract the core content of the current interface. The core content includes (a) the table header and the table subject, or the subject of the image, that is, public information; (b) summary information of the core content of the table or image, that is, feature information. When the user has finished reading the content displayed on the current interface of the document, the screen flipping operation can be performed, and the instruction input by the user to perform the screen flipping operation on the document can be obtained.
[0024] S102. Perform a screen flipping operation on the document according to the instruction, identify the first table or the first image displayed on the current interface of the document after the screen flipping operation, and extract the first characteristic information of the first table or the first image; specifically, the document can be flipped according to the instruction, and after the screen flipping operation, the content displayed on the current interface of the document can continue to be analyzed. When the content displayed on the current interface of the document includes the first table or the first image, identify the first table or the first image displayed on the current interface of the document, and then extract the first characteristic information of the first table or the first image. The first characteristic information is the summary information of the core content of the first table or the first image.
[0025] S103. Obtain first public information corresponding to the first characteristic information, where the first public information is extracted from the second table or the second image of the document before the screen flipping operation; specifically, the first public information includes a table header and a table subject, or an image subject. After extracting the first characteristic information of the first table or the first image, the first public information corresponding to the first characteristic information can be searched from the core content extracted before the screen flipping operation.
[0026] S104. Display the first public information on the current interface. Specifically, after finding the first public information corresponding to the first characteristic information, the first public information can be displayed on the current interface. The first public information can be displayed on the current interface in the form of a floating window. The first public information can be displayed above the screen or below the screen. Thus, in the case where the first table or the first image has the same or matching first characteristic information as the second table or the second image, the first public information of the second table or the second image of the previous screen or the previous screens can be displayed on the current screen, so that the public information of one or a table or an image that is divided into two parts and set on two pages can be visible on both pages.
[0027] The method for displaying document content provided by an embodiment of the present invention obtains an instruction input by a user to turn the screen of a document; turns the screen of the document according to the instruction, identifies a first table or a first image displayed on the current interface of the document after the turning the screen operation, and extracts first characteristic information of the first table or the first image; obtains first public information corresponding to the first characteristic information, the first public information being extracted from a second table or a second image of the document before the turning the screen operation; and displays the first public information on the current interface; thereby, when a table or an image is divided into two parts and set on two pages, when the user turns to the content behind the table or image, the public information of the table or image will be displayed on the current interface, so that the public information of the table or image is always visible, which can improve the user experience.
[0028] In an optional embodiment, in step S101, before obtaining the user input instruction to turn the document, the method for displaying the document content also includes: identifying a second table or a second image displayed on the current interface in the document; and extracting second feature information and first public information of the second table or the second image.
[0029] Specifically, the content displayed on the current interface of the document can be analyzed in real time. Before the screen flipping operation, when the content displayed on the current interface of the document includes a second table or a second image, the second table or the second image displayed on the current interface of the document can be identified, and then the second characteristic information and the first common information of the second table or the second image can be extracted. The second characteristic information is the summary information of the core content of the second table or the second image.
[0030] In an embodiment of the present invention, before the screen turning operation, by identifying the second table or the second image displayed on the current interface in the document and extracting the second characteristic information and the first public information of the second table or the second image, the second characteristic information and the first public information of the second table or the second image displayed on the current screen when the screen is turned can be obtained. Therefore, when the first table or the first image associated with the second table or the second image is displayed on the next screen, the first public information can be displayed on the next screen, which can be convenient for user reading and improve user experience.
[0031] In an optional embodiment, step S103, obtaining first public information corresponding to the first characteristic information, includes: finding second characteristic information that satisfies a similar condition to the first characteristic information; and finding first public information corresponding to the second characteristic information.
[0032] Specifically, since the first characteristic information is the summary information of the core content of the first table or the first image, and the second characteristic information is the summary information of the core content of the second table or the second image, if the first table and the second table are the same table, or the first image and the second image are the same image, the first characteristic information should match the second characteristic information, and if the first characteristic information is similar or identical to the second characteristic information, the second characteristic information can be found through the first characteristic information, and then the first common information corresponding to the second characteristic information can be found.
[0033] In an embodiment of the present invention, by finding the second characteristic information that meets similar conditions as the first characteristic information, the first public information corresponding to the first characteristic information can be quickly found, and then the first public information can be displayed on the current interface, so that the public information of the same table or the same image is always visible, thereby improving the user experience.
[0034] In an optional embodiment, in step S102, after extracting the first characteristic information of the first table or the first image, the method for displaying the document content further includes: extracting the second public information of the first table or the first image; and when it is determined that the second public information does not exist, obtaining the first public information corresponding to the first characteristic information.
[0035] Specifically, after the screen flipping operation, when the content displayed on the current interface in the document includes the first table or the first image, in addition to extracting the first characteristic information of the first table or the first image, the second public information of the first table or the first image can also be extracted to determine whether the second public information of the first table or the first image exists. The second public information includes a table header and a table subject, or an image subject. If the second public information exists, it means that the first table or the first image displayed on the current interface has a table header and a table subject, or an image subject, and the first public information of the second table or the second image does not need to be displayed on the current interface. If the second public information does not exist, it means that the first table or the first image displayed on the current interface does not have a table header and a table subject, or an image subject, then the first public information corresponding to the first characteristic information can be obtained, and the first public information can be displayed on the current interface.
[0036] In an embodiment of the present invention, the second public information of the first table or the first image is extracted, and the first public information corresponding to the first characteristic information is obtained only when it is determined that the second public information does not exist. Therefore, when the second public information of the first table or the first image exists, the first public information of the second table or the second image is not displayed on the current interface, thereby reducing unnecessary display of the first public information.
[0037] In an optional embodiment, extracting the first public information of the second table or the second image, or extracting the second public information of the first table or the first image, includes: performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; when confirming that the first table or the first image, or the second table or the second image includes annotation information based on the recognition result, extracting the annotation information to obtain a table subject or an image subject; when confirming that the first row of the first table or the second table includes a specific font or specific characters based on the recognition result, extracting the first row of the first table or the second table to obtain a table header.
[0038] Specifically, the specific font includes a bold font, and the specific characters include a serial number, a number, a serial number, etc. When extracting the first public information or the second public information, the first table or the first image, or the second table or the second image can be subjected to text recognition. Since the subject of the table belongs to the annotation information and generally appears above the table, and the subject of the image also belongs to the annotation information and appears above or below the image, when the annotation information is recognized, the annotation information can be extracted to obtain the table subject or the image subject. For the header, it is generally set in the first row of the table and displayed in bold. The text in the table can be processed as follows: 1. When a bold font is detected, the bold font is given a score, and then the weight is compared. The row or column with the largest weight is the table header; 2. Some default keywords are set, such as serial numbers, numbers, serial numbers, etc. If it is detected that the first row of the table includes these keywords, the first row of the table is the table header; through the above processing, the table header can be extracted.
[0039] Since the technology of text recognition is quite mature, in the embodiment of the present invention, by performing text recognition on the first table or the first image, or the second table or the second image, the first public information or the second public information can be accurately extracted according to the text recognition result.
[0040] In an optional embodiment, extracting the first feature information of the first table or the first image, or extracting the second feature information of the second table or the second image, includes: performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; performing semantic analysis on the first table or the first image, or the second table or the second image according to the recognition result to obtain corresponding first feature information or second feature information.
[0041] Specifically, when extracting the first characteristic information or the second characteristic information, text recognition can be performed on the first table or the first image, or the second table or the second image. Then, context analysis is performed based on the text recognition result to determine the attribute information in the table, and semantic analysis is performed on the attribute information in the table to analyze the meaning of the attribute information and obtain the corresponding first characteristic information or the second characteristic information.
[0042] Since the technology of text recognition is quite mature, in the embodiment of the present invention, by performing text recognition on the first table or the first image, or the second table or the second image, the first feature information or the second feature information can be accurately extracted according to the text recognition result.
[0043] In an optional embodiment, in step S104, after displaying the first public information on the current interface, the method for displaying document content further includes: acquiring a user's move operation on the first public information; and moving the first public information according to the move operation.
[0044] Generally, the first public information is displayed at the top or bottom of the screen. However, if the user wants to drag the first public information to another location, if the first public information can be dragged, the user experience can be improved. Therefore, the embodiment of the present invention obtains the user's move operation on the first public information, and moves the first public information according to the move operation, so that the first public information can be moved according to the user's needs, which can improve the user experience.
[0045] In order to better understand the present invention, the present invention is further described below using a table as an example.
[0046] When a user opens a document through an electronic device, the data analyzer can be triggered to perform real-time analysis on the content of the document. The data analyzer can perform text recognition on the document displayed on the current interface. When it is recognized that there is a third table on the current interface, such as Figure 2 As shown, the third public information and the third characteristic information in the third table can be extracted, and the third public information includes the third table subject and the table header, such as Figure 2 The third characteristic information is the summary information of the core content of the third table.
[0047] When extracting the third public information of the third table, the annotation information of the third table may be extracted first, for example, Figure 2 The annotation information above the third table in the third table is obtained to obtain the subject of the third table. Then the bold words in the third table are identified, and the bold words are scored. Then the scores of all rows and columns in the third table are compared, and the row or column with the largest score is the header of the third table, such as Figure 2 As shown, the first row of the third table is all bold words, the first row of the third table has the largest score, and the first row of the third table is the header of the third table; further, in order to improve the accuracy of the extracted header of the third table, some serial numbers, digits, and numbers can be set to identify whether the first row of the third table includes these serial numbers, digits, time or numbers. If the first row of the third table includes these serial numbers, digits, time or numbers, for example, the first row of the third table includes serial numbers one, two, three, and four, and also includes time, and the score is the largest, then the first row of the third table is the header of the third table, and then the content of the first row of the third table is extracted to obtain the header of the third table.
[0048] When extracting the third characteristic information of the third table, semantic analysis can be performed on the content of the third table, the context in the third table can be analyzed, and the core content of the third table can be summarized. For example, Figure 2The third table shown can be analyzed through semantic analysis to find that the first column of the third table lists multiple attributes, and the contents of the second to fifth columns are used to describe the multiple attributes respectively. Then the contents obtained by the analysis are recorded to obtain the third feature information.
[0049] Then, after the user scrolls back, the data analyzer continues to analyze the content of the document and performs text recognition on the document displayed on the current interface. When it is recognized that the current interface has a fourth table, Figure 3 As shown, the fourth public information and the fourth characteristic information in the fourth table can be extracted, the fourth public information includes the fourth table subject and the table header, and the fourth characteristic information is the summary information of the core content of the fourth table.
[0050] like Figure 3 As shown, since there is no annotation information in the fourth table, the subject of the fourth table cannot be extracted. Also, since there is no bold font in the fourth table and the first line does not include specific characters such as serial number, number, time or number, the table header cannot be extracted. Thus, the fourth public information cannot be extracted.
[0051] When extracting the fourth feature of the fourth table, semantic analysis can be performed on the content of the fourth table, the context in the fourth table can be analyzed, and the core content of the fourth table can be summarized. For example, Figure 3 The fourth table shown, through semantic analysis, can be analyzed that the first column of the fourth table lists multiple attributes, and the second to fifth columns are used to describe the multiple attributes respectively. Then the content obtained by the analysis is recorded to obtain the fourth feature information.
[0052] By comparing the third characteristic information with the fourth characteristic information, it can be found that the first column of the third table and the first column of the fourth table both list multiple attributes, and the second to fifth columns are used to describe the multiple attributes, so the third characteristic information is similar to the fourth characteristic information. And because the fourth public information is not extracted, the third public information corresponding to the third characteristic information can be displayed in the form of a floating box on the current interface, so that the user can better read and understand the content of the fourth table based on the third public information, thereby improving the user experience.
[0053] The embodiment of the present invention provides a device for displaying document content, such as Figure 4 As shown, including:
[0054] The first analysis unit 21 is used to obtain the instruction input by the user to perform a screen flipping operation on the document; the specific implementation method is detailed in the description of step S101 of the above method embodiment, which will not be repeated here.
[0055] The extraction unit 22 is used to flip the document according to the instruction, identify the first table or the first image displayed on the current interface of the document after the flipping operation, and extract the first feature information of the first table or the first image; the specific implementation method is detailed in the description of step S102 of the above method embodiment, which will not be repeated here.
[0056] The acquisition unit 23 is used to acquire the first public information corresponding to the first characteristic information, where the first public information is extracted from the second table or the second image of the document before the screen flipping operation. The specific implementation method is described in the description of step S103 of the above method embodiment and will not be repeated here.
[0057] The display unit 24 is used to display the first public information on the current interface. The specific implementation method is described in the step S104 of the above method embodiment, which will not be repeated here.
[0058] The document content display device provided by the embodiment of the present invention obtains the instruction input by the user to turn the screen of the document; turns the screen of the document according to the instruction, identifies the first table or the first image displayed on the current interface of the document after the turning the screen operation, and extracts the first characteristic information of the first table or the first image; obtains the first public information corresponding to the first characteristic information, the first public information is extracted from the second table or the second image of the document before the turning the screen operation; displays the first public information on the current interface; so that when a table or an image is divided into two parts and set on two pages, when the user turns to the content behind the table or image, the public information of the table or image will be displayed on the current interface, so that the public information of the table or image is always visible, which can improve the user experience.
[0059] Based on the same inventive concept as the method for displaying document content in the aforementioned embodiment, the embodiment of the present invention further provides an electronic device, such as Figure 5 As shown, it includes: a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can be connected via a bus or other means. Figure 5 The bus connection is used as an example for explanation.
[0060] The processor 31 may be a central processing unit (CPU). The processor 31 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0061] The memory 32 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method for displaying document content in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, realizing the method for displaying document content in the above method embodiment.
[0062] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created by the processor 31, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0063] The above one or more modules are stored in the memory 32, and when executed by the processor 31, the following is performed: Figure 1 The method for displaying document content in the illustrated embodiment.
[0064] For details of the above electronic equipment, please refer to Figure 1 The corresponding related descriptions and effects in the illustrated embodiments can be understood and will not be repeated here.
[0065] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0066] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0067] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable information processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable information processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0068] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0069] These computer program instructions can also be loaded onto a computer or other programmable information processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0070] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for displaying document content, comprising: Obtaining the user's input instruction for turning the document screen; Performing a screen-turning operation on the document according to the instruction, identifying a first table or a first image displayed on a current interface of the document after the screen-turning operation, and extracting first feature information of the first table or the first image; Acquire first public information corresponding to the first characteristic information, where the first public information is extracted from a second table or a second image of the document before a screen turning operation; The first public information is displayed on the current interface.
2. The method for displaying document content according to claim 1, before obtaining the instruction input by the user to perform a screen flipping operation on the document, further comprising: Identify a second table or a second image currently displayed on the interface of the document; The second characteristic information of the second table or the second image and the first common information are extracted.
3. The method for displaying document content according to claim 2, wherein the step of obtaining first public information corresponding to the first characteristic information comprises: Finding the second characteristic information that meets similar conditions as the first characteristic information; The first public information corresponding to the second characteristic information is found.
4. The method for displaying document content according to claim 1, after extracting the first characteristic information of the first table or the first image, further comprising: extracting second public information of the first table or the first image; When it is determined that the second public information does not exist, first public information corresponding to the first feature information is acquired.
5. According to the method for displaying document content as claimed in claim 4, the first public information and the second public information both include a table header and a table subject, or an image subject.
6. The method for displaying document content according to claim 5, extracting the first public information of the second table or the second image, or extracting the second public information of the first table or the first image, comprises: Performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; When it is confirmed according to the recognition result that the first table or the first image, or the second table or the second image includes annotation information, extracting the annotation information to obtain a table subject or an image subject; When it is confirmed according to the recognition result that the first row of the first table or the second table includes a specific font or specific characters, the first row content of the first table or the second table is extracted to obtain a table header.
7. The method for displaying document content according to claim 2, extracting the first characteristic information of the first table or the first image, or extracting the second characteristic information of the second table or the second image, comprises: Performing text recognition on the first table or the first image, or the second table or the second image, to obtain a recognition result; According to the recognition result, semantic analysis is performed on the first table or the first image, or the second table or the second image, to obtain the corresponding first feature information or the second feature information.
8. The method for displaying document content according to claim 1, after displaying the first public information on the current interface, further comprising: Acquiring a user's mobile operation on the first public information; According to the move operation, the first public information is moved.
9. An electronic device, comprising: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the method for displaying document content as described in any one of claims 1-8.
10. A device for displaying document content, comprising: A first analysis unit is used to obtain an instruction input by a user to perform a screen flipping operation on a document; an extraction unit, configured to perform a screen turning operation on the document according to the instruction, identify a first table or a first image displayed on a current interface of the document after the screen turning operation, and extract first feature information of the first table or the first image; an acquisition unit, configured to acquire first public information corresponding to the first characteristic information, wherein the first public information is extracted from a second table or a second image of the document before a screen turning operation; A display unit is used to display the first public information on the current interface.
Citation Information
Patent Citations
Table information display and operation method applied to B / S structure
CN103176702A
Form information cross-page identification method, electronic device and computer readable storage medium
CN107844468A
Document making method, device and apparatus and storage medium
CN110968996A
Table data display method
CN111190516A
Table information display method and device, equipment and storage medium
CN111241796A
