Information display method, device, electronic device and storage medium
By displaying the target entry information in the document page and jumping to the source page, the problem of cumbersome steps when viewing the entry definition is solved by users, improving the efficiency of viewing and reading continuity of entry information.
Patent Information
- Application Number
- CN202111463708.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-02
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2041-12-02
AI Technical Summary
In the prior art, when viewing the definition of nouns and entries in an online document, users need to return to the position by scrolling the page and other operations, resulting in cumbersome steps, low efficiency, and affecting the continuous reading.
By displaying the entry display area around the target word in the document page, directly displaying the target entry information, and responding to the jump trigger operation, jump to the source page of the entry information to position, simplifying the search steps and improving viewing efficiency.
There is no need to manually scroll the page back position to view the entry information, which simplifies the search process, improves the efficiency of the entry information, and avoids the impact of page turning operations on reading continuity.
Smart Images

Figure CN114282494B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of network technology, and in particular to an information display method, device, electronic device and storage medium. Background Art
[0002] Documents usually display the definitions of the nouns involved. When a user is reading an online document, if he needs to view the definition of a noun in the aforementioned document, he needs to return to the document location where the definition is located according to his memory, such as by scrolling the page, to view the definition. After viewing, the user can return to the document location currently being read according to his memory, such as by scrolling the page.
[0003] However, this method of viewing entry definitions not only requires manual memorization of the location of the entry to be viewed and the current reading location, but also requires manual search based on the memorized location. This results in more steps in viewing entry definitions, inconvenient user operation, and low viewing efficiency. Summary of the invention
[0004] The present disclosure provides an information display method, device, electronic device and storage medium, which can overcome the problem of low efficiency in viewing entry definitions in related technologies.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information display method, comprising:
[0006] Displaying a document page, wherein the document page includes a target word;
[0007] In response to a setting operation for the target word, the target word is matched with a noun included in a vocabulary library, the vocabulary library including at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page;
[0008] In the case where the term library includes the target term, the term display area located around the target term in the document page displays the target term information of the target term in the term library;
[0009] In response to the jump triggering operation of the entry display area, jump to the source page of the target entry information and locate the display position of the target entry information on the source page.
[0010] In a possible implementation, jumping to the source page of the target term information and locating the display position of the target term information on the source page includes:
[0011] When the document page is the same as the source page, locating at the display position;
[0012] When the document page is different from the source page, jump to the source page and locate at the display position.
[0013] In a possible implementation, before jumping to the source page of the target term information and locating the display position of the target term information on the source page, the method further includes:
[0014] In response to a jump triggering operation of the entry display area, a current display position of the document page is recorded.
[0015] In a possible implementation, after jumping to the source page of the target term information and locating the display position of the target term information on the source page, the method further includes:
[0016] In response to a page return operation, the document page is jumped to and positioned at the current display position.
[0017] In a possible implementation, the document page further includes words to be added, and the method further includes:
[0018] In response to the entry adding operation for the word to be added, displaying an entry library display window, wherein the word to be added is displayed in the entry library display window;
[0019] Acquire the entry information of the word to be added input in the entry library display window;
[0020] The words to be added and the entry information of the words to be added are added to the entry library.
[0021] In a possible implementation, the document page further includes definition information of the word to be added; and the acquiring the entry information of the word to be added input in the entry library display window includes:
[0022] In response to the editing input operation for the definition information in the entry library display window, the definition information input in the entry library display window is acquired, and the definition information is used as the entry information of the noun to be added.
[0023] In a possible implementation, the step of responding to the entry adding operation for the word to be added further includes:
[0024] In response to an entry adding operation for the word to be added, obtaining a display position of the definition information in the document page;
[0025] The display position of the definition information in the document page and the document page are associated with the word to be added and added to the entry library.
[0026] In one possible implementation, the method further includes:
[0027] In response to a setting operation of a deletion control corresponding to a target noun in the entry library display window, all information corresponding to the target noun is deleted from the entry library, and related information of the target noun is stopped from being displayed in the entry library display window.
[0028] In one possible implementation, the method further includes:
[0029] In response to a document entry adding operation for the target word, when the document page is different from a source page of the target entry information, the target entry information is added to the document displayed on the document page.
[0030] In a possible implementation, the term display area located around the target term in the document page displays the target term information of the target term in the term library, including:
[0031] The target entry information is displayed in a floating frame located in the entry display area.
[0032] In one possible implementation, the method further includes:
[0033] When the entry library does not include the target word, prompt information is displayed in the entry display area, and the prompt information is used to indicate that the target word is not found in the entry library.
[0034] In a possible implementation, in response to the setting operation for the target word, matching the target word with nouns included in the vocabulary library includes:
[0035] A start operation for a function switch control is received, and in response to a setting operation for the target word, the target word is matched with a noun included in a vocabulary library.
[0036] According to a second aspect of an embodiment of the present disclosure, there is provided an information display device, including:
[0037] A display module, used to display a document page, wherein the document page includes a target word;
[0038] a matching module, configured to match the target word with a noun included in a vocabulary library in response to a setting operation for the target word, the vocabulary library including at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page;
[0039] The display module is also used to display the target term information of the target term in the term library in the term display area located around the target term in the document page when the term library includes the target term; and is also used to jump to the source page of the target term information and locate the display position of the target term information on the source page in response to a jump trigger operation of the term display area.
[0040] In a possible implementation, the display module is further used for:
[0041] When the document page is the same as the source page, locating at the display position;
[0042] When the document page is different from the source page, jump to the source page and locate at the display position.
[0043] In a possible implementation, the device further includes:
[0044] A recording module is used to record the current display position of the document page in response to a jump trigger operation of the entry display area.
[0045] In a possible implementation, the display module is further configured to: in response to a page return operation, jump to the document page and locate at the current display position.
[0046] In a possible implementation, the document page further includes words to be added.
[0047] The display module is further used to: in response to the entry adding operation for the word to be added, display an entry library display window, wherein the word to be added is displayed in the entry library display window;
[0048] The device further comprises: an acquisition module, configured to acquire entry information of the word to be added input in the entry library display window;
[0049] An adding module is used to add the words to be added and the entry information of the words to be added to the entry library.
[0050] In a possible implementation, the document page further includes definition information of the word to be added; and the acquisition module is further configured to:
[0051] In response to the editing input operation for the definition information in the entry library display window, the definition information input in the entry library display window is acquired, and the definition information is used as the entry information of the noun to be added.
[0052] In a possible implementation, the acquisition module is further used to: in response to an entry adding operation for the word to be added, acquire a display position of the definition information in the document page;
[0053] The adding module is further used to associate the display position of the definition information in the document page and the document page with the word to be added and add them to the entry library.
[0054] In a possible implementation, the device further includes:
[0055] The deletion module is used to delete all information corresponding to the target noun from the entry library in response to the setting operation of the deletion control corresponding to the target noun in the entry library display window, and stop displaying the relevant information of the target noun in the entry library display window.
[0056] In one possible implementation, the adding module is further used to respond to a document entry adding operation for the target word, and to add the target entry information to the document displayed on the document page when the document page is different from a source page of the target entry information.
[0057] In a possible implementation, the display module is further used to: display the target entry information in a floating frame located in the entry display area.
[0058] In a possible implementation, the display module is further used to: when the entry library does not include the target word, display prompt information in the entry display area, wherein the prompt information is used to indicate that the target word is not found in the entry library.
[0059] In a possible implementation, the matching module is further used to: receive a start operation for a function switch control, and in response to a setting operation for the target word, match the target word with a noun included in the entry library.
[0060] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0061] one or more processors;
[0062] one or more memories for storing the one or more processor-executable instructions;
[0063] The one or more processors are configured to execute the information display method described in any one of the above aspects or any possible implementation of any one of the aspects.
[0064] According to the fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of a terminal, the terminal is enabled to execute the information display method described in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0065] According to a fifth aspect of an embodiment of the present disclosure, an application product is provided. When instructions in the application product are executed by a processor of a terminal, the terminal is enabled to execute the information display method described in the first aspect or any possible implementation of the first aspect.
[0066] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0067] In a displayed document page including a target word, by responding to a setting operation for the target word in the document page, the target word is matched with a noun included in a vocabulary library, wherein the vocabulary library includes at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page. In the case where the vocabulary library includes the target word, the target vocabulary information of the target word in the vocabulary library is displayed in a vocabulary display area located around the target word in the document page. And it can jump to the source page of the target vocabulary information and locate the display position of the target vocabulary information on the source page in response to a jump trigger operation of the vocabulary display area. In this technical solution, a user can perform a setting operation on the target word in the document page, so that in the case where the vocabulary library includes the target word, the target vocabulary information of the target word is directly displayed in the vocabulary display area of the document page. And the user can also directly jump to the source page of the target vocabulary information and locate the display position of the target vocabulary information on the source page by a jump trigger operation. Compared with the related art, the user does not need to manually perform operations such as scrolling pages to return to the location of the target entry information according to memory to view the target entry information. The search steps for entry information are simplified, and the efficiency of viewing entry information is improved. In addition, since the target entry information of the target word can be directly displayed on the document page in the technical solution, compared with the related art, page conversion such as page turning is avoided, thereby avoiding the impact of the viewing process of the target entry information on the continuity of the user's reading, and improving the user's reading efficiency.
[0068] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0070] Figure 1 The invention is a flowchart of an information display method according to an exemplary embodiment.
[0071] Figure 2 It is a schematic diagram of a document page according to an exemplary embodiment.
[0072] Figure 3 The figure is a flow chart of another information display method according to an exemplary embodiment.
[0073] Figure 4 is a flow chart of yet another information display method according to an exemplary embodiment.
[0074] Figure 5 It is a schematic diagram of a page including a vocabulary library display window according to an exemplary embodiment.
[0075] Figure 6 The invention is a block diagram of an information display device according to an exemplary embodiment.
[0076] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0077] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0078] Please refer to Figure 1 , which shows a flow chart of an information display method provided by an embodiment of the present application. The information display method can be applied to an electronic device. Optionally, the electronic device can be a terminal, and the terminal can be a mobile phone, a tablet computer, an intelligent application device or a multimedia device. Figure 1 As shown, the information display method may include:
[0079] Step S101: display a document page, where the document page includes a target word.
[0080] In the embodiment of the present disclosure, a user corresponding to a terminal can perform a setting operation for an online reading control of a document, so that after receiving the setting operation for the online reading control, the terminal displays a document page on the terminal in response to the setting operation. The document page is used to display the content of the document. The document page may include a target word, which may refer to a noun whose meaning the user understands.
[0081] Step S102: In response to a setting operation for a target word, the target word is matched with a noun included in a vocabulary database, wherein the vocabulary database includes at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page.
[0082] In the disclosed embodiment, the entry information of a noun in the entry library may include: entry definition information. Optionally, the entry information may also include: derived information of the entry, and the derived information may include application information of the noun, synonyms of the noun, and other related information of the noun. The source information includes: URL information of the source page of the entry information and the display position of the entry information on the source page. The source page of the entry information may refer to the page where the entry information is located when the entry information is collected. The display position of the entry information on the source page may refer to the distance of the element where the entry information is located from the top of the source page and the distance of the element from the left side of the source page in the source page. Of course, the display position of the entry information on the source page may also refer to the distance of the element where the entry information is located from the bottom of the source page and the distance of the element from the right side of the source page in the source page, and other information that can be used to indicate the position of the element where the entry information is located in the source page.
[0083] Optionally, the entry library can be stored in a terminal. Alternatively, the entry library can be stored in a server connected to the terminal, which can be a server, a server cluster, or a cloud service device, etc. Among them, the entry library can be an existing entry library, or the entry library can also be a database composed of relevant information of each noun collected by the user independently. In the case where the entry library is a database composed of information of each noun collected by the user independently, the relevant information of the nouns in the entry library can come from web pages, books, and can also come from definition information of nouns included in documents. For example, the information of nouns in the entry library can come from definition information of nouns included in the document displayed on the document page.
[0084] In the disclosed embodiment, when the user wants to view the entry information of the target word, the user can perform a setting operation for the target word. The terminal receives the setting operation for the target word, and in response to the setting operation for the target word, obtains the target word and the entry library. The target word is matched with the nouns included in the entry library to determine whether the target word is included in the entry library.
[0085] In an optional implementation, the setting operation for the target word may include: a selection operation for the target word. The selection operation may include: a sliding operation from the position of the first character of the target word to the position of the last character of the target word. Or, a double-click operation for the target word. In another optional implementation, the setting operation for the target word may include: a selection operation for the target word and a search and call operation. Among them, the selection operation may be the aforementioned selection operation. The search and call operation may include: a click operation for the target word after the selection operation is completed for the target word, and a click operation for the search option in the operation window. The operation window is displayed on the terminal in response to the click operation for the target word. Or, the search and call operation may include: a pressing operation for a shortcut key after the selection operation is completed for the target word. For example, the shortcut key may be Ctrl+S or Ctrl+Shift+S. After the user performs a sliding operation from the position of the first character of the target word to the position of the last character of the target word, he presses the Ctrl key and the S key at the same time. So that after receiving the sliding operation and the pressing operation, the terminal matches the target word with the nouns included in the entry library in response to the sliding operation and the pressing operation.
[0086] Step S103: When the term library includes the target word, the target term information of the target word in the term library is displayed in the term display area around the target word in the document page.
[0087] In the disclosed embodiment, after the terminal matches the target word with the nouns included in the entry library, if the target word is not included in the entry library, the terminal may not perform any operation. Alternatively, the terminal may display a prompt message in the entry display area of the document page, and the prompt message is used to indicate that the target word is not found in the entry library. If the entry library includes the target word, the terminal may display the target entry information of the target word in the entry library in the entry display area of the document page. In this way, the user does not need to manually perform operations such as scrolling the page to return to the location of the target entry information according to memory to view the target entry information. The step of searching for entry information is simplified, and the efficiency is high.
[0088] Among them, the entry display area is the area around the target word. That is, the entry display area can be an area whose distance from the area where the target word is located is less than a set distance threshold. For example, the entry display area is adjacent to the area where the target word is located. In this way, the user can view the sentence where the target word is located and the target entry information in the document page at the same time, which is convenient for the user to better interpret the sentence where the target word is located based on the target entry information, thereby improving the user experience.
[0089] In an embodiment of the present disclosure, the process of displaying the target entry information of a target word in the entry display area around the target word in a document page may include: displaying the target entry information in a floating box located in the entry display area. Optionally, the transparency of the background color of the floating box may be less than a set transparency threshold, so as to superimpose and display the page content in the entry display area of the document page. Since the floating box can float above the page content, the method of using the floating box to display the target entry information in the entry display area can prominently display the target entry information while avoiding blocking the original page content. Thus, the display effect of the target entry information is better, improving the user experience.
[0090] For example, Figure 2 as shown, the document page is Figure 2 the page 200 shown. Assume that the target word is "wholeheartedly", and there is entry information for "wholeheartedly" in the entry library. The entry information is the entry definition: Wholeheartedly: having only one mind and no other considerations. The user can perform a sliding operation from "one" to "yi" to select "wholeheartedly" and then press the Ctrl key and the S key simultaneously. The terminal determines that the entry library includes the target word in response to the sliding operation and the pressing operation. The entry information is displayed in a floating box located in the entry display area 201 of the document page 200.
[0091] Step S104: In response to a jump trigger operation in the entry display area, jump to the source page of the target entry information and locate the display position of the target entry information on the source page.
[0092] In an embodiment of the present disclosure, if a user wants to view the target entry information on the source page of the target entry information, the user can perform a jump trigger operation in the entry display area, so that the terminal, in response to the jump trigger operation in the entry display area, obtains the source page of the target entry information in the entry library and the display position of the target entry information on the source page. And jump to the source page of the target entry information and locate the display position of the target entry information on the source page to display the target definition information of the target entry serving as the target entry information on the source page. Optionally, the jump trigger operation in the entry display area may be a double-click operation or a sliding operation in a set sliding direction, etc.
[0093] Optionally, the entry display area may include: a jump control. The jump trigger operation in the entry display area may include a setting operation for the jump control in the entry display area. Among them, the setting operation for the jump control may include: a click operation, a long-press operation, or a sliding operation, etc., for the jump control. For example, please continue to refer to Figure 2 , Figure 2The middle entry display area 201 includes a jump control, also known as a source jump control 2011. If the user wants to view the source page of the target entry information of the target word, the user can click the source jump control. After receiving the click operation on the source jump control, the terminal jumps to the source page of the target entry information in response to the click operation and locates the display position of the target entry information on the source page.
[0094] The source page of the target term information may be the same tab page as the document page currently displayed by the terminal. Alternatively, the source page of the target term information may be a different tab page from the document page currently displayed by the terminal. Therefore, depending on the relationship between the source page of the target term information and the document page currently displayed by the terminal, the process of the terminal jumping to the source page of the target term information and locating the display position of the target term information on the source page may be different.
[0095] Optionally, the process of the terminal jumping to the source page of the target term information and locating the display position of the target term information on the source page includes: the terminal determines whether the displayed document page is the same as the source page of the target term information. When the document page is the same as the source page, it indicates that the source page of the target term information and the displayed document page are the same tab page, and the terminal can directly locate the display position of the source page. When the displayed document page is different from the source page, it indicates that the source page of the target term information and the displayed document page are different tab pages, then the terminal can jump to the source page and locate the display position of the target term information on the source page, so that the user can intuitively see the target term information on the source page.
[0096] For example, the URL of the source page of the entry information is stored in the entry library. The terminal can obtain the URL of the displayed document page and compare whether the URL of the document page is the same as the URL of the source page. When the URL of the document page is the same as the URL of the source page, it indicates that the document page and the source page belong to the same tab page, and the terminal can directly locate the display position of the target entry information in the document page, so that the user can view the original target entry information. When the URL of the document page is different from the URL of the source page, it indicates that the document page and the source page belong to different tab pages, and the terminal can create a new tab page, and jump to display the source page in the new tab page, and locate the display position of the target entry information on the source page. Of course, if the source page is running in the background of the terminal, that is, the source page is not closed, the terminal can display the source page in the foreground, and locate the display position of the target entry information on the source page, so that the user can view the original target entry information.
[0097] In summary, in the displayed document page including the target word, by responding to the setting operation for the target word in the document page, the target word is matched with the noun included in the entry library, wherein the entry library includes at least one noun, the entry information of the noun, the source page of the entry information, and the display position of the entry information on the source page. In the case where the entry library includes the target word, the target entry information of the target word in the entry library is displayed in the entry display area located around the target word in the document page. And it can jump to the source page of the target entry information and locate the display position of the target entry information on the source page in response to the jump trigger operation of the entry display area. In this technical solution, the user can perform a setting operation on the target word in the document page, so that when the entry library includes the target word, the target entry information of the target word is directly displayed in the entry display area of the document page. And the user can also directly jump to the source page of the target entry information and locate the display position of the target entry information on the source page by the jump trigger operation. Compared with the related art, the user does not need to manually perform operations such as scrolling pages to return to the location of the target entry information according to memory to view the target entry information. The search steps for entry information are simplified, and the efficiency of viewing entry information is improved. In addition, since the target entry information of the target word can be directly displayed on the document page in the technical solution, compared with the related art, page conversion such as page turning is avoided, thereby avoiding the impact of the viewing process of the target entry information on the continuity of the user's reading, and improving the user's reading efficiency.
[0098] Please refer to Figure 3 , which shows a flow chart of another information display method provided by an embodiment of the present application. The information display method can be applied to an electronic device. Optionally, the electronic device can be a terminal, and the terminal can be a mobile phone, a tablet computer, an intelligent application device or a multimedia device. In an optional scenario, the information display method can be executed by an entry plug-in running on the terminal. Figure 3 As shown, the information display method may include:
[0099] Step S301: display a document page, where the document page includes a target word.
[0100] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 101, and will not be elaborated in detail in the embodiment of the present application.
[0101] Step S302: In response to a setting operation for a target word, the target word is matched with a noun included in a vocabulary database, wherein the vocabulary database includes at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page.
[0102] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 102, and will not be elaborated in detail in the embodiment of the present application.
[0103] Step S303: When the term library includes the target word, the target term information of the target word in the term library is displayed in the term display area around the target word in the document page.
[0104] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 103, and will not be elaborated in detail in the embodiment of the present application.
[0105] Step S304: In response to the jump triggering operation of the entry display area, jump to the source page of the target entry information and locate the display position of the target entry information on the source page.
[0106] The explanation and implementation of this step can refer to the explanation and implementation of the aforementioned step 104, and will not be elaborated in detail in the embodiment of the present application.
[0107] Optionally, the user can also control the terminal to jump back from the source page of the target entry information to the document page, and locate to the display position of the document page before jumping to the source page of the target entry information. That is, the user can control the terminal to jump back from the original display position of the source page of the target entry information to the reading position of the document page before the jump, thereby ensuring the continuity of the user's reading and improving the user's reading efficiency.
[0108] Based on this, before the terminal jumps to the source page of the target entry information and locates the display position of the target entry information on the source page, the method also includes: in response to the jump trigger operation of the entry display area, recording the current display position of the document page. Optionally, the current display position of the document page may include: the URL information of the document page and the location information of the currently displayed content. The location information may be the position where the cursor is resting in the document page. Alternatively, the location information may also be the position of the currently displayed content of the document page in all the content of the document page. The position may be a paragraph position, a line position, or the distance from the top and left edge of the document page to the area where the currently displayed content is located. Accordingly, after the terminal executes step 304 to jump to the source page of the target entry information and locates the display position of the target entry information on the source page, the method also includes:
[0109] Step S305: In response to the page return operation, jump to the document page and locate at the current display position of the document page recorded when the terminal responds to the jump triggering operation of the entry display area.
[0110] In an embodiment of the present disclosure, the return page operation may include: a pressing operation on a shortcut key. For example, the shortcut keys include: the Ctrl key and the B key. Or, the source page includes a return jump control. The return page operation may include a setting operation for the return jump control. The setting operation for the return jump control may include a click operation, a long press operation, or a sliding operation on the return jump control. For example, when the user wants to return to the reading position of the document page before jumping to the source interface, the user can press the Ctrl key and the B key at the same time. So that the terminal receives the pressing operation, responds to the pressing operation, jumps to the document page, and is located at the current display position of the document page recorded when the terminal responds to the jump trigger operation of the entry display area.
[0111] It should be noted that, as mentioned above, the vocabulary database can be a database composed of information about nouns collected independently by users. Then, in the case where the vocabulary database is a database composed of information about nouns collected independently by users, the information display method provided in the embodiment of the present application can also be used to collect definition information of nouns as vocabulary information of nouns. Optionally, the document page can also include words to be added, and the terminal can execute the information display method to collect vocabulary information of the words to be added. Among them, the words to be added refer to the nouns that the user wants to add to the vocabulary database. Figure 4 As shown, the method also includes:
[0112] Step S401: In response to an entry adding operation for a word to be added, an entry library display window is displayed, and the entry library display window displays the word to be added.
[0113] In the disclosed embodiment, if the user wants to add the entry information of the word to be added to the entry library, the entry adding operation can be performed for the word to be added. So that after receiving the entry adding operation for the word to be added, the terminal displays the entry library display window in response to the entry adding operation. The user can add the word to be added to the entry library through the entry library display window. Among them, the entry library display window can be displayed in a floating box, a split screen area or a new page. Optionally, the entry library display window can also display the nouns included in the entry library and the entry information corresponding to each noun.
[0114] Optionally, the entry adding operation for the word to be added may include: a sliding operation starting from the position of the first character of the target word to the position of the last character of the target word, or a double-clicking operation for the target word.
[0115] Step S402: Obtain the entry information of the word to be added that is input in the entry library display window.
[0116] Optionally, the entry library display window may include: a writing area corresponding to the word to be added. The writing area is used for the user to input the entry information of the word to be added. The terminal can obtain the entry information of the word to be added entered in the writing area in the entry library display window. Optionally, the terminal can obtain the entry information entered in the writing area when detecting that there is a cursor in the writing area. And after detecting that there is no cursor in the writing area, the entry information of the word to be added obtained in the writing area and the word to be added are added to the entry library. Among them, the entry information entered by the user in the writing area can be the entry information of the word to be added displayed on the document page. Or, the entry information entered in the writing area can also be the entry information of the word to be added displayed on other pages.
[0117] In an optional implementation, when the document page also includes definition information of the words to be added, in the writing area corresponding to the words to be added in the entry library display window, the process of obtaining the entry information of the words to be added entered in the entry library display window may include: the terminal responds to the editing input operation for the definition information in the entry library display window, obtains the definition information entered in the entry library display window, and uses the definition information as the entry information of the noun to be added. As an example, the editing input operation for the definition information may include a copy operation for the definition information of the words to be added, and a paste operation in the entry library display window. In this way, the user can paste the definition information of the words to be added in the document page directly into the entry library display window, so as to use the definition information as the entry information of the words to be added, thereby improving the convenience of the user in adding entry information.
[0118] In another example, the editing input operation for the definition information may include a writing operation for the definition information of the word to be added. The user can directly input the definition information of the word to be added in the word library display window to use the definition information as the word to be added, so that the terminal obtains the word to be added. This method is simple to operate and has a good user experience.
[0119] It should be noted that after the terminal displays the entry library display window in response to the entry adding operation for the word to be added, it can also query the entry information of the word to be added by querying a database such as a word dictionary and an encyclopedia, and display the queried entry information in the entry library display window, so that the terminal obtains the entry information of the word to be added input in the entry library display window. The disclosed embodiment is not limited to this.
[0120] Step S403: Add the words to be added and the entry information of the words to be added to the entry library.
[0121] In the embodiment of the present disclosure, the terminal associates the words to be added and the entry information of the words to be added to the entry library. Optionally, the terminal can save the entry library locally. And / or, the terminal can also store the entry library backup to the server. The terminal stores the entry library backup to the server so that when the user uses different terminals, the server's entry library can be used to execute the information display method of the embodiment of the present disclosure. In an optional implementation method, the terminal can bind the entry library to the account of the target browser, and the user can read the entry library stored on the server by logging into the account on the target browser.
[0122] For example, Figure 5 As shown, Figure 5 The page shown is a page 500 displayed by the terminal in response to the entry adding operation for the word to be added. The entry library display window 501 and the document page 502 are displayed in split screen, and the entry library display window 501 includes a writing area 5011 for the word to be added. The writing area 5011 is provided with an input field. Assume that the word to be added is "single-minded". The definition information of single-minded is the entry definition: single-minded: only one mind, no other considerations.
[0123] After the user adds the entry for Yixinyiyi, the terminal displays the following Figure 5 The page 500 is shown. The page 500 includes a vocabulary library display window 501. The vocabulary library display window 501 displays "One-hearted and One-hearted". The user performs a copy operation on the vocabulary information of "One-hearted and One-hearted" displayed on the document page, and performs a paste operation in the input field set in the writing area 5011 in the vocabulary library display window 501. The terminal obtains the definition information of "One-hearted and One-hearted" in the writing area, takes the definition information as the vocabulary information, and adds "One-hearted and One-hearted" and the vocabulary information of "One-hearted and One-hearted" to the vocabulary library.
[0124] It should be noted that, as mentioned above, the word library may also store the source page of the word information of the noun and the display position of the word information on the source page. Then the terminal may also collect the source page of the word information of the noun and the display position of the word information on the source page. Taking the case where the document page also includes the definition information of the words to be added as an example, the collection process of the source page of the word information in the word library and the display position of the word information on the source page is further explained. The method also includes the following steps S1 and S2.
[0125] In step S1, in response to an entry adding operation for a word to be added, a display position of definition information of the word to be added in a document page is obtained.
[0126] In the disclosed embodiment, the terminal displays an entry library display window in response to the entry adding operation for the words to be added when executing step 401. The entry library display window displays the words to be added. The terminal can also obtain the display position of the definition information of the words to be added in the document page in response to the entry adding operation for the words to be added. Among them, the display position of the entry information in the document page (the source page in this case) can refer to the distance of the element where the entry information is located from the top of the document page and the distance of the element from the left side of the document page. Of course, the display position of the entry information in the document page can also refer to the distance of the element where the entry information is located from the bottom of the document page and the distance of the element from the right side of the document page.
[0127] In step S2, the display position of the definition information in the document page and the document page are associated with the word to be added and added to the entry library.
[0128] In an embodiment of the present disclosure, the terminal can add the display position of the definition information in the document page and the document page to the entry library in association with the words to be added, so that the terminal can obtain the source page of the entry information of the noun based on the noun and the location information of the entry information on the source page from the entry library.
[0129] Optionally, the terminal may also display in the entry library display window the document page where the to-be-added word is located and the display position of the entry information of the to-be-added word in the document page.
[0130] For examples, please continue to refer to Figure 5 , where the display position of the entry information of the word to be added in the document page refers to the distance between the element where the entry information is located and the top of the document page and the distance between the element and the left edge of the document page, it is assumed that the distance between the element where the entry information of "single-minded" is located and the top of the document page is 1200px; the distance between the element where the entry information of "single-minded" is located and the left edge of the document page is 120px. The URL of the document page is: http: / / xxxx.com. Figure 5 As shown, the page display area 5012 of the entry library display window 501 displays the URL of the document page where the word to be added is located: http: / / xxxx.com. The position display area 5013 of the entry library display window 501 displays the display position of the entry information in the document page: x: 120, y: 1200. Figure 5 In the example, x is used to represent the distance from the left side of the source page to the element where the entry information is located, and the unit is px. Y is used to represent the distance from the top of the source page to the element where the entry information is located, and the unit is px.
[0131] Optionally, the terminal can also delete a noun in the glossary and all information corresponding to the noun. All information corresponding to the noun may include: the glossary information of the noun, the source page of the glossary information, and the position information of the glossary information on the source page, etc. The method further includes:
[0132] Step S404, in response to a setting operation on the deletion control corresponding to the target noun in the glossary display window, delete all information corresponding to the target noun from the glossary, and stop displaying the relevant information of the target noun in the glossary display window.
[0133] In an embodiment of the present disclosure, the glossary display window further includes: a deletion control corresponding to the target noun. The response to the setting operation on the deletion control corresponding to the target noun in the glossary display window may include: a click operation, a long press operation, or a swipe operation on the deletion control, etc.
[0134] Exemplarily, if a user wants to delete a certain noun in the glossary, the user can, in response to the trigger display operation of the glossary display window, display the glossary display window. Then the user clicks the deletion control corresponding to the noun in the glossary display window. After the terminal receives the click operation on the deletion control, in response to the click operation, delete all information of the noun corresponding to the click operation from the noun library, and stop displaying the relevant information of the noun in the glossary display window. The relevant information may include: the glossary information of the noun, the source page of the glossary information, and the position information of the glossary information on the source page, etc. Among them, the trigger display operation of the glossary display window may include: a pressing operation on the display shortcut key. Or, the document page includes: a display control for the glossary display window. For example, the display control is a display button or a display text identifier of the glossary display window, etc. The user can click the display button of the glossary display window so that the terminal receives the click operation on the display button of the glossary display window, and in response to the click operation, display the glossary display window. The deletion controls corresponding to each noun in the glossary can be displayed in the glossary display window.
[0135] Exemplarily, please continue to refer to Figure 5 , the glossary display window 501 includes: a deletion control 5014. The deletion control 5014 is a delete button ( Figure 5 denoted by D in ). When the user clicks the delete button corresponding to wholehearted, it can cause the terminal to stop displaying all information of wholehearted in the glossary display window and delete the relevant information of wholehearted from the glossary.
[0136] Optionally, the terminal can also add the glossary information of a certain noun in the glossary to the document displayed on the document page, so that other users can clearly read the glossary information of the noun when browsing the document. The method further includes:
[0137] Step S405: In response to an operation of adding a document entry for a target word, when the document page is different from the source page of the target entry information, add the target entry information to the document displayed on the document page.
[0138] In the embodiments of the present disclosure, the operation of adding a document entry for a target word may include an operation of setting a document entry adding control corresponding to the target noun in the entry library display window. The entry library display window may further include: a document entry adding control corresponding to the target noun. The operation of setting the document entry adding control may include: a click operation, a long-press operation, or a swipe operation on the document entry adding control, etc.
[0139] For example, when a user wants to add the entry information of a target word to the document displayed on the document page, the user may display the entry library display window in response to the trigger display operation of the entry library display window. Then the user clicks the document entry adding control corresponding to the target word in the entry library display window. After receiving the click operation on the document entry adding control, the terminal obtains the target entry information of the target word from the noun library in response to the click operation, and adds the target entry information to the document displayed on the document page. Optionally, the terminal may add the target entry information to a set area in the document displayed on the document page. The set area may be located at the top of the document. Or, the set area may be located at the bottom of the document page where the target word is located, etc.
[0140] For example, please continue to refer to Figure 5 , the entry library display window 501 includes: a document entry adding operation 5015. The adding control 5015 is an insert button ( Figure 5 denoted by I in ). When the user clicks the insert button corresponding to wholehearted, the terminal can display the entry information of wholehearted at the top of the document displayed on the document page 502.
[0141] In the embodiments of the present disclosure, the terminal default enables the entry-related functions provided by the information display method provided in the embodiments of the present application. Of course, the user can manually enable or disable the entry-related functions. The process of the terminal matching the target word with the nouns included in the entry library in response to the setting operation for the target word may include: the terminal receives a start operation for a function switch control, and in response to the setting operation for the target word, matches the target word with the nouns included in the entry library
[0142] Among them, the function switch control can be in the document page. Or, the function switch control can also be in the entry library display window. The startup operation for the function switch control may include a click operation, a long press operation, and a sliding operation on the function switch control. For example, when the terminal turns off the entry-related function, if the user wants to turn on the entry-related function, the trigger display operation of the entry library display window can be performed so that the terminal displays the entry library display window. And click the function switch control in the entry library display window displayed by the terminal. The terminal responds to the click operation on the function switch control, and in response to the click operation, the terminal turns on the entry-related function. At this time, the terminal can respond to the setting operation on the target word and perform matching of the target word with the nouns included in the entry library.
[0143] Accordingly, after receiving the closing operation for the function switch control, the terminal stops executing the entry-related functions provided by the information display method provided in the embodiment of the present application. The closing operation for the function switch control may be an operation for the function switch control received by the terminal after receiving the starting operation for the function switch control.
[0144] For examples, please continue to refer to Figure 5 , the entry library display window 501 includes: a function switch control 5016. The function switch control 5016 is a switch plug-in button. The user can click the function switch control 5016 to enable the terminal to open the entry related function.
[0145] In summary, in the displayed document page including the target word, by responding to the setting operation for the target word in the document page, the target word is matched with the noun included in the entry library, wherein the entry library includes at least one noun, the entry information of the noun, the source page of the entry information, and the display position of the entry information on the source page. In the case where the entry library includes the target word, the target entry information of the target word in the entry library is displayed in the entry display area located around the target word in the document page. And it can jump to the source page of the target entry information and locate the display position of the target entry information on the source page in response to the jump trigger operation of the entry display area. In this technical solution, the user can perform a setting operation on the target word in the document page, so that when the entry library includes the target word, the target entry information of the target word is directly displayed in the entry display area of the document page. And the user can also directly jump to the source page of the target entry information and locate the display position of the target entry information on the source page by the jump trigger operation. Compared with the related art, the user does not need to manually perform operations such as scrolling pages to return to the location of the target entry information according to memory to view the target entry information. The search steps for entry information are simplified, and the efficiency of viewing entry information is improved. In addition, since the target entry information of the target word can be directly displayed on the document page in the technical solution, compared with the related art, page conversion such as page turning is avoided, thereby avoiding the impact of the viewing process of the target entry information on the continuity of the user's reading, and improving the user's reading efficiency. .
[0146] Please refer to Figure 6 , which shows a block diagram of an information display device provided by an embodiment of the present application. Figure 6 As shown, the information display device includes: a display module 601 and a matching module 602 .
[0147] Display module 601, used to display a document page, the document page includes a target word;
[0148] A matching module 602, configured to match the target word with a noun included in a vocabulary database in response to a setting operation for the target word, wherein the vocabulary database includes at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page;
[0149] The display module 601 is further used to display the target term information of the target term in the term library in the term display area around the target term in the document page when the term library includes the target term. And it is also used to jump to the source page of the target term information and locate the display position of the target term information in the source page in response to the jump trigger operation of the term display area.
[0150] In a possible implementation, the display module 601 is further configured to:
[0151] When the document page is the same as the source page, it is positioned in the display position;
[0152] When the document page is different from the source page, jump to the source page and locate the placement.
[0153] In one possible implementation, the device further includes:
[0154] The recording module is used to record the current display position of the document page in response to the jump trigger operation of the entry display area.
[0155] In a possible implementation, the display module 601 is further used to: in response to a return page operation, jump to the document page and locate at the current display position.
[0156] In a possible implementation, the document page also includes words to be added.
[0157] The display module 601 is further used to: in response to the entry adding operation for the words to be added, display the entry library display window, the entry library display window displays the words to be added;
[0158] The device further comprises: an acquisition module, which is used to acquire the entry information of the word to be added input in the entry library display window;
[0159] The adding module is used to add the words to be added and the entry information of the words to be added to the entry library.
[0160] In a possible implementation, the document page also includes definition information of the words to be added; the acquisition module is further used to:
[0161] In response to an edit input operation for definition information in the vocabulary library display window, the definition information input in the vocabulary library display window is acquired and used as vocabulary information of the noun to be added.
[0162] In a possible implementation, the acquisition module is further used to: in response to a term adding operation for a word to be added, acquire a display position of the definition information in the document page;
[0163] The adding module is also used to associate the display position of the definition information in the document page and the document page with the words to be added and add them to the entry library.
[0164] In a possible implementation, the device further includes:
[0165] The deletion module is used to delete all information corresponding to the target noun from the entry library in response to the setting operation of the deletion control corresponding to the target noun in the entry library display window, and stop displaying the relevant information of the target noun in the entry library display window.
[0166] In one possible implementation, the adding module is further configured to, in response to a document entry adding operation for a target word, add the target entry information to the document displayed on the document page when the document page is different from a source page of the target entry information.
[0167] In a possible implementation, the display module 601 is further used to: display target entry information in a floating box located in the entry display area.
[0168] In a possible implementation, the display module 601 is further used to: when the entry library does not include the target word, display a prompt message in the entry display area, where the prompt message is used to indicate that the target word is not found in the entry library.
[0169] In a possible implementation, the matching module 602 is further used to: receive a start operation for the function switch control, and in response to a setting operation for the target word, match the target word with the nouns included in the entry library.
[0170] In summary, in the displayed document page including the target word, by responding to the setting operation for the target word in the document page, the target word is matched with the noun included in the entry library, wherein the entry library includes at least one noun, the entry information of the noun, the source page of the entry information, and the display position of the entry information on the source page. In the case where the entry library includes the target word, the target entry information of the target word in the entry library is displayed in the entry display area located around the target word in the document page. And it can jump to the source page of the target entry information and locate the display position of the target entry information on the source page in response to the jump trigger operation of the entry display area. In this technical solution, the user can perform a setting operation on the target word in the document page, so that when the entry library includes the target word, the target entry information of the target word is directly displayed in the entry display area of the document page. And the user can also directly jump to the source page of the target entry information and locate the display position of the target entry information on the source page by the jump trigger operation. Compared with the related art, the user does not need to manually perform operations such as scrolling pages to return to the location of the target entry information according to memory to view the target entry information. The search steps for entry information are simplified, and the efficiency of viewing entry information is improved. In addition, since the target entry information of the target word can be directly displayed on the document page in the technical solution, compared with the related art, page conversion such as page turning is avoided, thereby avoiding the impact of the viewing process of the target entry information on the continuity of the user's reading, and improving the user's reading efficiency.
[0171] Figure 71 is a block diagram of a terminal 700 according to an exemplary embodiment. The terminal 700 may be a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 700 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names. Generally, the terminal 700 includes a processor 701 and a memory 702.
[0172] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0173] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is used to be executed by the processor 701 to implement the information display method provided in the method embodiment of the present application.
[0174] In some embodiments, the terminal 700 may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera 706, an audio circuit 707, a positioning component 708 and a power supply 709.
[0175] The peripheral device interface 703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral device interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0176] The radio frequency circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 704 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0177] The display screen 705 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on the surface or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 705 can be one, and the front panel of the terminal 700 is set; in other embodiments, the display screen 705 can be at least two, which are respectively set on different surfaces of the terminal 700 or are folded; in some other embodiments, the display screen 705 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 700. Even, the display screen 705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 705 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0178] The camera assembly 706 is used to capture images or videos. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0179] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 701 for processing, or input them into the radio frequency circuit 704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0180] Positioning component 708 is used to locate the current geographical location of terminal 700 to implement navigation or LBS (Location Based Service). Positioning component 708 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0181] The power supply 709 is used to power various components in the terminal 700. The power supply 709 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 709 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0182] In some embodiments, the terminal 700 further includes one or more sensors 710 , including but not limited to: an acceleration sensor 711 , a gyroscope sensor 712 , a pressure sensor 713 , a fingerprint sensor 714 , an optical sensor 715 , and a proximity sensor 716 .
[0183] The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 700. For example, the acceleration sensor 711 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 701 can control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 can also be used to collect motion data of games or users.
[0184] The gyro sensor 712 can detect the body direction and rotation angle of the terminal 700, and the gyro sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal 700. The processor 701 can implement the following functions based on the data collected by the gyro sensor 712: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0185] The pressure sensor 713 can be set on the side frame of the terminal 700 and / or the lower layer of the display screen 705. When the pressure sensor 713 is set on the side frame of the terminal 700, it can detect the user's holding signal of the terminal 700, and the processor 701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is set on the lower layer of the display screen 705, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0186] The fingerprint sensor 714 is used to collect the user's fingerprint, and the processor 701 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 714 can be set on the front, back, or side of the terminal 700. When a physical button or a manufacturer logo is set on the terminal 700, the fingerprint sensor 714 can be integrated with the physical button or the manufacturer logo.
[0187] The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is reduced. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.
[0188] The proximity sensor 716, also called a distance sensor, is usually arranged on the front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from the screen-on state to the screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from the screen-off state to the screen-on state.
[0189] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 700, and the terminal 700 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0190] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the information display method provided by the above-mentioned various method embodiments.
[0191] For example, the non-temporary computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0192] In an exemplary embodiment, an application product is also provided. When instructions in the application product are executed by a processor of a terminal, the terminal is enabled to execute the information display methods provided by the above-mentioned various method embodiments.
[0193] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0194] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information display method, characterized in that: include: Displaying a document page, wherein the document page includes a target word; In response to a setting operation for the target word, the target word is matched with a noun included in a vocabulary library, the vocabulary library including at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page, wherein the source page of the vocabulary information is a page where the vocabulary information is located when the vocabulary information is collected, and the display position of the vocabulary information on the source page includes information for indicating a position of an element where the vocabulary information is located in the source page; In the case where the term library includes the target term, the term display area located around the target term in the document page displays the target term information of the target term in the term library; In response to a jump trigger operation of the entry display area, jump to the source page of the target entry information and locate the display position of the target entry information on the source page; The step of jumping to the source page of the target entry information and locating the display position of the target entry information on the source page includes: When the document page is the same as the source page, locating at the display position; When the document page is different from the source page, jump to the source page and locate it at the display position; The document page further includes the words to be added and definition information of the words to be added, and the method further includes: In response to an entry adding operation for the word to be added, obtaining a display position of the definition information in the document page; The display position of the definition information in the document page and the document page are associated with the word to be added and added to the entry library.
2. The method according to claim 1, characterized in that Before jumping to the source page of the target term information and locating the target term information at the display position of the source page, the method further includes: In response to a jump triggering operation of the entry display area, a current display position of the document page is recorded.
3. The method according to claim 1, characterized in that After jumping to the source page of the target term information and locating the target term information at the display position of the source page, the method further includes: In response to the page return operation, jump to the document page and locate at the current display position.
4. The method according to claim 1, characterized in that: The method further comprises: In response to the entry adding operation for the word to be added, displaying an entry library display window, wherein the word to be added is displayed in the entry library display window; Acquire the entry information of the word to be added input in the entry library display window; The words to be added and the entry information of the words to be added are added to the entry library.
5. The method according to claim 4, characterized in that The step of obtaining the entry information of the word to be added inputted in the entry library display window includes: In response to an edit input operation for the definition information in the entry library display window, the definition information input in the entry library display window is acquired, and the definition information is used as the entry information of the word to be added.
6. The method according to claim 4, characterized in that The method further comprises: In response to a setting operation of a deletion control corresponding to a target noun in the entry library display window, all information corresponding to the target noun is deleted from the entry library, and related information of the target noun is stopped from being displayed in the entry library display window.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a document entry adding operation for the target word, when the document page is different from a source page of the target entry information, the target entry information is added to the document displayed on the document page.
8. The method according to any one of claims 1 to 6, characterized in that: The term display area located around the target term in the document page displays the target term information of the target term in the term library, including: The target entry information is displayed in a floating frame located in the entry display area.
9. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the entry library does not include the target word, prompt information is displayed in the entry display area, and the prompt information is used to indicate that the target word is not found in the entry library.
10. The method according to any one of claims 1 to 6, characterized in that: In response to the setting operation for the target word, matching the target word with nouns included in the vocabulary library includes: A start operation for a function switch control is received, and in response to a setting operation for the target word, the target word is matched with a noun included in a vocabulary library.
11. An information display device, characterized in that: include: A display module, used to display a document page, wherein the document page includes a target word; a matching module, for matching the target word with a noun included in a vocabulary library in response to a setting operation for the target word, the vocabulary library including at least one noun, vocabulary information of the noun, a source page of the vocabulary information, and a display position of the vocabulary information on the source page, wherein the source page of the vocabulary information is a page where the vocabulary information is located when the vocabulary information is collected, and the display position of the vocabulary information on the source page includes information for indicating a position of an element where the vocabulary information is located in the source page; The display module is further configured to display target entry information of the target word in the entry library in an entry display area located around the target word in the document page when the entry library includes the target word; and is further configured to jump to a source page of the target entry information and locate the display position of the target entry information on the source page in response to a jump trigger operation in the entry display area; The display module is also used for: When the document page is the same as the source page, locating at the display position; When the document page is different from the source page, jump to the source page and locate it at the display position; The document page further includes the words to be added and definition information of the words to be added, and the device further includes: An acquisition module, configured to acquire a display position of the definition information in the document page in response to a term adding operation for the term to be added; The adding module is used to associate the display position of the definition information in the document page and the document page with the word to be added and add them to the entry library.
12. The device according to claim 11, characterized in that The device also includes: A recording module is used to record the current display position of the document page in response to a jump trigger operation of the entry display area.
13. The device according to claim 11, characterized in that The display module is further used to: in response to a page return operation, jump to the document page and locate it at the current display position.
14. The device according to claim 11, characterized in that The display module is further used to: in response to the entry adding operation for the word to be added, display an entry library display window, wherein the word to be added is displayed in the entry library display window; The acquisition module is further used to acquire the entry information of the word to be added input in the entry library display window; The adding module is further used to add the words to be added and the entry information of the words to be added to the entry library.
15. The device according to claim 14, characterized in that The acquisition module is further used for: In response to an edit input operation for the definition information in the entry library display window, the definition information input in the entry library display window is acquired, and the definition information is used as the entry information of the word to be added.
16. The device according to claim 14, characterized in that The device also includes: The deletion module is used to delete all information corresponding to the target noun from the entry library in response to the setting operation of the deletion control corresponding to the target noun in the entry library display window, and stop displaying the relevant information of the target noun in the entry library display window.
17. The device according to any one of claims 11 to 16, characterized in that The adding module is further configured to, in response to a document entry adding operation for the target word, add the target entry information to the document displayed on the document page when the document page is different from a source page of the target entry information.
18. The device according to any one of claims 11 to 16, characterized in that: The display module is also used for: The target entry information is displayed in a floating frame located in the entry display area.
19. The device according to any one of claims 11 to 16, characterized in that: The display module is also used for: When the entry library does not include the target word, prompt information is displayed in the entry display area, and the prompt information is used to indicate that the target word is not found in the entry library.
20. The device according to any one of claims 11 to 16, characterized in that The matching module is further used for: A start operation for a function switch control is received, and in response to a setting operation for the target word, the target word is matched with a noun included in a vocabulary library.
21. An electronic device, characterized in that: include: one or more processors; one or more memories for storing said one or more processor-executable instructions; The one or more processors are configured to execute the information display method according to any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information display method according to any one of claims 1 to 10.
23. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the information display method according to any one of claims 1 to 10 is implemented.