CN114115664A - Screenshot processing method, device, equipment and medium - Google Patents

Screenshot processing method, device, equipment and medium Download PDF

Info

Publication number
CN114115664A
CN114115664A CN202111402931.0A CN202111402931A CN114115664A CN 114115664 A CN114115664 A CN 114115664A CN 202111402931 A CN202111402931 A CN 202111402931A CN 114115664 A CN114115664 A CN 114115664A
Authority
CN
China
Prior art keywords
page
screenshot
privacy information
current page
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111402931.0A
Other languages
Chinese (zh)
Inventor
王超
李伟
金迈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202111402931.0A priority Critical patent/CN114115664A/en
Publication of CN114115664A publication Critical patent/CN114115664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6254Protecting personal data, e.g. for financial or medical purposes by anonymising data, e.g. decorrelating personal data from the owner's identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Human Computer Interaction (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a screenshot processing method, device, equipment and medium. In the method, in the process that the terminal device runs the application program, if the fact that a user triggers the screenshot operation of the page of the application program is detected, whether privacy information exists in the page needs to be determined, if the privacy information exists, the privacy information in the current page is hidden through internal processing of the application program, and then screenshot is conducted to obtain the page screenshot. In the screenshot scheme, the private information in the page in the application program cannot be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information cannot be caused, and the user experience is improved while the information safety is improved.

Description

