CN109120781B - Information prompting method, electronic device and computer readable storage medium - Google Patents

Information prompting method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN109120781B
CN109120781B CN201810876689.2A CN201810876689A CN109120781B CN 109120781 B CN109120781 B CN 109120781B CN 201810876689 A CN201810876689 A CN 201810876689A CN 109120781 B CN109120781 B CN 109120781B
Authority
CN
China
Prior art keywords
keyword
information
characters
marking
weather
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.)
Active
Application number
CN201810876689.2A
Other languages
Chinese (zh)
Other versions
CN109120781A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810876689.2A priority Critical patent/CN109120781B/en
Publication of CN109120781A publication Critical patent/CN109120781A/en
Application granted granted Critical
Publication of CN109120781B publication Critical patent/CN109120781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides an information prompting method, an electronic device and a computer readable storage medium, and relates to the technical field of communication, wherein the information prompting method comprises the following steps: when the character information is acquired, determining a keyword in the character information, according to a preset marking rule, carrying out prominent marking on the keyword, which is different from other characters in the character information, and displaying the marked character information. The intelligent text information prompting method and device can improve the intellectualization of text information prompting.

Description

Information prompting method, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information prompting method, an electronic device, and a computer-readable storage medium.
Background
Social applications that can be used in mobile phones are many, and are one of the most used software for users, such as WeChat, facebook, line, and so on. The most commonly used function in these social applications is to communicate instantaneously by sending information.
The existing social application has no effective prompt mechanism in the sent information, so that the intelligence of the social application in the use process is influenced, and a user can miss some important information.
Disclosure of Invention
The embodiment of the application provides an information prompting method, an electronic device and a computer readable storage medium, which can be used for improving the intelligence of information prompting by highlighting and marking keywords in character information.
An aspect of the present application provides an information prompting method, including:
when character information is acquired, determining keywords in the character information;
according to a preset marking rule, highlighting and marking the key words different from other characters in the character information;
and displaying the marked text information.
An aspect of an embodiment of the present application further provides an electronic apparatus, including:
the determining module is used for determining keywords in the text information when the text information is acquired;
the marking module is used for distinguishing the key words from other characters in the character information according to a preset marking rule;
and the display module is used for displaying the marked text information.
An aspect of an embodiment of the present application further provides an electronic apparatus, including: memory, processor and computer program stored on the memory and capable of running on the processor, wherein when the processor executes the computer program, the information prompting method is realized
An aspect of the embodiments of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the information prompting method as described above.
According to the embodiments, the keywords in the text information are determined and marked prominently, so that the keywords are different from other characters in the text information, the user is intelligently reminded of acquiring important information, the intelligence of information prompt is improved, and the possibility that the user overlooks the important information is reduced.
Drawings
Fig. 1 is a schematic flow chart of an information prompting method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an information prompting method according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to another embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is a flowchart illustrating an information prompting method according to an embodiment of the present application. The method can be applied to an electronic device which can send text information or convert information in other forms into text information, and the electronic device can be a mobile terminal such as a smart phone, a tablet computer, a portable computer and intelligent wearable equipment or a fixed terminal such as a desktop computer. Wherein intelligent wearing equipment is like intelligent wrist-watch, intelligent bracelet, intelligent glasses etc.. As shown in fig. 1, the method includes:
101. when the character information is acquired, determining keywords in the character information;
the electronic device is internally provided with instant messaging application software, and social activities are carried out through the instant messaging application software. Taking a mobile phone as an example, an instant messaging APP (application) is built in the mobile phone, and a user transmits information through the APP.
When the text information is acquired, the electronic device determines keywords in the text information.
The keywords are stored in a keyword database in the electronic device, and the keywords in the keyword database can be preset or can be added as required during the use process of the user.
The text information may also be text information converted from voice information.
The keywords include characters, words and sentences of Chinese, English and other countries, and also include Arabic numerals, functions and other characters.
102. According to a preset marking rule, highlighting marks which are different from other characters in the character information are carried out on the keywords;
and highlighting the keywords to make the marked keywords different from other characters except the keywords in the text information. For example: the keyword may be an important activity "meeting" and may be the meeting time "3 pm today".
The marking mode comprises one or more of the following modes: marking different colors, different background colors, different font sizes, different fonts, font bolding, tilting, underlining strikethrough, and the like.
The marking rule is preset in the system and can be customized by a user. For specifying how the key is to be marked.
103. And displaying the marked text information.
After the keywords in the text information are marked, the text information is displayed on a screen of the electronic terminal, and when a user sees the text information, the user can see the highlighted keywords in the text information. Multiple marked keywords can appear in one piece of text information, and if repeated keywords exist in multiple pieces of text information, the keywords can be marked repeatedly or only once.
In the embodiment, the keywords in the text information are determined and highlighted, so that the keywords are different from other characters in the text information, the user is intelligently reminded of acquiring important information, the intelligence of information prompt is improved, and the possibility that the user overlooks the important information is reduced.
Please refer to fig. 2, which is a flowchart illustrating an information prompting method according to an embodiment of the present application. The method can be applied to an electronic device which can send text information or convert information in other forms into text information, and the electronic device can be a mobile terminal such as a smart phone, a tablet computer, a portable computer and intelligent wearable equipment or a fixed terminal such as a desktop computer. Wherein intelligent wearing equipment is like intelligent wrist-watch, intelligent bracelet, intelligent glasses etc.. As shown in fig. 2, the method includes:
201. adding keywords;
because each program has a copy function on the information, the user can select to add the keyword, and when the opposite user sends the information through the instant messaging app and the information output by the user can be copied and added as the keyword. Specifically, a dynamic button window is generated, after a user copies information, the window can be started, the user pastes the copied information into the window, then the user selects keywords to be added, and long-time pressing and clicking are performed on part or all of characters to be added to add the keywords.
Correspondingly, on the electronic device side, when the operation of copying characters is detected, a keyword adding window is popped up, the characters pasted in the keyword window are obtained, the adding operation can be specifically selected and pressed for a long time according to the adding operation of the characters by a user, and the clicking operation is carried out, so that part or all of the pasted characters are added as the keywords. For example, the characters pasted in the keyword window are: the user can set the 'saturday night' as the keyword or the 'mom birthday' as the keyword through the operation when the mom passes the birthday in the saturday night. Or setting the 'the birthday of the mother in the evening on the saturday' as a keyword. The convenience of adding the keywords is further improved.
202. When the character information is acquired, determining keywords in the character information;
when the character information is acquired, the electronic device determines a keyword in the character information according to the keyword stored in the keyword database. Specifically, the keyword in the character information is determined by matching the character information with the keyword in the keyword database.
The keywords in the keyword database may be preset, or may be added as needed during the use process of the user.
Further, when the character information is acquired, the current information scene is analyzed according to the character information, and the keyword database corresponding to the current scene is determined in a plurality of keyword databases corresponding to different information scenes. And matching the character information with the determined keyword database to determine the keywords in the character information.
The information scene refers to an information scene related to the current text information, and specifically includes a work scene, a family scene, an education scene, a leisure scene or an emotional scene and the like. All or most of the information content of the working scene is the working content, when various office words appear in the character information, the current information scene can be judged to be the working scene, and the office words can comprise words such as company, reimbursement, issue, audit and the like; all or most of the information content of the family scene is conversation content among the family members, and various words such as names among the family members appear in the conversation content; all or most of the information content of the education scene relates to conversation content among school parties, parents and students, and words such as homework, study, student meeting, class, school and the like appear in the conversation content; the leisure scene is the information content of the holiday period and the rest time, all or most of the related information is leisure conversation content, and words such as the name of a playing place, the name of an amusement place and the name of a holiday appear in the conversation content; the emotional scene means that the two parties have a lover relationship and various emotion-related parent and nick words appear in the conversation content.
Each information scene corresponds to different keyword databases respectively, after the scene of the current information content is analyzed, the keyword database corresponding to the current scene is determined, keywords in the keyword database are searched in the character information, and the matching of the character information and the keyword database is executed, so that the keywords in the character information are determined.
203. According to a preset marking rule, highlighting marks which are different from other characters in the character information are carried out on the keywords;
specifically, the current information scene and emotional state are analyzed according to the context content of the keyword. Specifically, 20 pieces of text information of the context of the text information where the keyword is located may be collected, so that the content of the text information is analyzed to obtain an information scene and an emotional state corresponding to the keyword.
The information scene is the same concept as the information scene in step 202, and the information scene is analyzed by checking the content in the text information to confirm the corresponding information scene.
The emotional state is a state reflecting the mood of the user corresponding to the transmitted text information or the text information of the conversation between both parties, and for example: joy, excitement, depression, anger, etc. The analysis mode is that the emotion words in the character information are checked and stored in advance in a classified mode, and the corresponding emotion states can be acquired by inquiring the emotion words.
And acquiring a plurality of keyword marking rules corresponding to the current information scene and the emotional state, wherein the keyword marking rules correspond to different information scenes and emotional states respectively, are stored in a database in advance, and can be updated according to the operation of a user. And according to the acquired keyword marking rule, highlighting and marking the keyword different from other characters in the character information. For example: in a leisure scene, active fonts such as Chinese colorful clouds and Chinese amber are used for marking key words to indicate that the emotional state is happy, or bright colors such as orange and green are used for indicating that the emotional state is happy, or the fonts and the colors are used for marking. In the work scene, the characters with strong weight such as clerical script and the like and the steady colors such as blue can be used for marking, and the emotional state is smooth.
Further, current weather parameters and a keyword marking rule related to weather are obtained, wherein the weather parameters include air temperature, air quality, wind, cloud, fog, rain, flashing, snow, frost and the like. The weather-related keyword tagging rule means that the keyword tagging rule is different depending on weather. For example, the weather parameter corresponds to different keyword marking rules, the keyword is marked as heavy when the weather parameter is clear, and the keyword is marked as underline when the weather parameter is rainy.
Further, according to a keyword marking rule related to weather and a current weather parameter, highlighting the keyword to distinguish the keyword from other characters in the text information, specifically, if the weather parameter indicates that the weather belongs to a first weather state, highlighting the keyword by using a color of a first color system, and if the weather parameter indicates that the weather belongs to a second weather state, highlighting the keyword by using a color of a second color system, for example, if the weather parameter is clear, the temperature is 30 ℃, the weather is good, and the keyword can be marked by using a color of a warmer color system; if the weather parameter is negative and the temperature is 20 ℃, the weather is not good, and the keywords can be marked by the color of the partial cooling color system. Further improving the identification mode of the keywords.
The user can also manually input the keywords and manually set the marking mode of the keywords. So that the setting is more convenient.
204. And displaying the marked text information.
After the keywords in the text information are marked, the text information is displayed on a screen of the electronic terminal, and when a user sees the text information, the user can see the highlighted keywords in the text information.
In the embodiment, the keywords in the text information are determined and highlighted, so that the keywords are different from other characters in the text information, the user is intelligently reminded of acquiring important information, the intelligence of information prompt is improved, and the possibility that the user overlooks the important information is reduced.
Please refer to fig. 3, which is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device can be a mobile terminal such as a smart phone, a tablet computer, a laptop computer and intelligent wearable equipment or a fixed terminal such as a desktop computer. As shown in fig. 3, the electronic device includes:
a determining module 301, configured to determine a keyword in the text information when the text information is acquired;
a marking module 302, configured to perform a highlighting mark for distinguishing the keyword from other characters in the text information according to a preset marking rule;
and the display module 303 is configured to display the marked text information.
The electronic device in this embodiment is the electronic device in the embodiment shown in fig. 1 and fig. 2, and for the specific description, reference is made to the description of the embodiment shown in fig. 1 and fig. 2.
In the embodiment, the keywords in the text information are determined and highlighted, so that the keywords are different from other characters in the text information, the user is intelligently reminded of acquiring important information, the intelligence of information prompt is improved, and the possibility that the user overlooks the important information is reduced.
Please refer to fig. 4, which is a schematic structural diagram of an electronic device according to another embodiment of the present application. The difference from the embodiment shown in fig. 3 is that the electronic device further includes:
the adding module 401 is configured to pop up an add keyword window when an operation of copying characters is detected, acquire the characters pasted in the keyword window, and add a part of or all of the characters in the characters as the keywords according to the operation of adding the characters by the user.
The tagging module 302 further includes:
a first analysis submodule 3021, configured to analyze a current information scene and an emotional state according to context content of the keyword;
the marking submodule 3022 is configured to obtain a keyword marking rule corresponding to the current information scene and the current emotional state, and perform a prominent marking that distinguishes the keyword from other characters in the text information according to the keyword marking rule;
the marking sub-module 3022 is further configured to obtain a current weather parameter and a weather-related keyword marking rule, and perform a prominent marking on the keyword, which is different from other characters in the text information, according to the weather-related keyword marking rule and the current weather parameter.
The marking submodule 3022 is specifically configured to highlight the keyword by using a color of the first color system if the weather parameter indicates that the weather belongs to the first weather state; and if the weather parameter indicates that the weather belongs to the second weather state, highlighting and marking the keyword by adopting the color of the second color system.
The determination module 301 includes:
the second analysis sub-module 3011, configured to, when obtaining text information, analyze a current information scene according to the text information;
the determining sub-module 3012 is configured to determine, from a plurality of keyword databases corresponding to different information scenes, a keyword database corresponding to a current scene, match the text information with the keyword database, and determine a keyword in the text information.
The electronic device in this embodiment is the electronic device in the embodiment shown in fig. 1 and fig. 2, and for the specific description, reference is made to the description of the embodiment shown in fig. 1 and fig. 2.
In the embodiment, the keywords in the text information are determined and highlighted, so that the keywords are different from other characters in the text information, the user is intelligently reminded of acquiring important information, the intelligence of information prompt is improved, and the possibility that the user overlooks the important information is reduced.
Further, the electronic device includes: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the information prompting method as described in the embodiments of fig. 1 to 2.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium may be disposed in the electronic device in each of the above embodiments, and the computer-readable storage medium may be a storage unit disposed in the main control chip and the data acquisition chip in each of the above embodiments. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the information prompting method described in the embodiments of fig. 1 to 2.
For example, the electronic device may be any of various types of computer system apparatuses that are mobile or portable and perform wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone (TM) -based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), Gameboy Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable internet appliance, a music player and a data storage device, other handheld devices and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
As shown in fig. 5, the electronic device 10 may include control circuitry, which may include storage and processing circuitry 30. The storage and processing circuitry 30 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable erase limit memory used to form solid state drives, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so forth, although the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the information presentation method, the electronic device and the computer-readable storage medium provided by the present application, those skilled in the art will recognize that there are variations from the foregoing description to the following description in terms of the embodiments and application scope of the present application, and therefore the content of the present specification should not be construed as limiting the present application.

