CN113391774A - Screen projection processing method, device, equipment and storage medium - Google Patents

Screen projection processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113391774A
CN113391774A CN202010167366.3A CN202010167366A CN113391774A CN 113391774 A CN113391774 A CN 113391774A CN 202010167366 A CN202010167366 A CN 202010167366A CN 113391774 A CN113391774 A CN 113391774A
Authority
CN
China
Prior art keywords
interface
screen projection
screen
application program
target
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
CN202010167366.3A
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.)
Nail Holding Cayman Co ltd
Dingtalk Holding Cayman Ltd
Original Assignee
Nail Holding Cayman 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 Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN202010167366.3A priority Critical patent/CN113391774A/en
Publication of CN113391774A publication Critical patent/CN113391774A/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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/602Providing cryptographic facilities or services
    • 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
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

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

Abstract

The embodiment of the invention provides a screen projection processing method, a screen projection processing device, screen projection equipment and a storage medium, wherein the method comprises the following steps: the source equipment responds to screen projection operation, and if the fact that the currently displayed interface contains privacy data is detected, encryption processing is conducted on the privacy data; and the encrypted interface is projected to the target equipment for display, so that each user watching the target equipment cannot watch the private data, and the security of the private data is ensured.

Description

Screen projection processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a screen projection processing method, device, equipment and storage medium.
Background
Through the screen projection technology, data content displayed on a screen of the device a can be transmitted to a screen of the device B for display, for example, data displayed on a screen of a mobile phone can be transmitted to a television for display, the device a can be called a source screen projection device, and the device B can be called a destination screen projection device.
Generally, a user needs to display the data content in the device to a plurality of users for watching, and then the user uses the screen projection technology. In the screen projection state, the data content presented on the screen of the user equipment is displayed by the screen projection.
Disclosure of Invention
The embodiment of the invention provides a screen projection processing method, a screen projection processing device, screen projection equipment and a storage medium, which are used for preventing privacy data of a user from being leaked in a screen projection state.
In a first aspect, an embodiment of the present invention provides a screen projection processing method, which is applied to a source device that needs to perform screen projection, and the method includes:
responding to screen projection operation, and if detecting that the currently displayed interface contains privacy data, encrypting the privacy data;
and projecting the encrypted interface to the target equipment for displaying.
In a second aspect, an embodiment of the present invention provides a screen projection processing apparatus, which is applied to a source device that needs to perform screen projection, and the apparatus includes:
the encryption module is used for responding to screen projection operation, and if the privacy data are detected to be contained in the currently displayed interface, encrypting the privacy data;
and the screen projection module is used for projecting the encrypted interface to the target equipment for displaying.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to implement at least the screen-projection processing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the screen projection processing method according to the first aspect.
In a fifth aspect, an embodiment of the present invention provides a screen projection processing method, which is applied to a target application program, where the target application program is installed in a source device that needs to perform screen projection, and the method includes:
receiving screen projection operation triggered by the target application program;
if the current displayed interface is detected to contain the privacy data, encrypting the privacy data;
and projecting the encrypted interface to the target equipment for displaying.
In a sixth aspect, an embodiment of the present invention provides a screen projection processing apparatus, which is applied to a target application, where the target application is located in a source device that needs to perform screen projection, and the apparatus includes:
the receiving module is used for receiving screen projection operation triggered by the target application program;
the encryption module is used for encrypting the privacy data if the privacy data is detected to be contained in the currently displayed interface;
and the screen projection module is used for projecting the encrypted interface to the target equipment for displaying.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory stores executable code corresponding to a target application program, and when the executable code is executed by the processor, the processor is enabled to at least realize the screen projection processing method according to the fifth aspect.
In an eighth aspect, the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the screen projection processing method according to the fifth aspect.
In a ninth aspect, an embodiment of the present invention provides a screen projection processing method, which is applied to a source device that needs to perform screen projection, where the source device includes a first application program and a second application program, and the method includes:
responding to screen projection operation triggered by the first application program, if detecting that a currently displayed interface contains private data, calling the second application program to encrypt the private data, wherein the interface corresponds to the second application program;
and projecting the encrypted interface to target equipment for display through the first application program.
In a tenth aspect, an embodiment of the present invention provides a screen projection processing apparatus, which is applied to a source device that needs to perform screen projection, where the source device includes a first application program and a second application program, and the apparatus includes:
the encryption module is used for responding to screen projection operation triggered by the first application program, and if private data are detected to be contained in a currently displayed interface, calling the second application program to encrypt the private data, wherein the interface corresponds to the second application program;
and the screen projection module is used for projecting the encrypted interface to the target equipment for display through the first application program.
In an eleventh aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to implement at least the screen projection processing method as described in the ninth aspect.
In a twelfth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium, having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to implement at least the screen projection processing method according to the ninth aspect. In the embodiment of the present invention, for example, the interface displayed in the screen of the device a is projected to the device B for displaying, if the currently displayed interface on the screen of the device a includes the private data, the private data is encrypted and then the encrypted interface is projected to the device B for displaying, so that each user watching the device B cannot view the private data, and the security of the private data is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a screen projection processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an interface change of a private data encryption process according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an interface change of another private data encryption process according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an interface change of another privacy data encryption process according to an embodiment of the present invention;
fig. 5 is a flowchart of another screen projection processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an interface change in a screen projection processing process according to an embodiment of the present invention;
fig. 7 is a flowchart of another screen projection processing method according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating an interface change for implementing a screen projection function according to an embodiment of the present invention;
fig. 9 is a flowchart of another screen projection processing method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a screen projection processing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device corresponding to the screen projection processing apparatus provided in the embodiment shown in fig. 10;
fig. 12 is a schematic structural diagram of another screen projection processing apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device corresponding to the screen projection processing apparatus provided in the embodiment shown in fig. 12;
fig. 14 is a schematic structural diagram of another screen projection processing apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device corresponding to the screen projection processing apparatus provided in the embodiment shown in fig. 14.
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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a flowchart of a screen projection processing method according to an embodiment of the present invention, where the screen projection processing method may be executed by a source device that needs to perform screen projection. As shown in fig. 1, the method comprises the steps of:
101. and responding to screen projection operation, and if the current displayed interface is detected to contain the privacy data, encrypting the privacy data.
102. And projecting the encrypted interface to the target equipment for displaying.
For convenience of description, the screen projection processing method provided by the embodiment of the present invention is described by taking a scene in which the device a projects an interface displayed on a screen onto the device B for display as an example. In this example, the source device that needs to perform screen projection is device a, and the target device is device B.
In practical application, there may be more than one way to implement the screen projection from the device a to the device B, and the screen projection implementation way is not limited in the embodiment of the present invention. Thus, "in response to the screen-projection operation" in step 101 should be understood as: in response to device a being in a state capable of projecting a screen to device B.
During the screen projection process, the interface displayed on the screen of the device a may be a desktop of the device a or an interface included in any application installed in the device a.
Different private data may be defined according to the interface that may be displayed on the screen of the device a, so that, if it is found that the interface currently displayed on the screen of the device a contains the specified private data, the device a performs encryption processing on the private data, the purpose of the encryption processing being to make the private data in a state that is not viewable by others on the screen of the device B, where the others are users viewing the device B.
In practical application, the encryption processing of the private data may include two optional ways: firstly, performing content encryption processing on private data, namely encrypting data content contained in the private data; secondly, image encryption processing is carried out on the target area displaying the private data, namely the target area containing the private data is determined from an interface containing the private data, the target area can be intercepted in a screenshot mode, and then the image encryption processing is carried out on the target area.
Wherein, the image encryption processing can be realized as: image blurring processes such as random gaussian blurring, random motion blurring, random cropping, and the like. Alternatively, the image encryption process may be implemented as: generating an opaque layer, and displaying the layer on a target area for displaying the private data in a floating manner to block the target area, namely covering the private data with the layer, so that the private data is in an invisible state.
The content encryption of the private data can be realized as follows: certain characters are used to replace the private data, such as characters obtained by performing some encryption operation on the private data.
It was mentioned in the foregoing that different privacy data may be defined depending on the interface that may be displayed on the screen of device a, wherein the difference in interface as referred to herein may be embodied as a difference in interface type.
Based on this, when a certain interface is displayed in the screen of the device a while the device a is in a state capable of projecting a screen to the device B, the type of the interface may be recognized so as to determine the privacy data contained in the interface according to the type of the interface.
That is, when a certain interface is displayed in the screen of the device a based on the operation of the user (typically, the owner or user of the device a) corresponding to the device a, first, it is determined whether or not the interface includes the private data and where the included private data is located in conjunction with the type of the interface. Secondly, if the interface does not contain the privacy data, the interface is normally projected and displayed, namely the interface is projected to the device B for display; and if the interface contains the private data, the private data needs to be encrypted, and the encrypted interface is projected to the device B for display, so that the private data in the interface is in an invisible state in the device B.
In the embodiment of the present invention, the types of the interface are exemplarily divided into the following types: desktop, login interface, instant messaging interface. Of course, in practical applications, the method is not limited thereto. The following describes exemplary processes for encrypting private data in these interface types with reference to different embodiments.
Fig. 2 is a schematic diagram of interface changes in an encryption process of private data according to an embodiment of the present invention, and in fig. 2, it is assumed that an interface displayed on a screen of a current device a is a desktop of the device a. Assuming that the private data on the preset desktop includes icons of specific applications, such as the bank-type applications, as shown in fig. 2, it is assumed that the desktop of the device a includes an icon of the bank X, and at this time, the icon of the bank X is the private data. As shown in fig. 2, the encryption process for the private data may be: determining a target area of an icon of the bank X displayed on the desktop, generating a layer Y corresponding to the target area, and displaying the layer Y on the target area in a suspension manner so as to shield the target area. Wherein the target area may be an area surrounding the icon of bank X, which has the same size as the icon of bank X, not shown in fig. 2.
In practical application, which types of application programs on the desktop belong to the private data may be preset, so that, in the process of projecting the screen to the device B by the device a, if an interface that needs to be projected at a certain time is found to be a certain desktop, whether a preset application program icon is included in the desktop is queried, and if the preset application program icon is included, it is indicated that the encryption processing of the above example needs to be performed.
Fig. 3 is a schematic diagram illustrating an interface change of another private data encryption process according to an embodiment of the present invention, and in fig. 3, it is assumed that an interface displayed on a screen of a current device a is a login interface of an application program in the device a. Assuming that the privacy data included in the login interface is set as user login information, i.e., a user name and a login password, as shown in fig. 3, since a login interface of an application is currently displayed on the screen of the device a, the privacy data at this time is the user name and the login password illustrated in fig. 3. As shown in fig. 3, the encryption process for the private data may be: determining a target area D for displaying the private data, generating a layer Z corresponding to the target area D, and displaying the layer Z on the target area D in a suspension manner so as to shield the target area D. Alternatively, the target area D may be a minimum rectangle surrounding the user login window.
In practical application, optionally, in the process of projecting the screen to the device B, the device a may determine whether the login interface and the user login information included in the login interface are currently displayed on the screen of the device a by searching for a keyword. Specifically, the keyword may be a user name and a password, so that if the interface is found to include the two keywords, the interface is considered to be a login interface, and the position where the keyword is found is the position where the privacy data is located.
Fig. 4 is a schematic diagram illustrating an interface change of another privacy data encryption process according to an embodiment of the present invention, in fig. 4, assuming that an interface displayed on a screen of a current device a is an instant messaging interface (commonly referred to as a chat interface or a chat window) of an instant messaging application in the device a, and assuming that privacy data included in the instant messaging interface is set as an instant messaging message, as shown in fig. 4, the privacy data currently displayed on the screen of the device a is a plurality of instant messaging messages corresponding to different users illustrated in fig. 4. As shown in fig. 4, the encryption process for the private data may be: determining a target area T for displaying instant messaging messages in an instant messaging interface, generating a layer K corresponding to the target area T, and displaying the layer K on the target area T in a suspension manner.
In practical application, optionally, the instant messaging interface may be split into two regions, such as a target region T and a region M illustrated in fig. 4, where the region M is used to display each operation item included in the instant messaging interface, such as operation item 1, operation item 2, and operation item 3 illustrated in fig. 4. And taking the other areas except the area M in the instant messaging interface as target areas T. In the encryption process, only the target area T containing the instant messenger message may be encrypted, and the area M may not be encrypted.
The above fig. 2-4 only illustrate the encryption manner of the private data in the manner of generating the layer to block the private data, and in fact, as mentioned above, the encryption manner is not limited to this.
In summary, in the screen projection process, the privacy data of the screen projection person can avoid screen projection display, so that the data privacy of the screen projection person is protected.
Fig. 5 is a flowchart of another screen projection processing method provided in an embodiment of the present invention, where the screen projection processing method can be executed by the source device in the foregoing. As shown in fig. 5, the following steps may be included:
501. and responding to screen projection operation, and if the current displayed interface is detected to contain the privacy data, encrypting the privacy data.
502. And projecting the encrypted interface to the target equipment for displaying.
The above steps can be performed as described in the foregoing other embodiments, and are not described herein.
503. And displaying prompt information and a screen projection control on the encrypted interface displayed by the target equipment, wherein the prompt information is used for prompting the operation of canceling the encryption effect of the private data.
504. And if receiving the operation triggered according to the prompt information, projecting the interface which is not encrypted to the target equipment for displaying.
505. And executing the operation triggered by the user according to the screen projection control.
The implementation of steps 503 and 505 is still exemplified by the device a and the device B mentioned in the foregoing embodiments, with reference to fig. 6.
As shown in fig. 6, assuming that an instant messaging interface is currently displayed on the screen of the device a, and a plurality of instant messaging messages contained therein are used as privacy data, the encryption processing process for the privacy data is, for example, as shown in fig. 4, a layer K is displayed in a floating manner on a target area containing the privacy data to block the privacy data.
On the layer K, a prompt 601 and a screen projection control 602 may be displayed. As shown in fig. 6, in practical applications, the prompt information 601 may be composed of prompt text and an operation button, where the prompt text is used to prompt a user how to operate the operation button if the user wants to cancel the encryption effect of the private data, and the implementation form of the operation button may be a slider, a key, or even a command for triggering cancellation of the encryption effect of the private data in a voice interaction manner. In addition, in practical application, different operation buttons can be adopted according to different types of the equipment A, for example, when the equipment A is a computer, the operation buttons can be keys; when the device a is a mobile phone, the operation button may be a slider.
As shown in fig. 6, when a user (usually, a screen projector) triggers an operation on the operation button on the device a, that is, an operation for canceling the encryption effect of the private data is triggered, an instant messaging interface before encryption processing is displayed on the screen of the device a, that is, the layer K is simply removed, and at this time, a plurality of instant messaging messages serving as private data are projected onto a target device, that is, the device B, and displayed, and are in a visible state of a plurality of users.
When a user (generally, a screen projector) triggers an operation on the device a for the screen projecting control 602, a corresponding screen projecting interface may be displayed, where the screen projecting interface may include one or more operation items, such as an operation item related to screen projecting control, for example, terminating screen projecting, so that the user can implement screen projecting control.
Fig. 7 is a flowchart of another screen projection processing method according to an embodiment of the present invention, where the screen projection processing method may be executed by a target application in a source device. As shown in fig. 7, the method includes the steps of:
701. and the target application program in the source equipment receives screen projection operation triggered by the target application program.
702. And if the currently displayed interface contains the privacy data, the target application program encrypts the privacy data.
703. And the target application program projects the encrypted interface to the target equipment for display.
In this embodiment, a source device is taken as the device a in the foregoing description, and a target device is taken as the device B for illustration. The target application program runs in the device A and has screen projection related functions, and screen projection from the device A to the device B can be realized through the screen projection related functions.
In summary, the user of the device a can establish a communication connection with the device B through the screen-projection related function provided in the target application program, so that the interface displayed on the screen of the device a is transmitted to the device B through the communication connection for displaying. During the screen projection process, the target application program can encrypt the privacy data displayed in the interface of the device a. The interface may be some of the interfaces in the target application, may be interfaces in other applications, or may be a desktop of device a.
In practical applications, the target application may be an instant messaging application, but is not limited to this, for example, the target application may also be a payment application, a video conference application, and the like.
The following describes an implementation manner for implementing a screen projection function from device a to device B in conjunction with fig. 8. As shown in fig. 8, taking the target application as an instant messaging application as an example, after the user of the device a opens the instant messaging application installed in the device a, it is assumed that a home page interface 801 shown in fig. 8 is displayed on the screen of the device a, an operation item entry 802 is displayed in the home page interface 801, and when the user clicks the operation item entry 802, an operation item list 803 pops up. A plurality of operation items for the user may be included in the operation item list 803, where the plurality of operation items include operation items related to a screen projection function, such as the screen projection 804 illustrated in fig. 8.
After the user selects the operation item of screen projection 804, a screen projection interface 805 can be displayed. The user can input screen-projection setting information in the screen projection interface 805, such as an input box 806 for inputting a screen projection code illustrated in fig. 8 and a button for starting screen projection 807. Accordingly, after the user inputs the screen-projecting code displayed on the device B in the input box 806 and clicks the screen-projecting start 807, the screen-projecting connection between the device a and the device B is completed, and at this time, the device a is in a state capable of performing screen-projecting display on the device B, that is, the content displayed on the screen of the device a is displayed on the screen of the device B.
It will be appreciated that after the communication connection between device a and device B is implemented by the instant messenger application as illustrated in fig. 8, the interface within the instant messenger application does not necessarily remain displayed on the screen of device a, such as when the user of device a opens a word document or Excel form, the document or form is displayed on device a and displayed on device B by being screened.
Still taking the target application as an instant messaging application as an example, when the user of the device a realizes screen projection operation on the device B through the instant messaging application, and after communication connection between the two devices is established, the instant messaging application can detect whether the interface displayed on the screen of the device a contains privacy data, and if so, encrypt the privacy data, and screen-project the encrypted interface onto the device B for display.
As described above, the instant messaging application may detect the type of the interface currently displayed on the device a, and if it is detected that the preset type of interface is currently displayed, may further determine the location and content of the private data in the interface, so as to encrypt the private data.
As described above, for example, if the currently displayed interface on the screen of the device a is the desktop of the device a, when the instant messaging application learns that the currently displayed desktop of the device a is displayed, whether the desktop includes the icon of the preset application may be detected in a keyword search manner, and if the desktop includes the icon of the preset application, the icon of the preset application is considered as the privacy data.
For another example, if the currently displayed interface on the screen of the device a is a login interface of an application program, the instant messaging application program may search keywords such as "user name", "password" and the like from the login interface in a keyword search manner when knowing that the currently displayed login interface is displayed, and learn the content and location of the user name and the password based on the search result.
For another example, if the instant messaging application detects that a certain instant messaging interface (i.e., a chat interface) of the instant messaging application is displayed on the screen of the device a or the user is in operation of viewing the instant messaging message, the chat area in the instant messaging interface is considered to be the privacy data.
For another example, if the instant messaging application detects that the payment interface of the payment program is displayed on the screen of the device a or detects that the user views the payment message, it considers that all data or some part of the set data included in the payment interface displayed on the screen of the device a is the private data.
In practical applications, the identifier of the interface of the set type may be registered in advance in a target application program in the device a, such as an instant messaging application program, so that the instant messaging application program can know whether the current screen of the device a displays the interface of the set type based on the registration information.
In this embodiment, after the target application detects the private data, the encryption process of the private data may refer to the description in the foregoing other embodiments, which is not described herein again.
For understanding, the following screen-projection scenario is taken as an example to illustrate the encryption requirement of the instant messaging message:
suppose that a certain department of a company summarizes a conference in a year, the conference is hosted by a department supervisor, and the department supervisor displays a presentation document prepared in advance on a television screen by a terminal device of the department supervisor, wherein the terminal device of the department supervisor can be a computer or a mobile phone, and the terminal device of the department supervisor is provided with an instant messaging application program, and the screen-casting function can be realized by the instant messaging application program, as shown in fig. 8. In addition, if the department supervisor receives the instant messaging message in the conference process, when the instant messaging message is consulted, an instant messaging interface is displayed on a screen of the terminal equipment of the department supervisor, and the instant messaging interface comprises the instant messaging message and other instant messaging messages. Because the terminal equipment in charge of the department is in the screen projection state at present, all contents displayed on the screen of the terminal equipment can be projected on the television screen, and all participants can see the contents displayed on the screen of the terminal equipment in charge of the department through the television screen, so that all the participants can see the instant communication messages. The instant messaging messages belong to private data of a department supervisor and are not suitable for being seen by other people, so that the private data need to be encrypted and protected in the screen projection process to avoid being seen by other people.
Fig. 9 is a flowchart of another screen projection processing method according to an embodiment of the present invention, where the screen projection processing method may be executed by a first application program and a second application program in a source device. As shown in fig. 9, the method includes the steps of:
901. a first application in the source device receives a screen projection operation triggered by the target application.
902. And if the first application program detects that the currently displayed interface contains the private data, calling a second application program to encrypt the private data, wherein the interface corresponds to the second application program.
903. And the first application program projects the encrypted interface to the target equipment for displaying.
In this embodiment, the first application may be a target application in the embodiment shown in fig. 7, that is, an application having a screen projection related function, and may be an instant messaging application, a payment application, or the like.
The second application is an application corresponding to the interface displayed in the device a. For example, if an instant messaging interface is currently displayed on the screen of the device a, the second application is a corresponding instant messaging application. The second application is a desktop program if the desktop of device a is currently displayed on the screen of device a.
In this embodiment, for the way that the first application detects whether the interface currently displayed on the screen of the device a includes the private data, reference may be made to the description in the foregoing embodiment, which is not described herein again. When the first application program detects that the currently displayed interface contains the private data, a notification can be sent to a second application program corresponding to the interface, so that the second application program encrypts the private data contained in the interface, and the encrypted interface is projected to the device B through the first application program.
The description of the present embodiment, which is not expanded in detail, may refer to the descriptions of the other embodiments described above, and is not repeated herein.
The screen projection processing device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these screen projection processing devices can be constructed by configuring them using commercially available hardware components through the steps taught in this embodiment.
Fig. 10 is a schematic structural diagram of a screen projection processing apparatus according to an embodiment of the present invention, where the screen projection processing apparatus is disposed in a source device in the foregoing. As shown in fig. 10, the apparatus includes: an encryption module 11 and a screen projection module 12.
And the encryption module 11 is configured to perform encryption processing on the privacy data if it is detected that the currently displayed interface includes the privacy data in response to the screen-throwing operation.
And the screen projection module 12 is used for projecting the encrypted interface to the target device for display.
Optionally, the apparatus further comprises: and identifying the module.
The identification module is used for identifying the type of the interface; and determining the privacy data contained in the interface according to the type of the interface.
Optionally, the identification module is specifically configured to: and if the type of the interface is an instant messaging interface, determining that the privacy data contained in the instant messaging interface is an instant messaging message.
Optionally, the identification module is specifically configured to: and if the type of the interface is a login interface, determining that the privacy data contained in the login interface is user login information.
Optionally, the identification module is specifically configured to: and if the type of the interface is a desktop, determining that the privacy data contained in the desktop is an icon of a preset application program.
Optionally, the encryption module 11 is specifically configured to: performing content encryption processing on the private data; or determining a target area displaying the private data in the interface, and carrying out image encryption processing on the target area.
In the process of encrypting the image, optionally, the encryption module 11 is specifically configured to: and generating a layer corresponding to the target area, and displaying the layer on the target area in a suspension manner to shield the target area, or performing image blurring processing on the target area.
Optionally, the apparatus further comprises: and an interaction module.
The interaction module is used for displaying prompt information on the encrypted interface, wherein the prompt information is used for prompting the operation of canceling the encryption effect of the private data; and if the operation triggered according to the prompt information is received, the interface which is not encrypted is projected to the target equipment for display.
Optionally, the interaction module is further configured to: displaying a screen projection control on the encrypted interface; and executing the operation triggered by the user according to the screen projection control.
The device shown in fig. 10 may perform the screen projection processing method provided in the embodiments shown in fig. 1 to fig. 6, and the detailed execution process and technical effect refer to the description in the embodiments, which is not described herein again.
In one possible design, the structure of the projection processing apparatus shown in fig. 10 may be implemented as an electronic device, as shown in fig. 11, which may include: a first processor 21, a first memory 22, a first display 23, and a first communication interface 24. The first memory 22 stores executable codes thereon, and when the executable codes are executed by the first processor 21, the first processor 21 can at least implement the screen projection processing method provided in the embodiments of fig. 1 to 6.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to implement at least the screen projection processing method provided in the foregoing embodiments of fig. 1 to 6.
Fig. 12 is a schematic structural diagram of another screen projection processing apparatus according to an embodiment of the present invention, where the screen projection processing apparatus is disposed in a target application program, and the target application program is disposed in a source device that needs to perform screen projection. As shown in fig. 12, the apparatus includes: a receiving module 31, an encryption module 32, and a screen projection module 33.
And the receiving module 31 is configured to receive a screen-casting operation triggered by the target application program.
And the encryption module 32 is configured to encrypt the privacy data if it is detected that the currently displayed interface includes the privacy data.
And the screen projection module 33 is configured to project the encrypted interface to the target device for display.
Optionally, the target application comprises an instant messaging application.
The device shown in fig. 12 may perform the screen projection processing method provided in the foregoing embodiment shown in fig. 7, and the detailed execution process and technical effect refer to the description in the foregoing embodiment, which is not described herein again.
In one possible design, the structure of the projection processing apparatus shown in fig. 12 may be implemented as an electronic device, as shown in fig. 13, which may include: a second processor 41, a second memory 42, a second display 43, a second communication interface 44. Wherein the second memory 42 stores executable code corresponding to the target application program, and when the executable code is executed by the second processor 41, the second processor 41 is enabled to at least implement the screen projection processing method provided in the embodiment shown in fig. 7.
In addition, the embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code corresponding to a target application program is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the screen projection processing method provided in the embodiment shown in fig. 7.
Fig. 14 is a schematic structural diagram of another screen projection processing apparatus according to an embodiment of the present invention, where the screen projection processing apparatus is disposed in a source device target application program that needs to be subjected to screen projection, and the source device includes a first application program and a second application program target application program. As shown in fig. 14, the apparatus includes: an encryption module 51 and a screen projection module 52.
And the encryption module 51 is configured to respond to a screen projection operation triggered by the first application program, and if it is detected that a currently displayed interface includes private data, invoke the second application program to encrypt the private data, where the interface corresponds to the second application program.
And a screen projection module 52, configured to project the encrypted interface to the target device for display through the first application.
Optionally, the target application comprises an instant messaging application.
The device shown in fig. 14 may perform the screen projection processing method provided in the foregoing embodiment shown in fig. 9, and the detailed execution process and technical effect refer to the description in the foregoing embodiment, which is not described herein again.
In one possible design, the structure of the projection processing apparatus shown in fig. 14 may be implemented as an electronic device, as shown in fig. 15, which may include: a third processor 61, a third memory 62, a third display 63, and a third communication interface 64. Wherein the third memory 62 has stored thereon executable code which, when executed by the third processor 61, makes the third processor 61 at least implement the screen projection processing method as provided in the embodiment of fig. 9 described above.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the screen projection processing method provided in the foregoing embodiment shown in fig. 9.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The screen projection processing method provided by the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the device a mentioned in the foregoing embodiment may download the program/software into a local nonvolatile storage medium, and when it needs to execute the screen projection processing method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the screen projection processing method provided in the foregoing embodiment, and the execution process may refer to the schematic in fig. 1 to fig. 9.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (21)