Screenshot processing method, device, equipment and medium
Technical Field
The invention relates to the field of intelligent terminal equipment, in particular to a screenshot processing method, a screenshot processing device, screenshot processing equipment and a screenshot processing medium.
Background
With the development of computer technology and internet technology, more and more offline services in daily life of users can be realized through intelligent terminal devices such as smart phones and notebook computers, for example: shopping, banking, investment and financing, government affair handling, ticket buying, medical treatment and the like, and effectively improves the efficiency and convenience of users for processing the businesses.
In the prior art, a user installs various software programs (APPs) according to different business requirements during the process of using a terminal device, and one commonly used function in the APPs is a screenshot function. At present, a user can perform screenshot in the process of using a terminal device through the following two modes, one mode is screenshot at a system level: the current screen view is intercepted through key operation of the system, but the screenshot at the system level cannot be customized or subjected to other processing operations generally; the other is an APP internal screenshot function: different from a system screenshot, the method is a function of the APP and is often seen in functions of sharing, problem feedback and the like of the APP, and the function of the method is that the content displayed by the current APP is captured by the APP to be stored or shared.
In summary, the existing APP internal screenshot scheme may perform screenshot on any page inside the APP, and if the screenshot page includes some user privacy information, certain information security influence exists after the user shares the screenshot page or leaks the screenshot page, which affects user experience.
Disclosure of Invention
Embodiments of the present invention provide a screenshot processing method, an apparatus, a device, and a medium, which are used to solve the problem in the prior art that private information on a screenshot page has a certain information security influence after being shared or leaked by a user, so that user experience is affected.
In a first aspect, an embodiment of the present invention provides a screenshot processing method, which is applied to a terminal device installed with an application program, where the method includes:
in the using process of the application program, if it is detected that a user triggers a screenshot operation on a current page of the application program, determining whether privacy information exists in the current page;
if the privacy information exists in the current page, hiding the privacy information in the current page to obtain a processed page;
and performing screenshot processing on the processed page to obtain a page screenshot.
In one embodiment, the method further comprises:
and restoring the privacy information hidden in the processed page, and displaying the restored page in the application program.
In a specific embodiment, the hiding the privacy information in the current page to obtain a processed page includes:
fuzzifying the area of the privacy information in the current page to obtain the processed page;
or,
carrying out substitution processing on the privacy information in the current page by adopting special characters to obtain the processed page;
or,
and hiding the privacy information in the current page to obtain the processed page.
In a specific embodiment, the determining whether the privacy information exists in the current page includes:
acquiring a class of the current page, wherein the class is used for indicating whether the current page comprises privacy information or not;
and determining whether privacy information exists in the current page or not according to the class of the current page.
In one embodiment, the method further comprises:
and if the privacy information does not exist in the current page, screenshot is carried out on the current page to obtain a page screenshot.
In a second aspect, a screenshot processing apparatus provided in an embodiment of the present invention includes:
the determining module is used for determining whether privacy information exists in a current page if the fact that a user triggers a screenshot operation of the current page of the application program is detected in the using process of the application program;
the processing module is used for hiding the privacy information in the current page to obtain a processed page if the privacy information exists in the current page;
and the processing module is also used for carrying out screenshot processing on the processed page to obtain a page screenshot.
In one embodiment, the apparatus further comprises: a display module;
the processing module is also used for restoring the hidden privacy information in the processed page;
the display module is used for displaying the restored page in the application program.
In a specific embodiment, the processing module is specifically configured to:
fuzzifying the area of the privacy information in the current page to obtain the processed page;
or,
carrying out substitution processing on the privacy information in the current page by adopting special characters to obtain the processed page;
or,
and hiding the privacy information in the current page to obtain the processed page.
In a specific embodiment, the determining module is specifically configured to:
acquiring a class of the current page, wherein the class is used for indicating whether the current page comprises privacy information or not;
and determining whether privacy information exists in the current page or not according to the class of the current page.
In one embodiment, the processing module is further configured to:
and if the privacy information does not exist in the current page, screenshot is carried out on the current page to obtain a page screenshot.
In a third aspect, a terminal device provided in an embodiment of the present invention includes:
the system comprises a processor, a memory, a display and an interactive interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the screenshot processing method of any one of the first aspect via execution of the executable instructions.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the screenshot processing method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is configured to implement the screenshot processing method according to any one of the first aspect.
The embodiment of the invention provides a screenshot processing method, device, equipment and medium. In the process that the terminal device runs the application program, if the fact that a user triggers screenshot operation on a page of the application program is detected, whether privacy information exists in the page or not needs to be determined, if the privacy information exists, the privacy information in the current page is hidden through internal processing of the application program, and then screenshot is conducted, and a page screenshot is obtained. In the screenshot scheme, the private information in the page in the application program cannot be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information cannot be caused, and the user experience is improved while the information safety is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a terminal device provided in the present invention;
FIG. 2 is a schematic flow chart of a screenshot processing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second screenshot processing method according to an embodiment of the present invention;
FIG. 4 is a schematic flowchart of an example of a screenshot processing method provided by the present invention;
FIG. 5 is a schematic diagram of a triggered screenshot page provided in the present invention;
FIG. 6 is a schematic diagram of a privacy information hiding process provided by the present invention;
FIG. 7 is a schematic diagram of another privacy information hiding process provided by the present invention;
FIG. 8 is a schematic diagram of another privacy information hiding process provided by the present invention;
fig. 9 is a schematic structural diagram of a screenshot processing apparatus according to a first embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second screenshot processing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments based on the embodiments in the present invention, which can be made by those skilled in the art in light of the present disclosure, are within the scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, along with popularization of intelligent terminal devices in life of users, users can use terminal devices such as smart phones, tablet computers and intelligent terminals to perform more and more services, and in order to facilitate communication with other users, the users often need to share screenshots of pages of the terminal devices.
However, the screenshot mode may be used for screenshot on any page inside an Application (APP), and if the screenshot page includes some private information of the user, certain information security influence exists after the screenshot page is shared or leaked by the user, so that user experience is influenced.
In order to solve the above problems, the present invention provides a screenshot processing scheme capable of protecting user privacy. The inventor finds that the screenshot in the process of researching the use of the terminal device, and the screenshot at the system level is generally the direct operation directly performed on the key or hardware of the terminal device. But to the application among the terminal equipment, most users can adopt the screenshot function that the application provided to carry out the screenshot, especially when sharing and problem feedback to the APP page, consequently in the development of APP, can improve screenshot function, protect user's privacy information for the page when the user shares away or uploads the problem can be different with user's in-process of use, hides privacy information, protects user's privacy information, improves information security.
Fig. 1 is a schematic view of a terminal device provided by the present invention, and as shown in fig. 1, the terminal device according to the present invention includes other intelligent terminals such as a smart phone, a tablet computer, a computer, and a smart television, and the terminal device can install different application programs according to the requirements of a user, and can perform screenshot through functions provided by the application programs in the process of running the application programs. Fig. 1 illustrates a mobile phone as a terminal device, and a plurality of APPs (APP1-APP9, APP0, and the like) are installed in the mobile phone. The user can trigger screenshot processing of an APP page in the process of using any APP. Based on the technical scheme provided by the invention, after the screenshot is triggered, the management module of the application program or the mobile phone can hide the privacy on the screenshot page and then generate the screenshot.
The screenshot processing scheme provided by the invention is explained in detail by several specific embodiments.
Fig. 2 is a schematic flowchart of a screenshot processing method according to a first embodiment of the present invention. As shown in fig. 2, the screenshot processing method specifically includes the following steps:
s101: in the using process of the application program, if it is detected that a user triggers a screenshot operation on a current page of the application program, whether privacy information exists in the current page is determined.
In this step, when the user uses the terminal device, the user uses various types of applications to complete the required services, such as: information interaction, online shopping, bank handling of various common services and the like can be realized through different application programs. In the process of using the application program, when a user needs to share a page with other users, or needs to upload a page to a platform or a background customer service and the like and feed back related information, the user may trigger screenshot operation on the current page in the application program through a screenshot function provided by the application program. At this time, after it is detected that the user triggers the screenshot operation on the current page of the application program, the screenshot is not directly performed on the current page, and it is first required to determine whether the privacy information exists in the current page.
In a specific implementation, the terminal device may obtain a class of the current page, where the class to which the page belongs is used to indicate whether the page has the privacy information. And then, determining whether the privacy information exists on the page or not according to the class to which the current page belongs.
In the specific application of the technical scheme of the present invention, the privacy information may include identity information, account information, a certificate number, a mobile phone number, payment information, bank card information, password information, and the like of the user, and the scheme is not particularly limited.
S102: and if the privacy information exists in the current page, hiding the privacy information in the current page to obtain a processed page.
In this step, when it is determined that the privacy information exists in the current page in the manner described above, the privacy information hiding processing needs to be performed on the current page first, and the processed privacy information on the current page is hidden to obtain a processed page.
In a specific implementation of the present solution, there may be at least the following ways to hide the private information:
in the first mode, the area where the privacy information is located in the current page is subjected to fuzzification processing, so that the processed page is obtained.
In this way, the private information in the current page may be directly mosaic, or the area where the private information is located may be mosaic, or a blurred layer may be used to mask the privacy, and the area where the private information is located may be finally blurred, so that the private information may not be seen even if the screenshot of the page is obtained.
And in the second mode, replacing the privacy information in the current page by special characters to obtain the processed page.
In this way, the privacy information in the current page can be directly replaced, that is, the messy codes or other information is used for replacement, for example, special characters of non-privacy information such as ' privacy hidden ', ' star ', ' # # # # # # # ' pound ' and the like are used for replacement, so that the final privacy information is not directly displayed, and the privacy information cannot be identified even if the screenshot of the page is obtained.
And in a third mode, hiding the privacy information in the current page to obtain the processed page.
In the method, the privacy information in the current page can be directly hidden, wherein the hiding refers to that the privacy information in the page is not displayed, namely the privacy information in the page is not displayed any more, a blank space or a blank screen state is presented, the privacy information is not displayed finally, and the privacy information cannot be acquired even if a screenshot of the page is acquired.
S103: and performing screenshot processing on the processed page to obtain a page screenshot.
In this step, after the privacy information on the current page is hidden in the manner described above, the processed privacy information on the page cannot be directly seen, and at this time, the application program may perform screenshot operation on the processed page to obtain a page screenshot.
Optionally, in another case, if it is determined in step S101 that there is no privacy information in the current page, screenshot is performed on the current page to obtain a page screenshot.
And if the privacy information does not exist in the current page for hiding, directly executing screenshot operation without any processing to obtain the page screenshot.
In the screenshot processing method provided by this embodiment, in the process of running the application program by the terminal device, if it is detected that the user has triggered the screenshot operation on the page of the application program, it is required to determine whether the page has the privacy information, and if the page has the privacy information, the privacy information in the current page is hidden through internal processing of the application program, and then the screenshot is processed to obtain the page screenshot. In the screenshot scheme, the private information in the page in the application program cannot be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information cannot be caused, and the user experience is improved while the information safety is improved.
Fig. 3 is a flowchart illustrating a second screenshot processing method according to an embodiment of the present invention. As shown in fig. 3, on the basis of the foregoing embodiment, the screenshot processing method further includes the following steps:
s104: and restoring the hidden private information in the processed page, and displaying the restored page in the application program.
In this step, for the application program in the terminal device, after the page screenshot has been obtained, since the current user needs to continue to use the program and continue to process the related service, it is necessary to restore the hidden privacy information in the processed page, that is, resume normal display of the privacy information in the page. Specifically, the private information in the page is restored first, and then the restored page is normally displayed in the application program.
In a specific implementation of the scheme, if the mosaic or the layer masking is performed during the hiding process, the mosaic or the layer can be directly removed, and the display of the private information area is restored. If special characters such as messy codes, asterisks or pound signs are adopted for substitution processing, the private information of the hidden area needs to be reused to replace the special characters back, and the private information is restored to be directly displayed. If the method of directly not displaying the private information is adopted, the display of the private information can be directly resumed.
According to the screenshot processing method provided by the embodiment, the private information in the page in the application program cannot be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information cannot be caused, and the information safety is improved. Furthermore, after the page screenshot is obtained, the display of the privacy information on the page is recovered, so that the influence on the normal use of the current user is avoided, and the user experience is further improved on the premise of protecting the privacy of the user.
Based on the above embodiment, the screenshot processing method provided by the present invention is exemplified below by taking a terminal device as a mobile phone and an application program as instant messaging software.
Fig. 4 is a flowchart illustrating an example of a screenshot processing method according to the present invention. As shown in fig. 4, on the basis of the foregoing embodiment, a specific scheme for implementing the screenshot processing method is provided in this example. An internal screenshot management module is added in an APP function module, and a corresponding screenshot processing method is added on a page with user privacy information and screenshot support. When the APP captures the image on a certain page, the privacy information possibly existing on the page is hidden (or shielded) through the image capture management module, so that a user does not have the privacy information when sharing or sending the image capture. And restoring hidden privacy information after screenshot so that the user can browse normally.
Specifically, the scheme mainly comprises the improvement of an APP development stage and the improvement of a specific application stage.
In the APP development stage:
(1) APP developers add a screenshot manager module in the APP to uniformly manage the screenshots inside the APP. Its main effects are two:
1) screenshot is carried out on the current APP page, relevant display and other operations are carried out, and corresponding system methods are provided for the screenshot iOS and the android inside the system of the device.
2) And acquiring the class of the APP current display page (both iOS and android provide corresponding system methods to acquire). Whether private information exists can be determined through the class, and two methods of the class can be called: hiding the private information and restoring the private information.
(2) An APP developer adds two methods to a page class which supports an internal screenshot and contains privacy information (one method can be distinguished by parameters, and the scheme is not limited):
1) and hiding the privacy method: hiding the privacy information in the current page (the processing method is not limited, such as directly hiding the privacy view or mosaic processing) for the purpose of not displaying the privacy information of the user during screenshot;
2) the privacy restoration method comprises the following steps: and restoring the previously hidden (or other methods) page privacy information and normally displaying the page privacy information to the user.
As shown in fig. 4, in the specific application phase of APP:
(1) and the user starts the APP, and the screenshot manager starts to work after the APP is started. The user operates the APP to enter a page P, an internal screenshot is used for one function on the page P, and the user triggers the internal screenshot function through interaction, such as a page sharing function.
(2) The screenshot manager acquires a page P (both iOS and android provide response methods) currently displayed in a screen by detecting screenshot operation triggered by a user;
(3) the screenshot manager judges whether a method for hiding the private content is realized in the P class or not through the P class, and specifically comprises two processes, namely firstly judging whether private information exists in a page or not, and then further processing according to whether the private information exists or not.
In one specific implementation, the iOS system may obtain the class of the current page in the following manner, thereby determining whether the private information exists:
Figure BDA0003371355850000091
Figure BDA0003371355850000101
the android system can acquire the current page in the following manner, so as to determine whether the privacy information exists:
Figure BDA0003371355850000111
whether the privacy information is processed is further selected according to the following modes:
1) and the P page needs to carry out hidden privacy information processing: the P page contains private information and needs to be hidden.
2) And the P page does not need to carry out hidden privacy information processing: the P page does not contain privacy information, special processing is not needed, the screenshot manager directly captures the screenshot, then the screenshot is handed to a user who uses the subsequent page screenshot for use, and the branch flow is ended.
(4) When the P page needs to be subjected to privacy information hiding processing, the screenshot manager calls a method for hiding the privacy information of the P page to process the relevant hidden information of the P page, for example, in the foregoing embodiment, schemes such as mosaic, blocking, and substitution are adopted, and after the processing is completed, the privacy information on the P page is processed and cannot be displayed.
(5) And the screenshot manager starts screenshot, the screenshot cannot carry privacy information of the page, and then the screenshot is handed to a user of the subsequent screenshot of the page to use.
(6) And (4) after the screenshot manager finishes screenshot, calling a method for restoring the privacy information of the P page at the same time. After the method is called, the privacy information of the P page is restored and displayed again, and the user can continue browsing and using.
Based on the above example, fig. 5 is a schematic diagram of a page triggered to capture a screenshot, as shown in fig. 5, the current page is a chat interface of communication software, two users in the interface exchange information related to an identity card and a phone number, and "zhangmei" provides the phone number and the identity card number to the other party.
In the current chat interface, if the page screenshot is triggered by the functions of the communication software, the telephone number and the identity card number on the page need to be hidden and then screenshot by the screenshot processing method provided by the invention.
Fig. 6 is a schematic diagram of the privacy information hiding process provided by the present invention, and as shown in fig. 6, the communication software or the mobile phone replaces the identification number and the phone number in the current page with a character of "x", and the phone number and the identification number are not displayed in the processed page, but an asterisk is displayed in the corresponding position.
Fig. 7 is a schematic view of another privacy information hiding process provided by the present invention, and as shown in fig. 7, the communication software or the mobile phone hides the identity card number and the characters of the phone number in the current page, that is, directly displays blank, and the phone number and the identity card number are not displayed in the processed page.
Fig. 8 is a schematic diagram of another privacy information hiding process provided by the present invention, as shown in fig. 8, a communication software or a mobile phone shields an area where an identity card number and a phone number are located in a current page by using a layer, or directly performs a mosaic process, and the phone number and the identity card number are not displayed in the processed page.
In the foregoing example, the improvement of the screenshot processing belongs to an improvement inside an application program, and a screenshot manager module is arranged inside the application program, and the screenshot manager module implements hiding and restoring processing on private information on a page in the application program.
In the actual scheme application process, the function can also be realized by processing the system level of the terminal equipment, in the development process of the terminal equipment, a management scheme for screenshot is added, and in any case, a user can hide the privacy information in the current page no matter triggering the screenshot through an application program or triggering the screenshot through a system key, then screenshot is carried out, and the page is restored after the screenshot is completed. The specific implementation is realized through software improvement or equipment system, and the scheme is not limited.
In summary, the screenshot processing method provided by the present invention determines whether the private information exists on the page after detecting that the screenshot operation is triggered, hides the private information when the private information exists, and then performs screenshot. Therefore, the private information in the page can not be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information can not be caused, and the user experience is improved while the information safety is improved.
Fig. 9 is a schematic structural diagram of a screenshot processing apparatus according to a first embodiment of the present invention; as shown in fig. 9, the screen shot processing apparatus 10 includes:
the determining module 11 is configured to, in a using process of an application program, determine whether privacy information exists in a current page if it is detected that a user triggers a screenshot operation on the current page of the application program;
the processing module 12 is configured to, if the privacy information exists in the current page, hide the privacy information in the current page to obtain a processed page;
the processing module 12 is further configured to perform screenshot processing on the processed page to obtain a page screenshot.
The screenshot processing device provided by this embodiment is configured to execute the technical solution in any one of the foregoing method embodiments, and if it is detected that a user has triggered a screenshot operation on a page of an application program, it is necessary to determine whether private information exists in the page, and if the private information exists, the private information in the current page is hidden through internal processing of the application program, and then the screenshot is processed to obtain a page screenshot. In the screenshot scheme, the private information in the page in the application program cannot be directly displayed in the screenshot of the page, even if the user shares the screenshot with other people or reveals the screenshot, the leakage of the private information cannot be caused, and the user experience is improved while the information safety is improved.
Fig. 10 is a schematic structural diagram of a second screenshot processing apparatus according to an embodiment of the present invention; as shown in fig. 10, on the basis of the above embodiment, the screenshot processing apparatus 10 further includes: and a display module 13.
The processing module 12 is further configured to restore the private information hidden in the processed page;
the display module 13 is configured to display the restored page in the application program.
On the basis of any one of the foregoing embodiments, in a specific implementation manner of the screenshot processing apparatus 10, the processing module 12 is specifically configured to:
fuzzifying the area of the privacy information in the current page to obtain the processed page;
or,
carrying out substitution processing on the privacy information in the current page by adopting special characters to obtain the processed page;
or,
and hiding the privacy information in the current page to obtain the processed page.
In another specific embodiment, the determining module 11 is specifically configured to:
acquiring a class of the current page, wherein the class is used for indicating whether the current page comprises privacy information or not;
and determining whether privacy information exists in the current page or not according to the class of the current page.
In another specific embodiment, the processing module 12 is further configured to:
and if the privacy information does not exist in the current page, screenshot is carried out on the current page to obtain a page screenshot.
The screenshot processing apparatus provided in any of the foregoing embodiments is configured to execute the technical solution in any of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 11 is a schematic structural diagram of a terminal device provided in the present invention. As shown in fig. 11, the terminal device 100 includes:
a processor 111, a memory 112, a display 113 and an interactive interface 114;
the memory 112 is used for storing executable instructions of the processor 111;
wherein the processor 111 is configured to perform the solution in any of the method embodiments described above via execution of the executable instructions.
Alternatively, the memory 112 may be separate or integrated with the processor 111.
Optionally, when the memory 112 is a device independent from the processor 111, the terminal device 100 may further include:
and the bus is used for connecting the devices.
The terminal device is configured to execute the technical solution in any of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the technical solutions provided by any of the foregoing method embodiments.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement the technical solution provided by any of the foregoing method embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A screenshot processing method is applied to terminal equipment provided with an application program, and comprises the following steps:
in the using process of the application program, if it is detected that a user triggers a screenshot operation on a current page of the application program, determining whether privacy information exists in the current page;
if the privacy information exists in the current page, hiding the privacy information in the current page to obtain a processed page;
and performing screenshot processing on the processed page to obtain a page screenshot.
2. The method of claim 1, further comprising:
and restoring the privacy information hidden in the processed page, and displaying the restored page in the application program.
3. The method according to claim 1 or 2, wherein the hiding the privacy information in the current page to obtain a processed page includes:
fuzzifying the area of the privacy information in the current page to obtain the processed page;
or,
carrying out substitution processing on the privacy information in the current page by adopting special characters to obtain the processed page;
or,
and hiding the privacy information in the current page to obtain the processed page.
4. The method of claim 1 or 2, wherein the determining whether private information is present in the current page comprises:
acquiring a class of the current page, wherein the class is used for indicating whether the current page comprises privacy information or not;
and determining whether privacy information exists in the current page or not according to the class of the current page.
5. The method of claim 4, further comprising:
and if the privacy information does not exist in the current page, screenshot is carried out on the current page to obtain a page screenshot.
6. A screenshot processing apparatus, comprising:
the determining module is used for determining whether privacy information exists in a current page if the fact that a user triggers a screenshot operation of the current page of the application program is detected in the using process of the application program;
the processing module is used for hiding the privacy information in the current page to obtain a processed page if the privacy information exists in the current page;
and the processing module is also used for carrying out screenshot processing on the processed page to obtain a page screenshot.
7. The apparatus of claim 6, further comprising: a display module;
the processing module is also used for restoring the hidden privacy information in the processed page;
the display module is used for displaying the restored page in the application program.
8. The apparatus according to claim 6 or 7, wherein the processing module is specifically configured to:
fuzzifying the area of the privacy information in the current page to obtain the processed page;
or,
carrying out substitution processing on the privacy information in the current page by adopting special characters to obtain the processed page;
or,
and hiding the privacy information in the current page to obtain the processed page.
9. The apparatus according to claim 6 or 7, wherein the determining module is specifically configured to:
acquiring a class of the current page, wherein the class is used for indicating whether the current page comprises privacy information or not;
and determining whether privacy information exists in the current page or not according to the class of the current page.
10. The apparatus of claim 9, wherein the processing module is further configured to:
and if the privacy information does not exist in the current page, screenshot is carried out on the current page to obtain a page screenshot.
11. A terminal device, comprising:
the system comprises a processor, a memory, a display and an interactive interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to execute the screenshot processing method of any of claims 1-5 via execution of the executable instructions.
12. A readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the screenshot processing method of any of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, is adapted to implement the screenshot processing method of any of claims 1 to 5.
CN202111402931.0A 2021-11-24 2021-11-24 Screenshot processing method, device, equipment and medium Pending CN114115664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111402931.0A CN114115664A (en) 2021-11-24 2021-11-24 Screenshot processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111402931.0A CN114115664A (en) 2021-11-24 2021-11-24 Screenshot processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114115664A true CN114115664A (en) 2022-03-01

