Display method, device, electronic equipment and readable storage medium
By generating a file database and using an artificial intelligence analysis module to replace keywords in the prompts with characters or images familiar to users, the problem of inconvenient-to-read prompts in existing technologies is solved, improving users' reading and retrieval efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2022-07-13
- Publication Date
- 2026-06-19
AI Technical Summary
The existing display of prompts is not convenient for users to read and obtain key information, especially since the content is general and contains technical terms.
By acquiring users' historical input, a file database is generated. Using an artificial intelligence analysis module, keywords in undisplayed information are replaced with target characters or images familiar to the user, such as emoji images or images from short videos, thereby improving the effectiveness of information expression.
It improves the efficiency of users in reading and obtaining key content in information, conforms to users' graphical reading habits, and enhances the readability and comprehensibility of information.
Smart Images

Figure CN115309487B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and specifically relates to a display method, device, electronic device, and readable storage medium. Background Technology
[0002] When using electronic devices, people encounter various types of prompts, such as pop-up windows (analog and non-analog pop-ups), floating notifications, and application prompts within applications.
[0003] In related technologies, the content of various prompts is usually general text, and the prompts may involve some technical terms, making it difficult for users to read and obtain the key content of the prompts. Summary of the Invention
[0004] The purpose of this application is to provide a display method, device, electronic device, and readable storage medium that can solve the problem that existing prompt information display methods are not convenient for users to read and obtain key content in the prompt information.
[0005] In a first aspect, embodiments of this application provide a display method applied to an electronic device, which may include:
[0006] Retrieve the first information, which is information that has not yet been displayed;
[0007] If the first information includes the first keyword, obtain the target character or target image associated with the first keyword. The target character or target image is determined by the content of the user's historical input.
[0008] The second information is displayed, which includes the target character or target image to replace the first keyword.
[0009] Secondly, embodiments of this application provide a display device applied to an electronic device, which may include:
[0010] The acquisition module is used to acquire the first information, which is information that is not displayed.
[0011] The processing module is used to, when the first information includes the first keyword, obtain the target character or target image associated with the first keyword, wherein the target character or target image is determined by the content of the user's historical input.
[0012] The display module is used to display second information, which includes the target character or target image that replaces the first keyword.
[0013] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the display method as shown in the first aspect.
[0014] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the display method as shown in the first aspect are implemented.
[0015] Fifthly, embodiments of this application provide a chip, which includes a processor and a display interface. The display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the display method as shown in the first aspect.
[0016] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the display method as described in the first aspect.
[0017] In this embodiment, undisplayed first information is obtained, and if the first information includes a first keyword, a target character or target image associated with the first keyword is obtained. The target character or target image is determined through the user's historical input. Then, second information, including the target character or target image that replaces the first keyword, is displayed. This process collects the user's historical input, allowing undisplayed information to be converted into target characters or images that the user can understand and is familiar with, such as emoji images or images from any number of frames in a short video. This better aligns with the user's graphical reading habits, improving the effectiveness of information expression and facilitating the user's reading and retrieval of key content, thereby increasing the efficiency of user reading and using prompts. Attached Figure Description
[0018] Figure 1 A schematic diagram of a display architecture provided in an embodiment of this application;
[0019] Figure 2 A flowchart illustrating a display method based on a display architecture provided in an embodiment of this application;
[0020] Figure 3 A flowchart illustrating a display method provided in an embodiment of this application;
[0021] Figure 4 One of the emoticon illustrations for a display method provided in this application embodiment;
[0022] Figure 5 A second illustration of an emoticon display method provided in this application embodiment;
[0023] Figure 6 A third illustration of an emoticon display method provided in this application embodiment;
[0024] Figure 7 One of the interface diagrams for a display method provided in an embodiment of this application;
[0025] Figure 8 A second schematic diagram of an interface for a display method provided in an embodiment of this application;
[0026] Figure 9 A third schematic diagram of an interface for a display method provided in an embodiment of this application;
[0027] Figure 10 One of the interface interaction diagrams of a display method provided in this application embodiment;
[0028] Figure 11 A second schematic diagram of the interface interaction of a display method provided in an embodiment of this application;
[0029] Figure 12 The third schematic diagram of the interface interaction of a display method provided in this application embodiment;
[0030] Figure 13 Fourth schematic diagram of the interface interaction of a display method provided in this application embodiment;
[0031] Figure 14 This is a schematic diagram of the structure of a display device provided in an embodiment of this application;
[0032] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0033] Figure 16 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0034] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0035] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0036] In related technologies, the content of various prompts displayed on the interface of electronic devices is usually generic text that does not take into account the user's reading habits. Moreover, the prompts often involve technical terms, making it difficult for users to read and obtain the key content.
[0037] Based on this, in order to solve the above problems, this application provides a display method that collects the content of the user's historical input, and when the first information received by the electronic device but not displayed is obtained, the first information can be converted into the user's historical input content that the user can understand and is familiar with, so as to better conform to the user's reading habits, improve the expression effect of information, and facilitate the user to read and obtain the key content in the information, thereby improving the efficiency of the user's reading and use of prompts.
[0038] The following is in conjunction with the appendix Figures 1-13 The display method provided in this application will be described in detail through specific embodiments and application scenarios.
[0039] This application proposes a display architecture, such as... Figure 1 As shown, the display architecture may include an electronic device 10, which may be a mobile phone, tablet computer, laptop computer, handheld computer, wearable device, or other device equipped with the function of acquiring, converting, and displaying prompt information.
[0040] In some examples, the electronic device 10 is equipped with information acquisition functions, such as acquiring pop-up prompts and floating notifications from the operating system within the electronic device 10, application prompts from applications installed on the electronic device 10, and various types of information sent by the server (operating system or application). The electronic device 10 is also equipped with information conversion functions, such as including an artificial intelligence (AI) analysis module that converts the user's historical input into local characters or images. If it acquires undisplayed first information that includes a first keyword, it acquires local target characters or images associated with the first keyword and replaces the first keyword with target characters or images that the user can understand and is familiar with, such as user-preferred text characters, emoticon images, or any number of frames from a short video. Furthermore, the electronic device 10 is also equipped with information display functions, such as displaying second information including target characters or images that replace the first keyword.
[0041] In other examples, the electronic device 10 may also have the function of communicating with a server. For example, the electronic device 10 may receive information sent by the server, or receive online characters or images sent by the server. Here, the electronic device 10 may also, when it obtains undisplayed first information, and the first information includes a first keyword, obtain the online target character or target image associated with the first keyword from the server, and replace the first keyword with the online target character or target image. It should be noted that the online characters or images mentioned above may also be determined through the content of the user's historical input.
[0042] In some other examples, the electronic device 10 may also have a storage function, such as storing online characters or images and local characters or images into a file database so as to later provide users with understandable and familiar characters or images, such as user-customized text characters, emoticon images, or any number of frames of images from short videos.
[0043] Based on the above display architecture, the embodiments of this application combine Figure 2 The display method provided in the embodiments of this application is described in detail.
[0044] In one or more possible embodiments, based on Figure 1 The display architecture shown is for reference. Figure 2 The display method provided in the embodiments of this application is described in detail.
[0045] like Figure 2As shown, the display method in this embodiment may include the process of generating a file database and the process of converting and displaying the first information obtained based on the file database, which will be described below.
[0046] First, the process of generating a file database may include: obtaining the content of the user's historical input; generating a file database based on the content. Here, the file database may include preset keywords, characters, images, and audio associated with preset keywords. Characters are text characters, and images may include static images, dynamic images such as emoticons, images of any number of frames in a video, etc. The images may also include images corresponding to preset keywords.
[0047] Then, the process of converting and displaying the acquired first information based on the file database may include: the electronic device 10 acquires the undisplayed first information such as "AAABBBCCC", matches the first keywords "AAA" and "CCC" in the first information with preset keywords in the file database, such as matching the preset keywords "*AAA*" and "*CC*", then acquires the target image X associated with it, the target image X being determined by the content historically input by the user; replaces "AAA" and "CCC" in the first information "AAABBBCCC" with the target image X, and displays the second information including the target image X that replaced the first keywords.
[0048] Therefore, undisplayed information is converted into target characters or images that users can understand and are familiar with, such as user-accustomed text characters, emoji images, or images from any number of frames in a short video. This better aligns with users' graphical reading habits, improving the effectiveness of information expression and making it easier for users to read and obtain key content, thereby increasing the efficiency of users reading and using prompts.
[0049] It should be noted that the display method provided in this application embodiment can be applied to various scenarios where prompts are replaced and displayed to improve the efficiency of users reading and using prompts. It can also be applied to scenarios where information such as operating system notifications, menu options, and control names of electronic devices are displayed, as well as any scenario where information needs to be displayed on an electronic device.
[0050] Based on the above architecture and application scenarios, the following will be combined with... Figure 3 The display method provided in the embodiments of this application will be described in detail.
[0051] Figure 3 A flowchart illustrating a display method provided in an embodiment of this application.
[0052] like Figure 3 As shown, the display method provided in this application embodiment can be applied to, for example... Figure 1The electronic device shown in the figure may include the following steps:
[0053] Step 310: Obtain the first information, which is information that has not been displayed.
[0054] Step 320: If the first information includes the first keyword, obtain the target character or target image associated with the first keyword. The target character or target image is determined by the content of the user's historical input.
[0055] Step 330: Display the second information, which includes the target character or target image to replace the first keyword.
[0056] In this way, undisplayed information is converted into target characters or images that users can understand and are familiar with, such as user-accustomed text characters, emoji images, or images from any number of frames in a short video. This better conforms to users' graphical reading habits, improves the effectiveness of information expression, and makes it easier for users to read and obtain key content from the information, thereby improving the efficiency of users reading and using prompts.
[0057] The steps described above are explained in detail below.
[0058] First, regarding step 310, the first information in this embodiment is information not displayed by the electronic device. Here, the undisplayed information can be newly received information by the electronic device or information that the electronic device has received in the past but has not been viewed by the user.
[0059] Specifically, the first information may include at least one of the following: system notification information from the operating system of the electronic device, application notification information from any application installed in the electronic device, and various prompts sent by the server of the operating system or application.
[0060] Next, before step 320, in order to obtain the content of the user's historical input and analyze the user's word usage habits, the display method provided in this application embodiment may also include steps 3401 and 3402, namely the process of generating a file database.
[0061] In step 3401, the user's historical input content is obtained.
[0062] Here, the user's historical input can be generated by using behavioral data such as input method records, search records, and download records on the user's electronic device. This content can include the user's habitual text characters, images, videos, audio, etc.
[0063] Therefore, based on user behavior data, it is possible to obtain users' personal word usage habits, so as to replace keywords in undisplayed information later.
[0064] Step 3402: Generate a file database based on the content. The file database includes preset keywords, characters or images, and audio associated with the preset keywords. The characters are text characters, and the images can include static images, dynamic images such as emoticons, images of any number of frames in a video, etc. The images can also include images corresponding to the preset keywords.
[0065] In this way, the system can extract frequently used words from the user's historical input, generate preset keywords based on these words, and also generate a file database based on audio, images, and other materials related to these words.
[0066] It should be noted that the file database can be generated based on the user's historical input, or it can be online text, images, videos, audio, etc., retrieved from the server based on the user's historical input. The aforementioned online text, images, videos, and audio can be the original content of the user's historical input, or content related to the original content of the user's historical input. In this way, a file database is generated based on online text, images, videos, and audio, as well as local text, images, videos, and audio, so that users can later be provided with understandable and familiar characters or images, such as user-preferred text characters, emoticon images, and any number of frames from short videos.
[0067] Since different types of content require different methods to generate file databases, the steps for generating file databases for different types of content will be explained below.
[0068] In one or more possible embodiments, the content is text. Thus, by using text processing techniques such as word segmentation and semantic recognition, commonly used user words are analyzed to generate a file database containing text. Specifically, step 3402 mentioned above may include:
[0069] Semantic analysis of the content yielded multiple keywords;
[0070] Based on a pre-defined database, related words corresponding to each keyword among multiple keywords are obtained. Related words include at least one of the following: synonyms, near-synonyms, and user-defined words. Here, the pre-defined database may include online word databases provided by the Internet, dictionaries and glossaries published by relevant departments, user habitual text character sets, etc. Synonyms and near-synonyms here refer not only to the standard words specified in dictionaries and glossaries, but also to different expressions of the same word in different regions, i.e., dialect words.
[0071] A file database is generated based on keywords and related terms. The preset keywords include at least one of the following: keywords and related terms.
[0072] For example, semantic analysis of the content is performed using text processing techniques such as semantic recognition and word segmentation to obtain multiple keywords. Then, based on a pre-set database, at least one related word corresponding to each keyword is obtained to generate a file database containing text that users can understand and are familiar with.
[0073] Based on this, step 320 may specifically include:
[0074] Step 3201: Based on the first keyword, search for related words corresponding to the first keyword. Related words include at least one of the following: synonyms, near-synonyms, and user-defined words.
[0075] Step 3202: Identify the related words corresponding to the first keyword as target characters.
[0076] Specifically, step 3201 above may include: performing semantic analysis on the first information to obtain the first keyword;
[0077] From the text database, search for related words corresponding to the first keyword. Related words include at least one of the following: synonyms, near-synonyms, and user-defined words.
[0078] For example, after generating a file database containing user-understandable and familiar character text, when the first message is a prompt from an application, the AI analysis module in the electronic device performs semantic analysis on the prompt to obtain the first keyword. Thus, by leveraging AI technology and learning user behavior habits, a user profile is formed. When undisplayed information is encountered, differentiated content and format are provided based on the user profile to achieve optimal communication. The AI analysis module searches the text database for related words corresponding to the first keyword; through matching, a specific solution for replacing the first keyword is derived. For example, if the prompt text is: "Access to the local network for 'A Video' has been blocked. Please go to settings to allow it," after searching the file database for related words, the target character is found. For this user, the related word for "access to the local network" is "internet access," and the related word for "settings" is "settings." Thus, the second message is: "Internet access for 'A Video' has been blocked. Please go to settings to allow it."
[0079] Furthermore, in some possible embodiments, there may be multiple related words corresponding to the first keyword, that is, when the related words include multiple sub-related words, the display method may further include the following before step 3202 mentioned above:
[0080] Based on the application to which the first information belongs, the target sub-related words corresponding to the first keyword are determined as target characters, wherein the target sub-related words are the related words corresponding to the application among multiple sub-related words.
[0081] For example, if there are multiple related words, then it can be determined which application the first information comes from, such as application A, and the target related word that has been used in application A can be selected from the multiple related words as the target character.
[0082] It should be noted that the preset conditions can include not only filtering target sub-related words used in the same application, but also filtering sub-related words based on the frequency and time of use of each sub-related word among multiple sub-related words used by the user. In this way, sub-related words with a usage frequency higher than the preset frequency are filtered and identified as target sub-related words, and sub-related words with a usage time difference from the time of obtaining the first information less than the preset time difference are filtered and identified as target sub-related words.
[0083] In another or more possible embodiments, the content is an image. In the embodiments of this application, the image can refer to each frame of an image or video. Further, images can be divided into dynamic images and static images. The file format of dynamic images can include gif, flv, rm, rmvb, etc., and the file of static images can include .gif, BMP, etc., and the video includes short videos.
[0084] Based on this, the images in the content can be processed through the following steps to analyze the relationship between commonly used user words (i.e., preset keywords) and each image. Based on this relationship, each image is labeled, thereby generating a file database based on the labeled images. Thus, step 3402 mentioned above can specifically include:
[0085] Image recognition is performed on the content to obtain multiple images, including at least one of the following: dynamic images and static images;
[0086] Based on the semantics in the content, generate at least one semantic tag for each of the multiple images, and use at least one semantic tag for each image as a preset keyword;
[0087] By associating each image with its preset keywords, a file database is obtained.
[0088] For example, image processing technology is used to analyze content and obtain multiple images. Taking a user's emoji as an example, the content can still be semantically analyzed using an AI analysis module in the electronic device to identify at least one semantic tag for each image. Here, the semantic tag can be a synonym or near-synonym of the target object in the image. Each image is associated with its semantic tag to generate a file database containing tagged images, such as those used by the user. Figure 4 The two emojis shown are used to express "facial recognition" and user experiences. Figure 5The emoji shown is used to express "can't see clearly" or "has been used before". Figure 6 The following emoji is used to express "inaccurate".
[0089] Based on this, step 320 may specifically include:
[0090] Step 3203: Obtain semantic tags that match the keywords;
[0091] Step 3204: Determine at least one image corresponding to the semantic tag as the target image; wherein the target image includes at least one of the following: dynamic image, static image.
[0092] Similar to target characters, if there are multiple images, the preset conditions can include filtering images used in the same application and identifying them as target images. Alternatively, the target image can be identified based on the frequency and duration of each image used by the user. In this way, images used more frequently than a preset frequency can be filtered and identified as target images, as well as images whose usage time is less than a preset time difference from the time the first information was obtained can be filtered and identified as target images.
[0093] For example, after generating a file database containing images that users can understand and are familiar with, when the first information is a prompt message from an application, the AI analysis module in the electronic device performs semantic analysis on the prompt message to obtain the first keyword in the prompt message. Taking facial recognition as an example, such as... Figure 7 As shown, the prompt message reads: "Facial recognition cannot be accurately performed in low light conditions. We suggest you turn on the screen flash to increase brightness." After matching the images with the file database, it was determined that the user's preset keyword for the first keyword "facial recognition" is "face recognition," and the corresponding emoji image for "face recognition" was also found. Figure 4 The preset keyword corresponding to "cannot be accurately identified" is "accuracy not guaranteed," and the reference image for the application's emojis is related to "accuracy not guaranteed." Figure 6 In this way, it can be Figure 4 and Figure 6 The image was identified as the target image.
[0094] Based on this, the above explanation uses text and images as examples. In addition, the content input by the user in the past will also include audio. Based on the same principle, the user's commonly used words in the content can be identified and determined as preset keywords. Then, the videos, audios, etc. corresponding to the preset keywords are identified, and a file database is generated based on these contents. In this way, when the information not displayed by the electronic device in step 310 is obtained, the characters or images associated with the first keyword in the first information can be found based on the preset keywords in the file database, so as to provide the user with understandable and familiar content later.
[0095] Then, before step 330, second information needs to be generated. Based on this, the display method may also include:
[0096] Replace the first keyword with the target character or target image;
[0097] Based on the semantics of the first information and the display parameters of the target character or target image, the arrangement parameters of the target character or target image and the target content are adjusted to obtain the second information.
[0098] Therefore, the following provides different processes for generating second information based on characters, images, audio files, etc., as detailed below.
[0099] In one instance, if it is a simple replacement between the first keyword and the target character or target image, without changing the semantics of the second keyword (excluding the first keyword) and the first information, then the content after the simple replacement can be identified as the second information.
[0100] For example, if the text of the first message is "Access to the local network for 'A Video' has been blocked. Please go to 'Settings' to allow it," and the target characters include "Internet access" associated with "Access to the local network" and "Settings" associated with "Settings," then the second message is: "Access to the local network for 'A Video' has been blocked. Please go to 'Settings' to allow it." Based on this, step 330 is executed, such as... Figure 8 As shown, the second information is displayed.
[0101] In another example, the target content includes a second keyword in the first information, excluding the first keyword. If replacing the first keyword with a target image changes the semantics of both the second keyword and the first information, then the second keyword in the first information needs to be re-evaluated after the replacement. This scenario may occur in applications where the replacement is with images, audio, etc. Based on this, the following steps can be performed:
[0102] Replace the first keyword with the target image;
[0103] Based on the semantics of the first information, i.e. the display parameters of the target image, the arrangement parameters of the target image and the second keyword are adjusted to obtain the second information.
[0104] For example, the text of the first message is "Facial recognition cannot be accurately performed when the light is too dim. It is recommended that you turn on the screen flash to improve brightness." The first keywords include "facial recognition" and "cannot be accurately recognized." The target image includes an emoji associated with "facial recognition" (see reference 1). Figure 4 ), "Unable to accurately identify" associated emoji 2 (see reference) Figure 6 Therefore, first, replace the first keyword with two emojis. Then, adjust the order of the second keywords (excluding the first keyword) in the first information to obtain the second information, such as "[Emoji 1][Emoji 2] The light is too dim; we suggest you turn on the screen flash to increase brightness." Based on this, proceed to step 330, as follows: Figure 9 As shown, the second information is displayed.
[0105] Furthermore, in one or more possible embodiments, based on the user's selection, it is determined whether to display first information or second information. Based on this, after step 330, the method may further include:
[0106] Step 3501: Receive the first input for the second information;
[0107] Step 3502: In response to the first input, display the first information.
[0108] For example, a second message and a first prompt message are displayed. The first prompt message is used to prompt the user to click on the second message. When the user clicks on the second message, the electronic device displays the original content of the first message.
[0109] Or, such as Figure 10 As shown, a second message such as "Internet access for 'A Video' has been blocked. To allow it, please go to 'Settings'" and a first prompt message 101 are displayed. The first prompt message 101 is used to prompt the user. When the user clicks the first prompt message 101, a notification settings menu is displayed. The notification settings menu includes a "Show original text" option. When the user clicks the "Show original text" option, the electronic device displays the first message.
[0110] Furthermore, after step 3502, the electronic device can use the AI analysis module to record the number of times the user clicks the "second information" or "show original text" option. For notifications that frequently trigger the display of original text, the text replacement will be reduced, and the first information will be displayed directly. Based on this, the method may also include:
[0111] Count the number of times the first input is received;
[0112] If the number of attempts is greater than or equal to the preset number, and the first message is received, the first message will be displayed.
[0113] For example, refer to Figure 11 The AI analysis module records the number of times a user uses the "Show Original Text" option. For interfaces that frequently trigger the "Show Original Text" option, information replacement will be reduced, and the first piece of information will be displayed directly when it is obtained.
[0114] It should be noted that, in this embodiment of the application, the number of times the user clicks "second information" or "display original text" in a specific scenario can also be counted. For example, if the number of times the first input is received is greater than or equal to a preset number, then in subsequent scenarios... Figure 11 In the scenario shown, the first information is displayed directly. Otherwise, if the number of times the first input is received is less than the preset number, the replacement is carried out through steps 310 to 330.
[0115] In another or more possible embodiments, the display method provided in this application allows users to intervene in the rules for replacing characters or images, providing characters or images that the user deems reasonable. Based on this, after step 330, the method may further include:
[0116] Receive the second input to the interface;
[0117] In response to the second input, obtain the replacement character or replacement image;
[0118] Replace the target character or target image with the replacement character or replacement image to update the file database.
[0119] For example, still refer to Figure 11 The notification settings menu also includes a "Feedback" option, so that when the user clicks on "Feedback," the following will be displayed: Figure 12 The information shown allows you to fill in or select a replacement character that you deem appropriate, replacing the target character with the replacement character. The second information will be displayed in the current and next sessions, and at this time, the second information includes the replacement character for the first keyword.
[0120] Or, such as Figure 13 As shown, based on the user's selection of a replacement image that they deem reasonable, the target image is replaced with the replacement image, and the second information is displayed in the current and next sessions. At this time, the second information includes the replacement image that replaces the first keyword.
[0121] Here, the replacement characters or images entered by the user can be used to replace the current target characters or target images, or they can be fed back to the AI analysis module, or used to update the file database for continuous optimization.
[0122] Therefore, when users use electronic devices, the various information they receive can be displayed in a form that they understand, are familiar with, and like, achieving personalized display and improving the expressive effect of prompts. Furthermore, this application embodiment converts the first keyword in the undisplayed first information into target images that users understand and are familiar with, such as emoji images, images or audio from any number of frames in a short video. This extends the first information beyond text to include images, audio, and video. Combining semantic and image conversion capabilities, it collects the user's historical input content and related popular emojis and images or audio from any number of frames in short videos on the internet, generating a file database. Thus, when the electronic device receives undisplayed information, it can convert the first information into text characters, images, audio, etc., that users understand, are familiar with, and like, better conforming to users' graphical reading habits. This improves the expressive effect of information while also facilitating user reading and retrieval of the content, thereby increasing the efficiency of user reading and using prompts.
[0123] The display method provided in this application can be executed by a display device. This application uses a display device executing the display method as an example to illustrate the display device provided in this application.
[0124] Based on the same inventive concept, this application also provides a display device. (Specifically combined with...) Figure 14 Please provide a detailed explanation.
[0125] Figure 14 This is a schematic diagram of the structure of a display device provided in an embodiment of this application.
[0126] like Figure 14 As shown, the display device 140 is applied to, for example Figure 1 The electronic device shown may specifically include:
[0127] The acquisition module 1401 is used to acquire first information, which is information that is not displayed.
[0128] Processing module 1402 is used to obtain target characters or target images associated with the first keyword when the first information includes the first keyword, wherein the target characters or target images are determined by the content of the user's historical input.
[0129] Display module 1403 is used to display second information, which includes the target character or target image that replaces the first keyword.
[0130] The display device 140 will be described in detail below:
[0131] In one or more possible embodiments, the processing module 1402 provided in this application embodiment can be specifically used to search for related words corresponding to the first keyword based on the first keyword. The related words include at least one of the following: synonyms, near-synonyms, and user-defined words.
[0132] The related words corresponding to the first keyword are identified as target characters.
[0133] In another or more possible embodiments, the processing module 1402 provided in this application embodiment can be specifically used to determine the target sub-related word corresponding to the first keyword as the target character according to the application to which the first information belongs when the related word includes multiple sub-related words;
[0134] Among them, the target sub-related words are the related words that correspond to the application among multiple sub-related words.
[0135] In one or more possible embodiments, the acquisition module 1401 provided in this application embodiment can also be used to acquire semantic tags that match the keywords;
[0136] Specifically, the processing module 1402 can be used to determine at least one image corresponding to a semantic label as the target image; wherein,
[0137] The target image includes at least one of the following: a dynamic image and a static image.
[0138] In one or more possible embodiments, the display device 140 provided in this application may further include a replacement module and an adjustment module; wherein,
[0139] The replacement module is used to replace the first keyword with the target character or target image;
[0140] The adjustment module is used to adjust the layout parameters of the target character or target image and the target content according to the semantics of the first information and the display parameters of the target character or target image, so as to obtain the second information.
[0141] The display device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.
[0142] The display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0143] The display device provided in this application embodiment can achieve... Figures 1 to 13 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0144] Based on this, the display device provided in this application acquires undisplayed first information, and when the first information includes a first keyword, acquires a target character or target image associated with the first keyword, wherein the target character or target image is determined through the user's historical input. Then, it displays second information including the target character or target image that replaces the first keyword. By collecting the user's historical input, undisplayed information can be converted into target characters or target images that the user can understand and is familiar with, such as emoji images or images of any number of frames from a short video. This better aligns with the user's graphical reading habits, improving the effectiveness of information expression and facilitating the user's reading and retrieval of key content, thereby increasing the efficiency of user reading and using prompts.
[0145] Optional, such as Figure 15As shown, this application embodiment also provides an electronic device 150, including a processor 1501 and a memory 1502. The memory 1502 stores a program or instructions that can run on the processor 1501. When the program or instructions are executed by the processor 1501, they implement the various steps of the above-described display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0146] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0147] Figure 16 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
[0148] The electronic device 1600 includes, but is not limited to, components such as: radio frequency unit 1601, network module 1602, audio output unit 1603, input unit 1604, sensor 1605, display unit 1606, user input unit 1607, interface unit 1608, memory 1609, and processor 16010.
[0149] Those skilled in the art will understand that the electronic device 1600 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 16010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 16 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0150] In this embodiment, the processor 16016 is configured to acquire first information, which is information not displayed; and, if the first information includes a first keyword, acquire a target character or target image associated with the first keyword, wherein the target character or target image is determined by the user's historical input. The display unit 1606 is configured to display second information, which includes a target character or target image that replaces the first keyword.
[0151] In one or more possible embodiments, the processor 16016 in this application embodiment is used for,
[0152] Based on the first keyword, find related words that correspond to the first keyword. Related words include at least one of the following: synonyms, near-synonyms, and user-defined words.
[0153] The related words corresponding to the first keyword are identified as target characters.
[0154] In another or more possible embodiments, the processor 16016 provided in this application embodiment is further configured to, when the related words include multiple sub-related words, determine the target sub-related word corresponding to the first keyword as the target character according to the application to which the first information belongs;
[0155] Among them, the target sub-related words are the related words that correspond to the application among multiple sub-related words.
[0156] In one or more possible embodiments, the processor 16016 is further configured to: acquire semantic tags matching the keywords; and,
[0157] At least one image corresponding to a semantic label is identified as the target image; wherein...
[0158] The target image includes at least one of the following: a dynamic image and a static image.
[0159] In one or more possible embodiments, the processor 16016 provided in this application embodiment is further configured to replace the first keyword with a target character or a target image;
[0160] Furthermore, based on the semantics of the first information and the display parameters of the target character or target image, the arrangement parameters of the target character or target image and the target content are adjusted to obtain the second information.
[0161] It should be understood that the input unit 1604 may include a graphics processing unit (GPU) 16041 and a microphone 16042. The GPU 16041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1606 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1607 includes at least one of a touch panel 16071 and other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include a touch detection device and a touch display. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (such as volume display buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0162] The memory 1609 can be used to store software programs and various data. The memory 1609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1609 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0163] Processor 16016 may include one or more processing units; optionally, processor 16016 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless display signals, such as a baseband processor. It is understood that the aforementioned modem processor may not be integrated into processor 16016.
[0164] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0165] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0166] In addition, this application embodiment provides another chip, which includes a processor and a display interface. The display interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0167] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0168] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes shown in the above-described method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.
[0169] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0170] Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0171] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0172] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A display method, characterized in that, include: Obtain first information, which is information that is not displayed. If the first information includes a first keyword, obtain the target character or target image associated with the first keyword, wherein the target character or target image is determined by the content of the individual user's historical input; Display second information, the second information including the target character or target image that replaces the first keyword; The system counts the number of times the first input to the second information is received. If the count is greater than or equal to a preset number, the first information is displayed when the first information is received again. The first input is the input that triggers the display of the original text.
2. The method of claim 1, wherein, The step of obtaining the target character or target image associated with the first keyword includes: Based on the first keyword, search for related words corresponding to the first keyword, wherein the related words include at least one of the following: synonyms, near-synonyms, and user-defined words; The related words corresponding to the first keyword are determined as the target characters.
3. The method of claim 2, wherein, The related words include multiple sub-related words; determining the related words corresponding to the first keyword as the target character includes: Based on the application to which the first information belongs, the target sub-related words corresponding to the first keyword are determined as the target characters; The target sub-related words are the related words that correspond to the application among the plurality of sub-related words.
4. The method of claim 1, wherein, The step of obtaining the target character or target image associated with the first keyword includes: Obtain semantic tags that match the keywords; At least one image corresponding to the semantic tag is identified as the target image; wherein... The target image includes at least one of the following: a dynamic image and a static image.
5. The method of claim 1, wherein, Before displaying the second information, the method further includes: Replace the first keyword with the target character or target image; Based on the semantics of the first information and the display parameters of the target character or target image, the arrangement parameters of the target character or target image and the target content are adjusted to obtain the second information.
6. A display device, characterized by comprising: include: The acquisition module is used to acquire first information, which is information that is not displayed. The processing module is configured to, when the first information includes a first keyword, obtain a target character or target image associated with the first keyword, wherein the target character or target image is determined by the content of the individual user's historical input. A display module is used to display second information, the second information including the target character or target image that replaces the first keyword; The statistics module is used to count the number of times the second information is input, and if the number is greater than or equal to a preset number; The display module is further configured to display the first information upon receiving the first information again, wherein the first input is an input that triggers the display of the original text.
7. The apparatus of claim 6, wherein, The processing module is specifically used to search for related words corresponding to the first keyword based on the first keyword. The related words include at least one of the following: synonyms, near-synonyms, and user-defined words. The related words corresponding to the first keyword are determined as the target characters.
8. The apparatus of claim 7, wherein, The processing module is specifically used to, when the related words include multiple sub-related words, determine the target sub-related word corresponding to the first keyword as the target character according to the application to which the first information belongs; The target sub-related words are the related words that correspond to the application among the plurality of sub-related words.
9. The apparatus of claim 6, wherein, The processing module is specifically used to obtain semantic tags that match the keywords; At least one image corresponding to the semantic tag is identified as the target image; wherein... The target image includes at least one of the following: a dynamic image and a static image.
10. The apparatus of claim 6, wherein, The display device further includes: a replacement module and an adjustment module; wherein... The replacement module is used to replace the first keyword with the target character or target image; The adjustment module is used to adjust the arrangement parameters of the target character or target image and the target content according to the semantics of the first information and the display parameters of the target character or target image, so as to obtain the second information.
11. An electronic device, comprising: include: A processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the display method as described in any one of claims 1-5.
12. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the display method as described in any one of claims 1-5.