CN111367486B - Incoming call privacy protection method and system - Google Patents

Incoming call privacy protection method and system Download PDF

Info

Publication number
CN111367486B
CN111367486B CN202010453348.1A CN202010453348A CN111367486B CN 111367486 B CN111367486 B CN 111367486B CN 202010453348 A CN202010453348 A CN 202010453348A CN 111367486 B CN111367486 B CN 111367486B
Authority
CN
China
Prior art keywords
incoming call
screen
page
privacy
display
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.)
Active
Application number
CN202010453348.1A
Other languages
Chinese (zh)
Other versions
CN111367486A (en
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010453348.1A priority Critical patent/CN111367486B/en
Publication of CN111367486A publication Critical patent/CN111367486A/en
Application granted granted Critical
Publication of CN111367486B publication Critical patent/CN111367486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/1462Digital 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 with means for detecting differences between the image stored in the host and the images displayed on the remote displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
    • H04M1/575Means for retrieving and displaying personal data about calling party

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a system for protecting incoming call privacy, wherein the method is applied to a mobile terminal in a screen projection state and comprises the following steps of: and when the incoming page is about to be started, controlling the virtual screen to stop refreshing the picture. The incoming call privacy protection method realizes incoming call when the mobile terminal performs screen projection operation, and does not display the incoming call page on screen projection equipment, thereby protecting the privacy of users.

Description

Incoming call privacy protection method and system
Technical Field
The invention relates to the technical field of mirror image screen projection, in particular to a method and a system for protecting incoming call privacy.
Background
At present, the mirror image screen projection technology refers to synchronizing the content on the mobile phone to the large-screen equipment such as a television in real time. At present, the mainstream protocols include airplay, mitacast, and the like.
However, when a screen is projected, if there is a private incoming call (including WeChat, qq, mobile call, whatsapp, etc.), a corresponding incoming call page is also displayed on a virtual screen (such as a television), which may cause inconvenience in some occasions.
Disclosure of Invention
One of the purposes of the present invention is to provide a method for protecting incoming call privacy, which realizes that an incoming call is received when a mobile terminal performs a screen projection operation, and a page of the incoming call is not displayed on a screen projection device, thereby protecting the privacy of a user.
The incoming call privacy protection method provided by the embodiment of the invention is applied to a mobile terminal in a screen projection state, and comprises the following steps of:
and when the incoming page is about to be started, controlling the virtual screen to stop refreshing the picture.
Preferably, the incoming call privacy protection method further includes:
and when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page.
Preferably, the incoming call privacy protection method further includes:
and when the incoming call is finished, canceling the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started.
Preferably, the incoming call privacy protection method further includes:
and when the incoming call is finished, controlling the virtual screen to restart refreshing the picture.
Preferably, when the incoming page is to be started, controlling the virtual screen to stop refreshing the screen specifically includes:
when the caller identification is to be displayed in a screen turning way, the refreshing of the virtual screen is stopped before the screen turning.
The invention also provides an incoming call privacy protection system, which is applied to the mobile terminal in a screen projection state and comprises the following steps of:
and the pause module is used for controlling the virtual screen to stop refreshing the picture when the incoming page is about to be started.
Preferably, the incoming call privacy protection system further includes:
and the holding module is used for controlling the virtual screen not to display the incoming call page when the incoming call page is displayed.
Preferably, the incoming call privacy protection system further includes:
and the reset module is used for canceling the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started when the incoming call is ended.
Preferably, the incoming call privacy protection system further includes:
and the recovery module is used for controlling the virtual screen to restart refreshing the picture when the incoming call is finished.
Preferably, the pause module comprises:
and the screen turning and suspending submodule is used for stopping refreshing the virtual screen before turning the screen when the screen of the incoming call display is to be turned.
The incoming call privacy protection method has the following beneficial effects:
1. the screen projection method helps a user not only not to interrupt the current screen projection but also to answer the normal mobile phone call in the screen projection process;
2. the problem that the virtual screen and the mobile phone can only be played synchronously when the screen is projected is solved;
3. a solution is provided for pain points which can expose private incoming calls when a user throws a screen;
4. from the perspective of the system, when the mobile phone has an incoming call, the virtual screen keeps the picture before the incoming call is displayed, and the mobile phone end can normally answer the incoming call;
5. the problem that when a mobile phone is displaying on a horizontal screen, a screen needs to be displayed on a vertical screen when the mobile phone calls, but a virtual screen still needs to be displayed on the horizontal screen at the moment is solved;
additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram illustrating an implementation of a method for protecting incoming call privacy according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a split-screen display according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides an incoming call privacy protection method, as shown in fig. 1, which is applied to a mobile terminal in a screen projection state, and when an incoming call is received, the method comprises the following steps:
and when the incoming page is about to be started, controlling the virtual screen to stop refreshing the picture.
The working principle and the beneficial effects of the technical scheme are as follows:
the picture on the virtual screen corresponds to a screen display picture of the screen projection device. The mobile terminal is in a screen projection state and receives an incoming call suddenly; the current mobile terminal generally displays the caller identification page directly and synchronously on the mobile phone and the screen projection equipment; this may expose the privacy of the user in certain situations. When the incoming call page is about to be started, the virtual screen is controlled to stop refreshing the picture, so that the display picture of the screen projection equipment is paused, only the incoming call display page is displayed on the mobile phone, the privacy of a user cannot be exposed, meanwhile, the screen projection equipment keeps the picture before the incoming call display interface is displayed, and the mobile terminal can normally answer the incoming call. The mobile terminal comprises a tablet and a mobile phone. The specific implementation mode comprises the following steps: setting a global variable for stopping refreshing the picture to the bottom layer through WindowManagerService in ActivityManagerService; when the incoming call interface is displayed, a flag (mark) which is not displayed on the virtual screen is set for the layer of the incoming call app, and when the global variable detects the layer corresponding to the incoming call display interface, the virtual screen is controlled to stop refreshing the picture.
In one embodiment, the incoming call privacy protection method further comprises:
and when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming page is about to be started, the virtual screen is controlled to stop refreshing the picture, so that the screen projection equipment does not update the picture and maintains the picture before the incoming page is displayed. When the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; therefore, when the mobile terminal displays the incoming page, the virtual screen corresponding to the screen projection equipment cannot display the incoming page; when the call is ensured, only the mobile terminal displays the incoming page, and the screen projection equipment cannot display the incoming page; thereby protecting the privacy of the user.
In one embodiment, the incoming call privacy protection method further comprises:
and when the incoming call is finished, canceling the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming call is finished, the mobile terminal needs to continue the screen projection operation of the screen projection equipment, so that the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started is cancelled; the screen projection operation of the mobile terminal can be conveniently and normally carried out. For example: when the incoming call is ended, namely activity finish, setting a global variable for stopping refreshing the picture set before cancellation to the bottom layer in the activity manager service through the Windows manager service.
In one embodiment, the incoming call privacy protection method further comprises:
and when the incoming call is finished, controlling the virtual screen to restart refreshing the picture.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming call is over, the mobile terminal needs to continue the screen projection operation of the screen projection equipment, and in order to realize normal operation of the screen projection operation of the mobile terminal, the virtual screen is controlled to restart refreshing the picture when the incoming call is over. For example: in the surfaceFlinger, whether the virtual screen is refreshed or not is controlled according to the set global variable. Before canceling the global variable, whether the virtual screen is controlled to be refreshed or not is confirmed; and when the screen projection equipment is determined not to need to continuously refresh according to the global variable, keeping the current picture or quitting the screen projection operation.
In one embodiment, when the incoming page is to be started, controlling the virtual screen to stop refreshing the screen specifically includes:
when the caller identification is to be displayed in a screen turning way, the refreshing of the virtual screen is stopped before the screen turning.
The working principle and the beneficial effects of the technical scheme are as follows:
the presentation technology of android is a native technology, is provided after the android4.2 version, and can realize that different contents can be displayed on two screens at the same time; the effect graph is shown in fig. 2.
The mobile terminal may display the virtual screen on one screen and the electronic page on another screen. However, during screen projection operation, only one virtual screen of the mobile terminal is in operation, and when the screen is displayed in a split mode, the screen of the screen projection equipment is subjected to synchronous split screen, namely, the whole picture of the mobile terminal is still displayed on the screen projection equipment; therefore, the screen of the incoming call display is required to be changed, and the refreshing of the virtual screen is stopped before the screen is changed; the operation after stopping can be that the virtual screen corresponds to the split screen of the original display interface, and the incoming page is displayed on the other split screen; therefore, the screen projection equipment only displays the original display interface, but not displays the incoming page, and the privacy of the user is protected.
In one embodiment, the incoming call privacy protection method further comprises:
dividing a display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; and controlling the first split screen to refresh the picture again.
The working principle and the beneficial effects of the technical scheme are as follows:
through the split screen display function of the mobile terminal, one split screen displays the picture on the virtual screen, namely the picture of the screen projection equipment is the original picture, and the other split screen displays the incoming page; in the incoming call communication process, the original virtual screen can be refreshed continuously, namely, the screen projection operation cannot be interrupted, and the method is beneficial to the user to watch the films, the televisions and the like continuously. And the incoming call is displayed and answered through the second split screen, so that the privacy of the user is protected under the condition that the film watching of the user is not influenced.
In one embodiment, the incoming call privacy protection method further comprises:
determining the place of the screen projection equipment corresponding to the screen projection operation;
when the place is a home, acquiring a first privacy list; the first privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
when the incoming call page is about to be started, the identity of incoming call personnel of the incoming call is analyzed;
determining an incoming page display strategy based on the identity of incoming personnel of an incoming call and a first privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
determining the place of the screen projection equipment corresponding to the screen projection operation;
when the place is a company, acquiring a second privacy list; the second privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
when the incoming call page is about to be started, the identity of incoming call personnel of the incoming call is analyzed;
determining an incoming page display strategy based on the identity of the incoming person of the incoming call and the second privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
and when the caller ID page display strategy is not privacy protection, the virtual screen synchronously displays the caller ID page.
The working principle and the beneficial effects of the technical scheme are as follows:
and when the screen is determined to be shot, different privacy protection strategies are realized for different caller persons in a company or a home. The first privacy protection list and the second privacy protection list realize the customization of the personal privacy protection strategy of the user; namely, privacy protection is mainly performed on private matters in a company, and privacy protection is performed on business matters in a house. In the privacy protection strategy, one is to answer a call while the screen is thrown and the work is continued; the protection strategy enables a user to answer the phone with relaxed mood under the environment of home, and the user can watch the movie while answering the phone or answer the phone without influencing the watching of family members; the protection strategy answers important calls under the condition that other screen projection pictures are watched at the same time under the environment of a company; the other is to pause the screen and answer the call at the same time; the protection strategy enables a user to have a quiet environment when answering an important call in the environment of home; in the protection strategy, in the environment of a company, the importance of the telephone is higher than that of the playing of a screen projection picture; the last one is screen projection synchronization, and in the environment of home, other family members can know the identity of the caller through screen projection synchronization, so that the trust among the family members is increased, and the family life of the user is more harmonious; this protection strategy is in the company's environment where the importance of the phone is higher than the play of the screen shot. Wherein, whether the screen is shot at home or at the company can be identified by the MAC address of the wireless router accessed by the mobile terminal, namely, the difference of the local area network accessed at home and at the company screen shot.
In one embodiment, the incoming call privacy protection method further comprises:
acquiring an image of a shooting space through a camera device arranged in the space where the screen projection equipment is located;
detecting and counting human body information by moving a sampling frame in an image;
obtaining a third privacy preserving list, the third privacy preserving list comprising: the number of people in the space where the screen projection equipment is located corresponds to the incoming call page display strategy;
determining an incoming page display strategy based on the third privacy protection list and the number of people in the space where the screen projection equipment is located;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
and when the caller ID page display strategy is not privacy protection, the virtual screen synchronously displays the caller ID page.
Wherein, a coordinate system is established at the midpoint of the image representing the nearest position, the size of the sampling frame is adjusted by the movement of the far and near parts of the image, and the adjustment formula is specifically as follows:
Figure 257989DEST_PATH_IMAGE001
wherein A represents the length of the sample box, B represents the width of the sample box,
Figure 508973DEST_PATH_IMAGE002
abscissa representing length of sampling frame and sampling center
Figure 929590DEST_PATH_IMAGE003
The predetermined ratio of (a) to (b),
Figure 464477DEST_PATH_IMAGE004
ordinate representing width of sampling frame and center of sampling frame
Figure 577926DEST_PATH_IMAGE005
The ratio of (a) to (b),
Figure 817671DEST_PATH_IMAGE006
which represents a preset length of the optical fiber,
Figure 41979DEST_PATH_IMAGE007
representing a preset width.
The working principle and the beneficial effects of the technical scheme are as follows:
when the screen is projected, if no other person exists, the person who calls can be directly determined on the screen of the screen projection equipment, so that the screen projection equipment is convenient and quick, and the problem of privacy disclosure is not worried. For example: when only one person is the user himself, the strategy of synchronous display can be adopted. When only two people exist, namely the user and the family members, the incoming call page can be displayed by adopting a pause screen projection picture and protecting privacy; when the number of people is more than two, the incoming call page is displayed by continuously projecting the screen and protecting the privacy. In addition, when the number of people is determined through the image, the size of the sampling frame is adjusted according to the difference between the shot far part and the shot near part in the image, and the accuracy of human body detection when the sampling frame moves in the image is improved. In addition, the judgment conditions of the incoming call page display strategy can be comprehensively considered by the place where the screen projection equipment is located and the personnel in the place.
The invention also provides an incoming call privacy protection system, which is applied to the mobile terminal in a screen projection state and comprises the following steps of:
and the pause module is used for controlling the virtual screen to stop refreshing the picture when the incoming page is about to be started.
The working principle and the beneficial effects of the technical scheme are as follows:
the picture on the virtual screen corresponds to a screen display picture of the screen projection device. The mobile terminal is in a screen projection state and receives an incoming call suddenly; the current mobile terminal generally displays the caller identification page directly and synchronously on the mobile phone and the screen projection equipment; this may expose the privacy of the user in certain situations. The pause module controls the virtual screen to stop refreshing the picture when the incoming call page is about to start, so that the display picture of the screen projection equipment is paused, only the incoming call display page is displayed on the mobile phone, the privacy of a user cannot be exposed, meanwhile, the screen projection equipment keeps the picture before the incoming call display interface is displayed, and the mobile terminal can normally answer the incoming call. The mobile terminal comprises a tablet and a mobile phone. For example: the pause module is WindowManagerService in ActivityManagerService; the specific operation is as follows: setting a global variable for stopping refreshing the picture to the bottom layer through WindowManagerService in ActivityManagerService; when the incoming call interface is displayed, a flag (mark) which is not displayed on the virtual screen is set for the layer of the incoming call app, and when the global variable detects the layer corresponding to the incoming call display interface, the virtual screen is controlled to stop refreshing the picture.
In one embodiment, the incoming call privacy protection system further comprises:
and the holding module is used for controlling the virtual screen not to display the incoming call page when the incoming call page is displayed.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming page is about to be started, the virtual screen is controlled to stop refreshing the picture, so that the screen projection equipment does not update the picture and maintains the picture before the incoming page is displayed. When the incoming call page is displayed, the maintaining module controls the virtual screen not to display the incoming call page; therefore, when the mobile terminal displays the incoming page, the virtual screen corresponding to the screen projection equipment cannot display the incoming page; when the call is ensured, only the mobile terminal displays the incoming page, and the screen projection equipment cannot display the incoming page; thereby protecting the privacy of the user.
In one embodiment, the incoming call privacy protection system further comprises:
and the reset module is used for canceling the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started when the incoming call is ended.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming call is over, the mobile terminal needs to continue the screen projection operation of the screen projection equipment, so that the operation of controlling the virtual screen to stop refreshing the picture when the incoming call page is about to be started is cancelled through the reset module; the screen projection operation of the mobile terminal can be conveniently and normally carried out. For example: the reset module includes: the specific implementation mode of the WindowManagerservice is as follows: when the incoming call is ended, namely activity finish, setting a global variable for stopping refreshing the picture set before cancellation to the bottom layer in the activity manager service through the Windows manager service.
In one embodiment, the incoming call privacy protection system further comprises:
and the recovery module is used for controlling the virtual screen to restart refreshing the picture when the incoming call is finished.
The working principle and the beneficial effects of the technical scheme are as follows:
when the incoming call is ended, the mobile terminal needs to continue the screen projection operation of the screen projection equipment, and in order to realize normal operation of the screen projection operation of the mobile terminal, the recovery module controls the virtual screen to restart refreshing the picture when the incoming call is ended. For example: the recovery module includes: and controlling whether the virtual screen is refreshed or not by the SurfaceFlinger according to the set global variable. Before canceling the global variable, whether the virtual screen is controlled to be refreshed or not is confirmed; and when the screen projection equipment is determined not to need to continuously refresh according to the global variable, keeping the current picture or quitting the screen projection operation.
In one embodiment, the pause module comprises:
and the screen turning and suspending submodule is used for stopping refreshing the virtual screen before turning the screen when the screen of the incoming call display is to be turned.
The working principle and the beneficial effects of the technical scheme are as follows:
the presentation technology of android is a native technology, is provided after the android4.2 version, and can realize that different contents can be displayed on two screens at the same time; the effect graph is shown in fig. 2.
The mobile terminal may display the virtual screen on one screen and the electronic page on another screen. However, during screen projection operation, only one virtual screen of the mobile terminal is in operation, and when the screen is displayed in a split mode, the screen of the screen projection equipment is subjected to synchronous split screen, namely, the whole picture of the mobile terminal is still displayed on the screen projection equipment; therefore, the screen of the incoming call display is required to be changed, and the screen changing and suspending sub-module stops refreshing the virtual screen before changing the screen; the operation after stopping can be that the virtual screen corresponds to the split screen of the original display interface, and the incoming page is displayed on the other split screen; therefore, the screen projection equipment only displays the original display interface, but not displays the incoming page, and the privacy of the user is protected.
In one embodiment, the incoming call privacy protection system further comprises:
the screen turning module is used for dividing a display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; transferring the incoming call page to a second split screen; and controlling the first split screen to refresh the picture again.
The working principle and the beneficial effects of the technical scheme are as follows:
through the split screen display function of the mobile terminal, the screen turning module controls one split screen to display the picture on the virtual screen, namely the picture of the screen projection equipment is the original picture, and the screen turning module controls the other split screen to display the incoming page; in the incoming call communication process, the original virtual screen can be refreshed continuously, namely, the screen projection operation cannot be interrupted, and the method is beneficial to the user to watch the films, the televisions and the like continuously. And the incoming call is displayed and answered through the second split screen, so that the privacy of the user is protected under the condition that the film watching of the user is not influenced.
In one embodiment, the incoming call privacy protection system further comprises:
the scene determining module is used for determining the place where the screen projecting equipment corresponding to the screen projecting operation is located;
the list acquisition module is used for acquiring a first privacy list when the place is at home; the first privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
the identity determining module is used for analyzing the identity of calling personnel of the incoming call when the incoming call page is about to be started;
the policy determining module is used for determining an incoming page display policy based on the identity of incoming personnel of an incoming call and the first privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
the scene determining module is used for determining the place where the screen projecting equipment corresponding to the screen projecting operation is located;
the list acquisition module is used for acquiring a second privacy list when the place is a company; the second privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
the identity determining module is used for analyzing the identity of calling personnel of the incoming call when the incoming call page is about to be started;
the policy determining module is used for determining an incoming page display policy based on the identity of incoming personnel of an incoming call and the second privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
and when the caller ID page display strategy is not privacy protection, the virtual screen synchronously displays the caller ID page.
The working principle and the beneficial effects of the technical scheme are as follows:
and when the screen is determined to be shot, different privacy protection strategies are realized for different caller persons in a company or a home. The first privacy protection list and the second privacy protection list realize the customization of the personal privacy protection strategy of the user; namely, privacy protection is mainly performed on private matters in a company, and privacy protection is performed on business matters in a house. In the privacy protection strategy, one is to answer a call while the screen is thrown and the work is continued; the protection strategy enables a user to answer the phone with relaxed mood under the environment of home, and the user can watch the movie while answering the phone or answer the phone without influencing the watching of family members; the protection strategy answers important calls under the condition that other screen projection pictures are watched at the same time under the environment of a company; the other is to pause the screen and answer the call at the same time; the protection strategy enables a user to have a quiet environment when answering an important call in the environment of home; in the protection strategy, in the environment of a company, the importance of the telephone is higher than that of the playing of a screen projection picture; the last one is screen projection synchronization, and in the environment of home, other family members can know the identity of the caller through screen projection synchronization, so that the trust among the family members is increased, and the family life of the user is more harmonious; this protection strategy is in the company's environment where the importance of the phone is higher than the play of the screen shot. Wherein, whether the screen is shot at home or at the company can be identified by the MAC address of the wireless router accessed by the mobile terminal, namely, the difference of the local area network accessed at home and at the company screen shot.
In one embodiment, the incoming call privacy protection system further comprises:
the image acquisition module is used for acquiring an image of a shooting space through a camera device arranged in the space where the screen projection equipment is located;
the people counting module is used for detecting and counting the human body information by moving the sampling frame in the image;
a list obtaining module, configured to obtain a third privacy protection list, where the third privacy protection list includes: the number of people in the space where the screen projection equipment is located corresponds to the incoming call page display strategy;
the policy determining module is used for determining an incoming page display policy based on the third privacy protection list and the number of people in the space where the screen projection equipment is located;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
and when the caller ID page display strategy is not privacy protection, the virtual screen synchronously displays the caller ID page.
Wherein, a coordinate system is established at the midpoint of the image representing the nearest position, the size of the sampling frame is adjusted by the movement of the far and near parts of the image, and the adjustment formula is specifically as follows:
Figure 165793DEST_PATH_IMAGE001
wherein A represents the length of the sample box, B represents the width of the sample box,
Figure 450143DEST_PATH_IMAGE002
abscissa representing length of sampling frame and sampling center
Figure 862670DEST_PATH_IMAGE003
The predetermined ratio of (a) to (b),
Figure 703718DEST_PATH_IMAGE004
ordinate representing width of sampling frame and center of sampling frame
Figure 885301DEST_PATH_IMAGE005
The ratio of (a) to (b),
Figure 137291DEST_PATH_IMAGE006
which represents a preset length of the optical fiber,
Figure 37114DEST_PATH_IMAGE007
representing a preset width.
The working principle and the beneficial effects of the technical scheme are as follows:
when the screen is projected, if no other person exists, the person who calls can be directly determined on the screen of the screen projection equipment, so that the screen projection equipment is convenient and quick, and the problem of privacy disclosure is not worried. For example: when only one person is the user himself, the strategy of synchronous display can be adopted. When only two people exist, namely the user and the family members, the incoming call page can be displayed by adopting a pause screen projection picture and protecting privacy; when the number of people is more than two, the incoming call page is displayed by continuously projecting the screen and protecting the privacy. In addition, when the number of people is determined through the image, the size of the sampling frame is adjusted according to the difference between the shot far part and the shot near part in the image, and the accuracy of human body detection when the sampling frame moves in the image is improved. In addition, the judgment conditions of the incoming call page display strategy can be comprehensively considered by the place where the screen projection equipment is located and the personnel in the place.
In one embodiment, the phone receives an incoming call (including WeChat, qq, whatsapp voice, etc.) while currently in the screen-shot state.
When the incoming page is about to be started, a global variable for stopping refreshing the picture is set to the bottom layer in the ActivityManagerService through the WindowManagerService.
And when the incoming call interface is displayed, setting a flag which is not displayed on the virtual screen for the layer of the incoming call app.
When the incoming call is ended and activity finish is performed, setting a global variable for stopping refreshing the picture set before cancellation to the bottom layer in the Activity manager service through the Windows manager service.
In the surfaceFlinger, whether the virtual screen is refreshed or not is controlled according to the set global variable.
Wherein, if the caller ID needs to be turned, the surfaceFlinger stops refreshing the virtual screen before turning the screen.
The incoming call privacy protection method of the embodiment solves the problem that the virtual screen and the mobile phone can only be played synchronously during screen projection. When the mobile phone calls, the virtual screen keeps displaying the picture before the call, and the mobile phone end can normally answer the call. The incoming call is made when the screen projection operation is performed on the mobile terminal (such as a mobile phone and a tablet), and the incoming call page is not displayed on the screen projection equipment, so that the privacy of a user is protected.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (2)

1. A method for protecting incoming call privacy is characterized in that when the method is applied to a mobile terminal in a screen projection state and an incoming call is received, the method comprises the following steps:
when the incoming call page is about to be started, controlling the virtual screen to stop refreshing the picture;
further comprising:
determining the place of the screen projection equipment corresponding to the screen projection operation;
when the place is a home, acquiring a first privacy list; the first privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
when the incoming call page is about to be started, the identity of incoming call personnel of the incoming call is analyzed;
determining an incoming page display strategy based on the identity of incoming personnel of an incoming call and a first privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
determining the place of the screen projection equipment corresponding to the screen projection operation;
when the place is a company, acquiring a second privacy list; the second privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
when the incoming call page is about to be started, the identity of incoming call personnel of the incoming call is analyzed;
determining an incoming page display strategy based on the identity of the incoming person of the incoming call and the second privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
further comprising:
acquiring an image of a shooting space through a camera device arranged in the space where the screen projection equipment is located;
detecting and counting human body information by moving a sampling frame in an image;
obtaining a third privacy preserving list, the third privacy preserving list comprising: the number of people in the space where the screen projection equipment is located corresponds to the incoming call page display strategy;
determining an incoming page display strategy based on the third privacy protection list and the number of people in the space where the screen projection equipment is located;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
wherein, a coordinate system is established at the midpoint of the image representing the nearest position, the size of the sampling frame is adjusted by the movement of the far and near parts of the image, and the adjustment formula is specifically as follows:
Figure 842816DEST_PATH_IMAGE001
wherein A represents the length of the sample box, B represents the width of the sample box,
Figure 494377DEST_PATH_IMAGE002
abscissa representing length of sampling frame and sampling center
Figure 916524DEST_PATH_IMAGE003
The predetermined ratio of (a) to (b),
Figure 311733DEST_PATH_IMAGE004
ordinate representing width of sampling frame and center of sampling frame
Figure 860527DEST_PATH_IMAGE005
The ratio of (a) to (b),
Figure 682989DEST_PATH_IMAGE006
which represents a preset length of the optical fiber,
Figure 887705DEST_PATH_IMAGE007
representing a preset width.
2. The incoming call privacy protection system is characterized by being applied to a mobile terminal in a screen projection state and comprising the following components when an incoming call is received:
the pause module is used for controlling the virtual screen to stop refreshing the picture when the incoming page is about to start;
further comprising:
the scene determining module is used for determining the place where the screen projecting equipment corresponding to the screen projecting operation is located;
the list acquisition module is used for acquiring a first privacy list when the place is at home; the first privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
the identity determining module is used for analyzing the identity of calling personnel of the incoming call when the incoming call page is about to be started;
the policy determining module is used for determining an incoming page display policy based on the identity of incoming personnel of an incoming call and the first privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
the scene determining module is used for determining the place where the screen projecting equipment corresponding to the screen projecting operation is located;
the list acquisition module is used for acquiring a second privacy list when the place is a company; the second privacy list includes: the identity of the calling person of the incoming call and the corresponding incoming call page display strategy are stored in a one-to-one correspondence manner;
the identity determining module is used for analyzing the identity of calling personnel of the incoming call when the incoming call page is about to be started;
the policy determining module is used for determining an incoming page display policy based on the identity of incoming personnel of an incoming call and the second privacy list;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
further comprising:
the image acquisition module is used for acquiring an image of a shooting space through a camera device arranged in the space where the screen projection equipment is located;
the people counting module is used for detecting and counting the human body information by moving the sampling frame in the image;
a list obtaining module, configured to obtain a third privacy protection list, where the third privacy protection list includes: the number of people in the space where the screen projection equipment is located corresponds to the incoming call page display strategy;
the policy determining module is used for determining an incoming page display policy based on the third privacy protection list and the number of people in the space where the screen projection equipment is located;
when the incoming call page display strategy is to pause screen projection and protect privacy to display the incoming call page, controlling the virtual screen to stop refreshing the screen when the incoming call page is about to be started; when the incoming call page is displayed, controlling the virtual screen not to display the incoming call page; when the incoming call is over, controlling the virtual screen to restart refreshing the picture;
when the incoming call page display strategy is to continue screen projection and protect privacy to display the incoming call page, dividing the display screen of the mobile terminal into a first split screen and a second split screen; switching the picture on the virtual screen to the first split screen; the incoming call page is transferred to the second split screen; controlling the first split screen to refresh the picture again;
when the caller ID page display strategy is that privacy is not protected, the virtual screen synchronously displays the caller ID page;
wherein, a coordinate system is established at the midpoint of the image representing the nearest position, the size of the sampling frame is adjusted by the movement of the far and near parts of the image, and the adjustment formula is specifically as follows:
Figure 86606DEST_PATH_IMAGE001
wherein A represents the length of the sample box, B represents the width of the sample box,
Figure 896430DEST_PATH_IMAGE002
abscissa representing length of sampling frame and sampling center
Figure 122749DEST_PATH_IMAGE003
The predetermined ratio of (a) to (b),
Figure 877079DEST_PATH_IMAGE004
ordinate representing width of sampling frame and center of sampling frame
Figure 755036DEST_PATH_IMAGE005
The ratio of (a) to (b),
Figure 278421DEST_PATH_IMAGE006
which represents a preset length of the optical fiber,
Figure 645949DEST_PATH_IMAGE007
representing a preset width.
CN202010453348.1A 2020-05-26 2020-05-26 Incoming call privacy protection method and system Active CN111367486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010453348.1A CN111367486B (en) 2020-05-26 2020-05-26 Incoming call privacy protection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010453348.1A CN111367486B (en) 2020-05-26 2020-05-26 Incoming call privacy protection method and system

Publications (2)

Publication Number Publication Date
CN111367486A CN111367486A (en) 2020-07-03
CN111367486B true CN111367486B (en) 2020-09-08

Family

ID=71209628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010453348.1A Active CN111367486B (en) 2020-05-26 2020-05-26 Incoming call privacy protection method and system

Country Status (1)

Country Link
CN (1) CN111367486B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584240A (en) * 2020-11-27 2021-03-30 福州智象信息技术有限公司 Method and device for intelligently switching screen projection playing state by monitoring state of mobile terminal
CN112689191B (en) * 2020-12-14 2023-05-12 努比亚技术有限公司 Screen projection control method, terminal and computer readable storage medium
CN115048067A (en) * 2021-02-26 2022-09-13 华为技术有限公司 Screen projection display method and electronic equipment
CN115221547A (en) * 2021-04-21 2022-10-21 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer storage medium
CN113507694B (en) * 2021-06-18 2024-02-23 厦门亿联网络技术股份有限公司 Screen projection method and device based on wireless auxiliary stream equipment
WO2023124699A1 (en) * 2021-12-27 2023-07-06 深圳市倍思科技有限公司 Control method, apparatus, screen projection device, and storage medium
CN114428598A (en) * 2022-01-30 2022-05-03 深圳创维-Rgb电子有限公司 Screen projection method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012020864A1 (en) * 2010-08-13 2012-02-16 엘지전자 주식회사 Mobile terminal, display device, and method for controlling same
CN105100907B (en) * 2014-04-28 2018-05-15 宇龙计算机通信科技(深圳)有限公司 Selectivity throws the method and its device of screen
CN105630853A (en) * 2014-12-01 2016-06-01 宏达国际电子股份有限公司 Intelligent notice filtering method and handheld communication apparatus
CN104902075B (en) * 2015-04-29 2017-02-22 努比亚技术有限公司 Multi-screen interaction method and system
CN109828732B (en) * 2018-12-26 2022-07-01 维沃移动通信有限公司 Display control method and terminal equipment
CN110083331A (en) * 2019-04-29 2019-08-02 努比亚技术有限公司 Wearable device play mode control method, device, wearable device and medium
CN110989950A (en) * 2019-11-15 2020-04-10 维沃移动通信有限公司 Sharing control method and electronic equipment
CN110995923B (en) * 2019-11-22 2021-08-20 维沃移动通信(杭州)有限公司 Screen projection control method and electronic equipment

Also Published As

Publication number Publication date
CN111367486A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111367486B (en) Incoming call privacy protection method and system
CN111338744B (en) Image display method and device, electronic device and storage medium
EP3182716A1 (en) Method and device for video display
JP4908265B2 (en) Information processing apparatus, projection method, and projection program
AU2001271260A1 (en) Advanced set top terminal having a video call feature
CN108683806B (en) Anti-disturbing method, mobile terminal and computer readable storage medium
EP2966838B1 (en) Electronic device, image data output processing method and program
WO2018070762A1 (en) Device and method of displaying images
CN109147714A (en) The refresh rate method of adjustment and device of screen, computer readable storage medium
CN112689191A (en) Screen projection control method, terminal and computer readable storage medium
JP2011197537A (en) Terminal device and program
CN106375320A (en) Geographic position information sharing method and apparatus
CN113596231B (en) Screen-throwing display control method, device and computer readable storage medium
CN106804010B (en) Incoming call processing method and device based on virtual reality equipment and virtual reality equipment
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN109215612A (en) Adjusting method and device that screen is shown, electronic equipment, storage medium
CN106896917B (en) Method and device for assisting user in experiencing virtual reality and electronic equipment
US20010055058A1 (en) Method and system for video telephony
JP2007049375A (en) Image processor, camera, communication equipment, and program for realizing image processor
CN112087570B (en) Image shooting method and device, electronic equipment and readable storage medium
KR20020060375A (en) A method for switching a background screen of wireless mobile terminal capable of video call
CN108494896B (en) Projection terminal, projection system and projection method
CN114339357A (en) Image acquisition method, image acquisition device and storage medium
WO2004077829A1 (en) Video conference system for mobile communication
CN111356001A (en) Video display area acquisition method and video picture display method and device

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
GR01 Patent grant
GR01 Patent grant