A method, device, equipment and computer-readable medium for processing screenshot pop-up boxes

By detecting and processing screenshot operations on mobile terminal devices, the problem of bullet frame obstruction during screenshot is solved, more accurate and efficient screenshot operations are achieved, and user privacy is protected.

CN113791719BActive Publication Date: 2025-05-13ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010452800.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-26
Publication Date
2025-05-13
Estimated Expiration
2040-05-26

AI Technical Summary

Technical Problem

When performing screenshot operations on mobile terminal devices, pop-up message notifications or ad pushes will obscure the screenshot content, affecting the accuracy, completeness and aesthetics of the screenshots, and may disclose the user's personal privacy.

Method used

After detecting the screenshot operation, it is determined whether the screenshot image is blocked by the pop-up frame. If it is blocked, the screenshot will be taken again after delaying the pop-up time or turning off the pop-up frame function to ensure the completeness and accuracy of the screenshot content.

Benefits of technology

It effectively avoids invalid screenshots caused by obstruction of the pop-up frame, reduces the number of saved invalid screenshot images, simplifies the screenshot operation process, improves the accuracy and efficiency of the operation, and protects the user's personal privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113791719B_ABST
    Figure CN113791719B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, equipment and computer-readable medium for processing a screenshot pop-up box, which relates to the field of terminals. The method comprises: after the terminal detects a screenshot operation, detecting whether the content of the screenshot image is blocked by the pop-up box; when the terminal detects that the content of the screenshot image is blocked by the pop-up box, re-screening after delaying the pop-up time of the pop-up box or re-screening after closing the pop-up box function. The embodiment of the present invention can ensure the integrity and accuracy of the screenshot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminals, and in particular to a method, device, equipment and computer-readable medium for processing a screenshot pop-up box. Background Art

[0002] Currently, there are many quick and easy screenshot methods on mobile terminal devices, such as quick gesture screenshot, side volume button screenshot, long screenshot, etc., and after taking the screenshot, the obtained information can be applied, edited and shared in many quick ways.

[0003] The relevant patent contents searched so far mainly involve the following aspects: First, judging whether the same interface is repeatedly screenshotted. If a screenshot has been taken on the current interface and the screenshot operation is repeated on the same area later, the repeated screenshot operation will be canceled after judgment, thereby improving the efficiency of screenshots; second, through image processing during screenshots, the user's privacy content is hidden before taking a screenshot. This is mainly an operation method from the perspective of user privacy protection; third, through long screenshots, scrolling screenshots and other methods, fast screenshots can be achieved.

[0004] The existing technologies focus more on how to take screenshots quickly and conveniently, and how to quickly perform the next operation after taking the screenshots. However, they do not take into account the factors that may interfere with the accuracy, completeness, and aesthetics of the screenshots when the screenshots are initially taken, and do not make judgments in advance and take intervention and corrective measures to ensure that the screenshots are fast, complete, and accurate, including:

[0005] 1. When executing a screenshot command on the current target interface of a mobile terminal, each application may pop up message notifications, advertising push and other content at any time. If a message box notification happens to pop up on the current target interface while the screenshot command is executed, the message notification or message content that is currently popping up will be displayed on the captured content, and the captured screenshot content will be blocked by the pop-up message box, seriously affecting its aesthetics and integrity.

[0006] 2. For privacy protection reasons, no matter which application pops up, the content of the pop-up may expose user privacy. The most common ones are pop-up boxes of chat applications such as SMS, WeChat, QQ, and notification messages pushed by other third-party applications. If a call notification pops up when a phone call is received during the screenshot, the caller's information will be captured. If the user does not check the content generated after the screenshot is taken, and directly sends or shares the screenshot, it may cause potential risks of personal privacy and information leakage.

[0007] In summary, whether for personal information security or the integrity and aesthetics of the screenshot, when the actual content captured is different from the content the user originally wanted, the user needs to return to the current target interface and repeat the last screenshot operation. If the information pops up on the current interface again during the second screenshot, the screenshot needs to be repeated three or four times. This is not only cumbersome and time-consuming, but also there will be a large number of invalid screenshots saved in the album if there is no time to delete the discarded screenshots, which brings unnecessary trouble to the subsequent screening and cleaning of mobile phone pictures.