1. A screen projection processing method is applied to a source device needing screen projection, and comprises the following steps:
responding to screen projection operation, and if detecting that the currently displayed interface contains privacy data, encrypting the privacy data;
and projecting the encrypted interface to the target equipment for displaying.
2. The method of claim 1, further comprising:
identifying a type of the interface;
and determining the privacy data contained in the interface according to the type of the interface.
3. The method of claim 2, wherein determining the privacy data included in the interface according to the type of the interface comprises:
and if the type of the interface is an instant messaging interface, determining that the privacy data contained in the instant messaging interface is an instant messaging message.
4. The method of claim 2, wherein determining the privacy data included in the interface according to the type of the interface comprises:
and if the type of the interface is a login interface, determining that the privacy data contained in the login interface is user login information.
5. The method of claim 2, wherein determining the privacy data included in the interface according to the type of the interface comprises:
and if the type of the interface is a desktop, determining that the privacy data contained in the desktop is an icon of a preset application program.
6. The method of claim 1, wherein the cryptographically processing the private data comprises:
performing content encryption processing on the private data; alternatively, the first and second electrodes may be,
and determining a target area displaying the private data in the interface, and carrying out image encryption processing on the target area.
7. The method according to claim 6, wherein the image encryption processing on the target area comprises:
generating a layer corresponding to the target area;
and displaying the layer on the target area in a suspension manner so as to shield the target area.
8. The method according to claim 6, wherein the image encryption processing on the target area comprises:
and carrying out image blurring processing on the target area.
9. The method according to any one of claims 1 to 8, further comprising:
displaying prompt information on the encrypted interface, wherein the prompt information is used for prompting the operation of canceling the encryption effect of the private data;
and if the operation triggered according to the prompt information is received, the interface which is not encrypted is projected to the target equipment for display.
10. The method according to any one of claims 1 to 8, further comprising:
displaying a screen projection control on the encrypted interface;
and executing the operation triggered by the user according to the screen projection control.
11. A screen projection processing device is applied to source equipment needing screen projection, and the device comprises:
the encryption module is used for responding to screen projection operation, and if the privacy data are detected to be contained in the currently displayed interface, encrypting the privacy data;
and the screen projection module is used for projecting the encrypted interface to the target equipment for displaying.
12. An electronic device, comprising: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the screen-projection processing method of any one of claims 1 to 10.
13. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the screen-projection processing method of any one of claims 1 to 10.
14. A screen projection processing method is applied to a target application program, wherein the target application program is arranged on a source device needing screen projection, and the method comprises the following steps:
receiving screen projection operation triggered by the target application program;
if the current displayed interface is detected to contain the privacy data, encrypting the privacy data;
and projecting the encrypted interface to the target equipment for displaying.
15. The method of claim 14, wherein the target application comprises an instant messaging application.
16. A screen projection processing device is applied to a target application program, wherein the target application program is arranged on a source device needing screen projection, and the device comprises:
the receiving module is used for receiving screen projection operation triggered by the target application program;
the encryption module is used for encrypting the privacy data if the privacy data is detected to be contained in the currently displayed interface;
and the screen projection module is used for projecting the encrypted interface to the target equipment for displaying.
17. An electronic device, comprising: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory has stored thereon executable code corresponding to a target application, which when executed by the processor, causes the processor to perform the screen-projection processing method of claim 14 or 15.
18. A screen projection processing method is applied to source equipment needing screen projection, wherein the source equipment comprises a first application program and a second application program, and the method comprises the following steps:
responding to screen projection operation triggered by the first application program, if detecting that a currently displayed interface contains private data, calling the second application program to encrypt the private data, wherein the interface corresponds to the second application program;
and projecting the encrypted interface to target equipment for display through the first application program.
19. The method of claim 18, wherein the target application comprises an instant messaging application.
20. A screen projection processing device is applied to source equipment needing screen projection, wherein the source equipment comprises a first application program and a second application program, and the device comprises:
the encryption module is used for responding to screen projection operation triggered by the first application program, and if private data are detected to be contained in a currently displayed interface, calling the second application program to encrypt the private data, wherein the interface corresponds to the second application program;
and the screen projection module is used for projecting the encrypted interface to the target equipment for display through the first application program.
21. An electronic device, comprising: the device comprises a memory, a processor, a display screen and a communication interface; wherein the memory has stored thereon executable code corresponding to a target application, which when executed by the processor, causes the processor to perform the screen-projection processing method of claim 18 or 19.
CN202010167366.3A 2020-03-11 2020-03-11 Screen projection processing method, device, equipment and storage medium Pending CN113391774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010167366.3A CN113391774A (en) 2020-03-11 2020-03-11 Screen projection processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010167366.3A CN113391774A (en) 2020-03-11 2020-03-11 Screen projection processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113391774A true CN113391774A (en) 2021-09-14

Family

ID=77615433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010167366.3A Pending CN113391774A (en) 2020-03-11 2020-03-11 Screen projection processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113391774A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489549A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection image processing method and device, electronic equipment and storage medium
WO2024020980A1 (en) * 2022-07-29 2024-02-01 广州视源电子科技股份有限公司 Data transmission method and apparatus, and conference system, wireless screen transmitter and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193910A1 (en) * 2003-03-28 2004-09-30 Samsung Electronics Co., Ltd. Security filter for preventing the display of sensitive information on a video display
US20070061399A1 (en) * 2005-09-12 2007-03-15 Microsoft Corporation Filtering obscured data from a remote client display
US20150278534A1 (en) * 2014-03-26 2015-10-01 Amazon Technologies, Inc. Electronic communication with secure screen sharing of sensitive information
US20150332439A1 (en) * 2014-05-13 2015-11-19 Xiaomi Inc. Methods and devices for hiding privacy information
CN105100907A (en) * 2014-04-28 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Selective screen projection method and device thereof
CN109828732A (en) * 2018-12-26 2019-05-31 维沃移动通信有限公司 A kind of display control method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040193910A1 (en) * 2003-03-28 2004-09-30 Samsung Electronics Co., Ltd. Security filter for preventing the display of sensitive information on a video display
US20070061399A1 (en) * 2005-09-12 2007-03-15 Microsoft Corporation Filtering obscured data from a remote client display
US20150278534A1 (en) * 2014-03-26 2015-10-01 Amazon Technologies, Inc. Electronic communication with secure screen sharing of sensitive information
CN105100907A (en) * 2014-04-28 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Selective screen projection method and device thereof
US20150332439A1 (en) * 2014-05-13 2015-11-19 Xiaomi Inc. Methods and devices for hiding privacy information
CN109828732A (en) * 2018-12-26 2019-05-31 维沃移动通信有限公司 A kind of display control method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489549A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection image processing method and device, electronic equipment and storage medium
WO2024020980A1 (en) * 2022-07-29 2024-02-01 广州视源电子科技股份有限公司 Data transmission method and apparatus, and conference system, wireless screen transmitter and storage medium

Similar Documents

Publication Publication Date Title
US11882221B2 (en) Mobile terminal privacy protection method and protection apparatus, and mobile terminal
EP2699029B1 (en) Method and device for providing a message function
US20190050600A1 (en) Masking display of sensitive information
CN109491567B (en) Message reply method, device, terminal and storage medium
US20180373426A1 (en) Information Showing Method and Apparatus, and Electronic Device
US20150302621A1 (en) Concealing sensitive information on a display
CN114080594A (en) Notification tagging for workspaces or applications
CN112804445B (en) Display method and device and electronic equipment
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
US20230088720A1 (en) Message processing method and apparatus, device, storage medium, and program product
US20170316187A1 (en) Systems and Methods for Creating and Sharing Protected Content
CN113391774A (en) Screen projection processing method, device, equipment and storage medium
CN108900553B (en) Communication method, device and computer readable storage medium
US8984271B2 (en) User interface systems and methods for input and display of secure and insecure message oriented communications
CN115361184A (en) Privacy protection method and related product
CN103036852A (en) Method and device for achieving network login
US10599878B2 (en) Using decoy icons to prevent unwanted user access to applications on a user computing device
US10362065B2 (en) Management of actions initiated by applications in client devices
CN111327516B (en) Information processing method, terminal and readable storage medium
CN104618227A (en) Method and device for protecting relevant information of instant message contact
CN109800583B (en) Electronic device comprising a display and method of encrypting information
CN111527481A (en) Information processing method and information processing program
CN115665079A (en) Message display method, message display device, electronic equipment and medium
CN112261216B (en) Terminal control method and device, terminal and storage medium
CN115086305A (en) Information processing method, device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210914