CN115309487A - Display method, display device, electronic equipment and readable storage medium - Google Patents

Display method, display device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115309487A
CN115309487A CN202210821325.0A CN202210821325A CN115309487A CN 115309487 A CN115309487 A CN 115309487A CN 202210821325 A CN202210821325 A CN 202210821325A CN 115309487 A CN115309487 A CN 115309487A
Authority
CN
China
Prior art keywords
target
information
keyword
user
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210821325.0A
Other languages
Chinese (zh)
Inventor
杨飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210821325.0A priority Critical patent/CN115309487A/en
Publication of CN115309487A publication Critical patent/CN115309487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/247Thesauruses; Synonyms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The application discloses a display method, a display device, electronic equipment and a readable storage medium, and belongs to the technical field of computers. The method comprises the steps of obtaining first information, wherein the first information is information which is not displayed; under the condition that the first information comprises a first keyword, acquiring a target character or a target image associated with the first keyword, wherein the target character or the target image is determined by the content input by the user history; and displaying second information, wherein the second information comprises target characters or target images replacing the first keywords.

Description

Display method, display device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a display method, a display device, electronic equipment and a readable storage medium.
Background
When people use electronic equipment, people can encounter various types of prompts, such as pop-up (simulated pop-up and non-simulated pop-up) prompts, floating notification prompts, application prompts in application programs and the like.
In the related art, the content of various types of prompts is generally universal text, and the prompts relate to technical terms, so that users cannot conveniently read and acquire key content in the prompts.
Disclosure of Invention
An object of the embodiments of the present application is to provide a display method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem that the existing prompt information display manner is inconvenient for a user to read and acquire key content in the prompt information.
In a first aspect, an embodiment of the present application provides a display method applied to an electronic device, where the display method may include:
acquiring first information which is not displayed;
under the condition that the first information comprises a first keyword, acquiring a target character or a target image associated with the first keyword, wherein the target character or the target image is determined by the content input by the user history;
and displaying second information, wherein the second information comprises target characters or target images replacing the first keywords.
In a second aspect, an embodiment of the present application provides a display device applied to an electronic device, where the display device may include:
the acquisition module is used for acquiring first information, wherein the first information is information which is not displayed;
the processing module is used for acquiring a target character or a target image associated with the first keyword under the condition that the first information comprises the first keyword, wherein the target character or the target image is determined by the content input by the user history;
and the display module is used for displaying second information, and the second information comprises target characters or target images replacing the first keywords.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the display method as shown in the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the display method as shown in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a display interface, where the display interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the display method shown in the first aspect.
In a sixth aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the steps of the display method as shown in the first aspect.
In the embodiment of the application, first information which is not displayed is acquired, a target character or a target character which is associated with a first keyword is acquired in the case that the first information comprises the first keyword, wherein the target character or the target image is determined by contents which are input by a user history, and then second information comprising the target character or the target image which replaces the first keyword is displayed. Therefore, the content of historical input of the user is collected, so that the undisplayed information can be converted into the familiar target characters or images of any number of frames in the target images such as the expression package images and the short videos which can be understood by the user, the graphical reading habit of the user is better met, the information expression effect is improved, the user can read and acquire the key content in the information conveniently, and the reading and use prompting efficiency of the user is improved.
Drawings
Fig. 1 is a schematic diagram of a display architecture according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a display method based on a display architecture according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a display method according to an embodiment of the present application;
fig. 4 is one of schematic diagrams of an emoticon according to a display method provided in an embodiment of the present application;
FIG. 5 is a second illustration of an emoticon according to a display method provided by an embodiment of the present application;
fig. 6 is a third schematic diagram of an emoticon according to a display method provided in the present embodiment;
fig. 7 is one of schematic interface diagrams of a display method according to an embodiment of the present disclosure;
fig. 8 is a second schematic interface diagram of a display method according to an embodiment of the present application;
fig. 9 is a third schematic interface diagram of a display method according to an embodiment of the present application;
FIG. 10 is a schematic interface diagram of a display method according to an embodiment of the present disclosure;
fig. 11 is a second schematic interface diagram of a display method according to an embodiment of the present application;
fig. 12 is a third schematic interface interaction diagram of a display method according to an embodiment of the present application;
fig. 13 is a fourth schematic interface interaction diagram of a display method according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 16 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the related art, the content of various types of prompt messages displayed on the interface of the electronic device is generally a universal text, the reading habit of the user is not considered, and the prompt messages generally relate to some technical terms, so that the user is inconvenient to read and acquire the key content in the prompt messages.
Based on this, in order to solve the above problem, an embodiment of the present application provides a display method, which collects content of user history input, and when first information received by an electronic device and not displayed is obtained, the first information may be converted into content of user history input that is understandable and familiar to a user, so as to better conform to a reading habit of the user, improve an expression effect of the information, facilitate the user to read and obtain key content in the information, and further improve efficiency of the user in reading and using prompts.
The display method provided by the embodiment of the present application is described in detail below with reference to fig. 1 to 13 through specific embodiments and application scenarios thereof.
An embodiment of the present application provides a display architecture, as shown in fig. 1, the display architecture may include an electronic device 10, and the electronic device 10 may be a device provided with functions of acquiring, converting, and displaying a prompt message, such as a mobile phone, a tablet computer, a notebook computer, a palm computer, and a wearable device.
In some examples, the electronic device 10 is provided with a function of acquiring information, for example, the electronic device 10 may acquire pop-up window prompt information and floating notification prompt information of an operating system in the electronic device 10, may also acquire application prompt information of an application program installed in the electronic device 10, and may also acquire various types of information sent by a (operating system or application program) server, and the like; the electronic device 10 is provided with a function of converting information, for example, the electronic device 10 includes an Artificial Intelligence (AI) analysis module, converts content historically input by a user into local characters or images through the AI analysis module, acquires local target characters or target images associated with a first keyword when first information which is not displayed is acquired and the first information includes the first keyword, and replaces the first keyword with familiar target characters or target images which can be understood by the user, such as images of any number of frames in a user habit text character, an expression package image and a short video; and, the electronic device 10 is also provided with a function of displaying information, such as the electronic device 10 displaying second information including a target character or a target image in place of the first keyword.
In other examples, the electronic device 10 may further have a function of communicating with the server, for example, the electronic device 10 may receive information sent by the server, or receive characters or images on a line sent by the server, where the electronic device 10 may further obtain a target character or a target image on the line associated with the first keyword from the server and replace the first keyword with the target character or the target image on the line in a case where the first information that is not displayed is obtained and the first information includes the first keyword. It should be noted that the characters or images on the line may be determined by the contents of the user history input.
In still other examples, the electronic device 10 may also have storage functionality, such as the electronic device 10 may store online characters or images and local characters or images in a file database to later provide the user with understandable, familiar characters or images such as user-customary text characters, emoticon images, images of any number of frames in a short video.
Based on the display architecture, the embodiment of the present application combines with fig. 2 to describe the display method provided by the embodiment of the present application in detail.
In one or more possible embodiments, based on the display architecture shown in fig. 1, a detailed description is given of a display method provided in an embodiment of the present application with reference to fig. 2.
As shown in fig. 2, the display method in this embodiment may include a process of generating a file database and a process of converting and displaying the acquired first information based on the file database, which are respectively described below.
First, the process of generating the file database may include: acquiring the content historically input by a user; according to the content, a file database is generated, where the file database may include preset keywords, characters, images, and audio associated with the preset keywords, where the characters are text characters, the images may include still images, dynamic images such as emoticons, images of any number of frames in a video, and the like, and the images may also include images corresponding to the preset keywords.
Then, the process of converting and displaying the acquired first information based on the file database may include: the electronic device 10 acquires first information which is not displayed, such as "AAABBBCCC", matches first keywords "AAA" "CCC" in the first information with preset keywords in a file database, and acquires a target image X associated with the first keywords "AAA" "" CC ", where the target image X is determined by content input by a user history; replacing "AAA" and "CCC" in the first information "AAABBBCCC" with the target image X, and displaying second information including the target image X replacing the first keyword.
Therefore, the undisplayed information is converted into familiar target characters or target images which can be understood by the user, such as user habit text characters, expression package images and images of any number of frames in a short video, so that the graphical reading habit of the user is better met, the information expression effect is improved, the user can conveniently read and acquire key contents in the information, and the reading and use prompting efficiency of the user is improved.
It should be noted that the display method provided in the embodiment of the present application may be applied to various scenes in which the prompt information is replaced and displayed, so as to improve the efficiency of the user in reading and using the prompt, and may also be applied to scenes in which information is displayed, such as notification of an operating system, menu options, and control names of the electronic device, and any scene in which information needs to be displayed on the electronic device.
According to the above architecture and application scenario, the display method provided in the embodiment of the present application is described in detail below with reference to fig. 3.
Fig. 3 is a flowchart of a display method according to an embodiment of the present application.
As shown in fig. 3, the display method provided in the embodiment of the present application may be applied to the electronic device shown in fig. 1, and the method may include the following steps:
step 310, acquiring first information, wherein the first information is information which is not displayed;
step 320, under the condition that the first information comprises a first keyword, acquiring a target character or a target image associated with the first keyword, wherein the target character or the target image is determined by the content input by the user history;
step 330, displaying second information, wherein the second information comprises target characters or target images replacing the first keywords.
Therefore, the undisplayed information is converted into familiar target characters or target images which can be understood by the user, such as the user habit text characters, the expression package images and the images of any number of frames in the short video, so that the graphical reading habit of the user is better met, the information expression effect is improved, the user can conveniently read and obtain the key content in the information, and the reading and use prompting efficiency of the user is improved.
The above steps are described in detail below, specifically as follows.
First, referring to step 310, the first information in this embodiment is information that is not displayed by the electronic device, where the information that is not displayed may be information that is newly received by the electronic device, or may be information that is historically received by the electronic device and is not viewed by the user.
Specifically, the first information may include at least one of: the system notification information of the operating system of the electronic equipment, the application notification information of any application program installed in the electronic equipment, and various types of prompt information sent by the operating system or the server of the application program.
Next, before step 320, in order to obtain the content historically input by the user and analyze the word-using habit of the user, the display method provided in the embodiment of the present application may further include step 3401 and step 3402, that is, a process of generating a file database.
In step 3401, the content historically input by the user is obtained.
Here, the content of the user history input, which may include user-used text characters, images, videos, audios, and the like, may be generated by recording behavior data such as an input method, a search record, a download record, and the like locally in the electronic device by the user.
Therefore, the personal word-using habit of the user can be acquired based on the behavior data of the user, so that the keywords in the undisplayed information can be replaced at a later stage.
And 3402, generating a file database according to the content, wherein the file database comprises preset keywords, characters or images and audio associated with the preset keywords, the characters are text characters, the images can comprise static images and dynamic images such as facial expression packages, images of any number of frames in videos and the like, and the images can also comprise images corresponding to the preset keywords.
Therefore, the user commonly used words can be extracted based on the content input by the user history, the preset keywords can be generated based on the commonly used words, and the file database can also be generated based on the audio, the image and the like related to the commonly used words.
The file database may be generated based on the content input by the user history, or may be online text, image, video, audio, and the like acquired from the server based on the content input by the user history, where the online text, image, video, and audio may be original content input by the user history, or may be content related to the original content input by the user history. In this way, a file database is generated based on online and local text, images, video, audio, etc. to later provide the user with understandable, familiar characters or images such as user-customary text characters, emoticons, images of any number of frames in a short video.
Since different types of content have different ways of generating the file database, the following description will be made on the procedure of generating the file database for different types of content.
In one or more possible embodiments, the content is a text, and thus, a user commonly used vocabulary is analyzed by using a text processing technology such as a word segmentation technology, a semantic recognition technology, and the like, so as to generate a file database including the text, that is, the above-mentioned step 3402 may specifically include:
performing semantic analysis on the content to obtain a plurality of keywords;
based on a preset database, obtaining related words corresponding to each keyword in a plurality of keywords, wherein the related words comprise at least one of the following: synonyms, near synonyms, user-defined words; here, the preset database may include an online word library provided by the internet, dictionaries issued by relevant departments, and a set of habitual text characters of a user, and the synonym herein may refer to different expression modes for the same word in different regions, that is, a dialect, in addition to a standard word specified in the dictionaries;
generating a file database based on the keywords and the related words, wherein the preset keywords comprise at least one of the following: keywords, related words.
Illustratively, the content is subjected to semantic analysis through text processing technologies such as a semantic recognition technology and a word segmentation technology, so as to obtain a plurality of keywords. Then, at least one related word corresponding to each keyword is acquired based on the preset database to generate a document database including a familiar text which can be understood by the user.
Based on this, the step 320 may specifically include:
step 3201, according to the first keyword, finding out related words corresponding to the first keyword, where the related words include at least one of: synonyms, near synonyms, user-defined words;
step 3202, the related words corresponding to the first keyword are determined as target characters.
Specifically, the step 3201 may specifically include: performing semantic analysis on the first information to obtain a first keyword;
searching a related word corresponding to the first keyword from a text database, wherein the related word comprises at least one of the following words: synonyms, near synonyms, user-defined words.
Illustratively, after a file database which comprises familiar character texts which can be understood by a user is generated, when first information is prompt information of an application, semantic analysis is carried out on the prompt information through an AI analysis module in the electronic equipment, and a first keyword in the prompt information is acquired, so that by means of AI technology, a user portrait is formed by learning user behavior habits, and when undisplayed information is acquired, differentiated contents and forms are provided according to the user portrait, and an optimal communication effect is achieved. Searching related words corresponding to the first key words from a text database through an AI analysis module; through matching, a specific scheme for performing replacement processing on the first keyword is obtained, and if the text of the prompt message is: "video a has been prohibited" from accessing the local network, and please go to the setting if required. The target character is obtained after searching the related words in the file database, and the user surfs the internet for the related words of accessing the local network. The related word of the setting is the setting, so that the second information is: "video a is prohibited" and internet access is enabled if the request is required.
Further, in some possible embodiments, when the related word corresponding to the first keyword may be multiple, that is, when the related word includes multiple sub-related words, before the step 3202, the displaying method may further include:
and determining a target sub-related word corresponding to the first keyword as a target character according to the application program to which the first information belongs, wherein the target sub-related word is a related word corresponding to the application program in the plurality of sub-related words.
For example, if the sub-related word is plural, it may be determined from which application program the first information originated, for example, from application program a, and a target sub-related word used in application program a among the plural sub-related words is selected as the target character.
It should be noted that the preset condition may include, in addition to filtering the target sub-related word used in the same application program, filtering the sub-related word with the use frequency higher than the preset frequency and determining the sub-related word as the target sub-related word according to the use frequency and the use time of each of the plurality of sub-related words used by the user, and filtering the sub-related word with the use time distance and the time difference of the first information acquired by the time distance smaller than the preset time difference and determining the sub-related word as the target sub-related word.
In another or various possible embodiments, the content is an image, the image in the embodiments of the present application may refer to each frame of image in a picture and a video, further, the picture may be divided into a dynamic image and a static image, the file format of the dynamic image may include gif, flv, rm, rmvb, and the like, the file format of the static image may include gif, BMP, and the like, and the video may include a short video.
Based on this, the image processing method can perform image processing on the images in the content, analyze the relationship between the user commonly used words (i.e. preset keywords) and each image, and label each image based on the relationship between the user commonly used words and each image, so as to generate the file database based on the labeled image, and thus, the step 3402 specifically includes:
performing image recognition on the content to obtain a plurality of images, wherein the images comprise at least one of the following images: moving images, still images;
generating at least one semantic label of each image in the plurality of images based on the semantics in the content, and taking the at least one semantic label of each image as a preset keyword;
and associating each image with the preset keyword of each image to obtain a file database.
Illustratively, by image processing technology, the content is subjected to image analysis to obtain a plurality of images, where an expression package taking the image as a user is taken as an example, the content may still be subjected to semantic analysis by an AI analysis module in the electronic device to identify at least one semantic tag of each image, where the semantic tag may be a synonym, or the like of a target object in the image, and associate each image with the semantic tag of each image to generate a file database including labeled images, such as a case where a user uses two expression packages as shown in fig. 4 to express "face recognition", a case where a user uses an expression package as shown in fig. 5 to express "face recognition", and a case where an expression package as shown in fig. 6 to express "inaccurate".
Based on this, the step 320 may specifically include:
step 3203, semantic tags matched with the keywords are obtained;
step 3204, determining at least one image corresponding to the semantic tag as a target image; wherein the target image comprises at least one of: moving images, still images.
Similar to the target character, if there are a plurality of images, the predetermined condition may include screening an image used in the same application and determining it as a target image, and determining the target image according to the frequency of use and the time of use of each image of the plurality of images used by the user, such that an image with a frequency higher than a predetermined frequency is screened and determined as a target image, and an image with a time difference of obtaining the first information using the time interval smaller than the predetermined time difference is screened and determined as a target image.
Illustratively, after a file database including familiar images that can be understood by a user is generated, when the first information is prompt information of an application, the AI analysis module in the electronic device performs semantic analysis on the prompt information to obtain a first keyword in the prompt information, taking face recognition as an example, as shown in fig. 7, the text of the prompt information is: when the light is too dark, face recognition cannot be accurately performed, it is recommended that a user start screen supplementary lighting to improve brightness, and after the user matches with an image in a file database, it is obtained that the user performs face recognition on a preset keyword corresponding to a first keyword face recognition, an expression package image reference picture 4 corresponding to the face recognition is obtained, an accuracy rate is not guaranteed on the preset keyword corresponding to the inaccurate recognition, and an applied expression package image reference picture 6 corresponding to the accuracy rate is obtained, so that the images of fig. 4 and 6 can be determined as target images.
Based on this, the above description is made by taking text and image as examples, in addition, the content input by the user history may further include audio, and based on the same principle, the vocabulary commonly used by the user in the content may be recognized, and the vocabulary commonly used by the user is determined as the preset keyword, then, the video, the audio, and the like corresponding to the preset keyword are determined, and the file database is generated based on these contents, so that, in the case of acquiring the information that is not displayed by the electronic device in step 310, the character or the image associated with the first keyword in the first information may be searched based on the preset keyword in the file database, so as to provide the understandable and familiar content to the user at a later time.
Then, before step 330 is involved, the second information needs to be generated, and based on this, the step displaying method may further include:
replacing the first keyword with a target character or a target image;
and adjusting the arrangement parameters of the target characters or the target images and the target content according to the semantics of the first information and the display parameters of the target characters or the target images to obtain second information.
Thus, different processes for generating the second information are provided below based on characters, images, audio files, and the like, respectively, as shown below.
In one example, if it is a simple substitution between the first keyword and the target character or the target image without changing the semantics of the first information and the second keyword in the first information other than the first keyword, the content after the simple substitution may be determined as the second information.
Illustratively, the text of the first information is "prohibited" a video "[ visiting the local network ], if please be allowed to [ set ], and the target character includes [ visiting the local network ] and [ set ] of the [ set ] association, then the second information is: "prohibited" a video "[ surf the internet ], if it is required to allow please go [ set ]. Based on this, step 330 is executed, as shown in fig. 8, displaying the second information.
In another example, the target content includes a second keyword in the first information, except the first keyword, if the semantics of the first information and the second keyword in the first information except the first keyword are changed after the target image replaces the first keyword, then the second keyword in the first information except the first keyword needs to be re-combed after the replacement, and this example may appear in an application scene such as an image, audio, and the like, based on which the following steps may be performed:
replacing the first keyword with a target image;
and adjusting the arrangement parameters of the target image and the second keyword according to the semantic meaning of the first information, namely the display parameter of the target image, so as to obtain second information.
Illustratively, if the text of the first information is "light is too dark, face recognition cannot be accurately performed, and it is recommended that you turn on a screen fill light to increase brightness", the first keyword includes "face recognition" and "cannot be accurately recognized", the target image includes an expression package 1 (refer to fig. 4) associated with "face recognition" and an expression package 2 (refer to fig. 6) associated with "cannot be accurately recognized", then, first, the two expression packages are replaced by the first keyword, then, the arrangement sequence of the second keywords except the first keyword in the first information is adjusted, second information such as "[ expression package 1 ], [ expression package 2 ] light is too dark, and you turn on a screen fill light to increase brightness". Based on this, step 330 is executed, as shown in fig. 9, displaying the second information.
Further, in one or more possible embodiments, based on the user's selection, determining whether to display the first information or the second information, based on which, after step 330, the method may further include:
step 3501, receiving a first input of second information;
step 3502, in response to the first input, displaying the first information.
Illustratively, second information and first prompt information are displayed, and the first prompt information is used for prompting the user to click the second information, so that the electronic equipment displays the original content of the first information when the user clicks the second information.
Or, as shown in fig. 10, displaying second information, such as "prohibited" a video "[ surf the internet ], if the request is allowed to go to [ set ] and first prompt information 101, where the first prompt information 101 is used to prompt the user to click on the first prompt information 101, so that when the user clicks on the first prompt information 101, a notification setting menu is displayed, where the notification setting menu includes an option of" display original text ", and thus, when the user clicks on the option of" display original text ", the electronic device displays the first information.
Further, after step 3502, the electronic device may record, through the AI analysis module, the number of times that the user clicks the option of "second information" or "display original text", and for the notification that frequently triggers the display of original text, the text replacement will be reduced, and the first information is directly displayed, based on which, the method may further include:
counting the number of times of receiving the first input;
and displaying the first information under the condition that the first information is received under the condition that the number of times is greater than or equal to the preset number of times.
Illustratively, referring to fig. 11, the number of times that the user uses "display original text" is recorded by the AI analysis module, for an interface which frequently triggers display of the original text, information replacement is reduced, and when the first information is acquired, the first information is directly displayed.
It should be noted that, in this embodiment of the application, the number of times that the user clicks the "second information" or "displays the original text" in a specific scenario may also be counted, for example, the number of times that the user receives the first input is counted to be greater than or equal to a preset number of times, then, in the scenario shown in fig. 11, the first information is directly displayed later, otherwise, the number of times that the user receives the first input is counted to be less than the preset number of times, and then the replacement is continued through the above steps 310 to 330.
In another possible embodiment or embodiments, the display method provided in the embodiments of the present application allows the user to intervene in the rules for replacing characters or images by himself, and to give characters or images that the user himself thinks reasonable, based on which, after step 330, the method may further include:
receiving a second input to the interface;
acquiring a replacement character or a replacement image in response to the second input;
and replacing the target character or the target image with a replacement character or a replacement image to update the file database.
Still referring to fig. 11, the notification setting menu also includes a selection of "feedback" so that, in the case where the user clicks the selection of "feedback", the information as shown in fig. 12 is displayed, a replacement character that the user thinks is reasonable is filled or selected, the target character is replaced with the replacement character, and second information is displayed this time and next time, the second information including the replacement character replacing the first keyword.
Alternatively, as shown in fig. 13, the target image is replaced with a replacement image based on a replacement image that the user has selected as reasonable, and the second information including the replacement image replacing the first keyword is displayed this time and next time.
Here, the replacement character or the replacement image input by the user may be used to replace the current target character or the current target image, may also be fed back to the AI analysis module, and may also be used to update the file database, so as to continuously optimize the file database in the following.
Therefore, when the user uses the electronic equipment, the received various information can be displayed in the content form understood, familiar and liked by the user, the display of thousands of people is realized, and the presentation effect of the prompt is improved. And the embodiment of the application converts the first keyword in the first information which is not displayed into a familiar target image which can be understood by the user, such as an expressive package image and an image or audio of any number of frames in a short video, so that the first information is not limited to a text but is extended to the information such as the image, the audio and the video, and the content input by the user history and the image or audio of any number of frames in the internet which is related to the content input by the user history are collected by combining the semantic and the technical capability of image conversion, and a file database is generated.
According to the display method provided by the embodiment of the application, the execution main body can be a display device. In the embodiment of the present application, a display device executing a display method is taken as an example to describe the display device provided in the embodiment of the present application.
Based on the same inventive concept, the application also provides a display device. The details are described with reference to fig. 14.
Fig. 14 is a schematic structural diagram of a display device according to an embodiment of the present application.
As shown in fig. 14, the display device 140 is applied to the electronic device shown in fig. 1, and may specifically include:
an obtaining module 1401, configured to obtain first information, where the first information is information that is not displayed;
a processing module 1402, configured to, in a case that the first information includes a first keyword, obtain a target character or a target image associated with the first keyword, where the target character or the target image is determined by content historically input by a user;
a display module 1403, configured to display second information, where the second information includes a target character or a target image that replaces the first keyword.
The display device 140 will be described in detail as follows:
in one or more possible embodiments, the processing module 1402 provided in this embodiment of the present application may be specifically configured to, according to the first keyword, search for a related word corresponding to the first keyword, where the related word includes at least one of the following: synonyms, near synonyms, user-defined words;
and determining related words corresponding to the first keywords as target characters.
In another or more possible embodiments, the processing module 1402 provided in this embodiment of the application may be specifically configured to, when the related word includes a plurality of sub-related words, determine, according to an application to which the first information belongs, a target sub-related word corresponding to the first keyword as a target character;
the target sub-related word is a related word corresponding to the application program in the plurality of sub-related words.
In yet another or more possible embodiments, the obtaining module 1401 provided in this embodiment may further be configured to obtain a semantic tag matching the keyword;
the processing module 1402 may be specifically configured to determine at least one image corresponding to the semantic tag as a target image; wherein the content of the first and second substances,
the target image includes at least one of: moving images, still images.
In one or more possible embodiments, the display device 140 provided in the embodiments of the present application may further include a replacement module and an adjustment module; wherein the content of the first and second substances,
the replacing module is used for replacing the first keyword with a target character or a target image;
and the adjusting module is used for adjusting the arrangement parameters of the target characters or the target images and the target content according to the semantics of the first information and the display parameters of the target characters or the target images to obtain second information.
The display device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), an assistant, a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 13, achieve the same technical effect, and is not described herein again to avoid repetition.
Based on this, the display device provided by the embodiment of the application acquires the first information which is not displayed, acquires the target character or the target character which is associated with the first keyword under the condition that the first information comprises the first keyword, wherein the target character or the target image is determined by the content input by the user history, and then displays the second information which comprises the target character or the target image replacing the first keyword. Therefore, the content of historical input of the user is collected, so that the undisplayed information can be converted into the familiar target characters or images of any number of frames in the target images such as the expression package images and the short videos which can be understood by the user, the graphical reading habit of the user is better met, the information expression effect is improved, the user can read and acquire the key content in the information conveniently, and the reading and use prompting efficiency of the user is improved.
Optionally, as shown in fig. 15, an electronic device 150 is further provided in this embodiment of the present application, and includes a processor 1501 and a memory 1502, where the memory 1502 stores a program or an instruction that can be executed on the processor 1501, and when the program or the instruction is executed by the processor 1501, the steps of the display method embodiment described above are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 16 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
The electronic device 1600 includes, but is not limited to: 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.
Those skilled in the art will appreciate that the electronic device 1600 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 16010 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 16 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
In this embodiment, the processor 16016 is configured to obtain first information, where the first information is information that is not displayed; and under the condition that the first information comprises the first keyword, acquiring a target character or a target image associated with the first keyword, wherein the target character or the target image is determined by the content input by the user history. A display unit 1606 for displaying second information including a target character or a target image replacing the first keyword.
In one or more possible embodiments, the processor 16016 in the present embodiment is configured to,
according to the first keyword, searching related words corresponding to the first keyword, wherein the related words comprise at least one of the following: synonyms, near synonyms, user-defined words;
and determining the related words corresponding to the first key words as target characters.
In another or more possible embodiments, the processor 16016 provided in this embodiment of the present application is further configured to, in a case that the related word includes a plurality of sub-related words, determine, according to an application to which the first information belongs, a target sub-related word corresponding to the first keyword as a target character;
the target sub-related word is a related word corresponding to the application program in the plurality of sub-related words.
In yet another or more possible embodiments, the processor 16016 is further configured to obtain semantic tags matching the keywords; and the number of the first and second groups,
determining at least one image corresponding to the semantic tag as a target image; wherein the content of the first and second substances,
the target image includes at least one of: moving images, still images.
In yet another possible embodiment or embodiments, the processor 16016 provided by the embodiments of the present application is further configured to replace the first keyword with a target character or a target image;
and adjusting the arrangement parameters of the target characters or the target images and the target content according to the semantics of the first information and the display parameters of the target characters or the target images to obtain second information.
It is to be understood that the input Unit 1604 may include a Graphics Processing Unit (GPU) 16041 and a microphone 16042, the Graphics processor 16041 Processing image data of still images or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing 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 a touch panel 16071 and at least one of other input devices 16072. Touch panel 16071, also referred to as a touch screen. The touch panel 16071 may include two portions of a touch detection device and a touch display. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume display keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1609 may be used to store software programs and various data, and the memory 1609 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 1609 may include volatile memory or nonvolatile memory, or memory 1609 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static random access Memory (Static RAM, SRAM), a Dynamic random access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic random access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic random access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1609 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 16016 may include one or more processing units; optionally, the processor 16016 integrates an application processor, which primarily handles operations related to the operating system, user interface, applications, etc., and a modem processor, which primarily handles wireless display signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 16016.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
In addition, an embodiment of the present application further provides a chip, where the chip includes a processor and a display interface, the display interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing display method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing display method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that 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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A display method, comprising:
acquiring first information which is not displayed;
under the condition that the first information comprises a first keyword, acquiring a target character or a target image associated with the first keyword, wherein the target character or the target image is determined by the content input by the user history;
displaying second information including the target character or the target image replacing the first keyword.
2. The method according to claim 1, wherein the obtaining of the target character or the target image associated with the first keyword comprises:
according to the first keyword, searching related words corresponding to the first keyword, wherein the related words comprise at least one of the following: synonyms, near synonyms, user-defined words;
and determining related words corresponding to the first keywords as the target characters.
3. The method of claim 2, wherein the related word comprises a plurality of sub-related words; the determining the related words corresponding to the first keywords as the target characters includes:
determining a target sub-related word corresponding to the first keyword as the target character according to the application program to which the first information belongs;
the target sub-related word is a related word corresponding to the application program in the plurality of sub-related words.
4. The method according to claim 1, wherein the obtaining of the target character or the target image associated with the first keyword comprises:
obtaining semantic tags matched with the keywords;
determining at least one image corresponding to the semantic tag as the target image; wherein the content of the first and second substances,
the target image includes at least one of: moving images, still images.
5. The method of claim 1, wherein prior to displaying the second information, the method further comprises:
replacing the first keyword with the target character or the target image;
and adjusting the arrangement parameters of the target characters or the target images and the target content according to the semantics of the first information and the display parameters of the target characters or the target images to obtain the second information.
6. A display device, comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first information which is not displayed;
the processing module is used for acquiring a target character or a target image associated with a first keyword under the condition that the first information comprises the first keyword, wherein the target character or the target image is determined by the content input by the history of a user;
and the display module is used for displaying second information, and the second information comprises the target characters or the target images replacing the first keywords.
7. The apparatus according to claim 6, wherein the processing module is specifically configured to, according to the first keyword, find a related word corresponding to the first keyword, where the related word includes at least one of: synonyms, near synonyms, user-defined words;
and determining related words corresponding to the first keywords as the target characters.
8. The apparatus according to claim 7, wherein the processing module is specifically configured to, when the related word includes a plurality of sub-related words, determine, as the target character, a target sub-related word corresponding to the first keyword according to an application to which the first information belongs;
the target sub-related word is a related word corresponding to the application program in the plurality of sub-related words.
9. The apparatus according to claim 6, wherein the processing module is specifically configured to obtain a semantic tag matching the keyword;
determining at least one image corresponding to the semantic tag as the target image; wherein the content of the first and second substances,
the target image includes at least one of: moving images, still images.
10. The apparatus of claim 6, wherein the display device further comprises: a replacement module and an adjustment module; wherein, the first and the second end of the pipe are connected with each other,
the replacing module is used for replacing the first keyword with the target character or the target image;
and the adjusting module is used for adjusting the arrangement parameters of the target characters or the target images and the target contents according to the semantics of the first information and the display parameters of the target characters or the target images to obtain the second information.
11. An electronic device, comprising: processor, memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the display method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the display method according to any one of claims 1 to 5.
CN202210821325.0A 2022-07-13 2022-07-13 Display method, display device, electronic equipment and readable storage medium Pending CN115309487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210821325.0A CN115309487A (en) 2022-07-13 2022-07-13 Display method, display device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210821325.0A CN115309487A (en) 2022-07-13 2022-07-13 Display method, display device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115309487A true CN115309487A (en) 2022-11-08