[0008] Currently, on mobile devices, in order to avoid pop-up notifications on the current target interface when taking screenshots, users need to manually turn off the pop-up notification functions of SMS, WeChat, QQ, calls and other third-party applications one by one, and even need to enter the phone settings menu to set the notification message prompt method, which is very troublesome. Moreover, once the notification message is turned off, it is necessary to manually turn on the notification message switch one by one after the screenshot is completed, which is extremely time-consuming and troublesome. Summary of the invention

[0009] The embodiments of the present invention provide a method, device, equipment and computer-readable medium for processing a screenshot pop-up box, which solves the problem that the existing technology does not make an early judgment on the accuracy of the screenshot operation and take intervention and correction measures, resulting in incomplete and inaccurate content of the screenshot image.

[0010] A method for processing a screenshot pop-up box provided by an embodiment of the present invention includes:

[0011] After detecting the screenshot operation, the terminal detects whether the content of the screenshot image is blocked by the pop-up box;

[0012] When the terminal detects that the content of the screenshot image is blocked by the pop-up box, the screenshot is taken again after delaying the pop-up time of the pop-up box or after closing the pop-up box function.

[0013] Preferably, when the terminal detects that the content of the screenshot image is blocked by a pop-up box, re-taking the screenshot after delaying the pop-up time of the pop-up box or re-taking the screenshot after closing the pop-up box function includes:

[0014] When the terminal detects that the content of the screenshot image is blocked by a pop-up window, determining whether there is an interference factor of continuous pop-up windows;

[0015] If the terminal determines that there is an interference factor of continuous pop-up boxes, the terminal will re-take the screenshot after delaying the pop-up time of the pop-up box or re-take the screenshot after closing the pop-up box function.

[0016] Preferably, the interference factor of determining whether there are continuous pop-up windows includes:

[0017] The terminal retrieves an application that has been logged in and has a notification message receiving function enabled, and queries at least one of the number and frequency of pop-up windows of the application within a preset period of time before the screenshot operation;

[0018] If the number of pop-up windows of the application within the preset time period is greater than the preset number, or the frequency of pop-up windows of the application within the preset time period is greater than the preset frequency, it is determined that there is an interference factor of continuous pop-up windows.

[0019] Preferably, retaking the screenshot after delaying the pop-up time of the bullet box includes:

[0020] By accessing the storage space and cache permissions of the application that has been logged in and has the notification message receiving function turned on in the terminal, the delay time for the pop-up of the pop-up box of the application is set, and after setting the delay time for the pop-up of the pop-up box, the screenshot is taken again.

[0021] Preferably, the method further comprises:

[0022] If a pop-up window of an application is detected while the screenshot operation is being performed again, the pop-up window is cached in the system storage space;

[0023] After the delay time is cached in the system storage space, the pop-up box is released from the system storage space to the storage space of the application, and the pop-up box is popped up.

[0024] Preferably, the method further comprises:

[0025] Detect whether the delayed pop-up window blocks the content of the subsequent screenshot image;

[0026] If it is detected that the delayed pop-up box blocks the content of the subsequent screenshot image, the screenshot is taken again after closing the pop-up box function.

[0027] Preferably, the closing pop-up window function includes:

[0028] The terminal pops up an associated jump notification box, where the associated jump notification box is associated with a notification switch of a notification message receiving function of the application;

[0029] When the terminal detects the operation of the close switch from the association jump notification frame, the notification switch of the application in the terminal setting menu is turned off.

[0030] Preferably, retaking the screenshot comprises:

[0031] The terminal determines whether the current interface is consistent with the last screenshot interface; if consistent, the current interface is re-screenshot; if inconsistent, the browsing record is searched to jump to the last screenshot interface, and the screenshot is re-shot.

[0032] Preferably, the method further comprises:

[0033] After taking the screenshot again, delete the screenshot image that is blocked by the pop-up window.

[0034] An embodiment of the present invention provides a device for processing a screenshot pop-up window, including:

[0035] The occlusion detection module is used to detect whether the content of the screenshot image is blocked by the pop-up box after detecting the screenshot operation;

[0036] The screenshot pop-up processing module is used to, when the terminal detects that the content of the screenshot image is blocked by the pop-up, re-take the screenshot after delaying the pop-up time of the pop-up box or re-take the screenshot after closing the pop-up box function.

[0037] A screenshot pop-up box processing device provided in an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the screenshot pop-up box processing method are implemented.

[0038] An embodiment of the present invention provides a computer-readable medium on which a processing program for a screenshot pop-up box is stored. When the processing program for the screenshot pop-up box is executed by a processor, the steps of the above-mentioned method for processing the screenshot pop-up box are implemented.

[0039] The technical solution provided by the embodiment of the present invention has the following beneficial effects:

[0040] 1. In an embodiment of the present invention, when the content of a screenshot image is blocked by a pop-up box, the screenshot is taken again after the pop-up box function is closed or after the pop-up time of the pop-up box is delayed. This can avoid invalid screenshots caused by interference factors of continuous pop-up boxes, avoid saving a large number of invalid screenshot images due to invalid operations, save the repeated operation of subsequent screenshots, bring accurate and efficient operation experience to the user's screenshot operation, and protect the user's personal privacy and data security from being leaked to a certain extent.

[0041] 2. The embodiment of the present invention turns off or on the associated jump notification box associated with the notification switch in the terminal setting menu and the message notification switch of the third-party application, and turns off or on the pop-up box function of the corresponding application in the terminal. The pop-up box function of the application can be turned off or on without entering the terminal setting menu, which is simple to operate and saves time. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a schematic flow chart of a method for processing a screenshot pop-up box provided by an embodiment of the present invention;

[0043] Figure 2It is a structural schematic diagram of a device for processing a screenshot pop-up box provided by an embodiment of the present invention;

[0044] Figure 3 is a structural schematic diagram of a screenshot module provided by an embodiment of the present invention;

[0045] Figure 4 yes Figure 3 The working flow diagram of the device shown;

[0046] Figure 5 It is a structural schematic diagram of a screenshot pop-up box processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the embodiments described below are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0048] Figure 1 is a schematic flow chart of a method for processing a screenshot pop-up box provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:

[0049] Step S101: After detecting a screenshot operation, the terminal detects whether the content of the screenshot image is blocked by a pop-up window.

[0050] Furthermore, after detecting a screenshot operation, the terminal detects whether the content of the screenshot image is blocked by a pop-up box. When the terminal detects that the content of the screenshot image is blocked by a pop-up box, a pop-up box notification can be sent to prompt that the current screenshot content is incomplete and whether the screenshot operation needs to be performed again to avoid saving invalid screenshot images.

[0051] Step S102: when the terminal detects that the content of the screenshot image is blocked by a pop-up box, the screenshot is taken again after delaying the pop-up time of the pop-up box or after closing the pop-up box function.

[0052] In this embodiment, after the terminal detects that the screenshot is blocked, it can also quickly take a second screenshot. During implementation, the terminal determines whether the current interface is consistent with the last screenshot interface; if they are consistent, the current interface is re-screenshot; if they are inconsistent, the last screenshot interface is jumped to by querying the browsing history, and the screenshot is taken again; after the screenshot is taken again, the screenshot image blocked by the pop-up box is deleted. More specifically, if the screenshot is blocked and needs to be taken again, the image recognition module will perform data image recognition and matching based on the content of the last screenshot, and the judgment module will determine whether the target interface where the device is currently staying is consistent with the target interface of the last screenshot. If it is judged to be consistent, the screenshot is taken directly, and the last invalid screenshot is automatically deleted, and there is no need to manually repeat the screenshot operation. If it is judged to be inconsistent, it means that the user is no longer in the target interface of the last screenshot and may have swiped or turned to other interfaces. The judgment module will send a notification to call up the browsing history module of the mobile phone, query the last screenshot target interface through the historical browsing history, and the image recognition module will match the interface. If they are consistent, the user will automatically jump to the last screenshot interface and take a new screenshot without the user having to manually return to the last screenshot interface.

[0053] Based on the above embodiment, step S102 may further include: when the terminal detects that the content of the screenshot image is blocked by a pop-up box, determining whether there is an interference factor of continuous pop-up boxes; if the terminal determines that there is an interference factor of continuous pop-up boxes, re-screening after delaying the pop-up time of the pop-up box or re-screening after turning off the pop-up box function.

