Display method, device, pen-type electronic dictionary, electronic device, and storage medium

The display method for pen-type electronic dictionaries addresses the limited display issue by displaying segmented words and related content on the same screen using punctuation marks and thumbnail icons, enhancing user convenience.

JP7565400B2Active Publication Date: 2024-10-10HEFEI IFLYTEK TOYCLOUD TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023042038
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-10-27
Filing Date
2023-03-16
Publication Date
2024-10-10
Estimated Expiration
2043-03-16

AI Technical Summary

Technical Problem

Traditional pen-type electronic dictionaries have limited display sizes, requiring users to slide screens to view segmented words and their related content, which is inconvenient.

Method used

A display method that determines a second text including a target segmented word from the first text based on position information, displaying the second text and related text on the same screen, using punctuation marks to segment the text and employing thumbnail icons for folded content.

Benefits of technology

Enables simultaneous viewing of target segmented words and their related text on a limited display without sliding, optimizing user experience by eliminating the need for screen navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000013_0000
    Figure 00000013_0000
  • Figure 00000013_0001
    Figure 00000013_0001
  • Figure 00000013_0002
    Figure 00000013_0002
Patent Text Reader

Abstract

To provide a display method, an apparatus, a pen-type electronic dictionary, electronic equipment, and a recording medium which allow a target divided word and an analysis text for the target divided word to be simultaneously browsed on a display screen of a limited size.SOLUTION: In response to a word selection operation, a corresponding target divided word in a first text of the word selection operation is determined. Based on positional information in the first text of the target divided word as a currently displayed text, a second text including at least the target divided word is determined from the first text to display the second text and a relevant text of the target divided word. The second text including the target divided word is determined from the currently displayed first text to display both the second text and the relevant text of the target divided word simultaneously. Thus, a user can simultaneously browse both the target divided word and the analysis text of the target divided word on a display screen of a limited size.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of scanning display, and in particular to a display method, an apparatus, a pen-type electronic dictionary, an electronic device, and a storage medium. [Background technology]

[0002] With the effective combination of educational resources and Internet technology, pen-type electronic dictionaries based on word scanning and extraction function have appeared. Pen-type electronic dictionaries apply OCR (optical character recognition) technology and built-in translation systems, and instead of the traditional electronic dictionary key input, they adopt the method of quickly scanning and searching words, which provides convenience for vocabulary learning.

[0003] Conventional pen-type electronic dictionaries often adopt a pen-type structure design, have a small structure, and can be directly carried in a pocket, which is convenient for users to carry and use. However, due to its small size, the display installed on the body of the pen-type electronic dictionary is also very small, and the content displayed at one time is limited, and most of the content is hidden, so that users need to slide the screen to search for it when they want to inquire, which is very inconvenient. Summary of the Invention [Problem to be solved by the invention]

[0004] The present invention provides a display method, device, pen-type electronic dictionary, electronic device and storage medium to solve the deficiencies of the prior art, which are limited by the size of the display and require users to slide the screen to search for divided words. [Means for solving the problem]

[0005] The present invention provides a display method, the display method comprising: determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and displaying the second text and related text of the target segmented words.

[0006] According to the display method of the present invention, determining a second text from the first text based on position information of the target divided word in the first text includes: determining a line of text in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; and determining the second text based on the line text.

[0007] According to the display method of the present invention, determining the second text based on the line text includes: The method includes dividing the second text from the line of text using a punctuation mark arranged after the target word to be divided as a division point.

[0008] According to the display method of the present invention, the step of dividing the second text from the line of text by using a punctuation mark arranged after the target divided word in the line of text as a division point includes the steps of: determining a target symbol from each of the candidate punctuation marks based on a symbol type of each of the candidate punctuation marks and a distance between each of the candidate punctuation marks and the target segmented word when the line of text has at least two candidate punctuation marks arranged after the target segmented word; and segmenting the second text from the line of text using the target symbol as a segmentation point.

[0009] According to the display method of the present invention, the displaying of the second text and the related text of the target segmented words includes: Displaying the second text and a thumbnail icon within a first area; and displaying related text of the target segmented word in a second area; The first area and the second area are obtained by dividing a display area, and the thumbnail icon is intended to indicate that the text of the first text that is arranged after the second text is folded.

