CN113630305B - Information display method, apparatus, device, storage medium, and program product - Google Patents

Information display method, apparatus, device, storage medium, and program product Download PDF

Info

Publication number
CN113630305B
CN113630305B CN202110807905.XA CN202110807905A CN113630305B CN 113630305 B CN113630305 B CN 113630305B CN 202110807905 A CN202110807905 A CN 202110807905A CN 113630305 B CN113630305 B CN 113630305B
Authority
CN
China
Prior art keywords
message
input
communication message
communication
display
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
CN202110807905.XA
Other languages
Chinese (zh)
Other versions
CN113630305A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110807905.XA priority Critical patent/CN113630305B/en
Publication of CN113630305A publication Critical patent/CN113630305A/en
Application granted granted Critical
Publication of CN113630305B publication Critical patent/CN113630305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to an information display method, apparatus, device, storage medium, and program product. The information display method comprises the following steps: when the electronic equipment is detected to receive the communication message, hiding the message content of the communication message on the message interface based on a preset hiding mode; receiving a first input of a user to a message interface; in response to the first input, a portion of message content of the communication message is displayed. By adopting the method and the device, the problem that personal information of the user is easy to leak and the safety of the personal information of the user is low can be solved.

Description

Information display method, apparatus, device, storage medium, and program product
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an information display method, apparatus, device, storage medium, and program product.
Background
Instant messaging (IM, instant Messaging) refers to a service capable of sending and receiving internet messages and the like instantaneously. Along with the wider and wider application of instant messaging, various types of instant messaging application programs are layered, so that users can communicate and interact with other users at any time.
In the related art, a user can receive a communication message through an instant messaging application program at any time and any place and display the received communication message through a screen of a user terminal. However, when other people exist around the user, the communication message displayed on the screen of the user terminal has a risk of being snooped by the surrounding people, so that the personal information of the user is easy to leak, and the security of the personal information of the user is not high.
Disclosure of Invention
The disclosure provides an information display method, an information display device, an information display apparatus, a storage medium, and a program product, which at least solve the problems that personal information of a user is easy to leak and the security of the personal information of the user is not high in the related art.
The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided an information display method including: when the electronic equipment is detected to receive the communication message, hiding the message content of the communication message on the message interface based on a preset hiding mode; receiving a first input of a user to a message interface; in response to the first input, a portion of message content of the communication message is displayed.
As an implementation manner of the first aspect, the message interface includes a message box that displays a portion of message content of the communication message in response to the first input, including: in response to the first input, displaying a display frame in the message frame; the display frame moves in the message frame relative to the communication message, and the message content covered by the display frame is displayed in real time in the moving process, so that the message content uncovered by the display frame is hidden.
As an implementation manner of the first aspect, the display frame moves in the message frame relative to the communication message, including: the display frame is moved from the head end of the communication message to the end of the communication message based on a preset timer.
As an implementation manner of the first aspect, the display frame moves in the message frame relative to the communication message, including: receiving a second input of a user to the display frame; in response to the second input, the display box moves in the message box relative to the communication message.
As an implementation manner of the first aspect, the method further includes any one of the following: determining a length of the display frame based on a ratio of the length of the message frame to a preset length in response to the first input; in response to the first input, determining a length of the display frame based on a target number of characters in the communication message, wherein the target number is determined based on the number of characters in the communication message and a preset character ratio value.
As an implementation manner of the first aspect, receiving a first input of a message interface by a user includes: receiving a first input of a user to a message box or a target control in a message interface; in response to the first input, displaying a portion of message content of the communication message, comprising: and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
As an implementation manner of the first aspect, the method further includes: after the display frame is moved to a preset time period at the end of the communication message, hiding the message content of the communication message based on a preset hiding mode.
As an implementation manner of the first aspect, the message interface includes a message box that displays a portion of message content of the communication message in response to the first input, including: in response to the first input, message content of the communication message is scrolled in the message box.
As an implementation manner of the first aspect, after displaying the partial message content of the communication message in response to the first input, the method further includes: receiving a third input to the message interface; in response to the third input, the entire message content of the communication message is displayed.
As an implementation manner of the first aspect, the preset hiding manner includes any one of the following: performing mosaic processing on the message content of the communication message; encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message; and covering a display area of the message content of the communication message by using a preset control.
According to a second aspect of the embodiments of the present disclosure, there is provided an information display apparatus including: the hiding module is configured to execute hiding of message content of the communication message based on a preset hiding mode at the message interface when the electronic device is detected to receive the communication message; a receiving module configured to perform receiving a first input of a user to a message interface; a display module configured to perform displaying a portion of message content of the communication message in response to the first input.
As an implementation manner of the second aspect, the message interface includes a message box, and the display module is specifically configured to perform: in response to the first input, displaying a display frame in the message frame; the display frame moves in the message frame relative to the communication message, and the message content covered by the display frame is displayed in real time in the moving process, so that the message content uncovered by the display frame is hidden.
As an implementation manner of the second aspect, the display module is specifically configured to perform: the display frame is moved from the head end of the communication message to the end of the communication message based on a preset timer.
As an implementation manner of the second aspect, the display module includes: a receiving unit configured to perform receiving a second input of the display frame by the user; and a display unit configured to perform a movement of the display frame in the message frame relative to the communication message in response to the second input.
As an implementation manner of the second aspect, the apparatus further includes a determining module configured to perform any one of the following: determining a length of the display frame based on a ratio of the length of the message frame to a preset length in response to the first input; in response to the first input, determining a length of the display frame based on a target number of characters in the communication message, wherein the target number is determined based on the number of characters in the communication message and a preset character ratio value.
As an implementation manner of the second aspect, the receiving module is specifically configured to perform: receiving a first input of a user to a message box in a message interface; the display module is specifically configured to perform: and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
As an implementation manner of the second aspect, the hiding module is further configured to hide the message content of the communication message based on a preset hiding manner after the display frame moves to a preset duration of the end of the communication message.
As an implementation manner of the second aspect, the message interface includes a message box, and the display module is specifically configured to perform: in response to the first input, message content of the communication message is scrolled in the message box.
As an implementation manner of the second aspect, the receiving module is further configured to perform receiving a third input to the message interface after displaying the partial message content of the communication message; the display module is further configured to perform displaying the entire message content of the communication message in response to the third input.
As an implementation manner of the second aspect, the preset hiding manner includes any one of the following: performing mosaic processing on the message content of the communication message; encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message; and covering a display area of the message content of the communication message by using a preset control.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the information display method as in the first aspect or the realizable manner of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the information display method as in the first aspect or the realizable manner of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which when executed by a processor of an electronic device, enables the electronic device to perform the information display method as the first aspect or the realizable manner of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the disclosure, when the electronic equipment is detected to receive the communication message, the message content of the communication message is hidden on the message interface based on a preset hiding mode. Based on this, when a first input of a user to a message interface is received, a portion of message content of the communication message is displayed in response to the first input. Therefore, the received communication message is automatically hidden through the electronic equipment, so that the communication message can be prevented from being snooped by surrounding people, meanwhile, when a user operates the message interface, only part of message content of the communication message is displayed, the message content is not completely displayed, the information leakage risk of the message content is effectively reduced, and the safety of personal information of the user is improved. Therefore, the embodiment of the disclosure can solve the problems of easy disclosure of the personal information of the user and low safety of the personal information of the user in the related technology.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flowchart illustrating an information display method according to an exemplary embodiment.
Fig. 2 is one of schematic diagrams of an information display interface shown according to an exemplary embodiment.
FIG. 3 is a second schematic diagram of an information display interface shown according to an exemplary embodiment.
FIG. 4 is a third schematic diagram of an information display interface, according to an example embodiment.
Fig. 5 is a schematic diagram of an information display interface shown according to an example embodiment.
Fig. 6 is a fifth schematic diagram of an information display interface shown according to an exemplary embodiment.
Fig. 7 is a diagram of a sixth illustrative information display interface shown in accordance with an exemplary embodiment.
FIG. 8 is a schematic diagram of an information display interface, according to an example embodiment.
Fig. 9 is a block diagram of an information display apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram of an electronic device, according to an example embodiment.
Fig. 11 is a block diagram illustrating an apparatus for an information display method according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, a user can receive a communication message through an instant messaging application program at any time and any place and display the received communication message through a screen of a user terminal. However, when other people exist around the user, the communication message displayed on the screen of the user terminal is at risk of being snooped or recorded by the surrounding people, so that personal information of the user is easy to leak, and the safety of the personal information of the user is not high.
In order to solve the problem that the personal information of the user is easy to leak and the security of the personal information of the user is not high in the related art, the disclosure provides an information display method, an apparatus, a device, a storage medium and a program product, which can hide the message content of the communication message based on a preset hiding mode at a message interface when detecting that the electronic device receives the communication message. Based on this, when a first input of a user to a message interface is received, a portion of message content of the communication message is displayed in response to the first input. Therefore, the received communication message is automatically hidden through the electronic equipment, so that the communication message can be prevented from being snooped by surrounding people, meanwhile, when a user operates a message interface, only part of message content of the communication message is displayed, the message content is not completely displayed, the information leakage risk of the message content is effectively reduced, the safety of personal information of the user is improved, and the problems that the personal information of the user is easy to leak and the safety of the personal information of the user is not high are solved.
The information display method provided by the embodiment of the present disclosure will be described in detail below.
Fig. 1 is a flowchart illustrating an information display method according to an exemplary embodiment, which may be applied to an electronic device. The above-described execution body is not limited to the present disclosure.
As shown in fig. 1, the information display method may include S110 to S130.
S110, when the electronic equipment is detected to receive the communication message, hiding the message content of the communication message based on a preset hiding mode at a message interface.
The preset hiding mode can be set according to specific requirements.
In some embodiments of the present disclosure, the preset hiding manner may include any one of the following: performing mosaic processing on the message content of the communication message; encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message; and covering a display area of the message content of the communication message by using a preset control.
The preset control may be an image, a text, an icon, or the like, which is not specifically limited herein.
For example, the electronic device may overlay the message content of the communication message with preset words "1 piece of text information", "check latest notification message", "XXAPP notification message", and the like.
Illustratively, the preset encryption algorithm may be a hash algorithm, an advanced encryption standard (Advanced Encryption Standard, AES), a data encryption standard (Data Encryption Standard, DES), a stream encryption algorithm (RC 4), a rabit algorithm, a tripiedes algorithm, or the like.
In the embodiment of the disclosure, when the electronic equipment is detected to receive the communication message, the electronic equipment can automatically hide the message content of the communication message through a mosaic, a preset encryption algorithm and a preset control, so that the condition that the message content is snooped by surrounding people after the message content is received and displayed on an interface is avoided, and the safety of personal information of a user is improved.
In some embodiments of the present disclosure, the communication message may be a short message, a chat message, or the like sent by a contact person, or may be a system notification message, an application notification message, or the like received by an electronic device, for example, a notification message such as a memo reminder notification, a deduction notification, or a transaction notification.
In some embodiments of the present disclosure, S110 may specifically include: when the electronic equipment is detected to receive the communication message and is in a message hiding mode, hiding the message content of the communication message on the message interface based on a preset hiding mode.
It should be noted that, the electronic device may include a hidden message mode and a display message mode, and the user may manually open the hidden message mode or the display message mode at the setting interface of the electronic device. In the message hiding mode, the electronic equipment directly hides the message content after receiving the communication message; in the message display mode, the electronic equipment normally displays the message content after receiving the communication message.
S120, receiving a first input of a user to the message interface.
The first input may be a click input, a slide input, a double click input, a long press input, etc. on the message interface, which is not specifically limited herein.
In some embodiments of the present disclosure, the message interface may include a message box, and S120 may specifically include: a first input by a user to a message box in a message interface is received.
In some embodiments of the present disclosure, S210 may specifically include: a first input by a user of a communication message in a message box is received.
In one example of the present disclosure, as shown in fig. 2, the message interface 201 includes a message box 202, in which message content of a communication message is hidden, and the first input may be a long press input of the message box 202 by a user.
In other embodiments of the present disclosure, the message interface may include a preset area associated with the communication message, and S120 may specifically include: and receiving a first input of a user to a preset area in the message interface.
The preset area can be any area of the message interface, and the user can trigger the display of part of message content of the communication message by operating the preset area.
In one example of the present disclosure, as shown in fig. 3, the message interface 301 includes a communication message 302 with hidden message content and a preset area 303, and the first input may be a double-click input of the preset area 303 by a user.
In further embodiments of the present disclosure, the message interface may include a target control associated with the communication message, the target control may be used to trigger display of a portion of the message content of the communication message, and S120 may specifically include: a first input by a user to a target control in a message interface is received.
In one example of the present disclosure, as shown in fig. 4, a message interface 401 includes a communication message 402 with hidden message content and a target control 403 associated with the communication message 402, the first input may be a user click input to the target control 403.
And S130, in response to the first input, displaying partial message content of the communication message.
As one example of the present disclosure, the communication message is a chat message, and when the electronic device receives a click input of a target control 403 displayed on the message interface 401 by a user, the partial message content "i intend to week" of the communication message 402 is displayed on the chat interface in response to the click input, and the rest of the message content of the communication message 402 is hidden, as shown in fig. 4.
It should be noted that, the specific implementation of S130 will be described below in connection with specific embodiments.
According to the information display method provided by the embodiment of the disclosure, when the electronic equipment is detected to receive the communication message, the message content of the communication message is hidden on the message interface based on a preset hiding mode. Based on this, when a first input of a user to a message interface is received, a portion of message content of the communication message is displayed in response to the first input. Therefore, the received communication message is automatically hidden through the electronic equipment, so that the communication message can be prevented from being snooped by surrounding people, meanwhile, when a user operates the message interface, only part of message content of the communication message is displayed, the message content is not completely displayed, the information leakage risk of the message content is effectively reduced, and the safety of personal information of the user is improved.
The above S130 is described in detail with reference to specific embodiments, and a portion of message content of the communication message is displayed in response to the first input.
In some embodiments of the present disclosure, the message interface may include a message box, and S130 may specifically include: in response to the first input, displaying a display frame in the message frame; the display frame moves in the message frame relative to the communication message, and the message content covered by the display frame is displayed in real time in the moving process, so that the message content uncovered by the display frame is hidden.
The length of the display frame is smaller than that of the message frame, and the display frame may be transparent display, semitransparent display, opaque display or the like, which is not specifically limited herein.
In one example, a display box may be included in message box 404 shown in FIG. 4 that is transparently displayed, wherein message content "I intend to week" that the display box covers may be directly displayed, and message content that the display box does not cover is directly hidden.
In another example, as shown in fig. 5, a message interface 501 includes a message box 502, where the message box 502 includes a communication message hiding message content. When the electronic device receives a long press input from the user to the message box 502, a display box 505 is displayed in a message box 504 of the message interface 503 in response to the long press input, and the display box 505 is an opaque display. The display frame 505 may move in the message frame 504 relative to the communication message, as shown in fig. 5, in which the message content covered by the display frame 505 is displayed in real time during the moving process, and the message content not covered by the display frame 505 is hidden, i.e. is in a invisible state.
In the embodiment of the disclosure, the electronic device can display part of the message content of the communication message through the movable display frame, so that the visualization of the part of the message content is realized, and the fact that the message content of the communication message cannot be completely displayed at the same time in the process of checking the message content by a user is ensured. Therefore, other users cannot see all the message contents through one-time peeping, so that the privacy of the message contents is ensured to a great extent, and the safety of the message contents is improved.
In some embodiments of the present disclosure, the method further comprises any one of: determining a length of the display frame based on a ratio of the length of the message frame to a preset length in response to the first input; in response to the first input, determining a length of the display frame based on a target number of characters in the communication message, wherein the target number is determined based on the number of characters in the communication message and a preset character ratio value.
Wherein, preset length ratio and preset character ratio can all be set according to specific needs, and this application does not specifically limit here.
In one example of the present disclosure, the preset length ratio may be 1/2, and the length of the display frame may be half the length of the message frame.
In another example of the present disclosure, the preset character ratio may be 1/3, and the number of characters in the message content "i intend for Saturday to go to the library" is 12, and the target number is calculated to be 4, so that the length of the display frame is determined based on 4 characters, so that the display frame may display 4 characters. As shown in fig. 4, part of the message content "i intend to go around" of the communication message can be displayed in the transparent display frame of the chat interface, and the rest of the message content "six parcels to go to library" is hidden.
In another example of the present disclosure, the preset character ratio is 1/2, and the message content "you pay 500.00 yuan successfully through XXAPP this time. "the number of characters in is 22, the target number is 11, and therefore the length of the display frame is determined based on 11 characters, so that the display frame can display 11 characters. Therefore, the electronic device can display part of message content of the communication message, namely 'you are finished by XXAPP' in the display frame, and the rest of message content is '500.00 yuan' successfully paid. "hidden".
Therefore, the immobilization of the displayed character quantity can be avoided, for example, N characters are fixedly displayed no matter what the character quantity is contained in the message content, and poor message readability can be caused, so that the size of a display frame and the quantity of the displayed characters can be flexibly adjusted through the character quantity in the message content, and the message readability can be effectively improved.
In some embodiments of the present disclosure, the display frame moves in the message frame relative to the communication message, which may specifically include: the display frame is moved from the head end of the communication message to the end of the communication message based on a preset timer.
The preset timer can be set by default or user definition for the system.
For example, the preset timer may be 2s by default for the system, or 3s by user-defined settings.
In one example, the preset timer is set to 2s, then the display frame automatically moves every 2s, moving like a ticker from the head end "me" to the end "museum" of the communication message.
The size of the display frame may or may not be changed during the movement of the display frame.
In the embodiment of the disclosure, the display frame can automatically move based on the preset timer without manual operation of a user. Because the display frame can be moved from the head end of the communication message to the tail end of the communication message based on the timer, the user can check the complete message content of the communication message in the moving process of the display frame, the confidentiality of the message content is ensured, and meanwhile, the readability of the communication message is ensured, so that the user can effectively check the communication message.
In some embodiments of the present disclosure, the display frame is moved from a head end of the communication message to a tail end of the communication message based on a preset timer, which may specifically include: when the preset timer arrives, the display frame moves a preset distance, wherein the preset distance can be set according to specific requirements.
For example, the preset distance may be a length of 3 characters as shown in fig. 5.
In other embodiments of the present disclosure, to enhance the interest of information display, the display frame moves in the message frame relative to the communication message, which may specifically include: the display frame is moved from the end of the communication message to the head of the communication message based on a preset timer.
In some embodiments of the present disclosure, in order to implement controllable visual range of message content of a communication message, a display frame moves in a message box relative to the communication message, and may specifically include the following steps: receiving a second input of a user to the display frame; in response to the second input, the display box moves in the message box relative to the communication message.
The second input may be a movement input, a drag input, a sliding input, or the like of the display frame by the user, which is not specifically limited herein.
In one example of the present disclosure, as shown in fig. 6, a message interface 601 includes a message box 602, and a display box 603 is included in the message box 602. Wherein the message content covered by the display box 603 is visible "i intend for Saturday", and the message content not covered by the display box 603 is not visible. When the electronic device receives a movement input of the user to the display frame 603, the display frame 603 is moved in response to the movement input, and simultaneously, the message content displayed in the display frame 603 is changed, the message content 'Saturday with small Ming' in the display frame 603 is visible, and the message content 'i intend' displayed before is hidden.
Thus, since the message content covered by the display frame is normally displayed, the user can control the visual range of the message content by manipulating the position of the display frame in the message frame. Therefore, the message content can not be completely displayed, and the user can check all the message content in the process of controlling the movement of the display frame, so that the use experience of the user is improved.
In some embodiments of the present disclosure, to further improve information security, the method may further include the steps of: after the display frame is moved to a preset time period at the end of the communication message, hiding the message content of the communication message based on a preset hiding mode.
The preset duration may be default or user-defined.
Illustratively, the preset time period may be 5s, and after the display box 505 in FIG. 5 moves to 5s of the communication message end "library", the entire message content of the communication message, "I intend Saturday with little-to-clear library", is hidden.
In the disclosed embodiments, the user has viewed the entire message content of the communication message with the display box moved to the end of the communication message. Therefore, after the preset duration, the message content of the communication message can be hidden, the risk that the message content is peeped is reduced, and the safety of personal information of a user is further improved.
In some embodiments of the present disclosure, step 220 may specifically include: receiving a first input of a user to a message box or a target control in a message interface; step 230 may specifically include: and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
Illustratively, as shown in FIG. 5, the first input may be a long press input by the user to message box 502, in response to which the electronic device decrypts the message content covered by display box 505 and displays the decrypted message content "I intend Saturday follows".
In the embodiment of the disclosure, after the electronic device decrypts the message content covered by the display frame, the decrypted message content can be displayed, so that part of the message content of the communication message is displayed, and a user can effectively view the message content.
In some embodiments of the present disclosure, the message interface may include a message box that, in response to a first input, displays a portion of message content of the communication message, may include: in response to the first input, message content of the communication message is scrolled in the message box.
In one example of the present disclosure, as shown in fig. 7, a message interface 701 includes a message box 702. Wherein the message content of the communication message in the message box 702 may be scrolled in the message box 702 like a barrage.
Therefore, the message content can be ensured not to be completely snooped anytime and anywhere by scrolling the message content, the information leakage risk of the message content is effectively reduced, and the safety of personal information of a user is improved.
It should be noted that, in addition to scrolling, the message content of the communication message may be displayed in the message box based on other display modes, and the display principle is that only part of the message content is displayed in the message box at the same time.
In some embodiments of the present disclosure, after S130, the method may further include the steps of: receiving a third input to the message interface; in response to the third input, the entire message content of the communication message is displayed.
The third input is used for triggering the communication message to be switched to a normal display state, and under the normal display state, all message contents of the communication message can be normally displayed. The third input may be any one of click input, slide input, double click input, long press input, etc. of a message box, a communication message, and a control in the message interface, which is not specifically limited herein.
Illustratively, as shown in fig. 8, when the chat interface 801 displays only a partial message content "i intend to go around" of the communication message, the chat interface 801 includes a control 802 for switching a display state of the communication message, and when the electronic device receives a click input of the control 802 by the user, the entire message content "i intend to go to the library by Saturday" of the communication message is displayed in response to the click input.
In the embodiment of the disclosure, the electronic device can display all message contents of the communication message by receiving the display state of the user input switching communication message, so as to improve the diversity of message display. Thus, when the user receives the emergency message, the user can effectively view the message content in time.
Based on the information display method, the disclosure also provides an information display device. This is specifically described with reference to fig. 9.
Fig. 9 is a block diagram of an information display apparatus according to an exemplary embodiment. Referring to fig. 9, the information display apparatus 900 may include a hiding module 910, a receiving module 920, and a display module 930.
Wherein, the hiding module 910 is configured to hide, when the electronic device is detected to receive the communication message, the message content of the communication message based on a preset hiding manner at the message interface;
a receiving module 920 configured to perform receiving a first input of a user to the message interface;
the display module 930 is configured to perform displaying a portion of the message content of the communication message in response to the first input.
According to the information display device provided by the embodiment of the disclosure, when the electronic equipment is detected to receive the communication message, the message content of the communication message is hidden on the message interface based on the preset hiding mode. Based on this, when a first input of a user to a message interface is received, a portion of message content of the communication message is displayed in response to the first input. Therefore, the received communication message is automatically hidden through the electronic equipment, so that the communication message can be prevented from being snooped by surrounding people, meanwhile, when a user operates the message interface, only part of message content of the communication message is displayed, the message content is not completely displayed, the information leakage risk of the message content is effectively reduced, and the safety of personal information of the user is improved. Therefore, the embodiment of the disclosure can solve the problems of easy disclosure of the personal information of the user and low safety of the personal information of the user in the related technology.
In some embodiments of the present disclosure, the message interface includes a message box, and the display module 930 is specifically configured to perform: in response to the first input, displaying a display frame in the message frame; the display frame moves in the message frame relative to the communication message, and the message content covered by the display frame is displayed in real time in the moving process, so that the message content uncovered by the display frame is hidden.
In the embodiment of the disclosure, the electronic device can display part of the message content of the communication message through the movable display frame, so that the visualization of the part of the message content is realized, and the fact that the message content of the communication message cannot be completely displayed at the same time in the process of checking the message content by a user is ensured. Therefore, other users cannot see all the message contents through one-time peeping, so that the privacy of the message contents is ensured to a great extent, and the safety of the message contents is improved.
In some embodiments of the present disclosure, the display module 930 is specifically configured to perform: the display frame is moved from the head end of the communication message to the end of the communication message based on a preset timer.
In the embodiment of the disclosure, the display frame can automatically move based on the preset timer without manual operation of a user. Because the display frame can be moved from the head end of the communication message to the tail end of the communication message based on the timer, the user can check the complete message content of the communication message in the moving process of the display frame, the confidentiality of the message content is ensured, and meanwhile, the readability of the communication message is ensured, so that the user can effectively check the communication message.
In some embodiments of the present disclosure, the display module 930 includes: a receiving unit configured to perform receiving a second input of the display frame by the user; and a display unit configured to perform a movement of the display frame in the message frame relative to the communication message in response to the second input.
Thus, since the message content covered by the display frame is normally displayed, the user can control the visual range of the message content by manipulating the position of the display frame in the message frame. Therefore, the message content can not be completely displayed, and the user can check all the message content in the process of controlling the movement of the display frame, so that the use experience of the user is improved.
In some embodiments of the present disclosure, the apparatus further comprises: a determination module configured to perform any one of: determining a length of the display frame based on a ratio of the length of the message frame to a preset length in response to the first input; in response to the first input, determining a length of the display frame based on a target number of characters in the communication message, wherein the target number is determined based on the number of characters in the communication message and a preset character ratio value.
In some embodiments of the present disclosure, the receiving module 920 is specifically configured to perform: receiving a first input of a user to a message box or a target control in a message interface; the display module 930 is specifically configured to perform: and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
In some embodiments of the present disclosure, the hiding module is further configured to hide the message content of the communication message based on a preset hiding manner after the display frame is moved to a preset duration of the end of the communication message.
In the disclosed embodiments, the user has viewed the entire message content of the communication message with the display box moved to the end of the communication message. Therefore, after the preset duration, the message content of the communication message can be hidden, the risk that the message content is peeped is reduced, and the safety of personal information of a user is further improved.
In some embodiments of the present disclosure, the message interface includes a message box, and the display module 930 is specifically configured to perform: in response to the first input, message content of the communication message is scrolled in the message box.
Therefore, the message content can be ensured not to be completely snooped anytime and anywhere by scrolling the message content, the information leakage risk of the message content is effectively reduced, and the safety of personal information of a user is improved.
In some embodiments of the present disclosure, the receiving module 920 is further configured to perform receiving a third input to the message interface after displaying the partial message content of the communication message; the display module 930 is further configured to perform displaying the entire message content of the communication message in response to the third input.
In the embodiment of the disclosure, the electronic device can display all message contents of the communication message by receiving the display state of the user input switching communication message, so as to improve the diversity of message display. Thus, when the user receives the emergency message, the user can effectively view the message content in time.
In some embodiments of the present disclosure, the preset hiding manner includes any one of the following: performing mosaic processing on the message content of the communication message; encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message; and covering a display area of the message content of the communication message by using a preset control.
In the embodiment of the disclosure, when the electronic equipment is detected to receive the communication message, the electronic equipment can automatically hide the message content of the communication message through a mosaic, a preset encryption algorithm and a preset control, so that the situation that the message content is directly displayed on an interface after the message content is received, and the safety of personal information of a user is improved under the condition that the message content is snooped by surrounding people is avoided.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 10 is a block diagram of an electronic device, according to an example embodiment. Referring to fig. 10, the disclosed embodiment also provides an electronic device including a processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040, where the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other via the communication bus 1040.
The memory 1030 is used for storing instructions executable by the processor 1010.
The processor 1010 is configured to execute instructions stored in the memory 1030, and implement the following steps:
when the electronic equipment is detected to receive the communication message, hiding the message content of the communication message on the message interface based on a preset hiding mode;
receiving a first input of a user to a message interface;
in response to the first input, a portion of message content of the communication message is displayed.
Therefore, when the embodiment of the disclosure is applied, the message content of the communication message can be hidden on the message interface based on a preset hiding mode when the electronic device is detected to receive the communication message. Based on this, when a first input of a user to a message interface is received, a portion of message content of the communication message is displayed in response to the first input. Therefore, the received communication message is automatically hidden through the electronic equipment, so that the communication message can be prevented from being snooped by surrounding people, meanwhile, when a user operates the message interface, only part of message content of the communication message is displayed, the message content is not completely displayed, the information leakage risk of the message content is effectively reduced, and the safety of personal information of the user is improved.
Fig. 11 is a block diagram illustrating an apparatus for an information display method according to an exemplary embodiment. For example, the device 1100 may be provided as an electronic device. Referring to FIG. 11, electronic device 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by processing component 1122. The application programs stored in memory 1132 may include one or more modules each corresponding to a set of instructions. Further, processing component 1122 is configured to execute instructions to perform the information display method of any of the embodiments described above.
The device 1100 can also include a power component 1126 configured to perform power management of the device 1100, a wired or wireless network interface 1150 configured to perform connecting the device 1100 to a network, and an input-output (I/O) interface 1158. The device 1100 may operate based on an operating system stored in the memory 1132, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In some embodiments of the present disclosure, there is also provided a storage medium, which when executed by a processor of a server, enables the server to perform the information display method described in any one of the above embodiments.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be a computer-readable Memory (ROM), a random access Memory (Random Access Memory, RAM), a compact disc (Compact Disc Read-Only Memory, CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like, by way of example.
In some embodiments of the present disclosure, a computer program product is also provided, which when executed by a processor of an electronic device, enables the electronic device to perform the information display method according to any one of the embodiments described above.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. An information display method, comprising:
when the electronic equipment is detected to receive a communication message, hiding the message content of the communication message on the basis of a preset hiding mode in a message interface;
receiving a first input of a user to the message interface;
displaying partial message content of the communication message in response to the first input;
the message interface includes a message box, and the displaying of a portion of the message content of the communication message in response to the first input includes:
Displaying a display frame in the message frame in response to the first input;
the display frame moves in the message frame relative to the communication message, and message contents covered by the display frame are displayed in real time in the moving process, and message contents which are not covered by the display frame are hidden;
the method further comprises any one of the following:
determining a length of a display frame based on a ratio of the length of the message frame to a preset length in response to the first input;
and responding to the first input, and determining the length of the display frame based on a target number of characters in the communication message, wherein the target number is determined according to the number of characters in the communication message and a preset character ratio value.
2. The method of claim 1, wherein the display frame moves in the message frame relative to the communication message, comprising:
the display frame is moved from the head end of the communication message to the tail end of the communication message based on a preset timer.
3. The method of claim 1, wherein the display frame moves in the message frame relative to the communication message, comprising:
receiving a second input of the user to the display frame;
In response to the second input, the display box moves within the message box relative to the communication message.
4. The method according to claim 1, characterized in that:
the receiving a first input from a user to the message interface includes:
receiving a first input of a message box or a target control in the message interface by the user;
the displaying, in response to the first input, a portion of message content of the communication message, comprising:
and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
5. The method according to claim 2, wherein the method further comprises:
and hiding the message content of the communication message based on the preset hiding mode after the display frame moves to the preset duration of the tail end of the communication message.
6. The method of claim 1, wherein the message interface includes a message box, and wherein the displaying the partial message content of the communication message in response to the first input comprises:
in response to the first input, message content of the communication message is scrolled in the message box.
7. The method of any of claims 1-6, wherein after the displaying the partial message content of the communication message in response to the first input, the method further comprises:
receiving a third input to the message interface;
and displaying the whole message content of the communication message in response to the third input.
8. The method according to any one of claims 1-6, wherein the preset concealing means comprises any one of:
performing mosaic processing on the message content of the communication message;
encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message;
and covering a display area of the message content of the communication message by using a preset control.
9. An information display device, comprising:
the hiding module is configured to hide message content of the communication message based on a preset hiding mode at a message interface when the electronic device is detected to receive the communication message;
a receiving module configured to perform receiving a first input by a user to the message interface;
a display module configured to perform displaying a portion of message content of the communication message in response to the first input;
The message interface includes a message box, and the display module is specifically configured to perform:
displaying a display frame in the message frame in response to the first input;
the display frame moves in the message frame relative to the communication message, and message contents covered by the display frame are displayed in real time in the moving process, and message contents which are not covered by the display frame are hidden;
the apparatus further includes a determination module configured to perform any one of:
determining a length of a display frame based on a ratio of the length of the message frame to a preset length in response to the first input;
and responding to the first input, and determining the length of the display frame based on a target number of characters in the communication message, wherein the target number is determined according to the number of characters in the communication message and a preset character ratio value.
10. The apparatus of claim 9, wherein the display module is specifically configured to perform:
the display frame is moved from the head end of the communication message to the tail end of the communication message based on a preset timer.
11. The apparatus of claim 9, wherein the display module comprises:
A receiving unit configured to perform receiving a second input of the user to the display frame;
and a display unit configured to perform a movement of the display frame in the message frame relative to the communication message in response to the second input.
12. The apparatus according to claim 9, wherein:
the receiving module is specifically configured to perform:
receiving a first input of a message box or a target control in the message interface by the user;
the display module is specifically configured to perform:
and decrypting the message content covered by the display frame in response to the first input, and displaying the decrypted message content.
13. The apparatus according to claim 10, wherein:
the hiding module is further configured to hide the message content of the communication message based on the preset hiding mode after the display frame moves to a preset duration of the end of the communication message.
14. The apparatus of claim 9, wherein the message interface comprises a message box, the display module being specifically configured to perform:
in response to the first input, message content of the communication message is scrolled in the message box.
15. The apparatus according to any one of claims 9-14, wherein:
the receiving module is further configured to perform receiving a third input to the message interface after the displaying of the partial message content of the communication message;
the display module is further configured to perform displaying the entire message content of the communication message in response to the third input.
16. The apparatus according to any one of claims 9-14, wherein the preset concealing means comprises any one of:
performing mosaic processing on the message content of the communication message;
encrypting the message content of the communication message by using a preset encryption algorithm, and displaying the encrypted communication message;
and covering a display area of the message content of the communication message by using a preset control.
17. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information display method of any one of claims 1-8.
18. A computer readable storage medium, characterized in that instructions in the readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information display method of any one of claims 1-8.
CN202110807905.XA 2021-07-16 2021-07-16 Information display method, apparatus, device, storage medium, and program product Active CN113630305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110807905.XA CN113630305B (en) 2021-07-16 2021-07-16 Information display method, apparatus, device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110807905.XA CN113630305B (en) 2021-07-16 2021-07-16 Information display method, apparatus, device, storage medium, and program product

Publications (2)

Publication Number Publication Date
CN113630305A CN113630305A (en) 2021-11-09
CN113630305B true CN113630305B (en) 2023-06-23

Family

ID=78380019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110807905.XA Active CN113630305B (en) 2021-07-16 2021-07-16 Information display method, apparatus, device, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN113630305B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016079019A1 (en) * 2014-11-17 2016-05-26 Thomson Licensing Data processing apparatus and method for assigning a review state to an electronic message
CN107096230A (en) * 2016-02-19 2017-08-29 网易(杭州)网络有限公司 Message display processing method and device
CN110377193A (en) * 2016-05-18 2019-10-25 苹果公司 Using confirmation option in graphical messages transmission user interface
CN111522610A (en) * 2020-03-27 2020-08-11 口碑(上海)信息技术有限公司 Information display method, device and equipment
CN111555961A (en) * 2020-04-24 2020-08-18 北京达佳互联信息技术有限公司 Message display method and device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677426B1 (en) * 2005-01-14 2007-02-02 엘지전자 주식회사 Short message display method for mobile communication device
CN102025815B (en) * 2010-11-03 2013-06-12 东莞宇龙通信科技有限公司 Screen display method and system for mobile terminal and mobile terminal
US9245259B2 (en) * 2011-01-14 2016-01-26 Apple Inc. Presenting E-mail on a touch device
CN103186331B (en) * 2011-12-28 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of intelligent terminal's interface display method and system
US20150007351A1 (en) * 2013-06-27 2015-01-01 Maher Janajri Mobile Messaging Enhanced with Concealable and Selectively Revealable Text, Image, and Video Messages
US20150082255A1 (en) * 2013-09-16 2015-03-19 Motorola Mobility Llc Methods and apparatus for displaying notification information
US9648001B2 (en) * 2013-09-17 2017-05-09 Confide Inc. Secure messaging
CN104050422B (en) * 2014-06-10 2018-01-05 腾讯科技(深圳)有限公司 Show the method and device of the information content
US20160011731A1 (en) * 2014-07-11 2016-01-14 Blackberry Limited System and Method for Revealing Content on an Electronic Device Display
CN104966030B (en) * 2015-06-19 2018-03-23 深圳天珑无线科技有限公司 information security processing method and device and mobile terminal
US10387675B2 (en) * 2017-03-08 2019-08-20 Blackberry Limited Indirect indications for applying display privacy filters
CN107194268A (en) * 2017-06-30 2017-09-22 珠海市魅族科技有限公司 A kind of information processing method, device, computer installation and readable storage medium storing program for executing
CN109101833B (en) * 2018-08-02 2021-03-23 Oppo广东移动通信有限公司 Content display method, content display device, storage medium and electronic equipment
CN110798394A (en) * 2018-08-03 2020-02-14 腾讯科技(深圳)有限公司 Instant messaging message display method and device
GB201908772D0 (en) * 2019-06-19 2019-07-31 Jigtalk App Ltd JigTalk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016079019A1 (en) * 2014-11-17 2016-05-26 Thomson Licensing Data processing apparatus and method for assigning a review state to an electronic message
CN107096230A (en) * 2016-02-19 2017-08-29 网易(杭州)网络有限公司 Message display processing method and device
CN110377193A (en) * 2016-05-18 2019-10-25 苹果公司 Using confirmation option in graphical messages transmission user interface
CN111522610A (en) * 2020-03-27 2020-08-11 口碑(上海)信息技术有限公司 Information display method, device and equipment
CN111555961A (en) * 2020-04-24 2020-08-18 北京达佳互联信息技术有限公司 Message display method and device

Also Published As

Publication number Publication date
CN113630305A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN105849743B (en) User terminal device, communication system, and control method thereof
US10659408B2 (en) Media information release method, system, and computer storage medium
EP2857931A1 (en) Application program interface display method, device, terminal and readable storage medium
CN108491124B (en) Interface processing method and equipment, storage medium and terminal thereof
CN106650467B (en) Data encryption method, mobile terminal and system
US20170371501A1 (en) Information sharing method, terminal, and storage medium
KR101429582B1 (en) Method and device for activating security function on chat area
US11829588B2 (en) Method, apparatus, and system for generating resource value transfer request
WO2022242376A1 (en) Message processing method and apparatus, and device, storage medium and program product
EP3190774B1 (en) Interface sharing method and terminal device
CN106708354B (en) Instant messaging method and client
CN114911442A (en) Screen projection method, screen projection device, terminal, equipment, computer medium and program product
CN113630305B (en) Information display method, apparatus, device, storage medium, and program product
CN111581664B (en) Information protection method and device
CN111368329A (en) Message display method and device, electronic equipment and storage medium
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN113965640B (en) Message processing method and device
CN114124462B (en) Verification code transmission method and device, electronic equipment and storage medium
CN113835820A (en) Graphic code display method and device
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN112311651A (en) Cross-client communication method and device, electronic equipment and storage medium
CN112637195A (en) Method and device for controlling electronic equipment and electronic equipment
CN106909857B (en) Information output display method and device and user equipment
CN105988758B (en) Display mode adjusting method and electronic equipment
CN115695352A (en) Information transmission method and information transmission device

Legal Events

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