[0054] Among them, the determination of whether there is an interference factor of continuous pop-up boxes may include: the terminal retrieves the application that has been logged in and has the notification message receiving function turned on, and queries at least one of the number and frequency of pop-up boxes of the application in the preset time period before the screenshot operation; if the number of pop-up boxes of the application in the preset time period is greater than the preset number, or the frequency of pop-up boxes of the application in the preset time period is greater than the preset frequency, it is determined that there is an interference factor of continuous pop-up boxes. More specifically, the application recently opened by the terminal in the system settings is retrieved, and the application data that is in the foreground and background running state and the notification message receiving switch is turned on is filtered; the frequency and number of notification message pop-up boxes of the application within the current time range are queried, for example, the setting time range can be provided to be 10-30S, the number of pop-up messages is 10-20, and the interval time between each message is within 2S. When an application meets this condition range, it is judged as a continuous pop-up box application and there is an interference factor of continuous pop-up boxes. When the terminal determines that an application meets the above conditions, it is determined that there is an interference factor of continuous pop-up boxes at this time, and it is queried that the terminal has a high-frequency pop-up box application within a period of time. It is then determined that there is a high possibility that the machine is in a continuous pop-up box peak period now and in the future, which will produce a high interference factor for the continuous screenshot operation.

[0055] Among them, retaking the screenshot after delaying the pop-up time of the pop-up box may include: by accessing the storage space and cache permissions of the application that has been logged in and has enabled the notification message receiving function in the terminal, setting the delay time for the pop-up of the pop-up box of the application to be delayed, and retaking the screenshot after setting the delay time for the pop-up of the pop-up box to be delayed. In this way, if a pop-up box of an application is detected to be popped up while the screenshot operation is re-performed, the pop-up box is cached in the system storage space, and after the delay time is cached in the system storage space, the pop-up box is released from the system storage space to the storage space of the application, and the pop-up box is popped up. More specifically, when the terminal detects a screenshot operation and currently meets the judgment condition of continuous pop-up boxes, the user is reminded to first set the anti-interference item A--delayed pop-up of the notification message, that is, to prevent the message from popping up during the screenshot operation, and after the screenshot operation is completed, the previous message notification is popped up according to the set delay time. Allow the system storage space of the terminal to access the storage space and cache permissions of the application, add permission access settings for the application type that sets the delayed message pop-up, and customize the time range for the delayed pop-up, such as 3 seconds, 5 seconds, 10 seconds, etc. The message with the delayed pop-up box will be queued and cached in the system storage space of the terminal according to the time required to delay the pop-up. After the specified time, the delayed message will be released from the system storage space to the cache area of ​​the application and then pop up. That is, all pop-up messages are delayed by the corresponding set time, leaving enough time for the user to take screenshots and ensuring the complete accuracy of the screenshots.

[0056] Among them, the closing pop-up function includes: the terminal pops up an associated jump notification box, and the associated jump notification box is associated with the notification switch of the notification message receiving function of the application; when the terminal detects the operation of the close switch from the associated jump notification box, the terminal automatically closes the notification switch of the application in the terminal setting menu. More specifically, in order to remind the user that the notification switch of the high-frequency pop-up application needs to be turned off, this embodiment also provides an anti-interference setting auxiliary method B--closing the notification message pop-up, providing an associated jump notification box, which is synchronously associated with the display notification switch of the application in the terminal system setting, and after clicking, it can jump to the system setting in the background to automatically turn off the display notification switch of the application. When the terminal turns off the notification switch of the application, it only performs the associated jump to turn off the switch in the background running interface, and there will be no switching of the foreground interface, that is, when the notification pop-up is closed, the terminal still stays on the target interface that needs to be screenshotted, and will not jump to the terminal system setting menu interface to associate and turn off the notification display switch of the application in the system setting menu, and there is no need to manually enter the system setting menu layer by layer to find the application and then turn off the display notification switch.

