Method and apparatus for capturing screen on mobile device
First Claim
1. A method for screen capturing in a mobile device, comprising:
- receiving, at the mobile device, a screen-capturing request for a current interface, wherein the current interface comprises first data associated with 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 views containing the first data;
upon determining that view data corresponding to a first view includes the first data associated with the personal information, remeasuring and redrawing the first view in the current interface to generate a replacement interface of the current interface by replacing the first data with a second predefined data in the current interface;
generating, according to the screen-capturing request, a screen capture image for the replacement interface; and
replacing the second predefined data in the replacement interface with the first 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.
7 Citations
20 Claims
-
1. A method for screen capturing in a mobile device, comprising:
-
receiving, at the mobile device, a screen-capturing request for a current interface, wherein the current interface comprises first data associated with 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 views containing the first data; upon determining that view data corresponding to a first view includes the first data associated with the personal information, remeasuring and redrawing the first view in the current interface to generate a replacement interface of the current interface by replacing the first data with a second predefined data in the current interface; generating, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined data in the replacement interface with the first data after the screen capture image is generated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. 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 data associated with 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 views containing the first data; upon determine that view data corresponding to a first view includes the first data associated with the personal information, remeasure and redraw the first view in the current interface to generate a replacement interface of the current interface by replacing the first data with a second predefined data in the current interface; generate, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined data in the replacement interface with the first data after the screen capture image is generated. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. 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 data associated with 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 views containing the first data; upon determining that view data corresponding to a first view includes the first data associated with the personal information, remeasuring and redrawing the first view in the current interface to generate a replacement interface of the current interface by replacing the first data with a second predefined data in the current interface; generating, according to the screen-capturing request, a screen capture image for the replacement interface; and replacing the second predefined data in the replacement interface with the first data after the screen capture image is generate. - View Dependent Claims (18, 19, 20)
-
Specification