Claims (8)

1. An information prompting method, comprising:
when the operation of copying characters is detected, popping up a keyword adding window;
acquiring characters pasted in the keyword window, and adding part or all of the characters in the characters as the keywords according to the adding operation of the user on the characters;
when character information is acquired, analyzing a current information scene according to the character information;
determining a keyword database corresponding to the current information scene from a plurality of keyword databases corresponding to different information scenes, matching the character information with the keyword database, and determining keywords in the character information;
according to a preset marking rule, highlighting and marking the key words different from other characters in the character information;
and displaying the marked text information.
2. The method as claimed in claim 1, wherein said highlighting the keyword from other characters in the text information according to a preset marking rule comprises:
analyzing the current information scene and the emotional state according to the context content of the keywords;
and acquiring a keyword marking rule corresponding to the current information scene and the emotional state, and according to the keyword marking rule, carrying out prominent marking on the keywords different from other characters in the character information.
3. The method of claim 1, wherein the highlighting the keyword from other characters in the text information according to a preset labeling rule further comprises:
acquiring current weather parameters and a weather-related keyword marking rule;
and according to the weather-related keyword marking rule and the current weather parameter, highlighting and marking the keywords different from other characters in the text information.
4. The method of claim 3, wherein the highlighting the keyword from other characters in the textual information according to the weather-related keyword tagging rules and the current weather parameters comprises:
if the weather parameter indicates that the weather belongs to the first weather state, highlighting and marking the keyword by adopting the color of the first color system;
and if the weather parameter indicates that the weather belongs to a second weather state, highlighting and marking the keyword by adopting the color of a second color system.
5. An electronic device, comprising:
the adding module is used for popping up a keyword adding window when the operation of copying characters is detected, acquiring the characters pasted in the keyword window, and adding part or all of the characters in the characters as the keywords according to the adding operation of a user on the characters;
a determination module comprising: the second analysis submodule is used for analyzing a current information scene according to the character information when the character information is acquired; the determining submodule is used for determining a keyword database corresponding to the current information scene in a plurality of keyword databases corresponding to different information scenes, matching the character information with the keyword database and determining keywords in the character information;
the marking module is used for distinguishing the key words from other characters in the character information according to a preset marking rule;
and the display module is used for displaying the marked text information.
6. The electronic device of claim 5, wherein the tagging module comprises:
the first analysis submodule is used for analyzing the current information scene and the emotional state according to the context content of the keywords;
the marking submodule is used for acquiring a keyword marking rule corresponding to the current information scene and the emotion state, and highlighting and marking the keyword different from other characters in the character information according to the keyword marking rule;
the marking submodule is further configured to obtain a current weather parameter and a weather-related keyword marking rule, and perform a highlight marking on the keyword, which is different from other characters in the text information, according to the weather-related keyword marking rule and the current weather parameter.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the information prompting method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an information prompting method according to any one of claims 1 to 4.
CN201810876689.2A 2018-08-03 2018-08-03 Information prompting method, electronic device and computer readable storage medium Active CN109120781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810876689.2A CN109120781B (en) 2018-08-03 2018-08-03 Information prompting method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810876689.2A CN109120781B (en) 2018-08-03 2018-08-03 Information prompting method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109120781A CN109120781A (en) 2019-01-01
CN109120781B true CN109120781B (en) 2021-04-13