[0057] Regarding the method of "re-taking a screenshot after delaying the pop-up time of the pop-up box", the delayed message pop-up time set by the terminal may conflict with the next screenshot operation in time. In view of this situation, the present embodiment may also include: detecting whether the delayed pop-up pop-up box blocks the content of the subsequent screenshot image. If it is detected that the delayed pop-up pop-up box blocks the content of the subsequent screenshot image, re-taking the screenshot after turning off the pop-up box function. More specifically, considering that the delayed message pop-up time set by the terminal may conflict with the time of the next screenshot operation, the present embodiment also provides an anti-interference setting auxiliary method B-turning off the notification message pop-up box. For example, the user chooses to delay the pop-up box for 3 seconds. If you need to take a screenshot again 3 seconds after completing the current screenshot, the notification message delayed by 3 seconds will pop up when taking the screenshot. At this time, the user is reminded that he needs to turn off the notification pop-up box switch of the high-frequency pop-up box application. According to the type of application with high-frequency pop-up boxes detected, when the terminal detects that the screenshot operation and the delayed message pop-up conflict in time, the terminal opens the application notification permission in the terminal system settings and provides an associated jump notification box. The notification box is synchronously associated with the notification switch of the application in the terminal system settings. After clicking, you can jump to the system settings in the background to automatically turn off the notification switch of the application. When the terminal turns off the notification switch of the application, it only performs an associated jump to turn off the switch in the background running interface, and there will be no switching of the foreground interface. That is, when closing the notification pop-up box, the terminal still stays on the target interface that currently needs to be screenshotted, and will not jump to the terminal system settings menu interface to associate and turn off the notification display switch of the application in the system settings menu, and there is no need to manually enter the system settings menu layer by layer to find the application and then turn off the display notification switch.

[0058] Figure 2 is a schematic diagram of the structure of a device for processing a screenshot pop-up window provided by an embodiment of the present invention, such as Figure 2 As shown, the device may include: an occlusion detection module 21 and a screenshot pop-up processing module 22.

[0059] The occlusion detection module 21 is used to detect whether the content of the screenshot image is occluded by the pop-up box after detecting the screenshot operation.

[0060] The screenshot pop-up processing module 22 is used to re-take the screenshot after delaying the pop-up time of the pop-up box or re-take the screenshot after closing the pop-up box function when the terminal detects that the content of the screenshot image is blocked by the pop-up box.

[0061] Specifically, the screenshot pop-up box processing module 22 is specifically used to determine whether there is an interference factor of continuous pop-up boxes when the terminal detects that the content of the screenshot image is blocked by the pop-up box. If the terminal determines that there is an interference factor of continuous pop-up boxes, the screenshot is taken again after delaying the pop-up time of the pop-up box or the screenshot is taken again after closing the pop-up box function.

[0062] Among them, whether the local machine is still in a continuous pop-up state in the future is determined in the following way: the screenshot pop-up processing module 22 retrieves the application that has been logged in and has the notification message receiving function turned on, and queries at least one of the number and frequency of pop-up boxes of the application in the preset time period before the screenshot operation. If the number of pop-up boxes of the application in the preset time period is greater than the preset number, or the frequency of pop-up boxes of the application in the preset time period is greater than the preset frequency, it is determined that there is an interference factor of continuous pop-up boxes. For example, retrieve the number of information chat applications that are logged in and have notification message reception turned on; query the frequency and number of notification message pop-up boxes of the application within the current time range. For example, in the last 10 seconds, WeChat has 20 pop-up messages, and the interval time between each is within 1 second, then it is determined that the local machine will also be in a continuous pop-up peak period now and in the future. This can be used as a recommended setting item. A comprehensive evaluation is performed based on the data retrieved by the system to remind the user that there is a high possibility that the machine will display continuous pop-up boxes at this time. The user can also customize the evaluation value of continuous pop-up boxes in the settings according to their usual usage. For example, the configurable time range is 10-30S, the number of pop-up messages is 10-20, and the interval between each message is within 2S.

[0063] In one embodiment, the screenshot pop-up box processing module 22 delays the pop-up time of the pop-up box and then re-takes the screenshot. Specifically, by accessing the storage space and cache permissions of the application that has been logged in and has enabled the notification message receiving function in the terminal, the delay time for the pop-up box of the application is set, and after setting the delay time for the pop-up box to be delayed, the screenshot is re-taken. In this way, if it is detected that a pop-up box of the application is to be popped up while the screenshot operation is re-performed, the pop-up box will be cached in the system storage space. After the delay time is cached in the system storage space, the pop-up box is released from the system storage space to the storage space of the application, and the pop-up box is popped up.

