Short message display method and device and computer equipment
By monitoring the usage environment on the mobile terminal and hiding or encrypting the SMS content, the problem of SMS content leakage in telecom fraud is solved, and the security protection of user privacy is achieved.
Patent Information
- Application Number
- CN202310795984.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
The existing SMS technology cannot effectively hide important SMS content in telecom fraud scenarios, resulting in the leakage of user privacy information.
Monitor whether the usage environment is sensitive on the mobile terminal. If it is sensitive, hide or encrypt the content of the text message, and ask the user to confirm whether to open the text message through a pop-up window to prevent unauthorized content from being exposed.
It effectively avoids important text messages being viewed by others, ensures the security of users' privacy information, and prevents information leakage in telecommunications fraud.
Smart Images

Figure CN119233266A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of short message, and in particular to a method, device and computer equipment for displaying short messages. Background Art
[0002] SMS is one of the important communication functions in daily life, and it usually involves some very important private information. In particular, many existing account verifications require receiving verification codes via SMS, such as receiving verification codes via SMS for account verification when making bank transfers. Therefore, the information security of SMS is the focus that needs to be protected.
[0003] However, with the development of technology, the current telecommunications fraud methods are becoming more and more sophisticated. In a typical scenario of telecommunications fraud, the scammers require users to download conference apps with screen sharing functions such as Tencent Meeting or Zoom, and guide users to use such conference apps to share the screen. When the user fully displays his screen to the scammer, if the user receives an important text message at this time, when the text message content is automatically displayed through the notification bar or pop-up window, or when the user opens the text message to view the content, the content will also be visible to the scammer. Summary of the invention
[0004] Based on this, the purpose of this application is to provide a text message display method that can hide the content of received text messages when the usage environment of the mobile terminal is sensitive to prevent them from being viewed by others.
[0005] The present application embodiment discloses a method for displaying short messages, which is applied to a mobile terminal and includes the following steps:
[0006] Monitor whether the usage environment of the mobile terminal is sensitive;
[0007] When the usage environment of the mobile terminal is sensitive, if a text message is received, the content of the received text message is hidden.
[0008] In one embodiment, the step of hiding the received text message content includes:
[0009] Encrypt the received SMS content and display the encrypted SMS content;
[0010] Or, block the display of text message content.
[0011] In one embodiment, if a text message is received, the step of hiding the content of the received text message further includes:
[0012] Display a first prompt pop-up window; the first prompt pop-up window displays prompt information to prompt the user that a text message has been received.
[0013] In one embodiment, the steps further include:
[0014] When the usage environment of the mobile terminal is sensitive, if the user's operation of opening the text message is detected, a second prompt pop-up window is displayed; the second prompt pop-up window is provided with a confirmation control whether to open the text message;
[0015] When receiving a confirmation instruction from the user to open the text message, the text message is opened and the text message content is displayed;
[0016] When a rejection instruction from the user to refuse to open the text message is received, the text message is not opened.
[0017] In one embodiment, the second prompt pop-up window also displays a warning message; the warning message is used to remind the user that the usage environment of the mobile terminal is sensitive.
[0018] In one embodiment, the step of monitoring whether the usage environment of the mobile terminal is sensitive includes:
[0019] Get the usage status information of the mobile terminal;
[0020] If the usage status information of the mobile terminal is preset sensitive status information, it is determined that the usage environment of the mobile terminal is sensitive.
[0021] In one embodiment, the step of obtaining the usage status information of the mobile terminal; if the usage status information of the mobile terminal is preset sensitive status information, determining whether the usage environment of the mobile terminal is sensitive includes:
[0022] Get the authorization status information of the system's screen recording permission;
[0023] Determining whether the screen recording permission is being authorized for use according to the authorization status information of the screen recording permission;
[0024] If authorized use is in progress, it is determined that the use environment of the mobile terminal is sensitive.
[0025] In one embodiment, the steps further include:
[0026] When the usage environment of the mobile terminal is not sensitive, if a text message is received, the text message content is displayed through the text message notification bar or the text message notification pop-up window.
[0027] The embodiment of the present application also discloses a text message display device, which is applied to a mobile terminal and includes:
[0028] A monitoring module is used to monitor whether the usage environment of the mobile terminal is sensitive;
[0029] The SMS control module is used to hide the content of the received SMS if a SMS is received when the usage environment of the mobile terminal is sensitive.
[0030] An embodiment of the present application further discloses a computer device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method described in any embodiment of the present application when executing the computer program.
[0031] The SMS display method and device described in the embodiment of the present application monitor whether the use environment of the mobile terminal is sensitive; when the use environment of the mobile terminal is sensitive, if a SMS is received, the received SMS content is hidden, thereby preventing it from being viewed by others and causing important privacy information to be leaked. The SMS display method and device described in the embodiment of the present application can ensure the security of the user's SMS information.
[0032] For better understanding and implementation, the present application is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flowchart of a method for displaying text messages according to an embodiment of the present application;
[0034] Figure 2 A schematic diagram of a text message display device according to an embodiment of the present application;
[0035] Figure 3 A schematic diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] Please refer to Figure 1 The embodiment of the present application discloses a method for displaying short messages, which is applied to a mobile terminal and includes the following steps:
[0037] S101: monitor whether the usage environment of the mobile terminal is sensitive;
[0038] S102: When the usage environment of the mobile terminal is sensitive, if a text message is received, the content of the received text message is hidden.
[0039] The SMS display method and device described in the embodiment of the present application monitor whether the use environment of the mobile terminal is sensitive; when the use environment of the mobile terminal is sensitive, if a SMS is received, the received SMS content is hidden, thereby preventing it from being viewed by others and causing important privacy information to be leaked. The SMS display method described in the embodiment of the present application can ensure the security of the user's SMS information.
[0040] The execution subject of the text message display method described in this embodiment is a mobile terminal, such as a smart phone or a tablet computer.
[0041] In step S101, it is monitored whether the usage environment of the mobile terminal is sensitive.
[0042] Specifically, this step can be to monitor the programs running in the mobile terminal, determine whether the running programs are sensitive programs that may cause SMS content leakage, and thus determine whether the use environment of the mobile terminal is sensitive. For example, a screen sharing conference APP is set as a sensitive program. When it is detected that the mobile terminal is running a screen sharing conference APP, it is determined that the use environment of the mobile terminal is sensitive.
[0043] This step may also be more specific to monitor the functions currently running in the mobile terminal (specifically, it may be to monitor the running functions of a specific application, or it may be to monitor the running functions of all applications), and determine whether the running functions are sensitive functions that may cause the leakage of SMS content, thereby determining whether the use environment of the mobile terminal is sensitive. For example, the screenshot function is set as a sensitive function. When it is detected that the mobile terminal is executing the screenshot function, it is determined that the use environment of the mobile terminal is sensitive.
[0044] In one embodiment, the step of monitoring whether the usage environment of the mobile terminal is sensitive in step S101 includes:
[0045] Get the usage status information of the mobile terminal;
[0046] If the usage status information of the mobile terminal is preset sensitive status information, it is determined that the usage environment of the mobile terminal is sensitive.
[0047] Wherein, the usage status information may include authorization information of sensitive permissions in the system and / or running status information of (specific or arbitrary) applications. Wherein, the sensitive permissions of the system can be set according to the situation, for example, the screen recording permission is set as a sensitive permission. This embodiment obtains the usage status information of the mobile terminal, and determines whether the usage status information of the mobile terminal is the preset sensitive status information. If so, it is determined that the usage environment of the mobile terminal is sensitive, otherwise, it is determined that the usage environment of the mobile terminal is not sensitive. Wherein, the standard for determining whether it is the preset sensitive status information can be set according to the situation. For example, the authorization status information when the screen recording permission is being authorized for use can be set as sensitive status information.
[0048] Specifically in one embodiment, the step of obtaining the usage status information of the mobile terminal; if the usage status information of the mobile terminal is preset sensitive status information, determining whether the usage environment of the mobile terminal is sensitive includes:
[0049] Get the authorization status information of the system's screen recording permission;
[0050] Determining whether the screen recording permission is being authorized for use according to the authorization status information of the screen recording permission;
[0051] If authorized use is in progress, it is determined that the use environment of the mobile terminal is sensitive.
[0052] This embodiment obtains the authorization status information of the system's screen recording permission. For example, in Android 5.0 and above systems, the authorization status information of MediaProjection or MediaProjectionManager is obtained (MediaProjection and MediaProjectionManager are methods for managing authorized applications to take screenshots or record screens in Android 5.0 and above systems). According to the authorization status information of the screen recording permission, it is determined whether the screen recording permission is being authorized for use. If it is being authorized for use, the authorization status information of the screen recording permission is the preset sensitive status information, thereby determining that the usage environment of the mobile terminal is sensitive.
[0053] For step S102, when the usage environment of the mobile terminal is sensitive, if a text message is received, the content of the received text message is hidden.
[0054] When receiving a text message, a common SMS program will automatically trigger a notification bar or pop-up window to display the text message content. This step is to hide the received text message content when the mobile terminal is in a sensitive usage environment so that the text message content information will not be exposed. Specifically, there are many ways to hide, for example, the text message content can be encrypted so that the text message content displayed in the notification bar or pop-up window is encrypted text, so that others cannot read and understand it; for example, the text message notification bar or pop-up window can also be not displayed so that the text message content will not be automatically displayed.
[0055] In one embodiment, the step of hiding the received text message content includes:
[0056] Encrypt the received SMS content and display the encrypted SMS content.
[0057] The encryption algorithm for encrypting the SMS content is not limited, and it can be a conventional encryption algorithm or a custom encryption algorithm on the mobile terminal. Specifically, a hash encryption algorithm can be used in this embodiment. In this embodiment, after the SMS content is encrypted using an encryption algorithm, the encrypted text displayed in the SMS notification bar or SMS notification pop-up window will not be directly readable, and will not expose private content.
[0058] In another embodiment, the step of hiding the received text message content includes:
[0059] Blocks display of SMS content.
[0060] This embodiment does not encrypt the SMS content, but prevents the display of the SMS content. The SMS content is not displayed through the SMS notification bar or SMS notification pop-up window, so the SMS content will not be exposed on the mobile terminal interface, and can be avoided from being viewed by others on the mobile terminal interface. Specifically, the logic of the program code can be designed in the program that executes the SMS display method of this embodiment, so that when the use environment of the mobile terminal is sensitive, the SMS notification bar or SMS notification pop-up window will not be started; or it can be based on the existing SMS program (which will trigger the notification bar or pop-up window to display the SMS content when receiving the SMS), and add a functional module to intercept its SMS notification bar or SMS notification pop-up window, so that the SMS notification bar or SMS notification pop-up window will not be displayed, avoiding the exposure of the SMS content.
[0061] In one embodiment, if a text message is received, hiding the content of the received text message in step S102 further includes:
[0062] Display a first prompt pop-up window; the first prompt pop-up window displays prompt information to prompt the user that a text message has been received.
[0063] The prompt message displayed in the prompt pop-up window may be a text message such as "Receive a short message" or a preset prompt symbol such as This embodiment displays the first prompt pop-up window, which can remind the user that a text message has been received, and can also make the user aware that the current mobile terminal is in a usage environment sensitive state when receiving such prompt information.
[0064] In one embodiment, the text message display method further includes the steps of:
[0065] S103: When the usage environment of the mobile terminal is not sensitive, if a text message is received, the text message content is displayed through the text message notification bar or the text message notification pop-up window.
[0066] In this embodiment, when the usage environment of the mobile terminal is not sensitive, the normal display of the SMS content is not restricted, and the received SMS content can be normally displayed through the SMS notification bar or SMS notification pop-up window, so that the user can view the SMS content.
[0067] In one embodiment, the text message display method further includes the steps of:
[0068] S104: When the usage environment of the mobile terminal is sensitive, if the user's operation of opening the text message is monitored, a second prompt pop-up window is displayed; the second prompt pop-up window is provided with a confirmation control for whether to open the text message; when the user's confirmation instruction to open the text message is received, the text message is opened and the text message content is displayed; when the user's rejection instruction to refuse to open the text message is received, the text message is not opened.
[0069] In this embodiment, when the usage environment of the mobile terminal is sensitive, if the user's operation of opening the text message is monitored, the user is prompted through a second prompt pop-up window to alert the user to the risk of possible leakage. A confirmation control is provided in the second prompt pop-up window, and the confirmation control is used to receive a confirmation instruction to open the text message or a rejection instruction to refuse to open the text message. When the user's confirmation instruction to open the text message is received, the text message is opened and the text message content is displayed; when the user's rejection instruction to refuse to open the text message is received, the text message is not opened.
[0070] In one embodiment, the second prompt pop-up window also displays a warning message; the warning message is used to remind the user that the usage environment of the mobile terminal is sensitive.
[0071] This embodiment prompts the user to pay attention to the sensitive usage environment of the mobile terminal by displaying a warning message, so that the user can carefully consider whether to open the text message. The warning message can be a text prompt message such as "You are currently using a sensitive function, please confirm whether to open this text message?", or a preset warning symbol such as "!!!".
[0072] Please refer to Figure 2 The embodiment of the present application also discloses a text message display device, which is applied to a mobile terminal and includes:
[0073] Monitoring module 201, used to monitor whether the usage environment of the mobile terminal is sensitive;
[0074] The SMS control module 202 is used to hide the content of a received SMS if a SMS is received when the usage environment of the mobile terminal is sensitive.
[0075] It should be noted that the SMS display device provided in the above embodiment only uses the division of the above functional modules as an example when executing the SMS display method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the SMS display device and the SMS display method provided in the above embodiment belong to the same concept, and the implementation process thereof is detailed in the SMS display method embodiment, which will not be repeated here.
[0076] Please refer to Figure 3 The embodiment of the present application further discloses a computer device 301, including a memory 302, a processor 303, and a computer program 304 stored in the memory 302; when the processor 303 executes the computer program 304, the steps of the method described in any of the above embodiments are implemented.
[0077] Among them, the processor 303 may include one or more processing cores. The processor 303 uses various interfaces and lines to connect various parts in the computer device 301, and executes various functions and processes data of the computer device 301 by running or executing instructions, programs, code sets or instruction sets stored in the memory 302, and calling the data in the memory 302. Optionally, the processor 303 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programble Logic Array, PLA). The processor 303 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the touch display; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 303, and it can be implemented separately through a chip.
[0078] Among them, the memory 302 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 302 includes a non-transitory computer-readable storage medium. The memory 302 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 302 may also be optionally at least one storage device located away from the aforementioned processor 303.
[0079] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present application, and the present application is also intended to include such modifications and modifications.
Claims
1. A method for displaying short messages, characterized in that: Applied to the mobile terminal, including the following steps: Monitor whether the usage environment of the mobile terminal is sensitive; When the usage environment of the mobile terminal is sensitive, if a text message is received, the content of the received text message is hidden.
2. The method for displaying short messages according to claim 1, characterized in that: The step of hiding the received text message content includes: Encrypt the received SMS content and display the encrypted SMS content; Or, block the display of text message content.
3. The method for displaying short messages according to claim 1, characterized in that: If a text message is received, the step of hiding the content of the received text message also includes: Display a first prompt pop-up window; the first prompt pop-up window displays prompt information to prompt the user that a text message has been received.
4. The method for displaying short messages according to claim 1, characterized in that: Also includes the steps: When the usage environment of the mobile terminal is sensitive, if the user's operation of opening the text message is detected, a second prompt pop-up window is displayed; the second prompt pop-up window is provided with a confirmation control whether to open the text message; When receiving a confirmation instruction from the user to open the text message, the text message is opened and the text message content is displayed; When a rejection instruction from the user to refuse to open the text message is received, the text message is not opened.
5. The method for displaying short messages according to claim 4, characterized in that: The second prompt pop-up window also displays a warning message; the warning message is used to remind the user that the usage environment of the mobile terminal is sensitive.
6. The method for displaying short messages according to any one of claims 1 to 5, characterized in that: The step of monitoring whether the usage environment of the mobile terminal is sensitive includes: Get the usage status information of the mobile terminal; If the usage status information of the mobile terminal is preset sensitive status information, it is determined that the usage environment of the mobile terminal is sensitive.
7. The method for displaying short messages according to claim 6, characterized in that: The obtaining of usage status information of the mobile terminal; If the usage status information of the mobile terminal is preset sensitive status information, the step of determining whether the usage environment of the mobile terminal is sensitive includes: Get the authorization status information of the system's screen recording permission; Determining whether the screen recording permission is being authorized for use according to the authorization status information of the screen recording permission; If authorized use is in progress, it is determined that the use environment of the mobile terminal is sensitive.
8. The method for displaying short messages according to claim 1, characterized in that: Also includes the steps: When the usage environment of the mobile terminal is not sensitive, if a text message is received, the text message content is displayed through the text message notification bar or the text message notification pop-up window.
9. A text message display device, characterized in that: Applied to mobile terminals, including: A monitoring module is used to monitor whether the usage environment of the mobile terminal is sensitive; The SMS control module is used to hide the content of the received SMS if a SMS is received when the usage environment of the mobile terminal is sensitive.
10. A computer device, characterized in that: The method comprises a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method according to any one of claims 1 to 8 when executing the computer program.
