CN111274618A - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
CN111274618A
CN111274618A CN202010034012.1A CN202010034012A CN111274618A CN 111274618 A CN111274618 A CN 111274618A CN 202010034012 A CN202010034012 A CN 202010034012A CN 111274618 A CN111274618 A CN 111274618A
Authority
CN
China
Prior art keywords
layer
hardware
area
shielded
display screen
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
Application number
CN202010034012.1A
Other languages
Chinese (zh)
Other versions
CN111274618B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010034012.1A priority Critical patent/CN111274618B/en
Publication of CN111274618A publication Critical patent/CN111274618A/en
Priority to PCT/CN2021/071263 priority patent/WO2021143672A1/en
Application granted granted Critical
Publication of CN111274618B publication Critical patent/CN111274618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a display control method and a related product, which are applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen and a DPU (digital processing unit), the DPU comprises N layer hardware and a layer mixer, the N layer hardware comprises first layer hardware and M second layer hardware, and each layer hardware is connected with the layer mixer; the method comprises the following steps: the method comprises the steps of determining an area to be shielded on a display screen, modifying first layer parameters of first layer hardware, creating a new first layer according to the modified first layer parameters, and synthesizing the new first layer and M second layers corresponding to the M second layer hardware to obtain a third layer.

Description

Display control method and related product
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display control method and a related product.
Background
The display screen of the current electronic device is large in size, when a plurality of items of important information are displayed on the display page of the display screen at the same time, for example, a plurality of information or a plurality of pictures are displayed at the same time, at this time, if other people exist beside the display screen, part of the important information may be seen by other people, and the user is troublesome to block by hand. For example, when a user only shows a part of information in a plurality of items of information to others but does not want others to see other important or private information other than the part of information, manual occlusion may not completely occlude the information that the user wants to occlude, and manual occlusion may affect the user to perform other operations on the electronic device by hand.
Disclosure of Invention
The embodiment of the application provides a display control method and a related product, which can avoid important or private information leakage by shielding an area to be shielded in a current page of a display screen.
In a first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device, where the electronic device includes a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N layer hardware and a layer mixer, where the N layer hardware includes first layer hardware and M second layer hardware, where N is an integer greater than 1, M is smaller than N, and each layer hardware is connected to the layer mixer; the method comprises the following steps:
detecting a target area, which is concerned about, of a current page of the display screen through the camera, and determining an area to be shielded on the display screen according to the target area;
modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and synthesizing the new first image layer and the M second image layers corresponding to the M second image layer hardware through the image layer mixer to obtain a third image layer, and displaying the third image layer.
In a second aspect, an embodiment of the present application provides a display control apparatus, which is applied to an electronic device, where the electronic device includes a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N layer hardware and a layer mixer, where the N layer hardware includes first layer hardware and M second layer hardware, where N is an integer greater than 1, M is smaller than N, and each layer hardware is connected to the layer mixer; the device comprises:
the detection unit is used for detecting a target area, which is concerned by the current page of the display screen, through the camera;
the determining unit is used for determining an area to be shielded on the display screen according to the target area;
a processing unit, configured to modify a first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of the following: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and the display unit is used for synthesizing the new first layer and the M second layers corresponding to the M second layer hardware through the layer mixer to obtain a third layer, and displaying the third layer.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N layer hardware and a layer mixer, where the N layer hardware includes first layer hardware and M second layer hardware, where N is an integer greater than 1, M is smaller than N, and each layer hardware is connected to the layer mixer; wherein the content of the first and second substances,
the camera is used for detecting a target area of a current page of the display screen, which is concerned about;
the processor is used for determining a region to be shielded on the display screen according to the target region; modifying the first layer parameters of the first layer hardware;
the first layer hardware is configured to create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and the layer mixer is used for synthesizing the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and displaying the third layer.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the method according to the first aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the method according to the first aspect of the present application.
In a sixth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, a target area concerned by a current page of a display screen is detected by a camera, an area to be blocked on the display screen is determined according to the target area, a first layer parameter of first layer hardware is modified, a new first layer is created according to the modified first layer parameter, the new first layer and M second layers corresponding to the M second layer hardware are synthesized by a layer mixer to obtain a third layer, and the third layer is displayed.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic diagram of a layer provided in an embodiment of the present application;
fig. 1C is a schematic diagram of another layer provided in this embodiment of the present application;
fig. 2A is a schematic flowchart of a display control method according to an embodiment of the present disclosure;
fig. 2B is a schematic illustration showing a current page division according to an embodiment of the present disclosure;
fig. 2C is a schematic illustration of a demonstration for determining an area to be occluded in a current page according to an embodiment of the present application;
FIG. 2D is another illustration showing a determination of an area to be occluded in a current page according to an embodiment of the present application;
FIG. 2E is another illustration showing a determination of an area to be occluded in a current page according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another display control method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a display control apparatus according to an embodiment of the present application.
Detailed Description
The following describes embodiments of the present application in detail.
Electronic devices may include various handheld devices (e.g., cell phones, tablets, etc.) having wireless communication capabilities, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal), and so forth.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device includes a display screen, a camera, a processor, and a Bus (Bus), the display screen is connected to the processor, the camera is connected to the processor, the processor is connected to the Bus, and the processor includes a Distributed Processing Unit (DPU). The DPU includes N overlay hardware, an overlay mix (LM), and a Display Serial Interface (DSI). The N image layer hardware comprises first image layer hardware and M second image layer hardware, N is an integer larger than 1, M is smaller than N, each image layer hardware is connected with the image layer mixer, and the image layer mixer is connected with a display screen through DSI; wherein the content of the first and second substances,
the camera is used for detecting a target area of a current page of the display screen, which is concerned about;
the processor is used for determining a region to be shielded on the display screen according to the target region; modifying the first layer parameters of the first layer hardware;
the first layer hardware is configured to create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and the layer mixer is used for synthesizing the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and displaying the third layer.
The first layer hardware may be a dim layer hardware, or the first layer hardware may also be a common layer hardware. The second layer hardware is common layer hardware.
The function of the ordinary layer hardware is to transmit layer information of the layer associated with the ordinary layer hardware.
Wherein, the role of the dim layer hardware is to create a layer and modify the layer parameters of its associated layer.
In a specific implementation, a picture displayed by the display screen is obtained by overlapping a plurality of layers. If the first layer hardware is a dim layer hardware, the plurality of layers may include a dim layer (dim layer) and a plurality of normal layers (as shown in fig. 1B), or, if the first layer hardware is a normal layer hardware, the plurality of layers is a plurality of normal layers (as shown in fig. 1C), which is not limited herein. The plurality of common layers may include a status bar layer, a launcher layer, a wallpaper layer, a navigation bar layer, and the like.
The display screen may include one or a combination of several of a liquid crystal display screen, an organic light emitting diode display screen, an electronic ink display screen, a plasma display screen, and a display screen using other display technologies. The display screen may include an array of touch sensors (i.e., the display screen may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
Optionally, before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
acquiring the shape and the size of the area to be shielded;
and taking the shape and the size of the area to be shielded as the shape and the size of the first image layer.
Optionally, before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
and determining the RGB value of the first layer according to the background color of the area to be shielded.
And determining the transparency of the first image layer according to the foreground color of the area to be shielded.
Optionally, the current page includes a plurality of pieces of contact information corresponding to a plurality of contacts, each contact corresponds to one piece of contact information, and the target area includes any piece of contact information in the plurality of pieces of contact information; in the aspect of determining the region to be occluded on the display screen according to the target region, the processor is specifically configured to:
determining at least one preset important contact in the plurality of contacts according to the plurality of contact information;
and determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
Optionally, the current page includes a plurality of images, and the target area includes any one of the plurality of images; in the aspect of determining the region to be occluded on the display screen according to the target region, the processor is specifically configured to:
determining at least one preset private image in the plurality of images;
and determining an area to be occluded corresponding to the at least one private image adjacent to the target area.
Optionally, the display screen further comprises a pressure sensor, and the pressure sensor is configured to detect a touch trajectory of the current page on the display screen;
the processor is further configured to determine an area to be occluded on the display screen according to the touch trajectory.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a display control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1A, the display control method including:
201. the method comprises the steps of detecting a target area, which is concerned by a current page of a display screen, through a camera, and determining an area to be shielded on the display screen according to the target area.
In the embodiment of the application, the eyeball tracking of the user can be carried out through the camera, and the target area on the current page of the user attention display screen is detected. Specifically, a gaze point of a user eyeball focusing on a current page may be detected by a camera, the current page may be further divided into a plurality of regions, and then, a target region where the gaze point is located is determined.
As shown in fig. 2B, fig. 2B is a demonstration diagram for dividing a current page provided in the embodiment of the present application, wherein the current page displays different pieces of content, and the different pieces of content are relatively independent, so that the pieces of content can be divided into multiple regions to obtain a divided current page.
In a specific implementation, the target area is an area that the user pays attention to, and all the areas other than the target area may be areas that the user does not pay attention to, so that the areas other than the target area may be blocked as the areas to be blocked.
Optionally, the region to be occluded may also be a region with the same attribute or size as the target region, where the same attribute means that the attributes of the contents displayed in different regions are the same, for example, if two different regions both display pictures, the attributes of the two regions are the same. Referring to fig. 2C, fig. 2C is a schematic diagram illustrating determining an area to be occluded in a current page according to an embodiment of the present application, where a current page display includes a plurality of contact information (e.g., identification numbers, phone numbers, addresses, and the like) of a plurality of contacts displayed in a plurality of areas, the contact information of each contact corresponds to one area, and a target area displays at least one piece of contact information of at least one of the people, an area corresponding to the other contact information of the other contacts except the at least one piece of contact information in the current page may be used as the area to be occluded, and the other areas except the displayed contact information (e.g., displayed time, identifiers such as electric quantity, and return function control keys) in the current page do not belong to the area to be occluded.
Optionally, the current page includes a plurality of pieces of contact information corresponding to a plurality of contacts, each contact corresponds to one piece of contact information, and the target area includes any piece of contact information in the plurality of pieces of contact information; in the step 201, determining the region to be occluded on the display screen according to the target region may include the following steps:
11. determining at least one preset important contact in the plurality of contacts according to the plurality of contact information;
12. and determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
In a specific implementation, referring to fig. 2D, fig. 2D is another schematic illustration of a demonstration that determines an area to be occluded in a current page according to an embodiment of the present application, where a user may preset important contacts, so that a plurality of contacts in an electronic device may include two types, i.e., important contacts and non-important contacts, assuming that a current page display includes p pieces of contact information of p contacts displayed in p areas, p is a positive integer, the p pieces of contact information include q pieces of contact information of q important contacts, q is a positive integer less than or equal to p, the contact information of each contact corresponds to one area, and a target area displays at least one piece of contact information of at least one important contact, an area corresponding to the contact information of other important contacts except the at least one piece of contact information in the current page may be used as the area to be occluded, and the other areas except the displayed contact information and the contact information of the non-important contacts in the current page do not belong to the areas to be shielded, so that the user can not be influenced to check the contact information of the other non-important contacts. Therefore, when the user views the contact information on the display screen for others, if the user only wants to see the contact information of the important contact in the target area for others and does not want others to see the contact information of other important contacts, the contact information of other important contacts can be shielded, and the contact information of other important contacts can be prevented from being leaked carelessly.
Optionally, the current page includes a plurality of images, and the target area includes any one of the plurality of images; in the step 201, determining the region to be occluded on the display screen according to the target region may include the following steps:
13. determining at least one preset private image in the plurality of images;
14. and determining an area to be occluded corresponding to the at least one private image adjacent to the target area.
In specific implementation, a user may set private images in advance for an image, please refer to fig. 2E, where fig. 2E is another schematic illustration of a demonstration that determines an area to be blocked in a current page provided in the embodiment of the present application, where a current page display includes 10 areas, where 9 images displayed in 9 areas and album name information displayed in 1 area, each image corresponds to one area, 9 images include preset 5 private images and 4 non-private images, and a target area displays one of the private images, an area corresponding to 4 private images other than the private image in the current page may be used as the area to be blocked, and other areas (album name information and 4 non-private images) other than the 4 private images in the current page do not belong to the area to be blocked. Therefore, when the user browses the photo album, if other people are beside the user to browse the photo album together, the user only wants to see the private image of the target area to other people, and when the user does not want other people to see other private images, other private images can be shielded, so that the other private images can be prevented from being leaked carelessly.
Optionally, in this embodiment of the present application, the following steps may also be included:
2011. detecting a touch trajectory for the current page of the display screen;
2012. and determining an area to be shielded on the display screen according to the touch track.
In the embodiment of the application, if a user wants to shield important or private content of a current page, touch operation can be performed on the display screen, so that the electronic device can detect a touch track of the current page of the display screen, determine a region selected by the touch track, and use the region selected by the touch track as a region to be shielded, which needs to be shielded, on the display screen. For example, the current page of the display screen may be divided into a plurality of areas according to the display content, and then, at least one area covered by the touch trajectory of the user may be determined as an area to be occluded. Therefore, the region to be shielded can be manually set by a user, and the region to be shielded is shielded.
202. Modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded.
The method comprises the steps that a processor modifies first layer parameters of a first layer, the transparency of a new first layer is larger than the transparency before modification, the larger the transparency is, the more opaque the first layer is, the smaller the transparency is, the more transparent the first layer is, and the size of the new first layer is larger than or equal to the size of an area to be shielded, so that the area corresponding to the area to be shielded can be covered by the first layer, and display content of the area to be shielded is shielded.
Optionally, before the modifying the first layer parameter of the first layer hardware, the method may further include:
2021. acquiring the shape and the size of the area to be shielded;
2022. and taking the shape and the size of the area to be shielded as the shape and the size of the first image layer.
In the concrete implementation, the shape and the size of the region to be shielded are used as the shape and the size of the first image layer, so that the first image layer can completely shield the region to be shielded, and other regions except the region to be shielded can not be shielded, and therefore the region to be shielded can be more accurately shielded.
Optionally, before the modifying the first layer parameter of the first layer hardware, the method may further include:
2023. and determining the RGB value of the first layer according to the background color of the area to be shielded.
2024. And determining the transparency of the first image layer according to the foreground color of the area to be shielded.
In the embodiment of the application, the color of the first layer can be adjusted to be the same as or similar to the color of the region to be shielded, so that the RGB value of the first layer can be determined according to the background color of the region to be shielded, and thus, the display effect of the new color of the first layer can be more natural and coordinated.
In a specific implementation, the deeper the foreground color is, the greater the transparency of the first layer can be, the more opaque the corresponding first layer is; the lighter the foreground color is, the smaller the transparency of the first image layer can be, and the more transparent the corresponding first image layer is, so that the foreground colors in different depths can be guaranteed to be shielded.
Optionally, the step 202 includes modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer hardware is dark layer hardware, and the M second layer hardware is common layer hardware, and the step includes:
and the processor modifies the layer parameters of the first layer through the first layer hardware, and re-creates a new first layer based on the modified layer parameters of the first layer through the first layer hardware.
Wherein, the first layer hardware comprises at least one register, and the at least one register comprises at least one of the following: a size register, a shape register, a transparency register and an RGB register; the specific step of modifying the layer parameters of the first layer by the processor through the first layer hardware comprises the following steps: and modifying the value of the at least one register included in the first layer hardware by the processor through the first layer hardware. For example, assuming that the layer parameters of the modified first layer include transparency and RGB values, the processor modifies the value of the transparency register and modifies the value of the RGB register via the first layer hardware. Because the dim layer hardware can directly modify the layer parameters of the layer and directly create the layer, the power consumption of the electronic equipment is reduced.
Optionally, the first layer hardware and the M second layer hardware are both common layer hardware, where in step 202, before modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, the method further includes:
creating a first layer in an application space, and taking the first common layer hardware as the layer hardware of the first layer;
in step 202, the modifying the first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter includes: and modifying the layer parameters of the first layer, and recreating a new first layer in the application space based on the modified layer parameters of the first layer.
The processor comprises at least one register associated with the first image layer hardware, and the at least one register comprises at least one of the following: a size register, a shape register, a transparency register and an RGB register; the specific method for modifying the layer parameter of the first layer by the processor is as follows: the processor modifies a value of at least one register associated with the first image layer hardware. For example, assuming that the modified layer parameters of the first layer include transparency and RGB values, the processor directly modifies the values of the transparency registers and RGB registers associated with the first layer hardware. Therefore, when the electronic equipment only has common layer hardware, a normal layer is created through the application space, then the normal layer occupies the common layer hardware, and then the scheme of the dim layer can be used, so that the scheme that the dark layer can be used by the hardware without the dim layer is realized, and the performance of the electronic equipment is improved.
203. And synthesizing the new first image layer and the M second image layers corresponding to the M second image layer hardware through the image layer mixer to obtain a third image layer, and displaying the third image layer.
After a new first layer is created by first layer hardware, the first layer can be transmitted to a layer mixer, the layer mixer can also receive M second layers transmitted by other M hardware layers, further, the first layer and the M second layers can be synthesized to obtain a third layer, and finally, the third layer is transmitted to a display screen for displaying. Therefore, the display content of the region to be shielded can be shielded through the new first image layer, and the display content of the region to be shielded is prevented from being leaked.
It can be seen that, in the embodiment of the present application, a target area concerned by a current page of a display screen is detected by a camera, an area to be blocked on the display screen is determined according to the target area, a first layer parameter of first layer hardware is modified, a new first layer is created according to the modified first layer parameter, the new first layer and M second layers corresponding to the M second layer hardware are synthesized by a layer mixer to obtain a third layer, and the third layer is displayed.
Referring to fig. 3, fig. 3 is a schematic flow chart of a display control method provided in an embodiment of the present application, and is applied to an electronic device, where the electronic device includes a camera, a display screen, and a distributed processing unit DPU, the DPU includes N layer hardware and a layer mixer, the N layer hardware includes first layer hardware and M second layer hardware, N is an integer greater than 1, M is smaller than N, and each layer hardware is connected to the layer mixer; the method comprises the following steps:
301. detecting a target area, which is concerned about, of a current page of the display screen through the camera, wherein the current page comprises a plurality of contact person information corresponding to a plurality of contact persons, each contact person corresponds to one piece of contact person information, and the target area comprises any one piece of contact person information in the plurality of contact person information.
302. And determining at least one preset important contact in the plurality of contacts according to the plurality of contact information.
303. And determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
304. Modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded.
305. And synthesizing the new first image layer and the M second image layers corresponding to the M second image layer hardware through the image layer mixer to obtain a third image layer, and displaying the third image layer.
The specific implementation process of steps 301-305 can refer to the corresponding description in steps 201-203, which is not described herein again.
Wherein, the current page may include any one of the following: an address book page, a contacts page for a chat application, a messages page for a shopping application, etc., and the current page may include a plurality of contacts and a plurality of contact information arranged in sequence.
For example, the current page includes 10 pieces of contact information of 10 contacts, including 6 preset important contacts, so that when the user presents the contact information to another person, according to detection of a target area concerned by eyeballs of the user, the important contact information or the non-important contact information of the target area that the user wants to present to another person can be determined, further, the contact information of other important contacts displayed on the current page can be determined, an area corresponding to the contact information of other important contacts is determined as an area to be occluded, further, the area to be occluded is occluded by creating a new first image layer, and therefore, the contact information of other important contacts can be prevented from being inadvertently leaked.
It can be seen that in the embodiment of the application, when the user views the contact information on the display screen for others, if the user only wants to view the contact information of the important contact in the target area for others and does not want others to view the contact information of other important contacts, the contact information of other important contacts is shielded, so that the contact information of other important contacts can be prevented from being carelessly revealed.
In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, fig. 4 is a schematic structural diagram of another electronic device provided in the embodiments of the present application, where the electronic device includes a processor, a memory, a communication interface, and one or more programs, the processor includes the processor, the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for:
detecting a target area, which is concerned about, of a current page of the display screen through the camera, and determining an area to be shielded on the display screen according to the target area;
modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and synthesizing the new first image layer and the M second image layers corresponding to the M second image layer hardware through the image layer mixer to obtain a third image layer, and displaying the third image layer.
In a possible example, before the modifying the first layer parameters of the first layer hardware, the program further includes instructions specifically configured to:
acquiring the shape and the size of the area to be shielded;
and taking the shape and the size of the area to be shielded as the shape and the size of the first image layer.
In one possible example, before the modifying the first layer parameters of the first layer hardware, the program includes instructions further for:
and determining the RGB value of the first layer according to the background color of the area to be shielded.
And determining the transparency of the first image layer according to the foreground color of the area to be shielded.
In one possible example, the current page includes a plurality of contact information corresponding to a plurality of contacts, each contact corresponding to one contact information, and the target area includes any one of the plurality of contact information; in the aspect of determining the region to be occluded on the display screen according to the target region, the program includes instructions for further performing the steps of:
determining at least one preset important contact in the plurality of contacts according to the plurality of contact information;
and determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
In an implementation manner of the present application, the current page includes a plurality of images, and the target area includes any one of the plurality of images; in the aspect of determining the region to be occluded on the display screen according to the target region, the program includes instructions for performing the steps of:
determining at least one preset private image in the plurality of images;
and determining an area to be occluded corresponding to the at least one private image adjacent to the target area.
In one possible example, the program includes instructions for performing the following steps:
detecting a touch trajectory for the current page of the display screen;
and determining an area to be shielded on the display screen according to the touch track.
It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the above method embodiment, and details are not described here.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 5, fig. 5 is a display control apparatus provided in an embodiment of the present application, which is applied to an electronic device, where the electronic device includes a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N layer hardware and a layer mixer, where the N layer hardware includes first layer hardware and M second layer hardware, where N is an integer greater than 1, M is smaller than N, and each layer hardware is connected to the layer mixer; the device comprises:
a detection unit 501, configured to detect, through the camera, a target area of a current page of the display screen that is focused on;
a determining unit 502, configured to determine, according to the target area, an area to be occluded on the display screen;
a processing unit 503, configured to modify a first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of the following: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
a display unit 504, configured to synthesize the new first layer and the M second layers corresponding to the M second layer hardware through the layer mixer, to obtain a third layer, and display the third layer.
Optionally, before the modifying the first layer parameter of the first layer hardware, the processing unit 503 is further configured to:
acquiring the shape and the size of the area to be shielded;
and taking the shape and the size of the area to be shielded as the shape and the size of the first image layer.
Optionally, before the modifying the first layer parameter of the first layer hardware, the processing unit 503 is further configured to:
and determining the RGB value of the first layer according to the background color of the area to be shielded.
And determining the transparency of the first image layer according to the foreground color of the area to be shielded.
Optionally, the current page includes a plurality of pieces of contact information corresponding to a plurality of contacts, each contact corresponds to one piece of contact information, and the target area includes any piece of contact information in the plurality of pieces of contact information; the determining unit 502 is specifically configured to:
determining at least one preset important contact in the plurality of contacts according to the plurality of contact information;
and determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
Optionally, the current page includes a plurality of images, and the target area includes any one of the plurality of images; the determining unit 502 is specifically configured to:
determining at least one preset private image in the plurality of images;
and determining an area to be occluded corresponding to the at least one private image adjacent to the target area.
Optionally, the processing unit 503 is further configured to:
detecting a touch trajectory for the current page of the display screen;
and determining an area to be shielded on the display screen according to the touch track.
It should be noted that the detection unit 501, the determination unit 502, the processing unit 503, and the display unit 504 may be implemented by a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A display control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen and a Distributed Processing Unit (DPU), the DPU comprises N layer hardware and a layer mixer, the N layer hardware comprises first layer hardware and M second layer hardware, N is an integer greater than 1, M is smaller than N, and each layer hardware is connected with the layer mixer; the method comprises the following steps:
detecting a target area, which is concerned about, of a current page of the display screen through the camera, and determining an area to be shielded on the display screen according to the target area;
modifying a first layer parameter of the first layer hardware, and creating a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and synthesizing the new first image layer and the M second image layers corresponding to the M second image layer hardware through the image layer mixer to obtain a third image layer, and displaying the third image layer.
2. The method according to claim 1, wherein prior to said modifying first layer parameters of said first layer hardware, said method further comprises:
acquiring the shape and the size of the area to be shielded;
and taking the shape and the size of the area to be shielded as the shape and the size of the first image layer.
3. The method according to claim 1 or 2, wherein before said modifying the first layer parameters of the first layer hardware, the method further comprises:
determining the RGB value of the first layer according to the background color of the area to be shielded;
and determining the transparency of the first image layer according to the foreground color of the area to be shielded.
4. The method of any of claims 1-3, wherein the current page includes a plurality of contact information corresponding to a plurality of contacts, each contact corresponding to one contact information, and the target area includes any of the plurality of contact information; the determining the area to be shielded on the display screen according to the target area comprises the following steps:
determining at least one preset important contact in the plurality of contacts according to the plurality of contact information;
and determining an area to be occluded corresponding to the at least one important contact person adjacent to the target area.
5. The method according to any of claims 1-3, wherein the current page comprises a plurality of images, and the target area comprises any of the plurality of images; the determining the area to be shielded on the display screen according to the target area comprises the following steps:
determining at least one preset private image in the plurality of images;
and determining an area to be occluded corresponding to the at least one private image adjacent to the target area.
6. The method according to any one of claims 1-5, further comprising:
detecting a touch trajectory for the current page of the display screen;
and determining an area to be shielded on the display screen according to the touch track.
7. A display control device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a camera, a display screen and a Distributed Processing Unit (DPU), the DPU comprises N layer hardware and a layer mixer, the N layer hardware comprises first layer hardware and M second layer hardware, N is an integer greater than 1, M is smaller than N, and each layer hardware is connected with the layer mixer; the device comprises:
the detection unit is used for detecting a target area, which is concerned by the current page of the display screen, through the camera;
the determining unit is used for determining an area to be shielded on the display screen according to the target area;
a processing unit, configured to modify a first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of the following: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and the display unit is used for synthesizing the new first layer and the M second layers corresponding to the M second layer hardware through the layer mixer to obtain a third layer, and displaying the third layer.
8. An electronic device is characterized by comprising a processor, a camera and a display screen, wherein the processor comprises a Distributed Processing Unit (DPU), the DPU comprises N layer hardware and a layer mixer, the N layer hardware comprises first layer hardware and M second layer hardware, N is an integer greater than 1, M is smaller than N, and each layer hardware is connected with the layer mixer; wherein the content of the first and second substances,
the camera is used for detecting a target area of a current page of the display screen, which is concerned about;
the processor is used for determining a region to be shielded on the display screen according to the target region; modifying the first layer parameters of the first layer hardware;
the first layer hardware is configured to create a new first layer according to the modified first layer parameter, where the first layer parameter includes at least one of: the transparency, the shape, the size and the RGB value of the new first layer are larger than the transparency before modification, and the size of the new first layer is larger than or equal to the size of the area to be shielded;
and the layer mixer is used for synthesizing the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and displaying the third layer.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, which is executed by a processor to implement the method according to any of claims 1-6.
CN202010034012.1A 2020-01-13 2020-01-13 Display control method and related product Active CN111274618B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010034012.1A CN111274618B (en) 2020-01-13 2020-01-13 Display control method and related product
PCT/CN2021/071263 WO2021143672A1 (en) 2020-01-13 2021-01-12 Display control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010034012.1A CN111274618B (en) 2020-01-13 2020-01-13 Display control method and related product

Publications (2)

Publication Number Publication Date
CN111274618A true CN111274618A (en) 2020-06-12
CN111274618B CN111274618B (en) 2022-10-21

Family

ID=71001940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010034012.1A Active CN111274618B (en) 2020-01-13 2020-01-13 Display control method and related product

Country Status (2)

Country Link
CN (1) CN111274618B (en)
WO (1) WO2021143672A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112449167A (en) * 2020-11-13 2021-03-05 深圳市火乐科技发展有限公司 Image sawtooth elimination and image display method and device
WO2021143672A1 (en) * 2020-01-13 2021-07-22 Oppo广东移动通信有限公司 Display control method and related product
CN114756192A (en) * 2022-06-15 2022-07-15 南京芯驰半导体科技有限公司 Multi-operating-system same-screen display method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518815B (en) * 2022-02-23 2023-10-10 阿里巴巴(中国)有限公司 Method, device, equipment, medium and program product for displaying building drawing
CN114666439B (en) * 2022-03-18 2024-04-30 北京小米移动软件有限公司 Method, device and medium for adjusting dark color mode display state
CN116149779B (en) * 2023-04-19 2023-06-30 北京尽微致广信息技术有限公司 Style creation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
CN107330347A (en) * 2017-05-25 2017-11-07 努比亚技术有限公司 A kind of display methods, terminal and computer-readable recording medium
CN109101833A (en) * 2018-08-02 2018-12-28 Oppo广东移动通信有限公司 Content display method, device, storage medium and electronic equipment
CN110070842A (en) * 2019-04-02 2019-07-30 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110390216A (en) * 2019-07-29 2019-10-29 Oppo广东移动通信有限公司 Content display method and relevant device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100275154A1 (en) * 2009-04-23 2010-10-28 Noam Livnat System and Method For Securely Presenting Data
CN105989300A (en) * 2015-02-28 2016-10-05 中兴通讯股份有限公司 Method and apparatus for hiding information
CN106773156B (en) * 2016-11-23 2020-03-17 北京小米移动软件有限公司 Display method and device and electronic equipment
CN106599738A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Display control method and apparatus for terminal device
CN107608514A (en) * 2017-09-20 2018-01-19 维沃移动通信有限公司 Information processing method and mobile terminal
CN110503912B (en) * 2019-08-23 2022-11-04 Oppo(重庆)智能科技有限公司 Display control method and device of transparent display screen and terminal equipment
CN111274618B (en) * 2020-01-13 2022-10-21 Oppo广东移动通信有限公司 Display control method and related product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
CN107330347A (en) * 2017-05-25 2017-11-07 努比亚技术有限公司 A kind of display methods, terminal and computer-readable recording medium
CN109101833A (en) * 2018-08-02 2018-12-28 Oppo广东移动通信有限公司 Content display method, device, storage medium and electronic equipment
CN110070842A (en) * 2019-04-02 2019-07-30 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110390216A (en) * 2019-07-29 2019-10-29 Oppo广东移动通信有限公司 Content display method and relevant device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021143672A1 (en) * 2020-01-13 2021-07-22 Oppo广东移动通信有限公司 Display control method and related product
CN112449167A (en) * 2020-11-13 2021-03-05 深圳市火乐科技发展有限公司 Image sawtooth elimination and image display method and device
CN114756192A (en) * 2022-06-15 2022-07-15 南京芯驰半导体科技有限公司 Multi-operating-system same-screen display method and device

Also Published As

Publication number Publication date
CN111274618B (en) 2022-10-21
WO2021143672A1 (en) 2021-07-22

Similar Documents

Publication Publication Date Title
CN111274618B (en) Display control method and related product
RU2606055C2 (en) Desktop system of mobile terminal and interface interaction method and device
CN106708452B (en) Information sharing method and terminal
CN110716906B (en) File viewing method, electronic equipment and file viewing device
CN106527864B (en) Interface display method and device
TW201903596A (en) System, method, and apparatus for displaying data
CN108076665A (en) A kind of display methods and electronic equipment
CN110286977B (en) Display method and related product
US20230326110A1 (en) Method, apparatus, device and media for publishing video
JP6564859B2 (en) Color gamut mapping method and apparatus
CN109242977B (en) Webpage rendering method, device and storage medium
CN106201407A (en) A kind of data display method and terminal
WO2023241563A1 (en) Data processing method and electronic device
WO2022135219A1 (en) Image display method and apparatus, and electronic device
CN111273881B (en) Display control method and related product
CN115640092A (en) Interface display method and device, electronic equipment and readable storage medium
CN110503912B (en) Display control method and device of transparent display screen and terminal equipment
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN114578898A (en) Display method, electronic device and readable storage medium
CN112988426A (en) Message processing method and device
CN111325702A (en) Image fusion method and device
CN111292395B (en) Paragraph distinguishing method and device
CN104991693B (en) Information processing method and electronic equipment
CN111158844B (en) Schedule display method and related 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