WO2021012517A1 - 消息显示方法、装置及存储介质、计算机设备 - Google Patents

消息显示方法、装置及存储介质、计算机设备 Download PDF

Info

Publication number
WO2021012517A1
WO2021012517A1 PCT/CN2019/117918 CN2019117918W WO2021012517A1 WO 2021012517 A1 WO2021012517 A1 WO 2021012517A1 CN 2019117918 W CN2019117918 W CN 2019117918W WO 2021012517 A1 WO2021012517 A1 WO 2021012517A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensitive information
message
user
category
conversation message
Prior art date
Application number
PCT/CN2019/117918
Other languages
English (en)
French (fr)
Inventor
刘嘉
徐小方
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021012517A1 publication Critical patent/WO2021012517A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • This application relates to the field of instant messaging technology. Specifically, this application relates to a message display method, device, storage medium, and computer equipment.
  • a terminal When a terminal receives a message, it will display it in the form of a message preview, so that the user can view the message in time. For example, when a mobile phone receives an SMS message, it directly displays the unread message on the mobile phone interface. Or, when an instant messaging app receives an unread message, it will directly display the unread message on the phone interface for preview in advance.
  • unread messages may contain sensitive information, and displaying unread messages directly can easily cause the leakage of user sensitive information.
  • This application proposes a message display method, device, storage medium, and computer equipment to improve the security of message display and avoid leakage of user sensitive information.
  • a message display method includes: detecting whether a terminal is in a locked screen state when confirming that an unprocessed conversation message is received; when the terminal is in the locked screen state, acquiring sensitive information in the conversation message; The sensitive information is obscured to obtain a processed preview message; on the lock screen interface of the terminal, the preview message is displayed in a message popup.
  • a message display device comprising: a detection module for detecting whether the terminal is in a locked screen state when the root acknowledgement has received an unprocessed session message; an acquisition module for acquiring when the terminal is in the locked screen state The sensitive information in the conversation message; a processing module, which is used to obfuscate the sensitive information to obtain the processed preview message; a display module, which is used to display the message pop-up on the lock screen interface of the terminal Way to display the preview message.
  • a computer non-volatile readable storage medium on which a computer program is stored; the computer program is adapted to be loaded by a processor and execute the message display method described in any of the above embodiments.
  • a computer device includes: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be operated by the one or more Executed by a processor, and the one or more application programs are configured to execute the message display method according to any one of the foregoing embodiments.
  • the state of the terminal is first judged. If the terminal is in the lock screen state, it is further determined whether the conversation message contains sensitive information. If there is sensitive information, the sensitive information is obfuscated first, and then the obfuscated sensitive information is displayed on the lock screen in the form of a message box, and the user can preview the unprocessed conversation message without unlocking it. At the same time, since the terminal obfuscates the sensitive information in the conversation message, the message displayed on the lock screen interface will not display the sensitive information, thereby improving the security of user information.
  • FIG. 1 is a method flowchart in an embodiment of a message display method provided by this application
  • FIG. 2 is an interface diagram in an embodiment of the interface message display provided by this application.
  • FIG. 3 is an interface diagram in another embodiment of the interface message display provided by this application.
  • step S200 is a flowchart of a method in an embodiment of step S200 provided in this application.
  • FIG. 5 is a display block diagram in an embodiment of the fuzzy processing of sensitive information provided by this application.
  • FIG. 6 is a display block diagram in another embodiment of blurring processing of sensitive information provided by this application.
  • FIG. 7 is a method flowchart in another embodiment of a message display method provided by this application.
  • FIG. 8 is an interface diagram in another embodiment of the fuzzy processing of sensitive information provided by this application.
  • FIG. 9 is a structural block diagram in an embodiment of a message display device provided by this application.
  • FIG. 10 is a schematic structural diagram in an embodiment of a computer device provided by this application.
  • the message display method includes the following steps:
  • the terminal when the terminal detects whether an unprocessed session message is currently received, or selects unprocessed session messages from all the session messages, it detects whether the terminal is in the lock screen state at this time.
  • the conversation message can be text information, voice information, and short video information.
  • the terminal monitors the message receiving module of the system. Specifically, when the application receives the session message, the terminal determines whether the user processes the session message. For example, the user's processing of the conversation message includes: the user clicks to browse the conversation message, or the user is in the display interface that opens the message display module in the application, and directly reads the received conversation message. If the application determines that it receives a conversation message that the user has not processed, it calls related components to detect whether the terminal is in the locked screen state. If the terminal is in the locked screen state, the subsequent steps S200 to S400 are executed. If the terminal is not in the locked screen state, the unprocessed session messages can be processed correspondingly according to the current state of the terminal.
  • the application determines whether the user processes the session message. For example, the user's processing of the conversation message includes: the user clicks to browse the conversation message, or the user is in the display interface that opens the message display module in the application, and directly reads the received conversation message. If the application determines that it receives a conversation
  • the terminal is in an unlocked state, but the user does not open the application, that is, the current interface of the terminal does not display the relevant interface of the application.
  • the user can be notified by calling the notification bar that the application has received a new conversation message. It may also be a conversation box for generating a message display on the current interface of the terminal, so that the user can process the unprocessed conversation message. Or, it can also be that when it is detected that the user starts the application, the user is prompted to be in the unprocessed conversation message.
  • S200 Acquire sensitive information in the conversation message when the terminal is in the lock screen state.
  • the conversation message when it is determined that the terminal is currently in the locked screen state, in order to display the unprocessed conversation message in the locked screen state, the conversation message may be preprocessed to analyze sensitive information in the conversation message.
  • the sensitive information is information set by the system that meets preset conditions.
  • the preset condition is determined by the system according to the type of the conversation message. For example, if the conversation message is in text form, the preset condition may be a sensitive vocabulary stored in the system. If the conversation message is in the form of audio, the preset condition may be a sensitive audio segment or a sensitive vocabulary stored in the system.
  • the conversation message is text information
  • word segmentation is performed on the text information
  • the obtained word segmentation is matched with system preset characters, and the successfully matched word segmentation is used as the sensitive vocabulary, that is, the sensitive information.
  • the text information includes special characters, such as numbers, letters, etc.
  • the special characters in the text information can be directly recognized and read as sensitive information.
  • the conversation message is in audio format or video format
  • the audio format or video format information can be segmented accordingly to identify sensitive segments or frame video segments in the audio or video information as the sensitive information.
  • S300 Perform fuzzy processing on the sensitive information to obtain a processed preview message.
  • the terminal when the terminal determines that the unprocessed session information contains sensitive information, it will obscure the sensitive information.
  • the expression type of the unprocessed session information can be determined first, such as text, voice, and video.
  • the expression type of the sensitive information can be determined at the same time, and then the corresponding fuzzy processing method can be obtained according to the type of the sensitive information.
  • the expression type of sensitive information is text, and the text of sensitive information is mosaicked to mask the sensitive information.
  • the expression type of sensitive information is audio, and the application adds noise to the audio segment of the sensitive information to mask the sensitive information.
  • the expression type of sensitive information is video. The application will mosaic the frame video image of the sensitive information, or directly process the black screen and prompt that this is a sensitive video segment. After the application obfuscates the sensitive information, the processed message is saved as a preview message.
  • S400 Display the preview message in a message popup on the lock screen interface of the terminal.
  • a message popup can be generated on the lock screen interface of the terminal to display the preview message.
  • a variety of operation buttons are set on the message pop-up box to receive user operations to perform different processing on the displayed preview message. For example, the button for sending a reply message, the button for deleting the message popup, and the button for changing the reply form (speech to text, text to speech, etc.).
  • step S400 includes: when the message popup receives a trigger operation of sliding up and down, displaying the preview message corresponding to a preset number of conversation messages of the user according to the trigger operation of sliding up and down.
  • the terminal when the terminal receives any unprocessed conversation message, it obtains the user information corresponding to the conversation message information, and filters out the preset number of unprocessed conversations corresponding to the user from all unprocessed conversation messages. news. This can be all unprocessed conversation messages or part of unprocessed conversation messages.
  • the message pop-up box receives the trigger operation of sliding up and down, the user reads the unprocessed messages of the user corresponding to the currently received preview message in the lock screen state, and can scroll up and down the preset number of conversation messages corresponding to the user, thereby Consistent with the user's content, facilitate the user's reading and comprehension.
  • the method further includes: when confirming that the content of the obfuscation processing part in the preview message receives a trigger operation, prompting the user that the content of the obfuscation processing part is readable in the unlocked state; or, prompting the user
  • the preview message contains fuzzy content, and the fuzzy content is readable in the unlocked state.
  • the conversation message is text information
  • the obscured conversation message pops up on the terminal interface
  • the general user will trigger the obscured part of the content.
  • the user is prompted that the content text of the blurred part is readable in the unlocked state.
  • the conversation message is audio information or video information, you can directly prompt the user on the lock screen.
  • the displayed conversation message contains fuzzy content, and the fuzzy content can be read when unlocking.
  • the state of the terminal is first judged. If the terminal is in the lock screen state, it is further determined whether the conversation message contains sensitive information. If there is sensitive information, the sensitive information is obfuscated first, and then the obfuscated sensitive information is displayed on the lock screen in the form of a message box, and the user can preview the unprocessed conversation message without unlocking it. At the same time, since the terminal obfuscates the sensitive information in the conversation message, the message displayed on the lock screen interface will not display the sensitive information, thereby improving the security of user information.
  • the unprocessed session messages include unprocessed session messages currently received and unprocessed session messages in historical data.
  • step S200 includes:
  • S220 Filter out the unprocessed conversation messages of the historical data that are sent by the information user within a preset time period from the current time point.
  • S230 Acquire sensitive information of the currently received unprocessed session messages and unprocessed session messages within the time period.
  • unprocessed conversation messages are not limited to conversation messages received by the terminal at the current time and not processed by the user, and may also include conversation messages that are not processed by the user in historical data. For example, before the current time, the terminal was in an unlocked state, but the terminal did not open the application, and the user did not process the session message when the application received it. This situation is also included in the unprocessed conversation message in this solution.
  • the same user may send multiple conversation messages to the current user within a period of time. Multiple conversation messages may involve the same thing.
  • the terminal receives the unprocessed conversation message sent by the user, it filters out the unprocessed conversation message corresponding to the user within a period of time from the historical data for processing, ensuring the continuity of the conversation message sent by the same user. For example, user A sends multiple conversation messages about contract matters to user B in the afternoon time period, and multiple conversation messages involve sensitive information about the same matter, and user B’s terminal can retrieve user A in the afternoon time period. Send unprocessed conversation messages and process sensitive information for subsequent display on the lock screen interface. Therefore, the terminal identifies the information user corresponding to the currently received unprocessed conversation message, filters out other unprocessed conversation messages corresponding to the information user from the historical data, and extracts the sensitive information of the two. Sensitive information of the message.
  • step S200 includes: judging the expression type of the conversation message; if the expression type of the conversation message is in text form, obtaining sensitive words in the conversation message as the sensitive information by word segmentation; if If the expression type of the conversation message is an audio form, the audio segment containing sensitive content in the audio is identified as the sensitive information; if the expression type of the conversation message is a video form, each frame of video in the video is extracted and the frame video containing the sensitive content is extracted As the sensitive information.
  • the method of identifying sensitive information in the audio form may be: converting audio into text, and determining the sensitive information by recognizing text content.
  • the voice content will be recognized through voice recognition, and the sensitive information will be determined.
  • the way to identify the sensitive information in the video form can be: the video is divided into frames to identify the content of each frame of the video, so as to determine the sensitive information in the video. Specifically, the image content of each frame of image and the corresponding audio content can be obtained.
  • step S300 includes: judging the expression type of the sensitive information; if the expression type of the sensitive information is in the text form, mosaic the sensitive vocabulary of the sensitive information; if the sensitive information is If the expression type is an audio form, noise frequency is added to the audio segment of the sensitive information; if the expression type of the sensitive information is a video form, a mosaic is added to the frame video image of the sensitive information, and the frame of the video The audio segment corresponding to the image increases the frequency of noise. Specifically, referring to FIG. 5 and FIG. 6, the text of the sensitive information is mosaicked, and the audio segment of the sensitive information is added with noise to shield the sensitive information.
  • step S200 includes:
  • step S300 includes:
  • S310 Perform fuzzy processing on the sensitive information according to the category of the user.
  • the client receiving the session message can classify the user who sent the session message.
  • the terminal When confirming to receive an unprocessed conversation message, the terminal first confirms the user’s classification from the user classification table in the client, and confirms the sensitive information of the received conversation message according to the user’s classification.
  • the terminal The handling of sensitive information is also different. For example, user a who sends a conversation message belongs to category A, and the system sets that for users of category A, all messages sent by him are set as sensitive information.
  • the user b sending the conversation message belongs to category B, and the system sets the information containing sensitive numbers or sensitive characters sent by the user in category B as sensitive information.
  • the user category includes a first category that does not display user information and a second category that displays part of user information.
  • the confirming the sensitive information according to the category of the user, and obfuscating the sensitive information according to the category of the user includes: if the category of the user belongs to the first category, then the The session message is used as the sensitive information, and the session message is obfuscated; if the category of the user belongs to the second category, the sensitive information in the session message is determined according to preset regulations, and the sensitive information is Information is blurred.
  • the terminal determines the sensitive information according to the user type set in the client, and performs different processing on the sensitive information. For example, if the first category is a category that only displays the user name, when the terminal obtains the conversation message, it directly uses the conversation message as sensitive information, obscures all the content of the conversation message, and only displays it on the lock screen interface. The name of the user.
  • the second category is the category of the user displaying part of the conversation message.
  • the terminal obtains the conversation message of the user of this category, it determines the sensitive information in the conversation message according to a preset rule.
  • the preset rule may be whether the conversation message contains specific characters (numbers, letters or other sensitive words), etc., and the specific characters are directly obfuscated.
  • the application also provides a message display device.
  • the message display device includes a detection module 10, an acquisition module 20, a processing module 30, and a display module 40.
  • the detection module 10 is used for detecting whether the terminal is in the locked screen state when the unprocessed conversation message is received by the root confirmation.
  • the terminal detects whether an unprocessed session message is currently received, or selects unprocessed session messages from all the session messages, it detects whether the terminal is in the lock screen state at this time.
  • the conversation message can be text information, voice information, and short video information.
  • the terminal monitors the message receiving module of the system. Specifically, when the application receives the session message, the terminal determines whether the user processes the session message. For example, the user's processing of the conversation message includes: the user clicks to browse the conversation message, or the user is in the display interface that opens the message display module in the application, and directly reads the received conversation message. If the application determines that it receives a conversation message that the user has not processed, it calls related components to detect whether the terminal is in the locked screen state. If the terminal is in the locked screen state, the subsequent steps S200 to S400 are executed. If the terminal is not in the locked screen state, the unprocessed session messages can be processed correspondingly according to the current state of the terminal.
  • the application determines whether the user processes the session message. For example, the user's processing of the conversation message includes: the user clicks to browse the conversation message, or the user is in the display interface that opens the message display module in the application, and directly reads the received conversation message. If the application determines that it receives a conversation
  • the terminal is in an unlocked state, but the user does not open the application, that is, the current interface of the terminal does not display the relevant interface of the application.
  • the user can be notified by calling the notification bar that the application has received a new conversation message. It may also be a conversation box for generating a message display on the current interface of the terminal, so that the user can process the unprocessed conversation message. Or, it can also be that when it is detected that the user starts the application, the user is prompted to be in the unprocessed conversation message.
  • the obtaining module 20 is configured to obtain sensitive information in the conversation message when the terminal is in the lock screen state.
  • the conversation message may be preprocessed to analyze sensitive information in the conversation message.
  • the sensitive information is information set by the system that meets preset conditions.
  • the preset condition is determined by the system according to the type of the conversation message. For example, if the conversation message is in text form, the preset condition may be a sensitive vocabulary stored in the system. If the conversation message is in the form of audio, the preset condition may be a sensitive audio segment or a sensitive vocabulary stored in the system.
  • the conversation message is text information
  • word segmentation is performed on the text information
  • the obtained word segmentation is matched with system preset characters, and the successfully matched word segmentation is used as the sensitive vocabulary, that is, the sensitive information.
  • the text information includes special characters, such as numbers, letters, etc.
  • the special characters in the text information can be directly recognized and read as sensitive information.
  • the conversation message is in audio format or video format
  • the audio format or video format information can be segmented accordingly to identify sensitive segments or frame video segments in the audio or video information as the sensitive information.
  • the processing module 30 is used for obscuring the sensitive information to obtain the processed preview message.
  • the terminal determines that the unprocessed session information contains sensitive information, it will obscure the sensitive information.
  • the expression type of the unprocessed session information can be determined first, such as text, voice, and video.
  • the expression type of the sensitive information can be determined at the same time, and then the corresponding fuzzy processing method can be obtained according to the type of the sensitive information.
  • the expression type of sensitive information is text, and the text of sensitive information is mosaicked to mask the sensitive information.
  • the expression type of sensitive information is audio, and the application adds noise to the audio segment of the sensitive information to mask the sensitive information.
  • the expression type of sensitive information is video. The application will mosaic the frame video image of the sensitive information, or directly process the black screen and prompt that this is a sensitive video segment. After the application obfuscates the sensitive information, the processed message is saved as a preview message.
  • the display module 40 is configured to display the preview message in the form of a message box on the lock screen interface of the terminal.
  • a message popup can be generated on the lock screen interface of the terminal to display the preview message.
  • buttons are set on the message pop-up box to receive user operations to perform different processing on the displayed preview message. For example, the button for sending a reply message, the button for deleting the message popup, and the button for changing the reply form (speech to text, text to speech, etc.).
  • each module in the message display device provided by the present application is also used to perform operations performed corresponding to each step in the message display method described in the present application, and detailed descriptions are omitted here.
  • the application also provides a storage medium.
  • the storage medium stores a computer program; when the computer program is executed by the processor, it implements the message display method described in any of the foregoing embodiments.
  • the storage medium may be a memory.
  • the internal memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, or random access memory.
  • ROM read only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash memory or random access memory.
  • External storage can include hard disks, floppy disks, ZIP disks, U disks, tapes, etc.
  • the storage medium disclosed in this application includes but is not limited to these types of memories.
  • the memory disclosed in this application is only an example and not a limitation.
  • a computer device includes: one or more processors; memory; and one or more application programs. Wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the one described in any of the above embodiments The message display method.
  • FIG. 10 is a schematic structural diagram of a computer device in an embodiment of the application.
  • the computer device described in this embodiment may be a server, a personal computer, and a network device.
  • the device includes a processor 1003, a memory 1005, an input unit 1007, a display unit 1009 and other devices.
  • the memory 1005 may be used to store the application program 1001 and various functional modules, and the processor 1003 runs the application program 1001 stored in the memory 1005 to execute various functional applications and data processing of the device.
  • the memory may be internal memory or external memory, or include both internal memory and external memory.
  • the internal memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, or random access memory.
  • ROM read only memory
  • PROM programmable ROM
  • EPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash memory or random access memory.
  • External storage can include hard disks, floppy disks, ZIP disks, U disks, tapes, etc.
  • the memory disclosed in this application includes but is not limited to these types of memory.
  • the memory disclosed in this application is only an example and not a limitation.
  • the input unit 1007 is used for receiving input of signals and receiving keywords input by the user.
  • the input unit 1007 may include a touch panel and other input devices.
  • the touch panel can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc., to operate on the touch panel or near the touch panel), and according to preset
  • the program drives the corresponding connection device; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as playback control buttons, switch buttons, etc.), trackball, mouse, and joystick.
  • the display unit 1009 may be used to display information input by the user or information provided to the user and various menus of the computer device.
  • the display unit 1009 can take the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the processor 1003 is the control center of the computer equipment. It uses various interfaces and lines to connect the various parts of the entire computer. It executes by running or executing software programs and/or modules stored in the memory 1005, and calling data stored in the memory. Various functions and processing data.
  • the device includes one or more processors 1003, one or more memories 1005, and one or more application programs 1001.
  • the one or more application programs 1001 are stored in the memory 1005 and are configured to be executed by the one or more processors 1003, and the one or more application programs 1001 are configured to execute the above-mentioned embodiments.
  • the message display method is configured to display the above-mentioned embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer readable storage medium.
  • the functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种消息显示方法、装置及存储介质、计算机设备,所述方法包括:确认接收到未处理的会话消息时,检测终端是否处于锁屏状态(S100);当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息(S200);对所述敏感信息进行模糊处理,得到处理后的预览消息(S300);在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息(S400)。上述方法针对会话消息中的敏感信息做了模糊处理,展示到锁屏界面的消息不会展示敏感信息,因此可提高用户信息的安全性。

Description

消息显示方法、装置及存储介质、计算机设备
本申请要求于2019年07月19日提交中国专利局、申请号为201910656213.2、申请名称为“消息显示方法、装置及存储介质、计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及即时通讯技术领域,具体而言,本申请涉及一种消息显示方法、装置及存储介质、计算机设备。
背景技术
随着互联网技术的发展,用户之间通过移动终端可快速接收到对方发送的消息。一般情况下,终端在接收到消息时,会通过消息预览的形式进行展示,以便用户及时查看消息。例如,手机接收到短信消息时,直接将未读消息展示在手机界面。或者,即时通讯APP接收到未读消息时,直接将未读消息展示在手机界面,以便提前预览。然而,未读消息中有可能包含敏感信息,直接将未读消息进行展示,极容易造成用户敏感信息的泄露。
发明内容
本申请提出一种消息显示方法、装置及存储介质、计算机设备,以提高消息显示的安全性,避免用户敏感信息的泄露。
本申请提供以下方案:
一种消息显示方法,包括:确认接收到未处理的会话消息时,检测终端是否处于锁屏状态;当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息;对所述敏感信息进行模糊处理,得到处理后的预览消息;在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。
一种消息显示装置,包括:检测模块,用于根确认接收到未处理的会话消息时,检测终端是否处于锁屏状态;获取模块,用于当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息;处理模块,用于对所述敏感信息进行模糊处理,得到处理后的预览消息;显示模块,用于在所述终端的锁屏界面 上,通过消息弹框的方式展示所述预览消息。
一种计算机非易失性可读存储介质,其上存储有计算机程序;所述计算机程序适于由处理器加载并执行上述任一实施例所述的消息显示方法。
一种计算机设备,其包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行根据上述任一实施例所述的消息显示方法。
上述实施例提供的消息显示方法,在接收到未处理的会话消息时,先判断终端的状态。若终端处于锁屏状态,则进一步判断会话消息中是否包含敏感信息。若存在敏感信息,先将敏感信息做模糊处理,再将模糊处理后的敏感信息通过消息弹框的形式展示到锁屏界面上,用户无需解锁即可预览未处理的会话消息。同时,由于终端针对会话消息中的敏感信息做了模糊处理,展示到锁屏界面的消息不会展示敏感信息,因此可提高用户信息的安全性。
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本申请提供的一种消息显示方法的一实施例中的方法流程图;
图2为本申请提供的界面消息显示的一实施例中的界面图;
图3为本申请提供的界面消息显示的另一实施例中的界面图;
图4为本申请提供的步骤S200的一实施例中的方法流程图;
图5为本申请提供的敏感信息模糊处理的一实施例中的显示框图;
图6为本申请提供的敏感信息模糊处理的另一实施例中的显示框图;
图7为本申请提供的一种消息显示方法的另一实施例中的方法流程图;
图8为本申请提供的敏感信息模糊处理的又一实施例中的界面图;
图9为本申请提供的一种消息显示装置的一实施例中的结构框图;
图10为本申请提供的一种计算机设备的一实施例中的结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出。
本申请提供一种消息显示方法。在一实施例中,如图1所示,该消息显示方法包括以下步骤:
S100,确认接收到未处理的会话消息时,检测终端是否处于锁屏状态。
在本实施例中,终端检测当前是否接收到未处理的会话消息,或者从所有的会话消息中筛选到未处理的会话消息时,检测此时终端是否处于锁屏状态。其中,会话消息可以是文字信息,语音信息以及短视频信息等。
在一具体实施方式中,终端对系统的消息接收模块进行监控。具体地,当应用接收到会话消息时,终端判断用户是否对会话消息进行处理。例如,用户对会话消息的处理包括:用户点击浏览会话消息,或者用户正处于打开应用中展示消息模块的展示界面中,直接阅读了接收到的会话消息。若应用确定接收到用户未处理的会话消息,则调用相关组件检测终端是否处于锁屏状态。若终端处于锁屏状态,则执行后续步骤S200至步骤S400。若终端不处于锁屏状态,则可根据终端当前状态对未处理的会话消息进行相应的处理。例如,终端处于解锁状态,但用户并未打开应用,即终端当前界面未展示应用的相关界面,此时可通过调用通知栏的方式提示用户,应用接收到新的会话消息。也可以是在终端的当前界面生成消息展示的会话框,以便于用户处理该未处理的会话消息。或者,也可以是,在检测到用户启动应用时提示用户处于该未处理的会话消息。
S200,当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息。
在本实施例中,当确定终端当前处于锁屏状态时,为了在锁屏状态展示未处理的会话消息,可对会话消息进行预处理,分析会话消息中的敏感信息。其中,所述敏感信息为系统设置的满足预设条件的信息。所述预设条件为系统根据所述会话消息的类型确定。例如,所述会话消息为文字形式,则所述预设条件可以是系统内存储的敏感词汇。所述会话消息为音频形式,则所述预设条件可以是系统内存储的敏感音频段或者敏感词汇。具体地,会话消息为文字形式信息时,对文字形式信息进行分词处理,将得到的分词与系统预设字符做匹配,将匹配成功的分词作为敏感词汇,也即是所述敏感信息。或者,若文字形式信 息中包括了特殊字符,如数字,字母等,可直接识别读取文字形式信息中的特殊字符作为敏感信息。会话消息为音频形式或视频形式信息时,可对音频形式或视频形式信息进行相应的分割处理,以识别出音频或视频信息中的敏感语段或帧视频段作为所述敏感信息。
S300,对所述敏感信息进行模糊处理,得到处理后的预览消息。
在本实施例中,当终端确定未处理的会话信息中包含有敏感信息时,针对敏感信息做模糊处理。具体地,可先确定未处理的会话信息的表达类型,如文字、语音、视频,此处同时可确定敏感信息的表达类型,再根据敏感信息的类型获取对应的模糊处理方式。例如,敏感信息的表达类型为文字,将敏感信息的文字上打上马赛克,以将敏感信息遮蔽。敏感信息的表达类型为音频,应用将敏感信息的音频段增加噪音,以将敏感信息遮蔽。敏感信息的表达类型为视频,应用将敏感信息的帧视频图像打上马赛克,或者直接黑屏处理并提示此处为敏感视频段。应用对所述敏感信息进行模糊处理后,保存处理后的消息,以作为预览消息。
S400,在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。
在本实施例中,由于终端处于锁屏状态,可在终端的锁屏界面上生成消息弹框,以用于展示所述预览消息。同时,在消息弹框上设置多种操作按钮,用于接收用户操作,以对展示的所述预览消息进行不同的处理。如,回复消息的发送按钮,删除消息弹框的按钮,转换回复形式的按钮(语音转文字,文字转语音等)。
在一实施例中,步骤S400包括:当所述消息弹框接收到上下滑动的触发操作时,根据所述上下滑动的触发操作展示所述预览消息对应用户的预置数量的所述会话消息。
在该实施例中,终端接收到任一未处理会话消息时,获取该会话消息信息对应的用户信息,从所有的未处理的会话消息中筛选出该用户对应的预置数量的未处理的会话消息。此处可以是全部的未处理的会话消息,也可以是部分未处理的会话消息。当消息弹框接收到上下滑动的触发操作时,用户在锁屏状态阅读当前接收到的所述预览消息对应的用户的未处理消息,可上下翻动该用户对应的预置数量的会话消息,从而连贯该用户的内容,便于用户的阅读理解。
在一实施例中,步骤S400之后,还包括:确认所述预览消息中模糊处理部分的内容接收到触发操作时,提示用户所述模糊处理部分的内容在解锁状态下可读;或,提示所述预览消息中包含有模糊内容,该模糊内容在解锁状态下可读。
该实施例中,参见图2和图3所示。若会话消息为文字信息,则当终端界面上弹出模糊处理后的会话消息时,一般用户会触发模糊部分的内容。当用户触发模糊部分的内容文字时,提示用户该模糊部分的内容文字在解锁状态下可读。若会话消息为音频信息或视频信息时,可直接在锁屏界面上提示用户,展示的会话消息中包含有模糊内容,在解锁时可读取到模糊部分内容。
上述实施例提供的消息显示方法,在接收到未处理的会话消息时,先判断终端的状态。若终端处于锁屏状态,则进一步判断会话消息中是否包含敏感信息。若存在敏感信息,先将敏感信息做模糊处理,再将模糊处理后的敏感信息通过消息弹框的形式展示到锁屏界面上,用户无需解锁即可预览未处理的会话消息。同时,由于终端针对会话消息中的敏感信息做了模糊处理,展示到锁屏界面的消息不会展示敏感信息,因此可提高用户信息的安全性。
在一实施例中,所述未处理的会话消息包括当前接收到的未处理的会话消息和历史数据中未处理的会话消息。如图4所示,步骤S200,包括:
S210,识别发送所述当前接收到的未处理的会话消息的信息用户。
S220,从所述历史数据的未处理的会话消息中筛选出所述信息用户发送的距离当前时间点预设时长的时间段内未处理的会话消息。
S230,获取所述当前接收到的未处理的会话消息以及所述时间段内未处理的会话消息的敏感信息。
在该实施例中,未处理的会话消息不局限于终端当前时间接收到且用户未处理的会话消息,还可包括历史数据中用户未处理的会话消息。例如,当前时间之前,终端处于解锁状态,但是终端并未打开应用,应用接收到会话消息时用户也未处理。此种情况也列入本方案中的所述未处理的会话消息。
进一步地,同一用户可能在一个时间段内向当前用户发送多条会话消息。多条会话消息可能涉及同一件事情。终端在接收到该用户发送的未处理的会话消息时,从历史数据中筛选出一个时间段内该用户对应的未处理的会话消息进 行处理,保证了同一用户发送的会话消息的连贯性。例如,用户A在下午时间段内向用户B发送了关于合同事项的多个会话消息,多个会话消息均涉及关于同一件事情的敏感信息,用户B的终端可调取下午时间段内的用户A发送的未处理的会话消息,并进行敏感信息处理,用于后续展示在锁屏界面。因此,终端通过识别当前接收到的未处理的会话消息对应的信息用户,从历史数据中筛选出该信息用户对应的其他未处理的会话消息,提取这两者的敏感信息所述未处理的会话消息的敏感信息。
在一实施例中,步骤S200,包括:判断所述会话消息的表达类型;若会话消息的表达类型为文本形式,则通过切词的方式获取会话消息中的敏感词汇作为所述敏感信息;若会话消息的表达类型为音频形式,则识别音频中包含敏感内容的音频段作为所述敏感信息;若会话消息的表达类型为视频形式,则提取视频中每帧视频并将包含敏感内容的帧视频作为所述敏感信息。
具体地,识别音频形式中的敏感信息的方式可以是:将音频转化为文字,通过识别文字内容确定所述敏感信息。或者,将通过语音识别方式,识别语音内容,确定所述敏感信息。识别视频形式中敏感信息的方式可以是:对视频进行分帧处理,识别每帧视频的内容,从而确定视频中的敏感信息。具体可以是,获取每帧图像的图像内容以及对应的音频内容。对图像内容进行图像识别,确定图像中是否包含敏感内容;对该帧图像的音频内容进行语音识别,确定该音频内容中是否包含敏感内容;若该图像内容或音频内容中任一包含敏感内容,则确定该帧图像包含敏感信息;若该图像内容及音频内容中任一均未包含敏感内容,将该图像内容和音频内容匹配识别,根据匹配结果确定该帧图像是否包含敏感信息。例如,有些帧图像里面,图像信息本身包含敏感内容,或者其音频内容包含敏感内容,或者图像信息和音频内容均不包含敏感信息,但是其结合之后表述出了敏感内容。
此时,步骤S300,包括:判断所述敏感信息的表达类型;若所述敏感信息的表达类型为所述文本形式,则在所述敏感信息的敏感词汇上打马赛克;若所述敏感信息的表达类型为音频形式,则在所述敏感信息的音频段中增加噪音频;若所述敏感信息的表达类型为视频形式,则在所述敏感信息的帧视频图像打上马赛克,并在该帧视频图像对应的音频段增加噪音频。具体地,参见图5 以及图6所示,将敏感信息的文字上打上马赛克,将敏感信息的音频段增加噪音,以将敏感信息遮蔽。
在一实施例中,如图7所示,步骤S200,包括:
S201,获取发送所述会话消息的用户的类别;
S203,根据所述用户的类别确认所述敏感信息;
此时,步骤S300,包括:
S310,根据所述用户的类别对所述敏感信息进行模糊处理。
在该实施例中,接收会话消息的客户端可对发送会话消息的用户进行分类。当确认接收到未处理的会话消息时,终端先从客户端中用户分类表里确认出用户的分类,并根据用户的类别确认接收到的会话消息的敏感信息,并且对于不同类别的用户,终端对敏感信息处理的方式也不一样。例如,发送会话消息的用户a属于A类别,系统设置对于A类别的用户,其发送的消息全部设置为敏感信息。发送会话消息的用户b属于B类别,系统设置对于B类别的用户,对其发送的包含敏感数字或者敏感字符的信息设置为敏感信息。
在该实施例的一个实施方式中,所述用户的类别包括不显示用户信息的第一类别和显示部分用户信息的第二类别。此时,所述根据所述用户的类别确认所述敏感信息,根据所述用户的类别对所述敏感信息进行模糊处理,包括:若所述用户的类别属于所述第一类别,则将所述会话消息作为所述敏感信息,对所述会话消息进行模糊处理;若所述用户的类别属于所述第二类别,则根据预设规定确定所述会话消息中的敏感信息,对所述敏感信息进行模糊处理。
在该实施方式中,参见图8所示,终端根据客户端中设置的用户类型确定敏感信息,并对敏感信息进行不同的处理。例如,第一类别为只显示用户名称的类别,则终端获取到所述会话消息时,直接将该会话消息作为敏感信息,将全部的会话消息内容做模糊化处理,在锁屏界面上只显示该用户的名称。第二类别为显示部分会话消息的用户类别,则终端获取到此类别的用户的会话消息时,根据预设规则确定该会话消息中的敏感信息。如,预设规则可以是,会话消息中是否包含有特定的字符(数字,字母或其他敏感词)等,直接将该段特定字符做模糊化处理。
本申请还提供一种消息显示装置。在一实施例中,如图9所示,该消息显 示装置包括检测模块10、获取模块20、处理模块30以及显示模块40。
检测模块10用于根确认接收到未处理的会话消息时,检测终端是否处于锁屏状态。在本实施例中,终端检测当前是否接收到未处理的会话消息,或者从所有的会话消息中筛选到未处理的会话消息时,检测此时终端是否处于锁屏状态。其中,会话消息可以是文字信息,语音信息以及短视频信息等。
在一具体实施方式中,终端对系统的消息接收模块进行监控。具体地,当应用接收到会话消息时,终端判断用户是否对会话消息进行处理。例如,用户对会话消息的处理包括:用户点击浏览会话消息,或者用户正处于打开应用中展示消息模块的展示界面中,直接阅读了接收到的会话消息。若应用确定接收到用户未处理的会话消息,则调用相关组件检测终端是否处于锁屏状态。若终端处于锁屏状态,则执行后续步骤S200至步骤S400。若终端不处于锁屏状态,则可根据终端当前状态对未处理的会话消息进行相应的处理。例如,终端处于解锁状态,但用户并未打开应用,即终端当前界面未展示应用的相关界面,此时可通过调用通知栏的方式提示用户,应用接收到新的会话消息。也可以是在终端的当前界面生成消息展示的会话框,以便于用户处理该未处理的会话消息。或者,也可以是,在检测到用户启动应用时提示用户处于该未处理的会话消息。
获取模块20用于当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息。在本实施例中,当确定终端当前处于锁屏状态时,为了在锁屏状态展示未处理的会话消息,可对会话消息进行预处理,分析会话消息中的敏感信息。其中,所述敏感信息为系统设置的满足预设条件的信息。所述预设条件为系统根据所述会话消息的类型确定。例如,所述会话消息为文字形式,则所述预设条件可以是系统内存储的敏感词汇。所述会话消息为音频形式,则所述预设条件可以是系统内存储的敏感音频段或者敏感词汇。具体地,会话消息为文字形式信息时,对文字形式信息进行分词处理,将得到的分词与系统预设字符做匹配,将匹配成功的分词作为敏感词汇,也即是所述敏感信息。或者,若文字形式信息中包括了特殊字符,如数字,字母等,可直接识别读取文字形式信息中的特殊字符作为敏感信息。会话消息为音频形式或视频形式信息时,可对音频形式或视频形式信息进行相应的分割处理,以识别出音频或视频信息中的敏感语段或帧视频段作为所述敏感信息。
处理模块30用于对所述敏感信息进行模糊处理,得到处理后的预览消息。在本实施例中,当终端确定未处理的会话信息中包含有敏感信息时,针对敏感信息做模糊处理。具体地,可先确定未处理的会话信息的表达类型,如文字、语音、视频,此处同时可确定敏感信息的表达类型,再根据敏感信息的类型获取对应的模糊处理方式。例如,敏感信息的表达类型为文字,将敏感信息的文字上打上马赛克,以将敏感信息遮蔽。敏感信息的表达类型为音频,应用将敏感信息的音频段增加噪音,以将敏感信息遮蔽。敏感信息的表达类型为视频,应用将敏感信息的帧视频图像打上马赛克,或者直接黑屏处理并提示此处为敏感视频段。应用对所述敏感信息进行模糊处理后,保存处理后的消息,以作为预览消息。
显示模块40用于在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。在本实施例中,由于终端处于锁屏状态,可在终端的锁屏界面上生成消息弹框,以用于展示所述预览消息。同时,在消息弹框上设置多种操作按钮,用于接收用户操作,以对展示的所述预览消息进行不同的处理。如,回复消息的发送按钮,删除消息弹框的按钮,转换回复形式的按钮(语音转文字,文字转语音等)。
在其他实施例中,本申请提供的消息显示装置中的各个模块还用于执行本申请所述的消息显示方法中,对应各个步骤执行的操作,在此不再做详细的说明。
本申请还提供一种存储介质。该存储介质上存储有计算机程序;所述计算机程序被处理器执行时,实现上述任一实施例所述的消息显示方法。该存储介质可以是存储器。例如,内存储器或外存储器,或者包括内存储器和外存储器两者。内存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)、快闪存储器、或者随机存储器。外存储器可以包括硬盘、软盘、ZIP盘、U盘、磁带等。本申请所公开的存储介质包括但不限于这些类型的存储器。本申请所公开的存储器只作为例子而非作为限定。
本申请还提供一种计算机设备。一种计算机设备包括:一个或多个处理器;存储器;一个或多个应用程序。其中所述一个或多个应用程序被存储在所述存 储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行上述任一实施例所述的消息显示方法。
图10为本申请一实施例中的计算机设备的结构示意图。本实施例所述计算机设备可以是服务器、个人计算机以及网络设备。如图10所示,设备包括处理器1003、存储器1005、输入单元1007以及显示单元1009等器件。本领域技术人员可以理解,图10示出的设备结构器件并不构成对所有设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件。存储器1005可用于存储应用程序1001以及各功能模块,处理器1003运行存储在存储器1005的应用程序1001,从而执行设备的各种功能应用以及数据处理。存储器可以是内存储器或外存储器,或者包括内存储器和外存储器两者。内存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)、快闪存储器、或者随机存储器。外存储器可以包括硬盘、软盘、ZIP盘、U盘、磁带等。本申请所公开的存储器包括但不限于这些类型的存储器。本申请所公开的存储器只作为例子而非作为限定。
输入单元1007用于接收信号的输入,以及接收用户输入的关键字。输入单元1007可包括触控面板以及其它输入设备。触控面板可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程序驱动相应的连接装置;其它输入设备可以包括但不限于物理键盘、功能键(比如播放控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。显示单元1009可用于显示用户输入的信息或提供给用户的信息以及计算机设备的各种菜单。显示单元1009可采用液晶显示器、有机发光二极管等形式。处理器1003是计算机设备的控制中心,利用各种接口和线路连接整个电脑的各个部分,通过运行或执行存储在存储器1005内的软件程序和/或模块,以及调用存储在存储器内的数据,执行各种功能和处理数据。
在一实施方式中,设备包括一个或多个处理器1003,以及一个或多个存储器1005,一个或多个应用程序1001。其中所述一个或多个应用程序1001被存储在存储器1005中并被配置为由所述一个或多个处理器1003执行,所述一个或多个应用程序1001配置用于执行以上实施例所述的消息显示方法。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括存储器、磁盘或光盘等。
在本申请各实施例中的各功能单元可集成在一个处理模块中,也可以各个单元单独物理存在,也可以两个或两个以上单元集成于一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (20)

  1. 一种消息显示方法,其特征在于,包括:
    确认接收到未处理的会话消息时,检测终端是否处于锁屏状态;
    当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息;
    对所述敏感信息进行模糊处理,得到处理后的预览消息;
    在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。
  2. 根据权利要求1所述的方法,其特征在于,所述未处理的会话消息包括当前接收到的未处理的会话消息和历史数据中未处理的会话消息;所述当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息,包括:
    识别发送所述当前接收到的未处理的会话消息的信息用户;
    从所述历史数据的未处理的会话消息中筛选出所述信息用户发送的距离当前时间点预设时长的时间段内未处理的会话消息;
    获取所述当前接收到的未处理的会话消息以及所述时间段内未处理的会话消息中的敏感信息。
  3. 根据权利要求1所述的方法,其特征在于,所述获取所述会话消息中的敏感信息,包括:
    判断所述会话消息的表达类型;
    若会话消息的表达类型为文本形式,则通过切词的方式获取会话消息中的敏感词汇作为所述敏感信息;
    若会话消息的表达类型为音频形式,则识别音频中包含敏感内容的音频段作为所述敏感信息;
    若会话消息的表达类型为视频形式,则提取视频中每帧视频并将包含敏感内容的帧视频作为所述敏感信息。
  4. 根据权利要求3所述的方法,其特征在于,所述对所述敏感信息进行模糊处理,包括:
    判断所述敏感信息的表达类型;
    若所述敏感信息的表达类型为所述文本形式,则在所述敏感信息的敏感词汇上打马赛克;
    若所述敏感信息的表达类型为音频形式,则在所述敏感信息的音频段中增 加噪音频;
    若所述敏感信息的表达类型为视频形式,则在所述敏感信息的帧视频图像打上马赛克,并在该帧视频图像对应的音频段增加噪音频。
  5. 根据权利要求1所述的方法,其特征在于,所述获取所述会话消息中的敏感信息,包括:获取发送所述会话消息的用户的类别;根据所述用户的类别确认所述敏感信息;
    所述对所述敏感信息进行模糊处理,包括:根据所述用户的类别对所述敏感信息进行模糊处理。
  6. 根据权利要求5所述的方法,其特征在于,所述用户的类别包括不显示用户信息的第一类别和显示部分用户信息的第二类别;所述根据所述用户的类别确认所述敏感信息,根据所述用户的类别对所述敏感信息进行模糊处理,包括:
    若所述用户的类别属于所述第一类别,则将所述会话消息作为所述敏感信息,对所述会话消息进行模糊处理;
    若所述用户的类别属于所述第二类别,则根据预设规定确定所述会话消息中的敏感信息,对所述敏感信息进行模糊处理。
  7. 根据权利要求1所述的方法,其特征在于,所述通过消息弹框的方式展示所述预览消息,包括:
    当所述消息弹框接收到上下滑动的触发操作时,根据所述上下滑动的触发操作展示所述预览消息对应用户的预置数量的所述会话消息。
  8. 一种消息显示装置,其特征在于,包括:
    检测模块,用于根确认接收到未处理的会话消息时,检测终端是否处于锁屏状态;
    获取模块,用于当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息;
    处理模块,用于对所述敏感信息进行模糊处理,得到处理后的预览消息;
    显示模块,用于在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。
  9. 根据权利要求8所述的装置,其特征在于,所述未处理的会话消息包 括当前接收到的未处理的会话消息和历史数据中未处理的会话消息;所述获取模块具体用于:
    识别发送所述当前接收到的未处理的会话消息的信息用户;
    从所述历史数据的未处理的会话消息中筛选出所述信息用户发送的距离当前时间点预设时长的时间段内未处理的会话消息;
    获取所述当前接收到的未处理的会话消息以及所述时间段内未处理的会话消息中的敏感信息。
  10. 根据权利要求8所述的装置,其特征在于,所述获取模块在获取所述会话消息中的敏感信息时,具体用于:
    判断所述会话消息的表达类型;
    若会话消息的表达类型为文本形式,则通过切词的方式获取会话消息中的敏感词汇作为所述敏感信息;
    若会话消息的表达类型为音频形式,则识别音频中包含敏感内容的音频段作为所述敏感信息;
    若会话消息的表达类型为视频形式,则提取视频中每帧视频并将包含敏感内容的帧视频作为所述敏感信息。
  11. 根据权利要求10所述的装置,其特征在于,所述处理模块在对所述敏感信息进行模糊处理时,具体用于:
    判断所述敏感信息的表达类型;
    若所述敏感信息的表达类型为所述文本形式,则在所述敏感信息的敏感词汇上打马赛克;
    若所述敏感信息的表达类型为音频形式,则在所述敏感信息的音频段中增加噪音频;
    若所述敏感信息的表达类型为视频形式,则在所述敏感信息的帧视频图像打上马赛克,并在该帧视频图像对应的音频段增加噪音频。
  12. 根据权利要求8所述的装置,其特征在于,所述获取模块在获取所述会话消息中的敏感信息时,具体用于:获取发送所述会话消息的用户的类别;根据所述用户的类别确认所述敏感信息;
    所述处理模块在对所述敏感信息进行模糊处理时,具体用于:根据所述用 户的类别对所述敏感信息进行模糊处理。
  13. 根据权利要求12所述的装置,其特征在于,所述用户的类别包括不显示用户信息的第一类别和显示部分用户信息的第二类别;所述处理模块在根据所述用户的类别对所述敏感信息进行模糊处理时,具体用于:
    若所述用户的类别属于所述第一类别,则将所述会话消息作为所述敏感信息,对所述会话消息进行模糊处理;
    若所述用户的类别属于所述第二类别,则根据预设规定确定所述会话消息中的敏感信息,对所述敏感信息进行模糊处理。
  14. 根据权利要求8所述的装置,其特征在于,所述显示模块在通过消息弹框的方式展示所述预览消息时,具体用于:
    当所述消息弹框接收到上下滑动的触发操作时,根据所述上下滑动的触发操作展示所述预览消息对应用户的预置数量的所述会话消息。
  15. 一种计算机非易失性可读存储介质,其特征在于,其上存储有计算机程序;所述计算机程序适于由处理器加载并执行上述权利要求1至7中任一项所述的消息显示方法。
  16. 一种计算机设备,其特征在于,其包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行以下步骤:
    确认接收到未处理的会话消息时,检测终端是否处于锁屏状态;
    当所述终端处于所述锁屏状态时,获取所述会话消息中的敏感信息;
    对所述敏感信息进行模糊处理,得到处理后的预览消息;
    在所述终端的锁屏界面上,通过消息弹框的方式展示所述预览消息。
  17. 根据权利要求16所述的计算机设备,其特征在于,所述获取所述会话消息中的敏感信息时,所述一个或多个应用程序被配置用于执行以下步骤:
    判断所述会话消息的表达类型;
    若会话消息的表达类型为文本形式,则通过切词的方式获取会话消息中的 敏感词汇作为所述敏感信息;
    若会话消息的表达类型为音频形式,则识别音频中包含敏感内容的音频段作为所述敏感信息;
    若会话消息的表达类型为视频形式,则提取视频中每帧视频并将包含敏感内容的帧视频作为所述敏感信息。
  18. 根据权利要求17所述的计算机设备,其特征在于,所述对所述敏感信息进行模糊处理时,所述一个或多个应用程序被配置用于执行以下步骤:
    判断所述敏感信息的表达类型;
    若所述敏感信息的表达类型为所述文本形式,则在所述敏感信息的敏感词汇上打马赛克;
    若所述敏感信息的表达类型为音频形式,则在所述敏感信息的音频段中增加噪音频;
    若所述敏感信息的表达类型为视频形式,则在所述敏感信息的帧视频图像打上马赛克,并在该帧视频图像对应的音频段增加噪音频。
  19. 根据权利要求16所述的计算机设备,其特征在于,所述获取所述会话消息中的敏感信息时,所述一个或多个应用程序被配置用于执行以下步骤:获取发送所述会话消息的用户的类别;根据所述用户的类别确认所述敏感信息;
    所述对所述敏感信息进行模糊处理时,所述一个或多个应用程序被配置用于执行以下步骤:根据所述用户的类别对所述敏感信息进行模糊处理。
  20. 根据权利要求19所述的计算机设备,其特征在于,所述用户的类别包括不显示用户信息的第一类别和显示部分用户信息的第二类别;所述根据所述用户的类别确认所述敏感信息,根据所述用户的类别对所述敏感信息进行模糊处理时,所述一个或多个应用程序被配置用于执行以下步骤:
    若所述用户的类别属于所述第一类别,则将所述会话消息作为所述敏感信息,对所述会话消息进行模糊处理;
    若所述用户的类别属于所述第二类别,则根据预设规定确定所述会话消息中的敏感信息,对所述敏感信息进行模糊处理。
PCT/CN2019/117918 2019-07-19 2019-11-13 消息显示方法、装置及存储介质、计算机设备 WO2021012517A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910656213.2A CN110472446A (zh) 2019-07-19 2019-07-19 消息显示方法、装置及存储介质、计算机设备
CN201910656213.2 2019-07-19

Publications (1)

Publication Number Publication Date
WO2021012517A1 true WO2021012517A1 (zh) 2021-01-28

Family

ID=68508283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117918 WO2021012517A1 (zh) 2019-07-19 2019-11-13 消息显示方法、装置及存储介质、计算机设备

Country Status (2)

Country Link
CN (1) CN110472446A (zh)
WO (1) WO2021012517A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510439B (zh) * 2020-04-03 2024-01-19 腾讯科技(深圳)有限公司 会话提醒方法、装置、计算机设备和存储介质
CN112214145A (zh) * 2020-10-29 2021-01-12 Oppo广东移动通信有限公司 一种消息管理方法、装置及计算机可读存储介质
CN113970994A (zh) * 2021-09-18 2022-01-25 惠州Tcl移动通信有限公司 锁屏界面信息处理方法、装置、智能终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318183A (zh) * 2014-11-18 2015-01-28 南京酷派软件技术有限公司 用于终端的通信信息的处理方法及装置
CN104408686A (zh) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 一种截屏方法、系统及终端
CN106529277A (zh) * 2016-12-14 2017-03-22 北京小米移动软件有限公司 消息预览方法及装置
CN107317931A (zh) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 一种信息处理方法、终端及计算机可读存储介质
US20180046336A1 (en) * 2015-12-30 2018-02-15 Xiaomi Inc. Instant Message Processing Method and Apparatus, and Storage Medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018090332A1 (zh) * 2016-11-18 2018-05-24 深圳前海达闼云端智能科技有限公司 信息展示方法和系统
CN106709383A (zh) * 2016-11-30 2017-05-24 广东欧珀移动通信有限公司 一种通讯消息的保护方法、装置及移动终端
CN108804898A (zh) * 2018-05-25 2018-11-13 维沃移动通信有限公司 一种消息播放方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408686A (zh) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 一种截屏方法、系统及终端
CN104318183A (zh) * 2014-11-18 2015-01-28 南京酷派软件技术有限公司 用于终端的通信信息的处理方法及装置
US20180046336A1 (en) * 2015-12-30 2018-02-15 Xiaomi Inc. Instant Message Processing Method and Apparatus, and Storage Medium
CN106529277A (zh) * 2016-12-14 2017-03-22 北京小米移动软件有限公司 消息预览方法及装置
CN107317931A (zh) * 2017-06-28 2017-11-03 深圳市金立通信设备有限公司 一种信息处理方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN110472446A (zh) 2019-11-19

Similar Documents

Publication Publication Date Title
WO2020248955A1 (zh) 一种分享内容的方法和电子设备
US10564824B1 (en) Initiating communications based on interactions with images
WO2021012517A1 (zh) 消息显示方法、装置及存储介质、计算机设备
US10187419B2 (en) Method and system for processing notification messages of a website
CN109491567B (zh) 一种消息回复方法、装置、终端及存储介质
US11740775B1 (en) Connecting users to entities based on recognized objects
US12010265B2 (en) Dynamically providing safe phone numbers for responding to inbound communications
CN106227585A (zh) 一种应用程序启动方法、装置及设备
US11809556B2 (en) System and method for detecting a malicious file
WO2022143336A1 (zh) 图形码识别方法、装置及电子设备
CN113992615B (zh) 撤回消息的显示方法、装置、电子设备及存储介质
CN112905971B (zh) 一种处理信息的方法和装置
CN113326539B (zh) 针对小程序进行隐私数据泄露检测的方法、装置及系统
WO2022062563A1 (zh) 目标信息的管理方法、装置、电子设备以及存储介质
CN113282364A (zh) 显示方法、显示装置和电子设备
CN113552989A (zh) 录屏方法、装置及电子设备
US10291766B2 (en) Information processing method and apparatus
WO2023093602A1 (zh) 来电提醒方法和电子设备
CN108347401B (zh) 一种登录信息处理的方法及装置
CN109445967A (zh) 一种消息处理方法、装置、终端和存储介质
CN115914159A (zh) 标记消息为未读消息的方法及其系统
US20220309151A1 (en) Method for providing remote service capable of multilingual input and server performing the same
Hanton AUTOMATIC DETECTION OF ON-SCREEN ADDRESSES IN VIDEO ENDPOINTS USED AS COMPUTER MONITORS
CN110209775B (zh) 一种文本的处理方法和装置
CN115883759A (zh) 重要信息显示方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19938463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19938463

Country of ref document: EP

Kind code of ref document: A1