Family

ID=64851881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810876689.2A Active CN109120781B (en) 2018-08-03 2018-08-03 Information prompting method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109120781B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936828A (en) * 2019-03-18 2019-06-25 北京小米移动软件有限公司 Short message display method, device and storage medium
CN109819410A (en) * 2019-03-18 2019-05-28 北京小米移动软件有限公司 Short message display method, device and storage medium
CN112861504A (en) * 2021-02-08 2021-05-28 北京百度网讯科技有限公司 Text interaction method, device, equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064584A (en) * 2012-12-24 2013-04-24 东莞宇龙通信科技有限公司 Method and device for pasting
CN103312595A (en) * 2013-06-25 2013-09-18 珠海金山办公软件有限公司 Method and device for conducting corresponding relevant mark processing according to content
CN106776082A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 The method of attaching and device of text
CN107615270A (en) * 2016-04-28 2018-01-19 华为技术有限公司 A kind of man-machine interaction method and its device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9756170B2 (en) * 2009-06-29 2017-09-05 Core Wireless Licensing S.A.R.L. Keyword based message handling
CN102238097B (en) * 2010-05-07 2015-07-22 阿里巴巴集团控股有限公司 Instant messaging (IM)-based information reminding method and device
CN102790726B (en) * 2011-05-18 2015-10-28 腾讯科技(深圳)有限公司 A kind of method based on instant messaging pushed information, Apparatus and system
CN102624647A (en) * 2012-01-12 2012-08-01 百度在线网络技术(北京)有限公司 Method for processing messages of mobile terminal
CN103037072A (en) * 2012-02-04 2013-04-10 个信互动(北京)网络科技有限公司 Implementation method of extracting short message contents to apply to scene
CN103037091B (en) * 2012-12-14 2015-12-09 小米科技有限责任公司 SMS processing, device and terminal equipment
CN103294815B (en) * 2013-06-08 2017-06-06 北京邮电大学 Based on key class and there are a search engine device and method of various presentation modes
CN104869217B (en) * 2014-02-21 2018-05-25 宇龙计算机通信科技(深圳)有限公司 Mark the method and terminal of communication information
CN105704000A (en) * 2014-11-24 2016-06-22 阿里巴巴集团控股有限公司 Information prompting method, device and instant communication system
CN104951435A (en) * 2015-07-28 2015-09-30 陈包容 Method and device for displaying keywords intelligently during chatting process
CN105630454A (en) * 2016-01-29 2016-06-01 广东欧珀移动通信有限公司 Information display method and terminal equipment
CN106027787B (en) * 2016-06-15 2019-10-18 维沃移动通信有限公司 A kind of white balance method and mobile terminal of mobile terminal
US10320726B2 (en) * 2016-08-10 2019-06-11 International Business Machines Corporation Predictive message personalization
CN106412233A (en) * 2016-08-29 2017-02-15 乐视控股(北京)有限公司 Method and device for adding reminding event

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064584A (en) * 2012-12-24 2013-04-24 东莞宇龙通信科技有限公司 Method and device for pasting
CN103312595A (en) * 2013-06-25 2013-09-18 珠海金山办公软件有限公司 Method and device for conducting corresponding relevant mark processing according to content
CN107615270A (en) * 2016-04-28 2018-01-19 华为技术有限公司 A kind of man-machine interaction method and its device
CN106776082A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 The method of attaching and device of text

Also Published As

Publication number Publication date
CN109120781A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
WO2018043998A1 (en) Electronic device and control method therefor
US20150262583A1 (en) Information terminal and voice operation method
US20150301595A1 (en) Electronic apparatus and eye-gaze input method
CN109348467B (en) Emergency call implementation method, electronic device and computer-readable storage medium
CN109120781B (en) Information prompting method, electronic device and computer readable storage medium
CN105426034A (en) Method for providing specialized mode according to date and electronic device supporting the same
US20130278625A1 (en) Information terminal and display controlling method
CN107436948B (en) File searching method and device and terminal
CN113939814A (en) Content push method and related product
CN110989847B (en) Information recommendation method, device, terminal equipment and storage medium
CN107103074B (en) Processing method of shared information and mobile terminal
CN113016171A (en) Information prompting method and related product
CN110058980B (en) Terminal start time early warning method, electronic device and computer readable storage medium
CN106327342B (en) Processing method of emoticon and terminal
CN108604331B (en) Information reminding method and mobile device
CN106202422B (en) The treating method and apparatus of Web page icon
CN108924439B (en) Image processing method and related product
CN110619879A (en) Voice recognition method and device
CN112783592B (en) Information issuing method, device, equipment and storage medium
CN112748970B (en) Message display method and terminal equipment
CN113396433B (en) User portrait construction method and related products
CN108737657B (en) Antenna control method and related product
CN108431811A (en) The method and its electronic device of content are provided a user according to the preference of user
CN107332972B (en) Method and device for automatically associating data and mobile terminal
CN110741619B (en) Method and terminal for displaying remark information

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
GR01 Patent grant
GR01 Patent grant