[0056] Example 1
[0057] An embodiment of the present invention provides an information processing method, and the information processing method can be applied to terminals such as mobile phones. The information processing method can be implemented by an application program, and the application program can be installed on a terminal such as a mobile phone.
[0058] The information processing method provided by the embodiment of the present invention can be applied to the protection of information involving user privacy, mobile bank account, Alipay account and the like.
[0059] figure 1 This is an exemplary flowchart of the information processing method provided by the embodiment of the present invention. The flow of the information processing method is applied to a terminal.
[0060] like figure 1As shown, in this embodiment, the information processing method may include the following steps:
[0061] S101, in response to receiving the information of the designated contact, obtain the background color of the current notification bar displaying the information;
[0062] S102: Set the font color in the information as the background color.
[0063] The designated contact person is generally a contact person whose information needs to be kept confidential. The designated contact may be preset in the terminal according to the information input by the user. The terminal may set special marks for these designated contacts, so as to determine whether the contact is a designated contact according to these special marks. The terminal can also set a special designated contact list or list to store the contacts whose information needs to be kept confidential. In this case, the terminal can judge whether the contact is a designated contact by judging whether the contact is in the special list or list. people.
[0064] The background color of the notification bar may be different in different terminals. The background color of the notification bar may also be different from the background color of other areas on the terminal interface. Even in the same terminal, the background color of the notification bar may be different due to different interface styles, pictures, etc. Therefore, the background color of the obtained notification bar needs to be the background color of the "current" notification bar. The "current" refers to the time when the received information of the designated contact is displayed.
[0065] In this embodiment, the font color in the information of the designated contact is set as the background color of the current notification bar. In this way, since the font color and the background color are the same, the font in the information cannot be seen, and the effect of hiding the font is achieved. The content of the information that makes it impossible for people to know.
[0066] It should be noted that the font in the information content of the specified contact can be set as the background color of the current notification bar, and the font in the information subject can be kept in the original regular color, or the font in the information content of the specified contact can be set. and the font in the message theme are set to the background color of the current notification bar. In the former case, the user may learn that the information of the specified contact has been received through the information subject of the specified contact displayed in the notification bar. In the latter case, although the information content and subject of the specified contact are hidden, the information still occupies a certain space in the notification bar. If there are other notification messages above and below the space, it means that there is a hidden designation in the notification bar. contact information. In a specific implementation process, for the latter case, the hidden specified contact information may also be simply represented by a symbol or a dedicated icon to inform the user that the specified contact information has been received.
[0067] In a specific implementation process, the designated contact may be a regular contact or a third-party application contact.
[0068] For example, the regular contact may be the mobile phone number, WeChat ID, QQ number, etc. of the user's family members or important friends, and the third-party application contact may be the mobile banking application contact, Alipay application contact, and the like.
[0069] In a specific implementation process, after setting the font color in the information to the background color, the information processing method may further include: in response to receiving a specified instruction, setting the font color in the information to be different from the display The background color of the screen area of the message. This step is to display the hidden message of the specified contact for the user to view. According to this step, the user sends a designated instruction to the terminal, and the terminal will display the hidden designated contact message. Displaying the hidden specified contact message does not necessarily require restoring the font color in the hidden message to the color before it was hidden, but can be displayed as long as it can be distinguished from the background color.
[0070] For example, the background color of the notification bar is blue, and the font color of ordinary messages (referring to non-designated contacts) in the notification bar is white. When the user sends an instruction to the terminal to tell the terminal to display the hidden messages of the designated contact , the terminal can set the font in the message of the specified contact to colors such as red and yellow, instead of restoring the font to white, of course, it is also a feasible way to restore the font to white. When the font color in the displayed message of the specified contact is inconsistent with the font color of the common message, it also plays a role of highlighting, so that the user can conveniently and quickly find the information of the specified contact.
[0071] In a specific implementation process, the information processing method may further include: in response to receiving the information of the designated contact, acquiring the color of the font in the information when the information is received, denoting it as a default color, and assigning the default color to the color of the font. The color is stored in a designated location; in response to receiving the designated instruction, setting the font color in the information to be a background color that is different from the screen area where the information is displayed, including: obtaining the default color from the designated location; responding After receiving the specified instruction, restore the font color in the information to the default color.
[0072] The designated instruction is an instruction informing the terminal to unhide the information of the designated contact.
[0073] In a specific implementation process, the specified instruction may be an unlock instruction.
[0074] In a specific implementation process, before acquiring the background color of the current notification bar displaying the information in response to receiving the information of the designated contact, the information processing method may further include: determining the designated contact according to the input information of the user .
[0075] The information processing method according to the embodiment of the present invention is further described below by using an example.