CN112287413A - Screen information processing method and device and electronic equipment - Google Patents
Screen information processing method and device and electronic equipment Download PDFInfo
- Publication number
- CN112287413A CN112287413A CN202011179082.2A CN202011179082A CN112287413A CN 112287413 A CN112287413 A CN 112287413A CN 202011179082 A CN202011179082 A CN 202011179082A CN 112287413 A CN112287413 A CN 112287413A
- Authority
- CN
- China
- Prior art keywords
- screen information
- parameter
- condition
- target direction
- 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.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 33
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000007613 environmental effect Effects 0.000 claims abstract description 36
- 238000000034 method Methods 0.000 claims abstract description 33
- 238000004891 communication Methods 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a screen information processing method. Device and electronic equipment belong to communication technology field. The method comprises the following steps: determining whether an environmental parameter located in a target direction of the electronic equipment meets a preset information protection condition; determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions; canceling the display of screen information and broadcasting the screen information through voice under the condition that a user wears the earphone; or under the condition that the user does not wear the earphone, determining a display mode corresponding to the screen information according to the target direction, and displaying the screen information in the display mode. The method and the device can reduce the risk of privacy disclosure of the user.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screen information processing method and device and electronic equipment.
Background
With the continuous development of science and technology, electronic devices (such as mobile phones, tablet computers and the like) have gradually become an indispensable tool in the life and work of people.
With the development of communication technology, the larger the display screen of the electronic equipment is, the user can surf the internet, chat, watch videos and the like anytime and anywhere through the electronic equipment, and in the process, the user always contacts with people, so that the phenomenon that the user sees the content on the display screen by other people or the private chat information is maliciously peeped by people is avoided, and the privacy of the user is leaked.
Disclosure of Invention
The embodiment of the application aims to provide a screen information processing method and device and electronic equipment, and the problem that privacy of a user is easily revealed in public places can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a screen information processing method, where the method includes:
determining whether an environmental parameter located in a target direction of the electronic equipment meets a preset information protection condition;
determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions;
canceling the display of screen information and broadcasting the screen information through voice under the condition that a user wears the earphone;
or under the condition that the user does not wear the earphone, determining a display mode corresponding to the screen information according to the target direction, and displaying the screen information in the display mode.
In a second aspect, an embodiment of the present application provides a screen information processing apparatus, including:
the environment parameter determining module is used for determining whether the environment parameter positioned in the target direction of the electronic equipment meets a preset information protection condition;
the wearing earphone determining module is used for determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions;
the screen information broadcasting module is used for canceling the display of the screen information and broadcasting the screen information through voice under the condition that the user wears the earphone;
and the screen information display module is used for determining a display mode corresponding to the screen information according to the target direction under the condition that the user does not wear the earphone, and displaying the screen information in the display mode.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when the program or the instruction is executed by the processor, the steps of the screen information processing method according to the first aspect are implemented.
In a fourth aspect, the present invention provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the screen information processing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the screen information processing method according to the first aspect.
In the embodiment of the application, whether a user wears an earphone matched with the electronic device is determined under the condition that the environmental parameter positioned in the target direction of the electronic device meets the preset information protection condition, the display of the screen information is cancelled and the screen information is broadcasted through voice under the condition that the user wears the earphone, or the display mode corresponding to the screen information is determined according to the target direction and the screen information is displayed in the display mode under the condition that the user does not wear the earphone. According to the embodiment of the application, the electronic equipment is located in the public crowding areas such as buses or subways, the screen information is prevented from being leaked by canceling the display of the screen information under the condition that the user wears the earphones, and when the user does not wear the earphones, the screen information display mode is determined according to the target direction, the screen information is protected, and therefore the risk that the privacy of the user is leaked can be greatly reduced.
Drawings
Fig. 1 is a flowchart illustrating steps of a screen information processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating adjustment of a size of a display area according to an embodiment of the disclosure;
fig. 3 is a schematic diagram illustrating another exemplary adjustment of the size of the display area according to an embodiment of the disclosure;
fig. 4 is a schematic diagram of generating a blocking pop-up window according to an embodiment of the present disclosure;
fig. 5 is a schematic view of an adjusting shelter popup window according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a screen information processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen information processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a screen information processing method provided in an embodiment of the present application is shown, and as shown in fig. 1, the screen information processing method may specifically include the following steps:
step 101: determining whether the environmental parameter positioned in the target direction of the electronic equipment meets a preset information protection condition.
In this embodiment, the environmental parameter refers to a parameter in a direction around the electronic device, which is acquired by a sensor preset in the electronic device, and in this example, the environmental parameter may include: at least one of volume parameter, crowd density parameter, etc.
The preset information protection condition is a condition which is preset by service personnel and is used for judging whether the environmental parameters meet the requirement of carrying out protection display on the screen information.
In the process that a user uses the electronic equipment, the environmental parameters in the target direction of the electronic equipment can be collected through a sensor arranged in the electronic equipment, and then whether the environmental parameters in the target direction meet the preset information protection conditions or not can be judged.
In the present embodiment, the above process may be described in detail in conjunction with different types of environmental parameters.
In a specific implementation manner of the present application, the step 101 may include:
substep A1: and acquiring a first volume parameter positioned in the target direction of the electronic equipment in the current period.
In this embodiment, the first volume parameter refers to a volume parameter located in a target direction of the electronic device, which is acquired by an audio sensor in the electronic device.
During the use of the electronic device by the user, a first volume parameter located in a target direction of the electronic device may be acquired by an audio sensor in the electronic device during a current period.
After the first volume parameter is obtained, sub-step a2 is performed.
Substep A2: and under the condition that the difference value of the first volume parameter and the second volume parameter is larger than a volume threshold value, determining that the environment parameter meets the preset information protection condition.
The second volume parameter refers to the volume parameter located in the target direction of the electronic device in the last cycle.
After the first volume parameter is obtained, a volume parameter difference between the first volume parameter and the second volume parameter may be calculated, and it is determined whether the volume parameter difference is greater than a volume threshold, and if the volume parameter difference is greater than the volume threshold, it is determined that the environmental parameter satisfies a preset information protection condition, for example, when an audio sensor collects that a plurality of sound sources appear at left/right/front sides of the surrounding environment or an inner ring ratio of the volume 1S increases by 30%, or exceeds 30%, it is determined that the environmental parameter satisfies the preset information protection condition.
According to the embodiment of the application, whether the screen information is protected and displayed is determined by detecting the volume parameter in the target direction of the electronic equipment through the audio sensor, and the accuracy of whether people around the electronic equipment increase can be improved by the detection mode.
In another specific implementation manner of the present application, the step 101 may include:
substep B1: and acquiring a first crowd density parameter positioned in the target direction of the electronic equipment in the current period.
In this embodiment, the first crowd density parameter refers to a crowd density parameter located in a target direction of the electronic device and acquired by a camera sensor in the electronic device in a current period.
In the process that a user uses the electronic equipment, the crowd density parameter, namely the first crowd density parameter, in the target direction of the electronic equipment can be acquired through a camera sensor in the electronic equipment in the current period.
After the first crowd density parameter is obtained, sub-step B2 is performed.
Substep B2: and under the condition that the difference value of the first crowd density parameter and the second crowd density parameter is larger than a density threshold value, determining that the environmental parameter meets the preset information protection condition.
The second crowd density parameter refers to the crowd density parameter located in the target direction of the electronic device in the last period.
After the first crowd density parameter is obtained, a parameter difference value between the first crowd density parameter and the second crowd density parameter can be calculated, whether the parameter difference value is larger than a density threshold value or not is further judged, and under the condition that the parameter difference value is larger than the density threshold value, the environmental parameter is determined to meet the preset information protection condition. For example, if the camera sensor acquires that the surrounding crowd density is increased by 20% in a 1S inner ring ratio or exceeds 20%, it is determined that the environmental parameter meets the preset information protection condition.
According to the embodiment of the application, whether the user is in the crowd-intensive environment or not in the process of using the electronic equipment is determined through the crowd density parameter, and the accuracy of environment detection can be improved in such a mode.
Of course, in this embodiment, whether to protect the screen information may also be determined by detecting the ambient light brightness around the electronic device, for example, whether the ambient light brightness is darkened or a shield is present is detected by an ambient light sensor in the electronic device. It can be understood that when the brightness of the surrounding environment is detected to change, it can be considered that there are more people on the direction side, and there is a risk of information leakage.
In case that it is determined that the environmental parameter satisfies the preset information protection condition, step 102 is performed.
Step 102: and determining whether the user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions.
Under the condition that the environmental parameters meet the preset information protection conditions, whether the user wears an earphone matched with the electronic equipment or not can be judged, namely whether the user wears the earphone and is connected with the electronic equipment or not is judged.
In practical application, under the condition that the environmental parameters meet the preset information protection conditions, prompt information can be displayed through a screen of the electronic equipment to remind a user whether to start a screen information protection mode, and after the user selects and determines, the screen information protection mode is entered; and when the user selects to cancel, the holding force of the pressure sensor for collecting the user is suddenly increased by 20% in 1S, the angle between the screen direction of the electronic equipment and the horizontal plane is reduced by the direction sensor and suddenly reduced by 15% in 1S, the palm temperature of the human body is suddenly increased by 0.1 degree (including 0.1 degree) in 1S for judging whether the user possibly sees the information or prevents the information from being seen to put the screen downwards, the user is reminded whether to enter a screen information protection mode or not again, the user agrees to enter the mode, and if the user does not agree, the user cancels to enter the mode.
In case the user wears the headset, step 103 is performed; and in case the user does not wear the headset, step 104 is performed.
Step 103: and canceling the display of the screen information and broadcasting the screen information by voice in the case that the user wears the earphone.
The method comprises the steps that under the condition that a user wears an earphone, display of screen information can be cancelled, the screen information is played through voice, specifically, under the condition that the user wears the earphone, prompt information 'is generated to protect the screen information, text information of a current screen is output through voice, the screen can return to a background', after the user clicks and confirms, the screen information returns to the background, the earphone plays the text information, and the user can conveniently continue to obtain the information through the voice mode.
Step 104: and under the condition that the user does not wear the earphone, determining a display mode corresponding to the screen information according to the target direction, and displaying the screen information in the display mode.
In a case where the user does not wear the headset, the display mode corresponding to the screen information may be determined according to the target direction, and the screen information may be displayed in the display mode, specifically, two cases may be adopted: 1. narrow border display screen information (i.e., reduced display screen information); 2. and shielding the screen information through the shielding pop-up window.
According to the embodiment of the application, the electronic equipment is located in the public crowding areas such as buses or subways, the screen information is prevented from being leaked by canceling the display of the screen information under the condition that the user wears the earphones, and when the user does not wear the earphones, the screen information display mode is determined according to the target direction, the screen information is protected, and therefore the risk that the privacy of the user is leaked can be greatly reduced.
The scheme for displaying screen information at a narrow boundary can be described in detail in conjunction with the following specific implementation.
In another specific implementation manner of the present application, the step 104 may include:
substep C1: and determining that the display mode is a screen zooming display mode under the condition that the target direction is a first direction.
In the present embodiment, the first direction refers to a single direction of the electronic device, for example, left/front/right direction of the electronic device.
In the case where the target direction is the first direction, it may be determined that the display manner is a screen zoom display manner, i.e., a manner of displaying the screen information by zooming the screen display area.
After determining that the display mode is the screen zoom display mode, sub-step C2 is performed.
Substep C2: and under the condition that the display mode is a screen zooming display mode, according to a preset zooming parameter, zooming out the display area of the screen information, and displaying the zoomed out display area at a first position on the display screen.
The first position refers to a position associated with a first direction. Specifically, the first position may be a position on the display screen in an opposite direction to the first direction, for example, the first direction is the left direction of the electronic device, and in this case, the first position may be a position in a right region of the display screen of the electronic device (specifically, the left region and the right region may be obtained by dividing a center line of the electronic device). Alternatively, when the first direction is the front of the electronic device, in this case, the first position may be a position in a lower region of a display screen of the electronic device (specifically, the lower region and the upper region may be obtained by dividing a center line of the electronic device).
In the case that the display mode is a screen zoom display mode, the display area of the screen information may be reduced according to a preset zoom parameter, and the reduced display area is displayed at a first position on the display screen, for example, if a user has a crowd on the left side at the moment, the mobile phone screen narrows the screen by zooming the left screen boundary to the right by moving the left screen boundary to the right with reference to the right mobile phone screen edge (as shown in the leftmost diagram in fig. 2); if the user has crowd on the right side at the moment, the mobile phone screen moves and scales the boundary of the right side screen leftwards by taking the edge of the left side mobile phone screen as a reference so as to narrow the screen (as shown in the middle graph of FIG. 2); if the user is a crowd present on the front side at this time, the mobile phone screen narrows the screen by moving the upper screen boundary downward and zooming with the edge of the bottom mobile phone screen as a reference (as shown in the rightmost diagram of fig. 2). And when people appear on the left side and the front side of the mobile phone, the display area of the screen can be adjusted to the lower right (as shown in fig. 3) according to the left vertex of the screen of the mobile phone.
After the display area of the screen information is reduced and the reduced display area is displayed at the first position on the display screen, the size of the display area can be manually adjusted by a user, specifically, the focus of the left edge limit of the screen can be acquired, the left/right/front edge limit identifies the finger sliding of the user, the recorded finger path is drawn through canvas.
When people gather on the left side, the front side and the right side of the electronic equipment, the screen information can be shielded through the shielding pop-up window, and specifically, detailed description can be performed by combining the following specific implementation modes.
In another specific implementation manner of the present application, the step 104 may include:
substep D1: and under the condition that the target direction is the omnidirectional direction, generating a shielding popup window, and shielding the display of the screen information through the shielding popup window.
In this embodiment, under the condition that the target direction is omnidirectional (i.e. three directions around the electronic device, not including the direction that the electronic device holds the user), can generate and shelter from the popup, and shelter from the display of screen information through sheltering from the popup, specifically, if all there is someone in all directions around the user, at this moment, can get into and hide the popup mode, get into and hide behind the popup mode, electronic device's display desktop gets into and hides the popup and draws the interface, draw the closed trajectory that slides when the user's finger slides on the screen and forms closed loop figure, the implementation mode divide into following two steps:
1. generating a blind pop-up window
As shown in fig. 4, entering a cover mode, the desktop creates a custom View; recognizing the finger sliding of a user, recognizing a sliding gesture by using a TouchGesturreDetector by an Android system, detecting the area of a sliding region of the sliding gesture, drawing a recorded finger path through canvas.
2. Movable shielding pop-up window
After the user draws the shielding popup, the user may need to move the shielding popup to shield other browsing information in the information browsing process, and specifically, the method may include the following steps:
1) packaging the generated shielding popup window, wherein the generated shielding popup window comprises a Path of the shielding popup window and offset value coordinate information;
2) when a user clicks the shielding popup, whether the user points in the shielding popup, that is, whether a certain shielding popup obtains a click focus, can judge whether the user selects the current shielding cloth by judging whether the point clicked by the user is in a rectangular range, and the touchgetturedetector is used for identifying a clicking and sliding gesture (as shown in the leftmost graph in fig. 5);
3) if the covering popup is selected, acquiring the area of the user shielding the popup, wherein computeBounds () of a Path Path of the shielding popup can be used for calculating the area of the current shielding popup, moving the shielding popup and recording an offset value in the PathItem; and if the shielding popup is not selected, drawing a new shielding popup track area, and regenerating the shielding popup from the first step.
Of course, after the screen information is shielded by the shielding pop window, the user may also adjust the size of the shielding pop window to reduce the shielding pop window, as shown in a diagram on the right side of fig. 5, determine whether the shielding pop window is selected by both fingers of the user, monitor the two-finger zoom gesture, calculate the zoom multiple, and redraw the shielding pop window according to the zoom multiple of the shielding cloth and the offset value in the onDraw method of advanced doodeview.
Through the mode, the user can manually touch and adjust the position and the size of the shielding popup window according to the needs of the user, and the information needing to be protected is guaranteed to be shielded.
According to the screen information processing method provided by the embodiment of the application, whether a user wears an earphone matched with the electronic equipment is determined under the condition that the environmental parameter positioned in the target direction of the electronic equipment meets the preset information protection condition, the display of the screen information is cancelled under the condition that the user wears the earphone, and the screen information is broadcasted through voice, or under the condition that the user does not wear the earphone, the display mode corresponding to the screen information is determined according to the target direction, and the screen information is displayed in the display mode. According to the embodiment of the application, the electronic equipment is located in the public crowding areas such as buses or subways, the screen information is prevented from being leaked by canceling the display of the screen information under the condition that the user wears the earphones, and when the user does not wear the earphones, the screen information display mode is determined according to the target direction, the screen information is protected, and therefore the risk that the privacy of the user is leaked can be greatly reduced.
It should be noted that, in the screen information processing method provided in the embodiment of the present application, the execution main body may be a screen information processing apparatus, or a control module for the screen information processing method in the screen information processing apparatus. The screen information processing device provided by the embodiment of the present application is described by taking the screen information processing device as an example to execute the screen information processing method.
Referring to fig. 6, which shows a schematic structural diagram of a screen information processing apparatus provided in an embodiment of the present application, as shown in fig. 6, the screen information processing apparatus 600 may specifically include the following modules:
an environment parameter determining module 610, configured to determine whether an environment parameter located in a target direction of the electronic device meets a preset information protection condition;
a wearing earphone determining module 620, configured to determine whether a user wears an earphone matched with the electronic device when the environmental parameter meets the preset information protection condition;
a screen information broadcasting module 630, configured to cancel display of screen information and broadcast the screen information through voice when the user wears the earphone;
and the screen information display module 640 is configured to determine a display mode corresponding to the screen information according to the target direction and display the screen information in the display mode when the user does not wear the earphone.
Optionally, the environment parameter determining module 610 includes:
the first volume parameter acquiring unit is used for acquiring a first volume parameter positioned in the target direction of the electronic equipment in the current period;
the first environment parameter determining unit is used for determining that the environment parameter meets the preset information protection condition under the condition that the difference value between the first volume parameter and the second volume parameter is larger than a volume threshold value;
wherein the second volume parameter is a volume parameter in the target direction in a previous period.
Optionally, the environment parameter determining module 610 includes:
the first density parameter acquisition unit is used for acquiring a first crowd density parameter positioned in the target direction of the electronic equipment in the current period;
the second environment parameter determining unit is used for determining that the environment parameter meets the preset information protection condition under the condition that the difference value between the first crowd density parameter and the second crowd density parameter is larger than a density threshold value;
wherein the second crowd density parameter is the crowd density parameter in the target direction in the previous period.
Optionally, the screen information display module 640 includes:
a zoom mode determination unit, configured to determine that the display manner is a screen zoom display manner when the target direction is a first direction;
the display area reducing unit is used for reducing the display area of the screen information according to preset scaling parameters under the condition that the display mode is a screen scaling display mode, and displaying the reduced display area at a first position on a display screen;
wherein the first position is associated with the first direction.
Optionally, the screen information display module 640 includes:
and the screen information shielding unit is used for generating a shielding popup window under the condition that the target direction is in an omnidirectional direction, and shielding the display of the screen information through the shielding popup window.
The screen information processing device provided by the embodiment of the application determines whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameter positioned in the target direction of the electronic equipment meets the preset information protection condition, cancels the display of the screen information under the condition that the user wears the earphone, and broadcasts the screen information through voice, and determines the display mode corresponding to the screen information according to the target direction and displays the screen information in the display mode under the condition that the user does not wear the earphone. According to the embodiment of the application, the electronic equipment is located in the public crowding areas such as buses or subways, the screen information is prevented from being leaked by canceling the display of the screen information under the condition that the user wears the earphones, or the screen information display mode is determined according to the target direction when the user does not wear the earphones, and the screen information is protected, so that the risk of user privacy leakage can be greatly reduced.
The screen information processing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screen information processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The screen information coarse-grained device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned screen information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 810 is configured to determine whether an environmental parameter located in a target direction of the electronic device meets a preset information protection condition; determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions; canceling the display of screen information and broadcasting the screen information through voice under the condition that a user wears the earphone; or under the condition that the user does not wear the earphone, determining a display mode corresponding to the screen information according to the target direction, and displaying the screen information in the display mode.
According to the embodiment of the application, the electronic equipment is located in the public crowding areas such as buses or subways, the screen information is prevented from being leaked by canceling the display of the screen information under the condition that the user wears the earphones, or the screen information display mode is determined according to the target direction when the user does not wear the earphones, and the screen information is protected, so that the risk of user privacy leakage can be greatly reduced.
Optionally, the processor 810 is further configured to obtain a first volume parameter located in a target direction of the electronic device in a current period; determining that the environmental parameter meets the preset information protection condition under the condition that the difference value between the first volume parameter and the second volume parameter is larger than a volume threshold; wherein the second volume parameter is a volume parameter in the target direction in a previous period.
Optionally, the processor 810 is further configured to obtain a first crowd density parameter located in a target direction of the electronic device in a current period; determining that the environmental parameter meets the preset information protection condition under the condition that the difference value between the first crowd density parameter and the second crowd density parameter is larger than a density threshold; wherein the second crowd density parameter is the crowd density parameter in the target direction in the previous period.
Optionally, the processor 810 is further configured to determine that the display manner is a screen zoom display manner when the target direction is a first direction; under the condition that the display mode is a screen zooming display mode, according to preset zooming parameters, zooming out the display area of the screen information, and displaying the zoomed out display area at a first position on a display screen; wherein the first position is associated with the first direction.
Optionally, the processor 810 is further configured to generate an occlusion pop window when the target direction is an omnidirectional direction, and occlude display of the screen information through the occlusion pop window.
According to the screen information display method and device, the risk of screen information leakage in public places can be avoided by reducing the display area of the screen information or blocking the display mode of the screen information and the like, and the safety index of the screen information is greatly improved.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned screen information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned screen information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A screen information processing method characterized by comprising:
determining whether an environmental parameter located in a target direction of the electronic equipment meets a preset information protection condition;
determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions;
canceling the display of screen information and broadcasting the screen information through voice under the condition that a user wears the earphone;
or under the condition that the user does not wear the earphone, determining a display mode corresponding to the screen information according to the target direction, and displaying the screen information in the display mode.
2. The method of claim 1, wherein determining whether the environmental parameter located in the target direction of the electronic device satisfies a preset information protection condition comprises:
acquiring a first volume parameter positioned in a target direction of the electronic equipment in a current period;
determining that the environmental parameter meets the preset information protection condition under the condition that the difference value between the first volume parameter and the second volume parameter is larger than a volume threshold;
wherein the second volume parameter is a volume parameter in the target direction in a previous period.
3. The method of claim 1, wherein determining whether the environmental parameter located in the target direction of the electronic device satisfies a preset information protection condition comprises:
acquiring a first crowd density parameter located in a target direction of the electronic equipment in a current period;
determining that the environmental parameter meets the preset information protection condition under the condition that the difference value between the first crowd density parameter and the second crowd density parameter is larger than a density threshold;
wherein the second crowd density parameter is the crowd density parameter in the target direction in the previous period.
4. The method according to claim 1, wherein the determining a display mode corresponding to the screen information according to the target direction and displaying the screen information in the display mode comprises:
determining that the display mode is a screen zooming display mode under the condition that the target direction is a first direction;
under the condition that the display mode is a screen zooming display mode, according to preset zooming parameters, zooming out the display area of the screen information, and displaying the zoomed out display area at a first position on a display screen;
wherein the first position is associated with the first direction.
5. The method according to claim 1, wherein the determining a display mode corresponding to the screen information according to the target direction and displaying the screen information in the display mode comprises:
and under the condition that the target direction is the omnidirectional direction, generating a shielding popup window, and shielding the display of the screen information through the shielding popup window.
6. A screen information processing apparatus characterized by comprising:
the environment parameter determining module is used for determining whether the environment parameter positioned in the target direction of the electronic equipment meets a preset information protection condition;
the wearing earphone determining module is used for determining whether a user wears an earphone matched with the electronic equipment or not under the condition that the environmental parameters meet the preset information protection conditions;
the screen information broadcasting module is used for canceling the display of the screen information and broadcasting the screen information through voice under the condition that the user wears the earphone;
and the screen information display module is used for determining a display mode corresponding to the screen information according to the target direction under the condition that the user does not wear the earphone, and displaying the screen information in the display mode.
7. The apparatus of claim 6, wherein the environment parameter determination module comprises:
the first volume parameter acquiring unit is used for acquiring a first volume parameter positioned in the target direction of the electronic equipment in the current period;
the first environment parameter determining unit is used for determining that the environment parameter meets the preset information protection condition under the condition that the difference value between the first volume parameter and the second volume parameter is larger than a volume threshold value;
wherein the second volume parameter is a volume parameter in the target direction in a previous period.
8. The apparatus of claim 6, wherein the environment parameter determination module comprises:
the first density parameter acquisition unit is used for acquiring a first crowd density parameter positioned in the target direction of the electronic equipment in the current period;
the second environment parameter determining unit is used for determining that the environment parameter meets the preset information protection condition under the condition that the difference value between the first crowd density parameter and the second crowd density parameter is larger than a density threshold value;
wherein the second crowd density parameter is the crowd density parameter in the target direction in the previous period.
9. The apparatus of claim 6, wherein the screen information display module comprises:
a zoom mode determination unit, configured to determine that the display manner is a screen zoom display manner when the target direction is a first direction;
the display area reducing unit is used for reducing the display area of the screen information according to preset scaling parameters under the condition that the display mode is a screen scaling display mode, and displaying the reduced display area at a first position on a display screen;
wherein the first position is associated with the first direction.
10. The apparatus of claim 6, wherein the screen information display module comprises:
and the screen information shielding unit is used for generating a shielding popup window under the condition that the target direction is in an omnidirectional direction, and shielding the display of the screen information through the shielding popup window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011179082.2A CN112287413B (en) | 2020-10-29 | 2020-10-29 | Screen information processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011179082.2A CN112287413B (en) | 2020-10-29 | 2020-10-29 | Screen information processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112287413A true CN112287413A (en) | 2021-01-29 |
CN112287413B CN112287413B (en) | 2024-07-23 |
Family
ID=74374151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011179082.2A Active CN112287413B (en) | 2020-10-29 | 2020-10-29 | Screen information processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112287413B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114063873A (en) * | 2021-11-09 | 2022-02-18 | 维沃移动通信有限公司 | Information display method, information display device and electronic equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981596A (en) * | 2012-12-21 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Terminal and screen interface display method |
CN103902042A (en) * | 2014-03-27 | 2014-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and anti-peeping method and device |
CN104361302A (en) * | 2014-10-21 | 2015-02-18 | 天津三星电子有限公司 | Method for protecting private information based on communication equipment and communication equipment |
CN104809417A (en) * | 2014-01-29 | 2015-07-29 | 北京三星通信技术研究有限公司 | Method and device for shielding information on display screen and equipment |
US20170076089A1 (en) * | 2010-11-29 | 2017-03-16 | Biocatch Ltd. | Method, system, and device of differentiating among users based on responses to interferences |
CN106599716A (en) * | 2016-11-30 | 2017-04-26 | 广东欧珀移动通信有限公司 | Message content protection method and device, and mobile terminal |
WO2018193945A1 (en) * | 2017-04-17 | 2018-10-25 | シャープ株式会社 | Portable terminal, control method, and program |
CN109753776A (en) * | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | A kind of method, apparatus and mobile terminal of information processing |
CN110502936A (en) * | 2019-07-22 | 2019-11-26 | 维沃移动通信有限公司 | The display methods and terminal device of privacy information |
CN110737927A (en) * | 2019-10-16 | 2020-01-31 | 青岛宇硕云联信息科技有限公司 | Method for automatically shielding privacy of mobile phone scanning touch screen and mobile terminal |
US20200059547A1 (en) * | 2017-04-11 | 2020-02-20 | Huawei Technologies Co., Ltd. | Message obtaining method and apparatus |
WO2020187157A1 (en) * | 2019-03-18 | 2020-09-24 | 华为技术有限公司 | Control method and electronic device |
-
2020
- 2020-10-29 CN CN202011179082.2A patent/CN112287413B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170076089A1 (en) * | 2010-11-29 | 2017-03-16 | Biocatch Ltd. | Method, system, and device of differentiating among users based on responses to interferences |
CN102981596A (en) * | 2012-12-21 | 2013-03-20 | 东莞宇龙通信科技有限公司 | Terminal and screen interface display method |
CN104809417A (en) * | 2014-01-29 | 2015-07-29 | 北京三星通信技术研究有限公司 | Method and device for shielding information on display screen and equipment |
CN103902042A (en) * | 2014-03-27 | 2014-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and anti-peeping method and device |
CN104361302A (en) * | 2014-10-21 | 2015-02-18 | 天津三星电子有限公司 | Method for protecting private information based on communication equipment and communication equipment |
CN106599716A (en) * | 2016-11-30 | 2017-04-26 | 广东欧珀移动通信有限公司 | Message content protection method and device, and mobile terminal |
US20200059547A1 (en) * | 2017-04-11 | 2020-02-20 | Huawei Technologies Co., Ltd. | Message obtaining method and apparatus |
WO2018193945A1 (en) * | 2017-04-17 | 2018-10-25 | シャープ株式会社 | Portable terminal, control method, and program |
CN109753776A (en) * | 2018-12-29 | 2019-05-14 | 维沃移动通信有限公司 | A kind of method, apparatus and mobile terminal of information processing |
WO2020187157A1 (en) * | 2019-03-18 | 2020-09-24 | 华为技术有限公司 | Control method and electronic device |
CN110502936A (en) * | 2019-07-22 | 2019-11-26 | 维沃移动通信有限公司 | The display methods and terminal device of privacy information |
CN110737927A (en) * | 2019-10-16 | 2020-01-31 | 青岛宇硕云联信息科技有限公司 | Method for automatically shielding privacy of mobile phone scanning touch screen and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114063873A (en) * | 2021-11-09 | 2022-02-18 | 维沃移动通信有限公司 | Information display method, information display device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112287413B (en) | 2024-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4354221A1 (en) | User interface for camera effects | |
US20130293488A1 (en) | Mobile terminal and control method thereof | |
EP2887238A2 (en) | Mobile terminal and method for controlling the same | |
CN112714253B (en) | Video recording method and device, electronic equipment and readable storage medium | |
CN109828706A (en) | A kind of information display method and terminal | |
CN113138818A (en) | Interface display method and device and electronic equipment | |
CN113485603B (en) | Message display method and device and electronic equipment | |
CN110968229A (en) | Wallpaper setting method and electronic equipment | |
CN112099714B (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN112214112A (en) | Parameter adjusting method and device | |
CN113873151A (en) | Video recording method and device and electronic equipment | |
CN113783995A (en) | Display control method, display control device, electronic apparatus, and medium | |
CN113655929A (en) | Interface display adaptation processing method and device and electronic equipment | |
CN114077465A (en) | UI (user interface) rendering method and device, electronic equipment and storage medium | |
CN116820289A (en) | Information display method, device, equipment and storage medium | |
CN115065874A (en) | Video playing method and device, electronic equipment and readable storage medium | |
CN112287413B (en) | Screen information processing method and device and electronic equipment | |
CN111093035B (en) | Image processing method, electronic device, and storage medium | |
CN104216624A (en) | Display method and electronic device | |
CN111273979A (en) | Information processing method, device and storage medium | |
CN113347478B (en) | Display method and display device | |
CN114245017A (en) | Shooting method and device and electronic equipment | |
CN112165584A (en) | Video recording method, video recording device, electronic equipment and readable storage medium | |
CN113253884A (en) | Touch method, touch device and electronic equipment | |
CN112363787A (en) | Image processing method and device and electronic equipment |
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 |