[0064] If the delay time of the current delayed pop-up box is set to 2 seconds, it means that the message will pop up after 2 seconds. If a screenshot is needed again after 2 seconds, it is necessary to consider the situation that the previously set delayed pop-up message and the next screenshot action happen to appear at the same time. At this time, the occlusion detection module 21 can detect whether the delayed pop-up box blocks the content of the subsequent screenshot image. If it is detected that the delayed pop-up box blocks the content of the subsequent screenshot image, the screenshot pop-up processing module 22 will take a screenshot again after closing the pop-up function.

[0065] In another embodiment, if messages pop up continuously within a period of time before the screenshot action occurs, it can be considered that the machine is in a state of peak message reception at this time, for example, the machine's chat applications WeChat, QQ, Weibo private messages and other group chats are constantly popping up messages. If there is a need for continuous screenshots at this time, setting a delayed pop-up message cannot completely solve the problem of pop-up messages during continuous screenshots. At this time, you can choose to directly turn off the message notification switch of a certain type of application, and then turn it on after the continuous screenshots are completed. Specifically, the screenshot pop-up box processing module 22 pops up an associated jump notification box, and the associated jump notification box is associated with the notification switch of the notification message receiving function of the application. When the terminal detects the operation of the off switch from the associated jump notification box, the notification switch of the application in the terminal settings menu is turned off, and the screenshot is taken again.

[0066] After re-taking the screenshot, the screenshot pop-up processing module 22 deletes the screenshot image blocked by the pop-up window to avoid storing a large number of invalid screenshot images.

[0067] Figure 3 is a structural diagram of a screenshot module provided by an embodiment of the present invention, such as Figure 3 As shown, a notification message master switch module 31 is set in the screenshot module 30, and a notification receiving module is built in the switch module 31. When the screenshot module 30 executes the screenshot instruction, the master switch 31 can associate and control the message switch in the mobile phone setting menu and the message switch in the third-party application. By operating the master switch item, the message notification in the mobile phone setting menu and the third-party application can be directly controlled, without having to enter the mobile phone setting menu and the third-party application separately to turn on or off the message notification switch one by one.

[0068] Figure 4 yes Figure 3 The working flow diagram of the device shown is as follows: Figure 4 As shown, the execution process and steps are as follows:

[0069] Step S201: the user normally clicks the screenshot button to capture the target content. After the screenshot is completed, the screenshot content is temporarily stored in the storage module 32.

[0070] Step S202: To ensure the accuracy and integrity of the screenshot content, after the screenshot is completed, the image detection module 33 (or image detection and recognition module, Figure 2 The function of the occlusion detection module 21) performs image data recognition on the temporarily stored screenshot content, and detects whether there is a bar message notification box (i.e., a pop-up box) covering and occluding the screenshot.

[0071] Step S203: If it is detected that a notification message pops up and blocks the interface above the screenshot, the image detection module 33 (or the image detection and recognition module) will immediately send a notification to the message receiving module (or the notification receiving module), and the message receiving module will immediately pop up a notification box to the target interface that currently needs to be screenshotted, and pop up a notification to prompt the user that the current screenshot is blocked and whether it needs to be re-shot.

[0072] Step S204: If the user chooses to re-take a screenshot, and the message receiving module (or notification receiving module) receives frequent pop-up messages within a period of time before and after the user's screenshot operation, then the judgment module 34 (implementation Figure 2 The function of the screenshot pop-up processing module 22 determines that there are interference factors of continuous pop-up boxes in the device, and re-screenshot will continue to be disturbed, and the accuracy of the screenshot will be affected. At this time, the auxiliary solution is temporarily enabled, and the notification sending module 35 pops up a box to remind the user to temporarily close the application notification message that frequently pops up in the device.

[0073] Step S205: In addition to temporarily closing the message pop-up box, this embodiment also provides a method for users to freely control the pop-up box time. Users can manually set whether to allow the notification message to be delayed when taking a screenshot, that is, after the screenshot operation is completed, the delayed message notification will pop up. You can choose the time to delay the pop-up, such as 3 seconds, 5 seconds, 10 seconds, etc., or you can customize the closing time. In other words, all pop-up messages are delayed by the corresponding set time, leaving enough time for the user to take a screenshot and ensuring the complete accuracy of the screenshot.