Family

ID=83856191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210821325.0A Pending CN115309487A (en) 2022-07-13 2022-07-13 Display method, display device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115309487A (en)

Similar Documents

Publication Publication Date Title
CN107515870B (en) Searching method and device and searching device
CN112291614A (en) Video generation method and device
CN112631437A (en) Information recommendation method and device and electronic equipment
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN112416142A (en) Method and device for inputting characters and electronic equipment
CN112181253A (en) Information display method and device and electronic equipment
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN113407775B (en) Video searching method and device and electronic equipment
CN112558784A (en) Method and device for inputting characters and electronic equipment
CN113157966B (en) Display method and device and electronic equipment
CN112261321B (en) Subtitle processing method and device and electronic equipment
CN115309487A (en) Display method, display device, electronic equipment and readable storage medium
CN113593614A (en) Image processing method and device
CN113010072A (en) Searching method and device, electronic equipment and readable storage medium
CN113760388A (en) Information processing method and device, electronic equipment and storage medium
CN117010326A (en) Text processing method and device, and training method and device for text processing model
CN112711674A (en) Method and device for generating song list
CN114995663A (en) Word determination method and electronic equipment
CN115766517A (en) Information verification method and device, electronic equipment and storage medium
CN115035891A (en) Voice recognition method and device, electronic equipment and time sequence fusion language model
CN112732464A (en) Pasting method and device and electronic equipment
CN112765447A (en) Data searching method and device and electronic equipment
CN114995698A (en) Image processing method and device
CN114661952A (en) Video classification method, device, equipment, medium and product
CN116955695A (en) Audio file display method and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination