Method and apparatus for capturing screen on mobile device
First Claim
1. A method for capturing a screen on a mobile device, comprising:
- receiving, at the mobile device, a screen-capturing request for a current interface, wherein the current interface comprises first text data, and the first text data comprises personal information;
determining whether the mobile device is set in a normal screen capture mode or secure screen capture mode; and
upon determining that the mobile device is set in the secure screen capture mode;
determining a view group on a top layer of the current interface;
searching the view group for text views;
upon determining that text data of a first text view among the text views match the first text data containing the personal information, remeasuring and redrawing the first text view in the current interface to generate a replacement interface by replacing the first text data with a second predefined text data;
generating, according to the screen-capturing request, a screen capture image for the replacement interface; and
replacing the second predefined text data in the replacement interface with the first text data after the screen capture image is generated.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the disclosure provide a method and an apparatus for capturing a screen on a mobile device, the method including: receiving, at the mobile device, a screen-capturing request for a current interface, where the current interface includes first data, and the first data includes personal information; and generating, according to screen-capturing request, a screen capture image for the current interface, where the first data in the current interface is replaced in the screen capture image with second data which is predefined. These embodiments avoid the need to manually mask an image by starting a dedicated image editing tool to anonymize a screen capture image, thereby significantly lowering the relatively high technical threshold of anonymization processing, reducing the error rate, and improving the modification quality of anonymization. Moreover, the replacement is directly made to the image while the screen is captured without interfering with normal use of reading.
6 Citations
15 Claims
-
1. A method for capturing a screen on a mobile device, comprising:
-
receiving, at the mobile device, a screen-capturing request for a current interface, wherein the current interface comprises first text data, and the first text data comprises personal information; determining whether the mobile device is set in a normal screen capture mode or secure screen capture mode; and upon determining that the mobile device is set in the secure screen capture mode; determining a view group on a top layer of the current interface; searching the view group for text views; upon determining that text data of a first text view among the text views match the first text data containing the personal information, remeasuring and redrawing the first text view in the current interface to generate a replacement interface by replacing the first text data with a second predefined text data; generating, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined text data in the replacement interface with the first text data after the screen capture image is generated. - View Dependent Claims (2, 3, 8, 9, 10, 11)
-
-
4. A mobile device, comprising a processor and a memory for storing instructions, wherein the processor, when executing the instructions, is configured to cause the mobile device to:
-
receive a screen-capturing request for a current interface of the mobile device, wherein the current interface comprises first text data, and the first text data comprises personal information; determine whether the mobile device is set in a normal screen capture mode or secure screen capture mode; and upon determine that the mobile device is set in the secure screen capture mode; determine a view group on a top layer of the current interface; search the view group for text views; upon determine that text data of a first text view among the text views match the first text data containing the personal information, remeasure and redraw the first text view in the current interface to generate a replacement interface by replacing the first text data with a second predefined text data; generate, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined text data in the replacement interface with the first text data after the screen capture image is generated. - View Dependent Claims (5, 6, 12, 13, 14, 15)
-
-
7. A non-transitory computer-readable medium, storing an instruction set that, when being executed, causes a machine to perform a method for capturing a screen on a mobile device, wherein the method comprises:
-
receiving, at the mobile device, a screen-capturing request for a current interface, wherein the current interface comprises first text data, and the first text data comprises personal information; determining whether the mobile device is set in a normal screen capture mode or secure screen capture mode; and upon determining that the mobile device is set in the secure screen capture mode; determining a view group on a top layer of the current interface; searching the view group for text views; upon determining that text data of a first text view among the text views match the first text data containing the personal information, remeasuring and redrawing the first text view in the current interface to generate a replacement interface by replacing the first text data with a second predefined text data; generating, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined text data in the replacement interface with the first text data after the screen capture image is generate.
-
Specification