[0074] Step S204 and step S205 are two different ways of processing the screenshot pop-up window, and there is no order relationship in the processing.

[0075] Step S206: Based on the embodiment including the above-mentioned step S205, taking into account that the time of delayed message pop-up may coincide with the time of the next screenshot, for example, the user chooses to delay the pop-up box for three seconds. After completing the current screenshot, if another screenshot is needed, the notification message after the last delay of 3 seconds may pop up at the time of the next screenshot. At this time, the captured content is blocked by the pop-up box, and the screenshot still needs to be taken again.

[0076] Step S207: In response to the problem pointed out in step S206, this embodiment can also provide a screenshot method with cyclic detection to ensure that after taking screenshots according to the above method and steps, the final image obtained is still complete and valid. That is, when the delayed pop-up message coincides with the time when the user takes another screenshot, the processing method in step S202 is continued to be used to automatically perform screenshot detection. If it is detected that the screenshot image is blocked by a pop-up frame, the user will be reminded that the screenshot needs to be taken again.

[0077] Since the repeated operation caused by re-screening is relatively time-consuming, this embodiment can also provide a quick method for automatically jumping to the screenshot. If the screenshot needs to be re-screened, the image recognition module 33 (or the image detection and recognition module) will perform data image recognition and matching based on the last temporarily stored screenshot image, and the judgment module 34 will judge whether the target interface currently stopped by the device is consistent with the target interface of the last screenshot.

[0078] Step S208: If it is determined to be consistent, a screenshot is taken directly, and the last invalid screenshot is automatically deleted, without the need to manually repeat the screenshot operation.

[0079] Step S209: If it is judged to be inconsistent, it means that the user is no longer in the target interface of the last screenshot, and may have slid or turned to other interfaces. The judgment module 34 will send a notification to call up the browsing record module 36 of the mobile phone, and query the last screenshot target interface through the historical browsing record. The image recognition module 33 (or image detection and recognition module) performs interface matching. If they are consistent, the user will automatically jump to the last screenshot interface and take a new screenshot without the user having to manually return to the last screenshot interface.

[0080] Figure 5 is a structural diagram of a screenshot pop-up processing device provided by an embodiment of the present invention, such as Figure 5 As shown, it includes a memory 52, a processor 51, and a computer program stored in the memory 52 and executable on the processor 51. When the computer program is executed by the processor 51, the steps of the method for processing the screenshot pop-up box are implemented. The memory 52 can be RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. The processor 51 can be a central processing unit, a digital signal processor or a microprocessor, etc.

[0081] An embodiment of the present invention also provides a computer-readable medium, on which a processing program for a screenshot pop-up box is stored, and when the processing program for the screenshot pop-up box is executed by a processor, the steps of the processing method for the screenshot pop-up box are implemented. It can be understood by a person of ordinary skill in the art that all or some steps, systems, and functional modules / units in the device disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0082] The embodiments of the present invention are applied on mobile device terminals to avoid invalid operation screenshots caused by interference factors, avoid saving a large amount of invalid image information due to invalid operations, save the repeated operations of subsequent screenshots, bring accurate and efficient operation experience to users' screenshot operations, and protect users' personal privacy and data security from being leaked to a certain extent.

[0083] Although the present invention is described in detail above, the present invention is not limited thereto, and those skilled in the art can make various modifications based on the principles of the present invention. Therefore, all modifications made based on the principles of the present invention should be understood to fall within the protection scope of the present invention.

Claims

1. A method for processing a screenshot pop-up box, characterized in that: The method comprises: After detecting the screenshot operation, the terminal detects whether the content of the screenshot image is blocked by the pop-up box; When the terminal detects that the content of the screenshot image is blocked by the pop-up box, the terminal retakes the screenshot after delaying the pop-up time of the pop-up box or retakes the screenshot after closing the pop-up box function; Wherein, when the terminal detects that the content of the screenshot image is blocked by a pop-up box, re-taking the screenshot after delaying the pop-up time of the pop-up box or re-taking the screenshot after turning off the pop-up box function includes: when the terminal detects that the content of the screenshot image is blocked by a pop-up box, determining whether there is an interference factor of continuous pop-up boxes; if the terminal determines that there is an interference factor of continuous pop-up boxes, re-taking the screenshot after delaying the pop-up time of the pop-up box or re-taking the screenshot after turning off the pop-up box function; The determining whether there is an interference factor of continuous pop-up boxes includes: the terminal calls an application that has been logged in and has enabled the notification message receiving function, and queries at least one of the number and frequency of pop-up boxes of the application in a preset time period before the screenshot operation; if the number of pop-up boxes of the application in the preset time period is greater than the preset number, or the frequency of pop-up boxes of the application in the preset time period is greater than the preset frequency, it is determined that there is an interference factor of continuous pop-up boxes; The re-taking a screenshot after delaying the pop-up time of the pop-up box includes: setting a delay time for the pop-up box of the application to be delayed by accessing the storage space and cache permission of the application that has been logged in and has enabled the notification message receiving function in the terminal, and re-taking a screenshot after setting the delay time for the pop-up box to be delayed; The method also includes: if it is detected that a pop-up box of an application is about to pop up while the screenshot operation is re-performed, the pop-up box is cached in the system storage space; after caching the delay time in the system storage space, the pop-up box is released from the system storage space to the storage space of the application, and the pop-up box is popped up.

2. The method according to claim 1, characterized in that The method further comprises: Detect whether the delayed pop-up window blocks the content of the subsequent screenshot image; If it is detected that the delayed pop-up box blocks the content of the subsequent screenshot image, the screenshot is taken again after closing the pop-up box function.

3. The method according to claim 1 or 2, characterized in that: The closing pop-up window function includes: The terminal pops up an associated jump notification box, where the associated jump notification box is associated with a notification switch of a notification message receiving function of the application; When the terminal detects the operation of the close switch from the association jump notification frame, the notification switch of the application in the terminal setting menu is turned off.

4. The method according to any one of claims 1 to 2, characterized in that: The re-screenshot includes: The terminal determines whether the current interface is consistent with the last screenshot interface; if consistent, the current interface is re-screenshot; if inconsistent, the browsing record is searched to jump to the last screenshot interface, and the screenshot is re-shot.

5. The method according to claim 4, characterized in that The method further comprises: After taking the screenshot again, delete the screenshot image that is blocked by the pop-up window.

6. A processing device for a screenshot pop-up box, characterized in that: The device comprises: The occlusion detection module is used to detect whether the content of the screenshot image is blocked by the pop-up box after detecting the screenshot operation; A screenshot pop-up processing module, which is used to re-take the screenshot after delaying the pop-up time of the pop-up box or re-take the screenshot after closing the pop-up box function when the terminal detects that the content of the screenshot image is blocked by the pop-up box; The screenshot pop-up processing module is further used to determine whether there is an interference factor of continuous pop-up boxes when the terminal detects that the content of the screenshot image is blocked by the pop-up box; if the terminal determines that there is an interference factor of continuous pop-up boxes, re-screenshot after delaying the pop-up time of the pop-up box or re-screenshot after turning off the pop-up box function; The screenshot pop-up processing module is further used for the terminal to retrieve an application that has been logged in and has enabled the notification message receiving function, and query at least one of the number and frequency of pop-up windows of the application in a preset period before the screenshot operation; if the number of pop-up windows of the application in the preset period is greater than the preset number, or the pop-up window frequency of the application in the preset period is greater than the preset frequency, it is determined that there is an interference factor of continuous pop-up windows; The screenshot pop-up processing module is further used to set the delay time for the pop-up of the application by accessing the storage space and cache permissions of the application that has been logged in and has enabled the notification message receiving function in the terminal, and re-take the screenshot after setting the delay time for the pop-up of the pop-up; The screenshot pop-up box processing module is also used to cache the pop-up box in the system storage space if it is detected that an application pop-up box is about to pop up while the screenshot operation is re-performed; after caching the delay time in the system storage space, the pop-up box is released from the system storage space to the storage space of the application, and the pop-up box is popped up.

7. A screenshot pop-up processing device, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for processing a screenshot pop-up box as described in any one of claims 1 to 5 are implemented.

8. A computer-readable medium, characterized in that A screenshot pop-up box processing program is stored thereon, and when the screenshot pop-up box processing program is executed by a processor, the steps of the screenshot pop-up box processing method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Processing method and device for screenshot

    CN106775298A

  • Screen capture method and terminal equipment

    CN110597437A