[0010] According to the display method of the present invention, after displaying the second text and the related text of the target segmented word, The method further includes displaying, in response to a click operation on the thumbnail icon, the second text and text of the first text that is arranged after the second text.

[0011] The present invention further provides a display device, the display device comprising: a segmented word determination unit for determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; a text determination unit for determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and a same-screen display unit for displaying the second text and related text of the target segmented word.

[0012] The present invention further provides a pen-type electronic dictionary, the pen-type electronic dictionary including an image sensor, a processor and a display connected in sequence, and an interaction interface connected to the processor; the image sensor is for obtaining a scanned image and transmitting the scanned image to the processor; the processor is for performing character recognition on the scanned image to obtain first text and displaying the first text on the display; The interaction interface is for receiving a word selection operation and sending the word selection operation to the processor, and the processor is further used for determining a corresponding target segmented word in a first text of the word selection operation, determining a second text from the first text based on position information of the target segmented word in the first text, and displaying the second text and related text of the target segmented word on the display.

[0013] The present invention further provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the program is executed by the processor, any one of the display methods described above is performed.

[0014] The present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, the non-transitory computer-readable storage medium performing any one of the display methods described above when the computer program is executed by a processor.

[0015] The present invention further provides a computer program product comprising a computer program, which, when executed by a processor, performs any one of the display methods described above. Effect of the Invention

[0016] According to the display method, device, pen-type electronic dictionary, electronic device, and storage medium of the present invention, a second text containing a target segmented word is determined from a currently displayed first text, and the second text and related text of the target segmented word are displayed on the same screen, allowing a user to simultaneously view the target segmented word and the analyzed text of the target segmented word on a display screen of limited size, eliminating the need to slide the screen to search, and optimizing the user experience. [Brief description of the drawings]

[0017] In order to more clearly describe the technical solutions in the present invention or the prior art, the drawings necessary for describing the embodiments or the prior art are briefly described below. Of course, the drawings described below are some embodiments of the present invention, and those skilled in the art can further obtain other drawings based on these drawings without requiring creative labor. [Figure 1] FIG. 1 is a schematic diagram of an analysis display using a pen-type electronic dictionary in the prior art. [Diagram 2] FIG. 2 is a flowchart of the display method according to the present invention. [Diagram 3] FIG. 3 is a schematic diagram of an analysis display of the pen-type electronic dictionary according to the present invention. [Figure 4] FIG. 4 is a flow chart of step 220 in the display method according to the present invention. [Diagram 5] FIG. 5 is a schematic diagram of a display area according to the present invention. [Figure 6] FIG. 6 is a schematic diagram of the structure of a display device according to the present invention. [Figure 7] FIG. 7 is a schematic diagram of the structure of the pen-type electronic dictionary according to the present invention. [Figure 8] FIG. 8 is a schematic diagram of the structure of an electronic device according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be described clearly and completely with reference to the drawings of the present invention. Of course, the described embodiments are not all the embodiments, but only some of the embodiments of the present invention. All other embodiments obtained by those skilled in the art without creative labor based on the embodiments of the present invention are included in the protection scope of the present invention.

[0019] Usually, because the size of the pen-type electronic dictionary is small, the display installed on the body of the pen-type electronic dictionary is also very small, and the content displayed at one time is limited, and most of the content is hidden, and the user needs to slide the screen to search for it when inquiring. For example, FIG. 1 is a schematic diagram of analysis display by a pen-type electronic dictionary in the prior art. As shown in FIG. 1, when the pen-type electronic dictionary 10 displays the content of a long sentence collected by scanning on the display 11, when the user individually inquires about the analysis of a certain divided word in the long sentence, for example, "trying to bloom with buds", after the user touches "trying to bloom with buds", the display 11 directly displays "Some are deep yellow like gold" at the end of the content of the long sentence, and the related analysis content of "trying to bloom with buds". However, this is disadvantageous for the user to observe "trying to bloom with buds" and its related analysis content, and the user needs to slide the screen to find the divided word he inquired about, which is very inconvenient to use.

[0020] To solve this problem, the present invention provides a display method. The method can be applied to electronic devices such as pen-type electronic dictionaries and scanning pens, and can also be applied to other electronic devices in which the display content is limited due to a small display, and the embodiment of the present invention will be described by taking a pen-type electronic dictionary as an example. Figure 2 is a flowchart of the display method according to the present invention, and as shown in Figure 2, the display method of the present invention includes steps 210 to 230.

[0021] In step 210, in response to a word selection operation, a corresponding target segmented word in a first text of the word selection operation is determined, the first text being the currently displayed text.

[0022] Specifically, the first text is a text currently displayed on the display of the pen-type electronic dictionary, and the first text may be a text obtained by performing text recognition after scanning by the pen-type electronic dictionary, or may be a text including a text obtained by performing text recognition after scanning and a translation text obtained by translating the scanned and recognized text, or may be a text previously stored in the pen-type electronic dictionary or a text previously downloaded by the pen-type electronic dictionary via a network, and the embodiment of the present invention is not specifically limited thereto. A divided word operation can be performed in advance on the first text so that each divided word in the first text can be individually selected to perform functions such as divided word analysis and divided word translation.

[0023] The word selection operation is to select any divided word in the first text so as to realize the operation of functions such as divided word analysis, analytical translation, etc. Specifically, the user may realize the word selection operation by touching or long pressing a divided word in the first text on the display, or the user may realize the word selection operation by using a key on a pen-type electronic dictionary to select one divided word from each divided word of the first text.

[0024] After detecting the word selection operation, the pen-type electronic dictionary can determine from the first text the segmented words that need to perform functions such as analysis and translation, that is, the target segmented words. For example, in FIG. 1, "flower buds and about to bloom" is the target segmented word.

[0025] In step 220, a second text is determined from the first text based on position information of the target segmented word in the first text, where the second text includes at least the target segmented word.

[0026] In step 230, the second text and related text of the target segmented words are displayed.

[0027] Specifically, taking into consideration the limited content that can be displayed on a display, in order to realize the same-screen display of the target split word and its related text, a portion of the first text is cut out as the second text and displayed on the same screen together with the related text of the target split word, i.e., the portion of the first text other than the second text is folded, thereby shortening the display distance between the target split word and its related text on the display.

[0028] In addition, the related text of the target segmented word may specifically be an analysis text of the target segmented word, or a translation of the target segmented word and an explanation text of the translation, or a practice text designed to learn the target segmented word, etc., and the embodiment of the present invention is not specifically limited thereto.

[0029] When the target segmented word is determined, a second text can be determined from the first text based on the position information of the target segmented word in the first text, for later displaying on the same screen together with the related text of the target segmented word. It can be understood that, in order to achieve the effect of displaying on the same screen, the second text can be a part or the whole of the first text, and the second text must contain the target segmented word.

[0030] Specifically, when determining the second text from the first text, the second text may be selected by applying position information of the target segmented word in the first text, specifically the number of the line in which the target segmented word exists, or the number of the short sentence in which the target segmented word exists, etc. For example, the text of the line in which the target segmented word exists in the first text may be the second text, or the short sentence in which the target segmented word exists in the first text may be the second text, and the embodiment of the present invention is not specifically limited thereto.

[0031] After the selection of the second text is completed, the second text and the related text of the target divided word can be displayed on the same screen. For example, FIG. 3 is a schematic diagram of the analysis display of the pen-type electronic dictionary according to the present invention. As shown in FIG. 3, when "trying to bloom with buds" is the target divided word, from the line text "Some are already blooming, some are trying to bloom with buds, large" in the line where "trying to bloom with buds" exists in the first text, the text before the first punctuation mark after "trying to bloom with buds" is "Some are already blooming, some are trying to bloom with buds, " can be displayed as the second text, and the second text and the analyzed text of the target divided word can be displayed synchronously. That is, the user can simultaneously view the target divided word and the analyzed text of the target divided word on one display, so there is no need to slide the screen to search.

[0032] In a method according to an embodiment of the present invention, a second text containing a target segmented word is determined from a currently displayed first text, and the second text and related text of the target segmented word are displayed on the same screen, allowing a user to simultaneously view the target segmented word and the analyzed text of the target segmented word on a display screen of limited size, thereby eliminating the need to slide the screen to search, and optimizing the user experience.

[0033] Based on the above embodiment, FIG. 4 is a flowchart of step 220 in the display method according to the present invention. As shown in FIG. 4, step 220 includes: A step 221 of determining a line text of a line in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; and determining 222 the second text based on the line text.

[0034] Specifically, in the process of determining the second text from the first text, the line text of the line where the target segmented word exists in the first text can be located first. It can be understood that the text scale of the second text obtained after that can be greatly reduced by only the line text of the line where the target segmented word exists, so that when the second text and the related text of the target segmented word are displayed on the same screen, the second text occupies a smaller area on the display, and a larger area on the display is left for the related text with more content, so that the user can view the target segmented word and its related text more intuitively and conveniently.

[0035] For the line text of a line in which the target segmented word exists, the line text may be directly used as the second text, or the end of the short sentence in which the target segmented word exists may be used as the segmentation point, and the portion of the line text containing the target segmented word may be used as the second text; embodiments of the present invention are not specifically limited thereto.

[0036] Based on any of the above embodiments, step 222 includes: The method includes dividing the second text from the line of text using a punctuation mark arranged after the target word to be divided as a division point.

[0037] Specifically, considering that the presence of punctuation marks themselves generally indicates the stop of a sentence, in particular, punctuation marks, exclamation marks, etc. can be used as semantic division, i.e., the text before the punctuation marks can express the complete meaning. In order to enable a user to better understand the target segmented word through the context provided by the second text when reading the second text and the related text of the target segmented word, after obtaining the line text, the punctuation marks appearing after the target segmented word in the line text can be located, and the punctuation marks can be used as segmentation points to perform text segmentation, and the text containing the target segmented word in the segmented text can be used as the second text.

[0038] In this process, when text segmentation is performed using punctuation marks as segmentation points, the punctuation marks may be added to the text before the segmentation point, or the punctuation marks may be added to the text after the segmentation point, and the embodiment of the present invention does not have any specific limitations thereon.

[0039] In a method according to an embodiment of the present invention, a second text is obtained by splitting punctuation marks arranged after a target split word as split points to provide context for a user to understand the target split word, so that there is a probability that the second text represents the complete meaning.

[0040] Based on any of the above embodiments, in step 222, dividing the second text from the line text by using a punctuation mark arranged after the target divided word in the line text as a division point is specifically If there are at least two candidate punctuation marks in the line of text that are arranged after the target segmented word, determining a target symbol from each of the candidate punctuation marks based on a symbol type of each of the candidate punctuation marks and a distance between each of the candidate punctuation marks and the target segmented word; and segmenting the second text from the line of text using the target symbol as a segmentation point.

[0041] Specifically, when performing text segmentation based on the punctuation marks arranged after the target segmentation word in the line text, the number of punctuation marks arranged after the target segmentation word in the line text needs to be taken into consideration. As can be seen, when there is no punctuation mark after the target segmentation word, the text of the entire line can be the second text, or the text arranged before the target segmentation word in the line text and the target segmentation word itself can be the second text; when there is one punctuation mark after the target segmentation word, the punctuation mark can be directly used as a segmentation point to segment the line text to obtain the second text.

[0042] On the other hand, when at least two punctuation marks are arranged after the target segmentation word in the line text, for convenience of explanation, the punctuation marks arranged after the target segmentation word in the line text are referred to as candidate punctuation marks, and one of the at least two candidate punctuation marks must be selected as a segmentation point for the line text. When making a specific selection, the symbol type of the candidate punctuation mark and the distance between the candidate punctuation mark and the target segmentation word can be referenced. As can be seen, different symbols express different meanings, and a period can embody the meaning of the end of a complete meaning compared to a comma, while a midpoint cannot reflect the complete meaning and represents a stop between phrases. Therefore, when there are candidate punctuation marks of different symbol types, the candidate punctuation mark that can reflect the end of a more complete meaning can be preferentially selected as a target symbol to be used as a segmentation point when segmenting the text of the subsequent line. For candidate punctuation marks of the same type, the closer the distance between the candidate punctuation mark and the target segmented word, the higher the correlation with the context in which the target segmented word is located. Therefore, for candidate punctuation marks of the same type, the candidate punctuation mark that is closer to the target segmented word is preferentially selected as the target symbol, and used as the segmentation point when segmenting the text of the subsequent line, thereby segmenting the line text to obtain a second text.

[0043] In a method according to an embodiment of the present invention, when there are at least two candidate punctuation marks arranged after a target segmentation word in a line of text, a segmentation point filtering method is provided to realize a more reasonable and reliable method of obtaining a second text, which is convenient for a user to view the second text containing the target segmentation word and the analyzed text of the target segmentation word on the same screen.