Family

ID=80371760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111402931.0A Pending CN114115664A (en) 2021-11-24 2021-11-24 Screenshot processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114115664A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115205088A (en) * 2022-07-15 2022-10-18 小米汽车科技有限公司 Image processing method, device, medium and chip
WO2024045740A1 (en) * 2022-09-02 2024-03-07 京东科技信息技术有限公司 Guard method and apparatus for page information, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145800A (en) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 Method for protecting privacy and device, terminal and storage medium
CN108491729A (en) * 2018-02-26 2018-09-04 挖财网络技术有限公司 The method and device of dynamic protection privacy of user in Android system
CN110262735A (en) * 2019-06-17 2019-09-20 深圳传音控股股份有限公司 The processing method and mobile terminal of screenshot
CN110399748A (en) * 2019-07-23 2019-11-01 中国建设银行股份有限公司 A kind of screenshot method and device based on image recognition
CN111580730A (en) * 2020-04-29 2020-08-25 掌阅科技股份有限公司 Background display method of application program, electronic device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145800A (en) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 Method for protecting privacy and device, terminal and storage medium
CN108491729A (en) * 2018-02-26 2018-09-04 挖财网络技术有限公司 The method and device of dynamic protection privacy of user in Android system
CN110262735A (en) * 2019-06-17 2019-09-20 深圳传音控股股份有限公司 The processing method and mobile terminal of screenshot
CN110399748A (en) * 2019-07-23 2019-11-01 中国建设银行股份有限公司 A kind of screenshot method and device based on image recognition
CN111580730A (en) * 2020-04-29 2020-08-25 掌阅科技股份有限公司 Background display method of application program, electronic device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115205088A (en) * 2022-07-15 2022-10-18 小米汽车科技有限公司 Image processing method, device, medium and chip
CN115205088B (en) * 2022-07-15 2024-04-09 小米汽车科技有限公司 Image processing method, device, medium and chip
WO2024045740A1 (en) * 2022-09-02 2024-03-07 京东科技信息技术有限公司 Guard method and apparatus for page information, and electronic device

