CN113630305A - Information display method, device, equipment, storage medium and program product - Google Patents

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

Info

Publication number
CN113630305A
CN113630305A CN202110807905.XA CN202110807905A CN113630305A CN 113630305 A CN113630305 A CN 113630305A CN 202110807905 A CN202110807905 A CN 202110807905A CN 113630305 A CN113630305 A CN 113630305A
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.)
Granted
Application number
CN202110807905.XA
Other languages
Chinese (zh)
Other versions
CN113630305B (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 detecting that the electronic equipment receives the communication message, hiding the message content of the communication message based on a preset hiding mode on a message interface; 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 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 can be solved.

Description

Information display method, device, equipment, 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) refers to a service capable of instantly sending and receiving internet messages and the like. With the wider application of instant messaging, various types of instant messaging application programs are developed, so that a user can communicate and interact with other users at any time.
In the related art, a user may receive a communication message through an instant messaging application at any time and any place, and display the received communication message through a screen of a user terminal. However, when there are other people around the user, the communication message displayed on the screen of the user terminal risks being snooped by the people around, which easily causes leakage of personal information of the user, and the security of the personal information of the user is not high.
Disclosure of Invention
The present disclosure provides an information display method, apparatus, device, storage medium, and program product to at least solve the problems in the related art that user personal information is easily leaked and security of the user personal information is not high.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information display method including: when detecting that the electronic equipment receives the communication message, hiding the message content of the communication message based on a preset hiding mode on a message interface; 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, and in response to the first input, displays a part of message content of the communication message, including: displaying a display frame in the message frame in response to the first input; the display frame moves relative to the communication message in the message frame, the message content covered by the display frame is displayed in real time in the moving process, and the message content uncovered by the display frame is hidden.
As an implementation manner of the first aspect, the moving of the display frame in the message frame relative to the communication message includes: 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 moving of the display frame in the message frame relative to the communication message includes: receiving a second input of the 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: determining a length of the display frame based on the length of the message frame and a preset length ratio in response to a first input; in response to the first input, a length of the display box is determined 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.
As an implementation manner of the first aspect, receiving a first input of a message interface from 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 a first input, displaying a portion of message content of a communication message, comprising: and responding to the first input, decrypting the message content covered by the display frame, and displaying the decrypted message content.
As an implementation manner of the first aspect, the method further includes: and after the display frame moves to the preset duration of the tail 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, and in response to the first input, displays a part of message content of the communication message, including: in response to the first input, message content of the communication message is scroll displayed in a message box.
As an implementation manner of the first aspect, after displaying a part of 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 a third input, the full message content of the communication message is displayed.
As an implementation manner of the first aspect, the preset hiding manner includes any one of: conducting 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 the preset control.
According to a second aspect of the embodiments of the present disclosure, there is provided an information display device including: the hiding module is configured to hide message content of the communication message based on a preset hiding mode in a 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: displaying a display frame in the message frame in response to the first input; the display frame moves relative to the communication message in the message frame, the message content covered by the display frame is displayed in real time in the moving process, and 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 implementable 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; a display unit configured to perform a movement of the display frame in the message frame with respect to the communication message in response to a second input.
As an implementable manner of the second aspect, the apparatus further comprises a determination module configured to perform any of: determining a length of the display frame based on the length of the message frame and a preset length ratio in response to a first input; in response to the first input, a length of the display box is determined 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.
As an implementable 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 responding to the first input, decrypting the message content covered by the display frame, and displaying the decrypted message content.
As an implementation manner of the second aspect, the hiding module is further configured to perform hiding the message content of the communication message based on a preset hiding manner after the display frame moves to the 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 scroll displayed in a 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 a part of message content of the communication message; a display module further configured to perform displaying the entire message content of the communication message in response to a third input.
As an implementation manner of the second aspect, the preset hiding manner includes any one of the following: conducting 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 the preset control.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the information display method as described in the first aspect or an implementable manner of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having instructions that, when executed by a processor of an electronic device, enable the electronic device to perform an information display method as in the first aspect or an implementable manner of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the information display method according to 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 it is detected that the electronic device receives the communication message, the message content of the communication message is hidden on the message interface based on a preset hiding mode. Based thereon, when a first input to the messaging interface by the user is received, a portion of the 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, 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 displayed completely, 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 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 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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow chart illustrating an information display method according to an example embodiment.
FIG. 2 is one of the schematic diagrams of an information display interface shown in accordance with an exemplary embodiment.
FIG. 3 is a second schematic diagram of an information display interface, according to an example embodiment.
FIG. 4 is a third schematic diagram of an information display interface shown in accordance with an exemplary embodiment.
FIG. 5 is a fourth schematic diagram of an information display interface, shown in accordance with an exemplary embodiment.
FIG. 6 is a fifth schematic diagram of an information display interface, shown in accordance with an exemplary embodiment.
FIG. 7 is a sixth schematic view of an information display interface shown in accordance with an exemplary embodiment.
FIG. 8 is a seventh illustration of an information display interface, shown in accordance with an exemplary embodiment.
Fig. 9 is a block diagram illustrating an information display apparatus according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating an electronic device in accordance with 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 make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in 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 above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, a user may receive a communication message through an instant messaging application at any time and any place, and display the received communication message through a screen of a user terminal. However, when there are other people around the user, the communication message displayed on the screen of the user terminal risks being snooped or recorded by surrounding people, which easily causes leakage of personal information of the user, and the security of the personal information of the user is not high.
In order to solve the problems 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 information display device, an information display apparatus, a storage medium, and a program product, which can hide the message content of a communication message based on a preset hiding manner in a message interface when it is detected that the electronic device receives the communication message. Based thereon, when a first input to the messaging interface by the user is received, a portion of the 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, 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, which may be applied to an electronic device, according to an exemplary embodiment. It should be noted that the above-mentioned executing body does not constitute a limitation of the present disclosure.
As shown in fig. 1, the information display method may include S110-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 on 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: conducting 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 the preset control.
The preset control may be an image, a text, an icon, or the like, and the application is not limited in this respect.
For example, the electronic device may overlay the message content of the communication message with the preset words "1 piece of text information", "check in the latest notification message", "XXAPP notification message", and so on.
Illustratively, the preset Encryption algorithm may be a hash algorithm, an Advanced Encryption Standard (AES), a Data Encryption Standard (DES), a stream Encryption algorithm (RC4), a rabbitt algorithm, a TripleDes algorithm, or the like.
In the embodiment of the disclosure, when it is detected that the electronic device receives the communication message, the electronic device may perform automatic hiding processing on the message content of the communication message through the mosaic, the preset encryption algorithm and the preset control, so as to avoid a situation that the message content is snooped by surrounding people due to direct display on an interface after the message content is received, and improve the security of personal information of a user.
In some embodiments of the present disclosure, the communication message may be a short message sent by a contact, a chat message, or the like, or may also be a system notification message, an application notification message, or the like received by the electronic device, such as a notification message of a memo reminding notification, a money deduction notification, a transaction notification, or the like.
In some embodiments of the present disclosure, S110 may specifically include: when the electronic equipment is detected to receive the communication message and the electronic equipment is in the hidden message mode, hiding the message content of the communication message on the message interface based on a preset hidden mode.
It should be noted that, the electronic device may include a hidden message mode and a displayed message mode, and the user may manually turn on the hidden message mode or the displayed message mode on a setting interface of the electronic device. In the hidden message mode, the electronic equipment directly hides the message content after receiving the communication message; in the message display mode, the electronic device normally displays message content after receiving a 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 limited in this application.
In some embodiments of the present disclosure, the message interface may include a message box, and S120 may specifically include: a first input of 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 to 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, the message content of the communication message in the message box 202 is hidden, and the first input may be a long press input of the message box 202 by the 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: receiving a first input of a user to a preset area in a message interface.
The preset area can be any area of the message interface, and the user operation on the preset area can trigger the display of part of the message content of the communication message.
In one example of the present disclosure, as shown in fig. 3, the message interface 301 includes a communication message 302 of 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 still other embodiments of the present disclosure, the message interface may include a target control associated with the communication message, where the target control may be used to trigger a part of message content of the communication message to be displayed, and S120 may specifically include: a first input of a target control in a message interface by a user is received.
In one example of the present disclosure, as shown in fig. 4, the message interface 401 includes a communication message 402 of hidden message content and a target control 403 associated with the communication message 402, and the first input may be a click input of the target control 403 by a user.
And S130, responding to the first input, and displaying part of message content of the communication message.
As an example of the present disclosure, the communication message is a chat message, and as shown in fig. 4, when the electronic device receives a click input of a user on a target control 403 displayed by a message interface 401, in response to the click input, a part of message content "i intend to week" of the communication message 402 is displayed on the chat interface, and the rest of the message content of the communication message 402 is hidden.
It should be noted that, a specific implementation manner of the above-mentioned S130 will be described below with reference to a specific embodiment.
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 thereon, when a first input to the messaging interface by the user is received, a portion of the 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, 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 displayed completely, the information leakage risk of the message content is effectively reduced, and the safety of personal information of the user is improved.
Referring to the specific embodiment, the above S130 is described in detail, and part of the 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: displaying a display frame in the message frame in response to the first input; the display frame moves relative to the communication message in the message frame, the message content covered by the display frame is displayed in real time in the moving process, and 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, semi-transparent display, or opaque display, which is not specifically limited herein.
In one example, the message frame 404 shown in fig. 4 may include a display frame that is transparently displayed, wherein the message content "i intend to week" covered by the display frame may be directly displayed, and the message content not covered by the display frame is directly hidden.
In another example, as shown in FIG. 5, the message interface 501 includes a message box 502, where the message box 502 includes communication messages that hide message content. When the electronic device receives a long press input of the user to the message box 502, a display box 505 is displayed in the message box 504 of the message interface 503 in response to the long press input, the display box 505 being an opaque display. The display frame 505 can move relative to the communication message in the message frame 504, as shown in fig. 5, the message content covered by the display frame 505 is displayed in real time during the moving process, and the message content uncovered by the display frame 505 is hidden, i.e. invisible.
In the embodiment of the disclosure, the electronic device can display part of the message content of the communication message through the mobile display frame, so that the visualization of the part of the message content is realized, and the message content of the communication message cannot be completely displayed at the same time in the process of viewing the message content by a user. Therefore, other users cannot snoop and see all message contents at one time, the privacy of the message contents is guaranteed to a great extent, and the safety of the message contents is improved.
In some embodiments of the disclosure, the method further comprises any one of: determining a length of the display frame based on the length of the message frame and a preset length ratio in response to a first input; in response to the first input, a length of the display box is determined 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.
The preset length ratio and the preset character ratio can be set according to specific requirements, and the application is not specifically limited.
In one example of the present disclosure, the preset length ratio may be 1/2, and the length of the display box may be half the length of the message box.
In another example of the present disclosure, the preset character ratio may be 1/3, the number of characters in the message content "i intend to go to saturday and mingmuir library" is 12, and the target number is calculated to be 4, so that the length of the display frame is determined based on the 4 characters so that the display frame can display the 4 characters. As shown in fig. 4, a part of message content "i intend for week" of the communication message may be displayed in the transparent display frame of the chat interface, and the rest of message content "six minutes and little to go to the library" is hidden.
In another example of the present disclosure, the preset character ratio is 1/2, and the message content "you pay this time for 500.00 yuan successfully through XXAPP. "the number of middle characters is 22, and the target number is 11, so 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 contents of the communication message, "you do this time through XXAPP", and the rest of message contents, "successfully pay 500.00 yuan", in the display frame. "is hidden.
Therefore, the method can avoid the fixation of the number of the displayed characters, for example, no matter the number of the characters contained in the message content, N characters are fixedly displayed, which can cause poor message readability, so that the size of the display frame and the number of the displayed characters can be flexibly adjusted through the number of the characters in the message content, and the message readability can be effectively improved.
In some embodiments of the present disclosure, the moving of the display frame in the message frame relative to the communication message 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 may be set by default or by user.
For example, the preset timer may be 2s as default for the system, or 3s as custom set by the user.
In one example, the preset timer is set to 2s, and the display frame is automatically moved every 2s, like a ticker, from the head end "me" of the communication message to the end "museum".
In the process of moving the display frame, the size of the display frame may or may not be changed.
In the embodiment of the disclosure, the display frame can be automatically moved 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 privacy of the message content is guaranteed, the readability of the communication message is guaranteed, and the user can effectively check the communication message.
In some embodiments of the present disclosure, moving the display frame from the head end of the communication message to the tail end of the communication message based on the preset timer may specifically include: when the preset timer arrives, the display frame moves for 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, in order to increase the interest of information display, the moving of the display frame in the message frame relative to the communication message may specifically include: the display frame is moved from the end of the communication message to the head end of the communication message based on a preset timer.
In some embodiments of the present disclosure, in order to achieve controllable visual range of message content of a communication message, the display frame moves in the message frame relative to the communication message, which may specifically include the following steps: receiving a second input of the 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, and 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, the message interface 601 includes a message box 602, and a display box 603 is included in the message box 602. Wherein, the message content "i intend saturday" covered by the display box 603 is visible, and the message content not covered by the display box 603 is not visible. When the electronic device receives a user's movement input to the display frame 603, in response to the movement input, the display frame 603 is moved, and at the same time, the message content displayed in the display frame changes, the message content "saturday xiaoming" in the display frame 603 is visible, and the previously displayed message content "i intend" is hidden.
In this way, 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: and after the display frame moves to the preset duration of the tail end of the communication message, hiding the message content of the communication message based on a preset hiding mode.
The preset duration may be set by default in the system or by user definition.
Illustratively, the preset duration may be 5s, and after moving to the end of the communication message "library" in fig. 5 by 5s from the display box 505, the entire message content of the communication message "i intend to go to the library on saturday mingmuim" is hidden.
In the disclosed embodiment, 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 the personal information of the 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 responding to the first input, decrypting the message content covered by the display frame, 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 the message box 502, in response to which the electronic device decrypts the message content covered by the display box 505 and displays the decrypted message content "i intend saturday heel".
In the embodiment of the disclosure, after decrypting the message content covered by the display frame, the electronic device can display the decrypted message content, 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 messaging interface may include a message box that, in response to a first input, displays a portion of message content of the communication message, which may include: in response to the first input, message content of the communication message is scroll displayed in a 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 can be scroll-displayed like a bullet screen in the message box 702.
Therefore, the message content is displayed in a rolling mode, the message content can be guaranteed not to be completely snooped at any time and any place, 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 the scroll display, the message content of the communication message may be displayed in the message frame based on other display manners, and the display principle is that only a part of the message content is displayed in the message frame 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 a third input, the full message content of the communication message is displayed.
And the third input is used for triggering the communication message to be switched into a normal display state, and in the normal display state, all message contents of the communication message can be normally displayed. The third input may be a click input, a slide input, a double-click input, a long-press input, and the like of any one of a message box, a communication message, and a control in the message interface by the user, which is not specifically limited herein.
Illustratively, as shown in fig. 8, when the chat interface 801 displays only a part of the message content "i intend to go, the chat interface 801 includes a control 802 for switching the display state of the communication message, and when the electronic device receives a click input of the control 802 by the user, in response to the click input, the entire message content" i intend to go to the library with saturday care "of the communication message is displayed.
In the embodiment of the disclosure, the electronic device can switch the display state of the communication message by receiving the input of the user, display all message contents of the communication message, and improve the diversity of message display. Therefore, 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 will be described with reference to fig. 9.
Fig. 9 is a block diagram illustrating 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.
The hiding module 910 is configured to hide message content of a communication message based on a preset hiding manner in a message interface when detecting that the electronic device receives the communication message;
a receiving module 920 configured to perform receiving a first input of the message interface by the user;
a display module 930 configured to perform displaying a portion of 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 a preset hiding mode. Based thereon, when a first input to the messaging interface by the user is received, a portion of the 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, 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 displayed completely, 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 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 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: displaying a display frame in the message frame in response to the first input; the display frame moves relative to the communication message in the message frame, the message content covered by the display frame is displayed in real time in the moving process, and 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 mobile display frame, so that the visualization of the part of the message content is realized, and the message content of the communication message cannot be completely displayed at the same time in the process of viewing the message content by a user. Therefore, other users cannot snoop and see all message contents at one time, the privacy of the message contents is guaranteed 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 be automatically moved 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 privacy of the message content is guaranteed, the readability of the communication message is guaranteed, and the user can effectively check the communication message.
In some embodiments of the present disclosure, the display module 930 comprises: a receiving unit configured to perform receiving a second input of the display frame by the user; a display unit configured to perform a movement of the display frame in the message frame with respect to the communication message in response to a second input.
In this way, 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 the length of the message frame and a preset length ratio in response to a first input; in response to the first input, a length of the display box is determined 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.
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 responding to the first input, decrypting the message content covered by the display frame, and displaying the decrypted message content.
In some embodiments of the 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 moves to the end of the communication message for a preset duration.
In the disclosed embodiment, 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 the personal information of the 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 scroll displayed in a message box.
Therefore, the message content is displayed in a rolling mode, the message content can be guaranteed not to be completely snooped at any time and any place, 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 switch the display state of the communication message by receiving the input of the user, display all message contents of the communication message, and improve the diversity of message display. Therefore, when the user receives the emergency message, the user can effectively view the message content in time.
In some embodiments of the disclosure, the preset hiding manner includes any one of: conducting 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 the preset control.
In the embodiment of the disclosure, when it is detected that the electronic device receives the communication message, the electronic device may perform automatic hiding processing on the message content of the communication message through the mosaic, the preset encryption algorithm, and the preset control, so as to avoid that the message content is directly displayed on an interface after being received, and thus, the security of the personal information of the user is improved under the condition that the message content is snooped by surrounding people.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment. Referring to fig. 10, an electronic device according to an embodiment of the present disclosure further includes 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 are configured to communicate with each other through the communication bus 1040.
The memory 1030 is configured to store instructions executable by the processor 1010.
The processor 1010, when executing the instructions stored in the memory 1030, implements the following steps:
when detecting that the electronic equipment receives the communication message, hiding the message content of the communication message based on a preset hiding mode on a message interface;
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, by applying the embodiment of the disclosure, when it is detected that the electronic device receives the communication message, the message content of the communication message can be hidden on the message interface based on a preset hiding mode. Based thereon, when a first input to the messaging interface by the user is received, a portion of the 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, 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 displayed completely, 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, that are executable by processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1122 is configured to execute instructions to perform the information display method according to any of the embodiments described above.
The device 1100 may also include a power component 1126 configured to perform power management for 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 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, wherein instructions of the storage medium, when executed by a processor of a server, enable the server to perform the information display method according to any one of the above embodiments.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a computer Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In some embodiments of the present disclosure, a computer program product is also provided, and when instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the information display method according to any one of the above embodiments.
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, 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 for performing 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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An information display method, comprising:
when detecting that the electronic equipment receives the communication message, hiding the message content of the communication message based on a preset hiding mode in a message interface;
receiving a first input of the message interface from a user;
in response to the first input, displaying a portion of message content of the communication message.
2. The method of claim 1, wherein the messaging interface includes a message box, and wherein displaying a portion of message content of the communication message in response to the first input comprises:
displaying a display box in the message box in response to the first input;
the display frame moves relative to the communication message in the message frame, the message content covered by the display frame is displayed in real time in the moving process, and the message content uncovered by the display frame is hidden.
3. The method of claim 2, wherein the display frame is moved 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.
4. The method of claim 2, wherein the display frame is moved 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 in the message box relative to the communication message.
5. The method of claim 2, further comprising any one of:
determining a length of a display frame based on the length of the message frame and a preset length ratio 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 according to the number of characters in the communication message and a preset character ratio.
6. The method of claim 2, wherein:
the receiving a first input of the message interface by a user comprises:
receiving a first input of the user to a message box or a target control in the message interface;
said displaying a portion of message content of said communication message in response to said first input, comprising:
and responding to the first input, decrypting the message content covered by the display frame, and displaying the decrypted message content.
7. An information display device characterized by comprising:
the hiding module is configured to hide message content of the communication message based on a preset hiding mode in a message interface when the electronic device is detected to receive the communication message;
a receiving module configured to perform receiving a first input of the message interface by a user;
a display module configured to perform displaying a portion of message content of the communication message in response to the first input.
8. 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-6.
9. A computer-readable storage medium, wherein 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-6.
10. A computer program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the information display method of any of claims 1-6.
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 true CN113630305A (en) 2021-11-09
CN113630305B 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 (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060158460A1 (en) * 2005-01-14 2006-07-20 Lg Electronics Inc. Message display unit and message display method for mobile communication terminal
CN102025815A (en) * 2010-11-03 2011-04-20 东莞宇龙通信科技有限公司 Screen display method and system for mobile terminal and mobile terminal
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
US20130332850A1 (en) * 2011-01-14 2013-12-12 Apple Inc. Presenting e-mail on a touch device
CN104050422A (en) * 2014-06-10 2014-09-17 腾讯科技(深圳)有限公司 Method and device for displaying information content
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
US20150082391A1 (en) * 2013-09-17 2015-03-19 Confide Inc. Secure Messaging
CN104966030A (en) * 2015-06-19 2015-10-07 深圳天珑无线科技有限公司 Information security processing method and apparatus and mobile terminal
US20160011731A1 (en) * 2014-07-11 2016-01-14 Blackberry Limited System and Method for Revealing Content on an Electronic Device Display
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
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
US20180260581A1 (en) * 2017-03-08 2018-09-13 Blackberry Limited Indirect indications for applying display privacy filters
CN109101833A (en) * 2018-08-02 2018-12-28 Oppo广东移动通信有限公司 Content display method, device, storage medium and electronic equipment
CN110377193A (en) * 2016-05-18 2019-10-25 苹果公司 Using confirmation option in graphical messages transmission user interface
CN110798394A (en) * 2018-08-03 2020-02-14 腾讯科技(深圳)有限公司 Instant messaging message display method and device
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
US20200403956A1 (en) * 2019-06-19 2020-12-24 JigTalk App Limited Revealing information based on user interaction

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060158460A1 (en) * 2005-01-14 2006-07-20 Lg Electronics Inc. Message display unit and message display method for mobile communication terminal
CN102025815A (en) * 2010-11-03 2011-04-20 东莞宇龙通信科技有限公司 Screen display method and system for mobile terminal and mobile terminal
US20130332850A1 (en) * 2011-01-14 2013-12-12 Apple Inc. Presenting e-mail on a touch device
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
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
US20150082391A1 (en) * 2013-09-17 2015-03-19 Confide Inc. Secure Messaging
CN104050422A (en) * 2014-06-10 2014-09-17 腾讯科技(深圳)有限公司 Method and device for displaying information content
US20160011731A1 (en) * 2014-07-11 2016-01-14 Blackberry Limited System and Method for Revealing Content on an Electronic Device Display
WO2016079019A1 (en) * 2014-11-17 2016-05-26 Thomson Licensing Data processing apparatus and method for assigning a review state to an electronic message
CN104966030A (en) * 2015-06-19 2015-10-07 深圳天珑无线科技有限公司 Information security processing method and apparatus and mobile terminal
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
US20180260581A1 (en) * 2017-03-08 2018-09-13 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
CN109101833A (en) * 2018-08-02 2018-12-28 Oppo广东移动通信有限公司 Content display method, device, storage medium and electronic equipment
CN110798394A (en) * 2018-08-03 2020-02-14 腾讯科技(深圳)有限公司 Instant messaging message display method and device
US20200403956A1 (en) * 2019-06-19 2020-12-24 JigTalk App Limited Revealing information based on user interaction
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
CN113630305B (en) 2023-06-23

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
CN106873871A (en) Page screenshot method and apparatus
US20170371501A1 (en) Information sharing method, terminal, and storage medium
CN112732143B (en) Interface processing method and equipment, storage medium and terminal thereof
KR101429582B1 (en) Method and device for activating security function on chat area
US11829588B2 (en) Method, apparatus, and system for generating resource value transfer request
CN111857504A (en) Information display method and device, electronic equipment and storage medium
CN112434338A (en) Picture sharing method and device, electronic equipment and storage medium
CN111277489A (en) Instant messaging sending method, device and equipment
CN106708354B (en) Instant messaging method and client
CN108153457B (en) Message reply method and device
CN112099678B (en) Text processing method and device and computer readable storage medium
CN113630305B (en) Information display method, apparatus, device, storage medium, and program product
CN111368329A (en) Message display method and device, electronic equipment and storage medium
WO2022242376A1 (en) Message processing method and apparatus, and device, storage medium and program product
CN112637195B (en) Method and device for controlling electronic equipment and electronic equipment
CN112311651B (en) Cross-client communication method and device, electronic equipment and storage medium
CN113965640A (en) Message processing method and device
CN106775245B (en) User attribute setting method and device based on virtual reality
CN109428970B (en) Message sending method and processing equipment
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN107566998B (en) Communication identifier processing method and device and terminal
CN115412524B (en) Message processing method, device, electronic equipment and medium
CN113783840B (en) Account login method, device, equipment and storage medium

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