[0044] Based on any of the above embodiments, step 230 includes: Displaying the second text and a thumbnail icon within a first area; and displaying related text of the target segmented word in a second area; The first area and the second area are obtained by dividing a display area, and the thumbnail icon is intended to indicate that the text of the first text that is arranged after the second text is folded.

[0045] Specifically, in the process of displaying the second text and the related text of the target divided word on the same screen, in order to make the same screen display more intuitive, the first area and the second area can be divided in the display area of ​​the display to realize an area-divided display of the second text and the related text of the target divided word, so that the user can more easily distinguish between the second text and the related text when viewing on the same screen.

[0046] Also, in addition to the second text, a thumbnail icon may be displayed within the first region, where the thumbnail icon indicates that the text following the second text has been folded and is now hidden. The thumbnail icon may be located to the right of the second text and adjacent to the last character of the second text to more clearly indicate that the text following the second text has been folded, rather than being lost or misdisplayed.

[0047] For example, FIG. 5 is a schematic diagram of a display area according to the present invention. In FIG. 5, the display area of ​​the display 11 can be divided into a first area 12 and a second area 13 according to the division format of the dotted frame in the figure, where the first area displays the second text "Some are already in bloom, while others are about to bloom with buds" and displays a thumbnail icon 14, and the second area displays the related text of "about to bloom with buds" as a target division word in order to analyze "about to bloom with buds."

[0048] Based on any of the above embodiments, after step 230, The method further includes displaying, in response to a click operation on the thumbnail icon, the second text and text of the first text that is arranged after the second text.

[0049] Specifically, the thumbnail icon itself has the effect of notifying the user that the text following the second text is not displayed in a folded state. In addition, when the user views the target segmented word and the analyzed text of the target segmented word on the same screen, the thumbnail icon may be a switch for folding or displaying the folded text following the second text, considering that there may be a need to view the folded text following the second text.

[0050] A user can realize a click operation on the thumbnail icon by clicking the thumbnail icon, and after detecting the click operation on the thumbnail icon, the pen-type electronic dictionary displays the second text and simultaneously displays the previously folded text behind the second text so that the user can completely read the first text.

[0051] Based on any of the above embodiments, FIG. 6 is a schematic diagram of the structure of a display device according to the present invention. As shown in FIG. 6, the device includes: a segmented word determination unit 610 for determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; A text determining unit 620 for determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and a same-screen display unit 630 for displaying the second text and related text of the target segmented word.

[0052] In an embodiment of the device of the present invention, a second text containing a target segmented word is determined from a currently displayed first text, and the second text and related text of the target segmented word are displayed on the same screen, allowing a user to simultaneously view the target segmented word and the analyzed text of the target segmented word on a display screen of limited size, eliminating the need to slide the screen to search, and optimizing the user experience.

[0053] Based on any of the above embodiments, the text determination unit 620: a line text positioning unit for determining a line text of a line in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; and a second text determining unit for determining the second text based on the line text.

[0054] Based on any of the above embodiments, the second text determination unit: The second text is divided from the line of text by using a punctuation mark arranged after the target word to be divided in the line of text as a division point.

[0055] Based on any of the above embodiments, the second text determination unit specifically comprises: If there are at least two candidate punctuation marks in the line of text that are arranged after the target segmented word, determining a target symbol from each of the candidate punctuation marks based on a symbol type of each of the candidate punctuation marks and a distance between each of the candidate punctuation marks and the target segmented word; and segmenting the second text from the line of text using the target symbol as a segmentation point.

[0056] According to any of the above embodiments, the same screen display unit 630: Displaying the second text and a thumbnail icon within a first area; and displaying related text of the target segmented word in a second area. The first area and the second area are obtained by dividing a display area, and the thumbnail icon is intended to indicate that the text of the first text that is arranged after the second text is folded.

[0057] According to any of the above embodiments, the same screen display unit 630 further comprises: In response to a click operation on the thumbnail icon, the second text and the text arranged after the second text among the first text are displayed.

[0058] Based on any of the above embodiments, FIG. 7 is a schematic diagram of the structure of a pen-type electronic dictionary according to the present invention. As shown in FIG. 7, the pen-type electronic dictionary includes an image sensor 710, a processor 720 and a display 730 connected in sequence, and an interaction interface 740 connected to the processor 720; the image sensor 710 for acquiring a scanned image and transmitting the scanned image to the processor 720; the processor 720 is for performing character recognition on the scanned image to obtain a first text, and displaying the first text based on the display 730; The interaction interface 740 is for receiving a word selection operation and sending the word selection operation to the processor 720, which is further used for determining a corresponding target segmented word in a first text of the word selection operation, determining a second text from the first text based on position information of the target segmented word in the first text, and displaying the second text and related text of the target segmented word based on the display 730.

[0059] Specifically, the pen-type electronic dictionary may include an image sensor 710 for collecting images, a processor 720 for controlling related functions and implementing data processing of the pen-type electronic dictionary, a display 730 for displaying, and an interaction interface 740 for receiving user operations. As can be appreciated, in some embodiments, a touch screen can serve the functions of both the display 730 and the interaction interface 740, in which case the display 730 and the interaction interface 740 are the same component.

[0060] In the operation process of the pen-type electronic dictionary, a user can perform image scanning by the image sensor 710 built into the pen-type electronic dictionary, so that the image sensor 710 collects images corresponding to characters that the user needs to input, that is, obtains a scanned image, and then the image sensor 710 can transmit the scanned image to the processor 720. When the processor 720 receives the scanned image, it can perform character recognition on the scanned image and transmit the result of the character recognition as a first text to the display 730, so that the first text can be displayed on the display 730.

[0061] The user can view the first text obtained by scanning through the display 730 and select a segmented word in the first text through the interaction interface 740 on the pen-type electronic dictionary, whereby the interaction interface 740 can receive the word selection operation and transmit the word selection operation to the processor 720. When the processor 720 receives the word selection operation, in response to the word selection operation, it determines a target segmented word corresponding to the word selection operation from the first text, determines a second text from the first text based on the position information of the target segmented word in the first text, and transmits the second text and the related text of the target segmented word to the display 730 in a lump, thereby realizing the same screen display of the second text and the related text of the target segmented word by the display 730. Here, regarding the determination of the second text, specifically, the line text of the line in which the target segmented word exists may be determined from the first text, and the text from the beginning of the line text to the target segmented word may be set as the second text, or the second text may be determined in another form proposed in the above embodiment, and the embodiment of the present invention is not specifically limited thereto.

[0062] In the pen-type electronic dictionary according to an embodiment of the present invention, a second text containing a target segmented word is determined from a currently displayed first text, and the second text and related text of the target segmented word are displayed on the same screen, allowing a user to simultaneously view the target segmented word and the analyzed text of the target segmented word on a display screen of limited size, thereby eliminating the need to slide the screen to search, and optimizing the user experience.

[0063] 8 is a schematic diagram of an entity structure of an electronic device. As shown in FIG. 8, the electronic device may include a processor 810, a communications interface 820, a memory 830 and a communications bus 840, where the processor 810, the communications interface 820 and the memory 830 realize communication between each other via the communications bus 840. The processor 810 can call logic instructions in the memory 830 to execute a display method, which includes: determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and displaying the second text and related text of the target segmented words.

[0064] Moreover, the logic instructions in the memory 830 may be realized in the form of a software functional unit, and may be stored in a computer-readable storage medium when sold or used as an independent product. Based on such understanding, the technical solution of the present invention, its essence or a part contributing to the prior art or a part of the technical solution, may be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes some instructions for making a computer device (such as a personal computer, a server, or a terminal) execute all or part of the steps of the method of each embodiment of the present invention. The storage medium includes various media capable of storing program code, such as a USB disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0065] In another aspect, the present invention further provides a computer program product, the computer program product including a computer program, the computer program may be stored in a non-transitory computer-readable storage medium, the computer program being capable of executing a display method according to any one of the above methods when executed by a processor, the method comprising: determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and displaying the second text and related text of the target segmented words.

[0066] In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, the non-transitory computer-readable storage medium being capable of executing a display method according to any one of the above methods when the computer program is executed by a processor, the method comprising: determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; and displaying the second text and related text of the target segmented words.

[0067] The above-described embodiment of the device is merely exemplary, and the units described herein as separate components may or may not be physically separated, and the parts shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple network units. The objective of the technical solution of this embodiment can be achieved by selecting some or all of the modules herein according to actual needs. Those skilled in the art can understand and implement it without any creative labor.

[0068] As will be apparent to those skilled in the art from the above description of the embodiments, each embodiment may be realized by combining a necessary common hardware platform and software, or may be realized by hardware. Based on this understanding, the above technical proposals, their essence or a part that contributes to the prior art, may be embodied in the form of a software product. The computer software product may be stored in a computer-readable storage medium such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for causing one computer device (such as a personal computer, a server, or a network device) to execute the method described in each embodiment or several parts of the embodiments.

[0069] Finally, the above embodiments are merely for explaining the technical solutions of the present invention, and are not intended to be limiting. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can still modify the technical solutions described in the above embodiments or replace some of the technical features equivalently, and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. [Explanation of symbols]

[0070] 10 pen-type electronic dictionary, 11 display, 12 first area, 13 second area, 14 thumbnail icon

Claims

1. determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; displaying the second text and related text of the target segmented words; The step of determining a second text from the first text based on position information of the target segmented word in the first text includes: determining a line of text in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; determining the second text based on the line text; Determining the second text based on the line text, as described above, includes: A display method comprising: dividing the second text from the line of text using a punctuation mark arranged after the target word to be divided in the line of text as a division point.

2. The step of dividing the second text from the line of text by using a punctuation mark arranged after the target divided word in the line of text as a division point includes the steps of: determining a target symbol from each of the candidate punctuation marks based on a symbol type of each of the candidate punctuation marks and a distance between each of the candidate punctuation marks and the target segmented word when the line of text includes at least two candidate punctuation marks that are arranged after the target segmented word; 2. The method of claim 1, further comprising: dividing the second text from the line of text using the target symbol as a dividing point.

3. In response to a word selection operation, determining a corresponding target segmented word in a first text of the word selection operation, the first text being a currently displayed text; and determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; displaying the second text and related text of the target segmented words; The step of displaying the second text and the related text of the target segmented words includes: Displaying the second text and a thumbnail icon within a first area; and displaying related text of the target segmented word in a second area; A display method characterized in that the first area and the second area are obtained by dividing a display area, and the thumbnail icon is intended to indicate that text of the first text that is arranged after the second text is folded.

4. After displaying the second text and the related text of the target segmented word, The display method according to claim 3, further comprising displaying the second text and the text of the first text that is arranged after the second text in response to a click operation on the thumbnail icon.

5. a segmented word determination unit for determining a corresponding target segmented word in a first text of the word selection operation in response to the word selection operation, the first text being a currently displayed text; a text determination unit for determining a second text from the first text based on position information of the target segmented word in the first text, the second text including at least the target segmented word; a same-screen display unit for displaying the second text and related text of the target segmented words; The step of determining a second text from the first text based on position information of the target segmented word in the first text includes: determining a line of text in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; determining the second text based on the line text; Determining the second text based on the line text, as described above, includes: The display device further comprises dividing the second text from the line of text by using a punctuation mark arranged after the target word to be divided in the line of text as a division point.

6. The present invention includes an image sensor, a processor, and a display, which are connected in series, and an interaction interface connected to the processor; the image sensor is for obtaining a scanned image and transmitting the scanned image to the processor; the processor is for performing character recognition on the scanned image to obtain a first text, and for displaying the first text on the display; The interaction interface is for receiving a word selection operation and transmitting the word selection operation to the processor, the processor being further used for determining a corresponding target segmented word in a first text of the word selection operation, determining a second text from the first text based on position information of the target segmented word in the first text, and displaying the second text and a related text of the target segmented word by the display; The step of determining a second text from the first text based on position information of the target segmented word in the first text includes: determining a line of text in which the target segmented word exists from the first text based on position information of the target segmented word in the first text; determining the second text based on the line text; Determining the second text based on the line text, as described above, includes: The pen-type electronic dictionary further comprises dividing the second text from the line of text using a punctuation mark arranged after the target divided word in the line of text as a dividing point.

7. 5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the electronic device performing the display method according to claim 1 when the program is executed by the processor.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, the non-transitory computer-readable storage medium being characterized in that, when the computer program is executed by a processor, the display method according to any one of claims 1 to 4 is performed.

Citation Information

Patent Citations

  • Information display controller and program

    JP2017054352A

  • Electronic apparatus and method for controlling electronic apparatus

    JP2018081661A

  • Information processing device, information processing method, and program

    WO2013118387A1