Similar Documents

Publication Publication Date Title
CN104091125B (en) Handle the method and suspended window processing unit of suspended window
WO2016101384A1 (en) Dual-system switch based data security processing method and apparatus
CN114115664A (en) Screenshot processing method, device, equipment and medium
CN113806806B (en) Desensitization and restoration method and system for webpage screenshot
CN102467628A (en) Method for protecting data based on browser kernel intercept technology
CN107506637A (en) Information displaying method and device, terminal and readable storage medium storing program for executing
CN112818390A (en) Data information publishing method, device and equipment based on privacy protection
US20210042150A1 (en) Method-call-chain tracking method, electronic device, and computer readable storage medium
CN111767554A (en) Screen sharing method and device, storage medium and electronic equipment
US11080388B2 (en) Automatic extraction of information from obfuscated image regions
CN105320880A (en) Terminal control method and apparatus
CN109446761B (en) Information security processing method, storage medium and terminal equipment
WO2017008415A1 (en) Apparatus and method for launching mobile applications from a lock screen
EP3620948B1 (en) Method and apparatus for achieving dynamic graphical code
CN111818469B (en) Calling method, calling device, electronic equipment and network equipment
CN113552989A (en) Screen recording method and device and electronic equipment
CN113946870A (en) Privacy protection method, system, equipment and storage medium for shared interface
CN111259382A (en) Malicious behavior identification method, device and system and storage medium
CN106789973B (en) Page security detection method and terminal equipment
CN115344835A (en) Picture processing method, storage medium and computer terminal
CN111669744A (en) Information processing method and device and electronic equipment
WO2020046278A1 (en) Methodology to obfuscate sensitive information in mobile application background snapshot
CN112465497A (en) Payment method, payment device, electronic equipment and medium
CN116485394A (en) Method, device, equipment and medium for generating payment password and sending payment request
CN107608827B (en) Backup method and terminal for package configuration file and related medium product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination