WO2021143672A1 - Display control method and related product - Google Patents

Display control method and related product Download PDF

Info

Publication number
WO2021143672A1
WO2021143672A1 PCT/CN2021/071263 CN2021071263W WO2021143672A1 WO 2021143672 A1 WO2021143672 A1 WO 2021143672A1 CN 2021071263 W CN2021071263 W CN 2021071263W WO 2021143672 A1 WO2021143672 A1 WO 2021143672A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
area
hardware
display screen
occluded
Prior art date
Application number
PCT/CN2021/071263
Other languages
French (fr)
Chinese (zh)
Inventor
胡杰
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021143672A1 publication Critical patent/WO2021143672A1/en

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

Definitions

  • This application relates to the field of electronic technology, in particular to a display control method and related products.
  • the display size of current electronic equipment is relatively large.
  • multiple important information is displayed on the display page of the display at the same time, for example, multiple information or multiple pictures are displayed at the same time.
  • Important information may be seen by others, and it is troublesome for users to cover them with their hands.
  • blocking with hands may not completely block the information that the user wants to block, and Blocking by hand will affect the user's other operations on the electronic device by hand.
  • the embodiment of the present application provides a display control method and related products, which can avoid the leakage of important or private information by shielding the area to be shielded on the current page of the display screen.
  • an embodiment of the present application provides a display control method, which is applied to an electronic device, 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer Mixer connection; the method includes:
  • the first layer parameters include at least one of the following: transparency, shape, Size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
  • an embodiment of the present application provides a display control device, which is applied to an electronic device.
  • 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer
  • the mixer is connected; the device includes:
  • a detecting unit configured to detect the focused target area of the current page of the display screen through the camera
  • a determining unit configured to determine an area to be blocked on the display screen according to the target area
  • the processing unit is configured to modify the first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, and the first layer parameter includes at least one of the following : Transparency, shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be blocked;
  • the display unit is used 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 The third layer is displayed.
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a processor, a camera, a display screen, and a distributed processing unit DPU.
  • the DPU includes N layer hardware and layer mixers.
  • Each layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer ;in,
  • the camera is used to detect the target area that is focused on the current page of the display screen
  • the processor is configured to determine the area to be occluded on the display screen according to the target area; modify the first layer parameter of the first layer hardware;
  • the first layer hardware is used to create a new first layer according to the modified first layer parameters, and the first layer parameters include at least one of the following: transparency, shape, size, and RGB value, so The transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
  • the layer mixer is used to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs.
  • the one or more programs are stored in the memory and configured to be processed by the above-mentioned memory.
  • the above program includes instructions for executing the steps in the method described in the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in the method described in one aspect.
  • the embodiments of the present application provide a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application. Examples include part or all of the steps described in the method described in the first aspect.
  • the computer program product may be a software installation package.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1B is a schematic diagram of a layer provided by an embodiment of the present application.
  • FIG. 1C is a schematic diagram of another layer provided by an embodiment of the present application.
  • FIG. 2A is a schematic flowchart of a display control method provided by an embodiment of the present application.
  • FIG. 2B is a schematic diagram of a demonstration of dividing a current page according to an embodiment of the present application.
  • 2C is a schematic diagram of a demonstration of determining the area to be occluded in the current page according to an embodiment of the present application
  • 2D is another schematic diagram of a demonstration for determining the area to be occluded in the current page according to an embodiment of the present application
  • 2E is another schematic diagram of a demonstration for determining the area to be occluded in the current page according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another display control method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a display control device provided by an embodiment of the present application.
  • Electronic devices can include various handheld devices with wireless communication functions (such as mobile phones, tablets, etc.), vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device), etc.
  • UE User Equipment
  • MS Mobile Station
  • terminal device terminal device
  • Figure 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the electronic device includes a display screen, a camera, a processor, and a bus.
  • the display screen is connected to the processor, and 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 layer hardware, layer mix (LM) and display serial interface (DSI).
  • the N layer hardware includes a first layer hardware and M second layer hardware, N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer ,
  • the layer mixer is connected to the display screen through DSI; among them,
  • the camera is used to detect the target area that is focused on the current page of the display screen
  • the processor is configured to determine the area to be occluded on the display screen according to the target area; modify the first layer parameter of the first layer hardware;
  • the first layer hardware is used to create a new first layer according to the modified first layer parameters, and the first layer parameters include at least one of the following: transparency, shape, size, and RGB value, so The transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
  • the layer mixer is used to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
  • the above-mentioned first layer hardware may be dimmed layer hardware, or the first layer hardware may also be ordinary layer hardware.
  • the above-mentioned second layer hardware is ordinary layer hardware.
  • the function of ordinary layer hardware is to transmit the layer information of its associated layer.
  • the role of the dim layer hardware is to create a layer and modify the layer parameters of its associated layer.
  • the screen displayed on the display screen is obtained by superimposing multiple layers.
  • the multiple layers may include a dim layer and multiple normal layers (as shown in Figure 1B), or if the hardware of the first layer is For ordinary layer hardware, the multiple layers are multiple ordinary layers (as shown in FIG. 1C), which is not uniquely limited here.
  • multiple common layers can include status bar layer, launcher layer, wallpaper layer, navigation bar layer, etc.
  • the display screen may include one or a combination 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 a touch sensor array (ie, the display screen may be a touch display screen).
  • the touch sensor can be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, and resistance. Touch, optical touch, etc., are not limited in the embodiment of the present application.
  • the processor is further configured to:
  • the shape and size of the area to be blocked are used as the shape and size of the first layer.
  • the processor is further configured to:
  • the RGB value of the first layer is determined according to the background color of the area to be blocked.
  • the transparency of the first layer is determined according to the foreground color of the area to be occluded.
  • the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information
  • the processor is specifically configured to:
  • the current page includes multiple images, and the target area includes any one of the multiple images; in the aspect of determining the area to be blocked on the display screen according to the target area, the processing The device is specifically used for:
  • the display screen further includes a pressure sensor, and the pressure sensor is configured to detect a touch track for the current page of the display screen;
  • the processor is further configured to determine the area to be blocked on the display screen according to the touch track.
  • FIG. 2A is a schematic flowchart of a display control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1A.
  • the display control method includes:
  • the user may be eye-tracked through a camera to detect that the user pays attention to the target area on the current page of the display screen.
  • the camera can detect the gaze point where the user's eyeballs focus on the current page, or divide the current page into multiple areas, and then determine the target area where the gaze point is located.
  • FIG. 2B is a schematic diagram of a demonstration of dividing the current page according to an embodiment of the application, wherein the current page displays different Multiple pieces of content, different multiple pieces of content are relatively independent, so that multiple pieces of content can be divided into multiple areas to obtain the divided current page.
  • the above-mentioned area to be occluded may be other areas other than the processing target area.
  • the target area is the area that the user pays attention to, and other areas other than the target area may all be regarded as areas that the user does not pay attention to. Therefore, the target area can be set as the area other than the target area.
  • the other areas are used as the area to be occluded for occlusion.
  • the area to be occluded can also be an area with the same attribute or size as the target area, where the same attribute means that the attributes of the content displayed in different areas are the same. For example, if two different areas display pictures, then the two The attributes of the area are the same. Please refer to FIG. 2C.
  • FIG. 2C is a schematic diagram of a demonstration of determining the area to be occluded in the current page according to an embodiment of the application.
  • the current page display includes multiple contact information of multiple contacts displayed in multiple areas (for example, , ID number, phone number, address, etc.), the contact information of each contact corresponds to an area, and the target area displays at least one contact information of at least one of them, and you can remove the at least one contact information from the current page
  • the area corresponding to the contact information of other contacts other than the contact information is used as the area to be shielded, and the other areas in the current page except for the contact information (such as display time, battery and other signs, return and other function control keys) ) Does not belong to the area to be blocked.
  • the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information
  • determining the area to be blocked on the display screen according to the target area may include the following steps:
  • FIG. 2D is another schematic diagram for determining the area to be occluded in the current page according to an embodiment of the application.
  • the user can preset important contacts, so that multiple contacts in the electronic device People can include important contacts and non-important contacts.
  • the current page display includes p contact information of p contacts displayed in p areas, p is a positive integer, and p contact information includes q Q contact information of an important contact, q is a positive integer less than or equal to p, the contact information of each contact corresponds to an area, and the target area displays at least one contact information of at least one of the important contacts, Then the area corresponding to the contact information of other important contacts other than the at least one contact information on the current page can be used as the area to be masked, and the area on the current page except for the contact information and non-important contacts None of the contact information belongs to the area to be masked, so that it will not affect the user to view the contact information of other non-important contacts.
  • the current page includes multiple images, and the target area includes any one of the multiple images; in step 201, determining the area to be blocked on the display screen according to the target area may include The following steps:
  • FIG. 2E is another schematic diagram of determining the area to be occluded in the current page according to an embodiment of this application, where the current page display includes 10 Areas, including 9 images displayed in 9 areas and album name information displayed in 1 area. Each image corresponds to an area.
  • the 9 images include 5 preset private images and 4 non-private images, If the target area shows one of the private images, the area corresponding to the other 4 private images in the current page except the private image can be used as the area to be blocked, and the other areas in the current page except the 4 private images (album Name information and 4 non-private images) do not belong to the area to be occluded.
  • the user wants to block the important or private content of the current page, he can also perform a touch operation on the display screen, so that the electronic device can detect the touch track for the current page of the display screen , Determine the area selected by the touch track, and use the area selected by the touch track as the area to be shielded on the display screen that needs to be shielded.
  • the current page of the display screen can be divided into multiple areas according to the display content, and furthermore, it can be determined that at least one area covered by the user's touch track is the area to be blocked. In this way, the user can manually set the area to be shielded, and then the area to be shielded can be shielded.
  • the first layer parameter includes at least one of the following: transparency, The shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded.
  • the first layer parameter of the first layer can be modified by the processor, and the transparency of the new first layer is greater than the transparency before modification.
  • the greater the transparency the less transparent the first layer and the smaller the transparency.
  • the display content is blocked.
  • the method may further include the following steps:
  • taking the shape and size of the area to be occluded as the shape and size of the first layer can make the first layer completely occlude the area to be occluded, and will not block other areas other than the area to be occluded, thus, The occluded area can be occluded more accurately.
  • the method may further include the following steps:
  • the color of the first layer can be adjusted to be the same or similar to the color of the area to be occluded. Therefore, the RGB value of the first layer can be determined according to the background color of the area to be occluded. Make the color display effect of the new first layer more natural and coordinated.
  • the corresponding relationship between color and transparency can be set in advance, and further, the transparency of the first layer corresponding to the foreground color of the area to be occluded can be determined according to the corresponding relationship.
  • the darker the foreground color, the first image The greater the transparency of the layer, the more opaque the corresponding first layer; the lighter the foreground color, the smaller the transparency of the first layer, and the more transparent the corresponding first layer, thus ensuring that the foreground colors of different depths are all Can be blocked.
  • the first layer hardware is a dim layer hardware
  • the M second layer hardware are all ordinary layer hardware.
  • the modification of the first layer hardware One layer parameter, and create a new first layer according to the modified first layer parameter including:
  • the processor modifies the layer parameters of the first layer through the first layer hardware, and recreates a new first layer based on the modified layer parameters of the first layer through the first layer hardware. Layers.
  • the first layer hardware includes at least one register
  • the at least one register includes at least one of the following: a size register, a shape register, a transparency register, and an RGB register
  • the processor modifies the first layer through the first layer hardware
  • the specific steps of the layer parameters include: the processor modifies the value of the at least one register included in the first layer hardware through the first layer hardware. For example, assuming that the modified layer parameters of the first layer include transparency and RGB values, the processor modifies the value of the transparency register and modifies the value of the RGB register through the hardware of the first layer. Since the dim layer hardware can directly modify the layer parameters of the layer and create the layer directly, the power consumption of the electronic device is reduced.
  • the first layer hardware and the M second layer hardware are both ordinary layer hardware
  • the step 202 modifies the first layer parameter of the first layer hardware, and according to the modified Before creating a new first layer with the first layer parameter, the method further includes:
  • the modifying the first layer parameters of the first layer hardware and creating a new first layer according to the modified first layer parameters includes: modifying the parameters of the first layer Layer parameters, and re-create a new first layer in the application space based on the modified layer parameters of the first layer.
  • the processor includes at least one register associated with the hardware of the first layer, and the at least one register includes at least one of the following: a size register, a shape register, a transparency register, and an RGB register; the processor modifies the layer of the first layer
  • the specific method of the parameter is: the processor modifies the value of at least one register associated with the hardware of the first layer. For example, if the modified layer parameters of the first layer include transparency and RGB values, the processor directly modifies the values of the transparency register and the RGB register associated with the hardware of the first layer.
  • the first layer can be transmitted to the layer mixer, and the layer mixer can also receive M second layers transmitted by other M hardware layers , And further, the first layer and M second layers can be synthesized to obtain the third layer, and finally, the third layer is transmitted to the display screen for display.
  • the display content of the area to be occluded can be occluded by the new first layer, so as to avoid the leakage of the display content of the area to be occluded.
  • the camera detects the target area of the current page of the display screen that is focused on, and determines the area to be occluded on the display screen according to the target area, and modifies the first layer parameter of the first layer hardware , And create a new first layer according to the modified first layer parameters, and synthesize the new first layer and M second layers corresponding to the M second layer hardware through the layer mixer. Obtain the third layer and display the third layer.
  • the new first layer Since the transparency of the new first layer is greater than the transparency of the old first layer, the size of the new first layer is greater than or equal to that to be blocked The size of the area, therefore, the new first layer can cover the area to be occluded, so that the area to be occluded can be occluded by the new first layer to avoid the leakage of important or private information.
  • FIG. 3 is a schematic flowchart of a display control method provided by an embodiment of the application, which is applied to an electronic device, the electronic device includes a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N graphs.
  • Layer hardware and layer mixer the N layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, each image Layer hardware is connected to the layer mixer; the method includes:
  • the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target The area includes any contact information in the multiple contact information.
  • the current page may include any of the following: an address book page, a contact page of a chat application, a message page of a shopping application, etc.
  • the current page may include multiple contacts and multiple contact information arranged in sequence.
  • the current page includes 10 contact information of 10 contacts, including 6 important contacts set in advance. Therefore, when the user shows contact information to others, it can detect the target area that the user’s eyeballs are paying attention to. , So as to determine the important contact information or non-important contact information of the target area that the user wants to show to others, and then determine the contact information of other important contacts displayed on the current page, and compare the contact information of other important contacts.
  • the area corresponding to the person information is determined as the area to be occluded, and further, the area to be occluded is occluded by creating a new first layer, thereby preventing the contact information of other important contacts from being accidentally leaked.
  • FIG. 4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • the electronic device includes a processor, a memory, and a communication interface.
  • the processor includes a processor, the one or more programs are stored in the memory and are configured to be executed by the processor, and the above programs include instruction:
  • the first layer parameters include at least one of the following: transparency, shape, Size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
  • the above program before the modification of the first layer parameter of the first layer hardware, the above program further includes instructions specifically for executing the following steps:
  • the shape and size of the area to be blocked are used as the shape and size of the first layer.
  • the above-mentioned program includes instructions further used to perform the following steps:
  • the RGB value of the first layer is determined according to the background color of the area to be blocked.
  • the transparency of the first layer is determined according to the foreground color of the area to be occluded.
  • the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any one of the multiple contact information.
  • Contact information in terms of determining the area to be occluded on the display screen according to the target area, the program includes instructions that are further used to perform the following steps:
  • the current page includes multiple images, and the target area includes any one of the multiple images; determining the area to be blocked on the display screen according to the target area
  • the above-mentioned program includes instructions for performing the following steps:
  • the above program includes instructions that are also used to perform the following steps:
  • the area to be blocked on the display screen is determined according to the touch track.
  • the embodiment of the present application may divide the electronic device into functional units according to the method 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 may be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 5 is a display control device provided by an embodiment of the present application, which is applied to electronic equipment.
  • the electronic equipment 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is equal to Connected with the layer mixer;
  • the device includes:
  • the detecting unit 501 is configured to detect the focused target area of the current page of the display screen through the camera;
  • the determining unit 502 is configured to determine the area to be blocked on the display screen according to the target area
  • the processing unit 503 is configured to modify the first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, and the first layer parameter includes at least one of the following Types: transparency, shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be blocked;
  • the display unit 504 is 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.
  • the processing unit 503 is further configured to:
  • the shape and size of the area to be blocked are used as the shape and size of the first layer.
  • the processing unit 503 is further configured to:
  • the RGB value of the first layer is determined according to the background color of the area to be blocked.
  • the transparency of the first layer is determined according to the foreground color of the area to be occluded.
  • the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information ;
  • the determining unit 502 is specifically configured to:
  • the current page includes multiple images, and the target area includes any one of the multiple images; the determining unit 502 is specifically configured to:
  • processing unit 503 is further configured to:
  • the area to be blocked on the display screen is determined according to the touch track.
  • the detection unit 501, the determination unit 502, the processing unit 503, and the display unit 504 may be implemented by a processor.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
  • the above-mentioned computer includes electronic equipment.
  • the embodiments of the present application also provide a computer program product.
  • the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to make a computer execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method.
  • the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be realized in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory.
  • a number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
  • the aforementioned memory includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.

Abstract

Disclosed in the present application are a display control method and a related product, which are applied to an electronic device. The electronic device comprises a camera, a display screen and a DPU. The DPU comprises N pieces of layer hardware and layer mixers; the N pieces of layer hardware comprise a piece of first layer hardware and M pieces of second layer hardware, and each piece of layer hardware is connected to a layer mixer. The method comprises: determining an area to be blocked on the display screen; modifying first layer parameters of the first layer hardware; creating a new first layer based on the modified first layer parameters; and synthesizing the new first layer and M second layers corresponding to the M pieces of second layer hardware to obtain a third layer. Since the transparency of the new first layer is greater than that of the old first layer, and the size of the new first layer is larger than or equal to the size of the area to be blocked, the new first layer can cover said area, and thus said area can be blocked by the new first layer to avoid leakage of important or private information.

Description

显示控制方法及相关产品Display control method and related products 技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种显示控制方法及相关产品。This application relates to the field of electronic technology, in particular to a display control method and related products.
背景技术Background technique
目前的电子设备的显示屏尺寸比较大,当显示屏的显示页面上同时显示多项重要信息时,例如,同时显示多个信息,或者多个图片,此时,若旁边有其他人,则部分重要信息可能被他人看到,用户用手遮挡也比较麻烦。例如,当用户仅向他人展示多项信息中的部分信息,但不想他人看到除了该部分信息以外的其他重要或私密信息,用手遮挡不一定能完全遮挡住用户想要遮挡的信息,且用手遮挡会影响用户用手对电子设备进行其他操作。The display size of current electronic equipment is relatively large. When multiple important information is displayed on the display page of the display at the same time, for example, multiple information or multiple pictures are displayed at the same time. Important information may be seen by others, and it is troublesome for users to cover them with their hands. For example, when the user only shows part of the information in multiple pieces of information to others, but does not want others to see other important or private information besides this part of the information, blocking with hands may not completely block the information that the user wants to block, and Blocking by hand will affect the user's other operations on the electronic device by hand.
发明内容Summary of the invention
本申请实施例提供一种显示控制方法及相关产品,可通过对显示屏当前页面中的待遮挡区域进行遮挡,可避免重要或私密信息泄露。The embodiment of the present application provides a display control method and related products, which can avoid the leakage of important or private information by shielding the area to be shielded on the current page of the display screen.
第一方面,本申请实施例提供一种显示控制方法,应用于电子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述方法包括:In the first aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device, 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer Mixer connection; the method includes:
通过所述摄像头检测所述显示屏的当前页面被关注的目标区域,以及根据所述目标区域确定所述显示屏上的待遮挡区域;Detecting, by the camera, a target area that is focused on the current page of the display screen, and determining an area to be occluded on the display screen according to the target area;
修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;Modify the first layer parameters of the first layer hardware, and create a new first layer according to the modified first layer parameters. The first layer parameters include at least one of the following: transparency, shape, Size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。Synthesize the new first layer and M second layers corresponding to the M second layer hardware through the layer mixer to obtain a third layer, and compare the third image Layer to display.
第二方面,本申请实施例提供一种显示控制装置,应用于电子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述装置包括:In a second aspect, an embodiment of the present application provides a display control device, which is applied to an electronic device. 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer The mixer is connected; the device includes:
检测单元,用于通过所述摄像头检测所述显示屏的当前页面被关注的目标区域;A detecting unit, configured to detect the focused target area of the current page of the display screen through the camera;
确定单元,用于根据所述目标区域确定所述显示屏上的待遮挡区域;A determining unit, configured to determine an area to be blocked on the display screen according to the target area;
处理单元,用于修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;The processing unit is configured to modify the first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, and the first layer parameter includes at least one of the following : Transparency, shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be blocked;
显示单元,用于通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The display unit is used 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 The third layer is displayed.
第三方面,本申请实施例提供一种电子设备,所述电子设备包括处理器、摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;其中,In a third aspect, an embodiment of the present application provides an electronic device. The electronic device includes a processor, a camera, a display screen, and a distributed processing unit DPU. The DPU includes N layer hardware and layer mixers. Each layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer ;in,
所述摄像头,用于检测所述显示屏的当前页面被关注的目标区域;The camera is used to detect the target area that is focused on the current page of the display screen;
所述处理器,用于根据所述目标区域确定所述显示屏上的待遮挡区域;修改所述第一图层硬件的第一图层参数;The processor is configured to determine the area to be occluded on the display screen according to the target area; modify the first layer parameter of the first layer hardware;
所述第一图层硬件,用于根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;The first layer hardware is used to create a new first layer according to the modified first layer parameters, and the first layer parameters include at least one of the following: transparency, shape, size, and RGB value, so The transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
所述图层混合器,用于将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The layer mixer is used to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
第四方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面所述的方法中的步骤的指令。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. The one or more programs are stored in the memory and configured to be processed by the above-mentioned memory. The above program includes instructions for executing the steps in the method described in the first aspect of the embodiments of the present application.
第五方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面所述的方法中所描述的部分或全部步骤。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in the method described in one aspect.
第六方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面所述的方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, the embodiments of the present application provide a computer program product, wherein the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to cause a computer to execute as implemented in this application. Examples include part or all of the steps described in the method described in the first aspect. The computer program product may be a software installation package.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1A是本申请实施例提供的一种电子设备的结构示意图;FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1B是本申请实施例提供的一种图层示意图;FIG. 1B is a schematic diagram of a layer provided by an embodiment of the present application;
图1C是本申请实施例提供的另一种图层示意图;FIG. 1C is a schematic diagram of another layer provided by an embodiment of the present application;
图2A是本申请实施例提供的一种显示控制方法的流程示意图;2A is a schematic flowchart of a display control method provided by an embodiment of the present application;
图2B是本申请实施例提供的一种划分当前页面的演示示意图;FIG. 2B is a schematic diagram of a demonstration of dividing a current page according to an embodiment of the present application;
图2C是本申请实施例提供的一种确定当前页面中待遮挡区域的演示示意图;2C is a schematic diagram of a demonstration of determining the area to be occluded in the current page according to an embodiment of the present application;
图2D是本申请实施例提供的另一种确定当前页面中待遮挡区域的演示示意图;2D is another schematic diagram of a demonstration for determining the area to be occluded in the current page according to an embodiment of the present application;
图2E是本申请实施例提供的另一种确定当前页面中待遮挡区域的演示示意图;2E is another schematic diagram of a demonstration for determining the area to be occluded in the current page according to an embodiment of the present application;
图3是本申请实施例提供的另一种显示控制方法的流程示意图;FIG. 3 is a schematic flowchart of another display control method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种电子设备的结构示意图;4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的一种显示控制装置的结构示意图。FIG. 5 is a schematic structural diagram of a display control device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面对本申请实施例进行详细介绍。The following describes the embodiments of the application in detail.
电子设备可以包括各种具有无线通信功能的手持设备(如手机、平板电脑等)、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。Electronic devices can include various handheld devices with wireless communication functions (such as mobile phones, tablets, etc.), vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device), etc.
请参阅图1A,图1A是本申请实施例公开的一种电子设备的结构示意图,电子设备包括显示屏、摄像头、处理器和总线(Bus),显示屏与处理器连接,摄像头与处理器连接,处理器与总线连接,处理器包括分散处理单元(Distributed Processing Unit,DPU)。DPU 包括N个图层硬件、图层混合器(layer mix,LM)和显示串行接口(display serial interface,DSI)。该N个图层硬件包括第一图层硬件和M个第二图层硬件,N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接,图层混合器通过DSI与显示屏连接;其中,Please refer to Figure 1A. Figure 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. The electronic device includes a display screen, a camera, a processor, and a bus. The display screen is connected to the processor, and 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 layer hardware, layer mix (LM) and display serial interface (DSI). The N layer hardware includes a first layer hardware and M second layer hardware, N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer , The layer mixer is connected to the display screen through DSI; among them,
所述摄像头,用于检测所述显示屏的当前页面被关注的目标区域;The camera is used to detect the target area that is focused on the current page of the display screen;
所述处理器,用于根据所述目标区域确定所述显示屏上的待遮挡区域;修改所述第一图层硬件的第一图层参数;The processor is configured to determine the area to be occluded on the display screen according to the target area; modify the first layer parameter of the first layer hardware;
所述第一图层硬件,用于根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;The first layer hardware is used to create a new first layer according to the modified first layer parameters, and the first layer parameters include at least one of the following: transparency, shape, size, and RGB value, so The transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
所述图层混合器,用于将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The layer mixer is used to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
上述第一图层硬件可以为暗淡图层硬件,或者,第一图层硬件还可以为普通图层硬件。上述第二图层硬件为普通图层硬件。The above-mentioned first layer hardware may be dimmed layer hardware, or the first layer hardware may also be ordinary layer hardware. The above-mentioned second layer hardware is ordinary layer hardware.
其中,普通图层硬件的作用是用于传输其关联的图层的图层信息。Among them, the function of ordinary layer hardware is to transmit the layer information of its associated layer.
其中,暗淡图层硬件的作用是用于创建图层和修改其关联的图层的图层参数。Among them, the role of the dim layer hardware is to create a layer and modify the layer parameters of its associated layer.
具体实现中,显示屏所显示的画面是由多个图层叠加而得到的。若第一图层硬件为暗淡图层硬件,该多个图层可以包括一个暗淡图层(dim layer)和多个普通图层(如图1B所示),或者,若第一图层硬件为普通图层硬件,该多个图层为多个普通图层(如图1C所示),在此不作唯一限定。其中,多个普通图层可以有状态栏图层、launcher图层、wallpaper图层、navigation bar图层等。In specific implementation, the screen displayed on the display screen is obtained by superimposing multiple layers. If the hardware of the first layer is a dim layer, the multiple layers may include a dim layer and multiple normal layers (as shown in Figure 1B), or if the hardware of the first layer is For ordinary layer hardware, the multiple layers are multiple ordinary layers (as shown in FIG. 1C), which is not uniquely limited here. Among them, multiple common layers can include status bar layer, launcher layer, wallpaper layer, navigation bar layer, etc.
其中,显示屏可以包括液晶显示屏,有机发光二极管显示屏,电子墨水显示屏,等离子显示屏,使用其它显示技术的显示屏中一种或者几种的组合。显示屏可以包括触摸传感器阵列(即,显示屏可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Among them, the display screen may include one or a combination 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 a touch sensor array (ie, the display screen may be a touch display screen). The touch sensor can be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or it can be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, and resistance. Touch, optical touch, etc., are not limited in the embodiment of the present application.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述处理器还用于:Optionally, before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述处理器还用于:Optionally, before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值。The RGB value of the first layer is determined according to the background color of the area to be blocked.
根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
可选地,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,所述处理器具体用于:Optionally, the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information In the aspect of determining the area to be blocked on the display screen according to the target area, the processor is specifically configured to:
依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
可选地,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,所述处理器具体用于:Optionally, the current page includes multiple images, and the target area includes any one of the multiple images; in the aspect of determining the area to be blocked on the display screen according to the target area, the processing The device is specifically used for:
确定所述多个图像中预设的至少一个私密图像;Determine at least one private image preset in the plurality of images;
确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
可选地,所述显示屏上还包括压力传感器,所述压力传感器,用于检测针对所述显示屏的所述当前页面的触摸轨迹;Optionally, the display screen further includes a pressure sensor, and the pressure sensor is configured to detect a touch track for the current page of the display screen;
所述处理器,还用于根据所述触摸轨迹,确定所述显示屏上的待遮挡区域。The processor is further configured to determine the area to be blocked on the display screen according to the touch track.
请参阅图2A,图2A是本申请实施例提供了一种显示控制方法的流程示意图,应用于如图1A所示的电子设备,本显示控制方法包括:Please refer to FIG. 2A. FIG. 2A is a schematic flowchart of a display control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1A. The display control method includes:
201、通过摄像头检测显示屏的当前页面被关注的目标区域,以及根据所述目标区域确定所述显示屏上的待遮挡区域。201. Detect a target area focused on a current page of a display screen by a camera, and determine an area to be blocked on the display screen according to the target area.
本申请实施例中,可通过摄像头对用户进行眼球追踪,检测用户关注显示屏的当前页面上的目标区域。具体地,可通过摄像头检测用户眼球关注当前页面的注视点,还可将当前页面划分为多个区域,然后,确定该注视点所在的目标区域。In the embodiment of the present application, the user may be eye-tracked through a camera to detect that the user pays attention to the target area on the current page of the display screen. Specifically, the camera can detect the gaze point where the user's eyeballs focus on the current page, or divide the current page into multiple areas, and then determine the target area where the gaze point is located.
其中,可根据当前页面的显示内容将当前页面划分为多个区域,如图2B所示,图2B为本申请实施例提供的一种划分当前页面的演示示意图,其中,该当前页面显示不同的多项内容,不同的多项内容相对独立,从而,可将多项内容划分至多个区域中,得到划分后的当前页面。Among them, the current page can be divided into multiple areas according to the display content of the current page, as shown in FIG. 2B. FIG. 2B is a schematic diagram of a demonstration of dividing the current page according to an embodiment of the application, wherein the current page displays different Multiple pieces of content, different multiple pieces of content are relatively independent, so that multiple pieces of content can be divided into multiple areas to obtain the divided current page.
其中,上述待遮挡区域可以是处理目标区域以外的其他区域,具体实现中,目标区域作为用户关注的区域,目标区域以外的其他区域可以都作为用户不关注的区域,因此,可将目标区域以外的其他区域作为待遮挡区域进行遮挡。Among them, the above-mentioned area to be occluded may be other areas other than the processing target area. In specific implementation, the target area is the area that the user pays attention to, and other areas other than the target area may all be regarded as areas that the user does not pay attention to. Therefore, the target area can be set as the area other than the target area. The other areas are used as the area to be occluded for occlusion.
可选地,待遮挡区域还可以是与目标区域的属性或者尺寸相同的区域,其中,属性相同是指不同区域显示的内容的属性相同,例如,两个不同区域都显示图片,则该两个区域的属性相同。请参阅图2C,图2C为本申请实施例提供的一种确定当前页面中待遮挡区域的演示示意图,假定当前页面显示中包括多个区域显示的多个联系人的多个联系人信息(例如,身份证号、电话号码、地址等等),每一联系人的联系人信息对应一个区域,目标区域显示了其中至少一个人的至少一个联系人信息,则可将当前页面中除了该至少一个联系人信息的以外的其他联系人的其他联系人信息对应的区域作为待遮挡区域,而当前页面中除了显示联系人信息以外的其他区域(例如显示的时间、电量等标识、返回等功能控键)不属于待遮挡区域。Optionally, the area to be occluded can also be an area with the same attribute or size as the target area, where the same attribute means that the attributes of the content displayed in different areas are the same. For example, if two different areas display pictures, then the two The attributes of the area are the same. Please refer to FIG. 2C. FIG. 2C is a schematic diagram of a demonstration of determining the area to be occluded in the current page according to an embodiment of the application. It is assumed that the current page display includes multiple contact information of multiple contacts displayed in multiple areas (for example, , ID number, phone number, address, etc.), the contact information of each contact corresponds to an area, and the target area displays at least one contact information of at least one of them, and you can remove the at least one contact information from the current page The area corresponding to the contact information of other contacts other than the contact information is used as the area to be shielded, and the other areas in the current page except for the contact information (such as display time, battery and other signs, return and other function control keys) ) Does not belong to the area to be blocked.
可选地,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;上述步骤201中,根据所述目标区域确定显示屏上的待遮挡区域,可包括以下步骤:Optionally, the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information In the above step 201, determining the area to be blocked on the display screen according to the target area may include the following steps:
11、依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;11. Determine at least one preset important contact among the multiple contacts according to the multiple contact information;
12、确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。12. Determine the to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
具体实现中,请参阅图2D,图2D为本申请实施例提供的另一种确定当前页面中待遮挡区域的演示示意图,用户可预先设定重要联系人,从而,电子设备中的多个联系人中可包括重要联系人和非重要联系人两类,假定当前页面显示中包括p个区域显示的p个联系人的p个联系人信息,p为正整数,p个联系人信息中包括q个重要联系人的q个联系人信息,q为小于或等于p的正整数,每一联系人的联系人信息对应一个区域,目标区域显示了其中至少一个重要联系人的至少一个联系人信息,则可将当前页面中除了该至少一个联系人信息的以外的其他重要联系人的联系人信息对应的区域作为待遮挡区域,而当前页面中除了显示联系人信息以外的其他区域以及非重要联系人的联系人信息均不属于待遮挡区域,从而,不会影响用户查看其他非重要联系人的联系人信息。如此,用户在给他人查看显示屏上的联系人信息时,若用户仅想要将目标区域的重要联系人的联系人信息给他人看,不想要他人看到其他重要联系人的联系人信息时,可将其他重要联系人的联系人信息进行遮挡,从而可避免其他重要联系人的联系人信息不小心泄露。For specific implementation, please refer to FIG. 2D. FIG. 2D is another schematic diagram for determining the area to be occluded in the current page according to an embodiment of the application. The user can preset important contacts, so that multiple contacts in the electronic device People can include important contacts and non-important contacts. It is assumed that the current page display includes p contact information of p contacts displayed in p areas, p is a positive integer, and p contact information includes q Q contact information of an important contact, q is a positive integer less than or equal to p, the contact information of each contact corresponds to an area, and the target area displays at least one contact information of at least one of the important contacts, Then the area corresponding to the contact information of other important contacts other than the at least one contact information on the current page can be used as the area to be masked, and the area on the current page except for the contact information and non-important contacts None of the contact information belongs to the area to be masked, so that it will not affect the user to view the contact information of other non-important contacts. In this way, when the user is viewing the contact information on the display screen to others, if the user only wants to show the contact information of important contacts in the target area to others, but does not want others to see the contact information of other important contacts , The contact information of other important contacts can be masked, so as to prevent the contact information of other important contacts from being accidentally leaked.
可选地,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;上述步骤201中,根据所述目标区域确定显示屏上的待遮挡区域,可包括以下步骤:Optionally, the current page includes multiple images, and the target area includes any one of the multiple images; in step 201, determining the area to be blocked on the display screen according to the target area may include The following steps:
13、确定所述多个图像中预设的至少一个私密图像;13. Determine at least one private image preset in the plurality of images;
14、确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。14. Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
具体实现中,用户可预先对图像设定私密图像,请参阅图2E,图2E为本申请实施例提供的另一种确定当前页面中待遮挡区域的演示示意图,其中,当前页面显示中包括10个区域,其中包括9个区域显示的9个图像和1个区域显示的相册名称信息,每一图像对应一个区域,9个图像中包括预先设定的5个私密图像和4个非私密图像,目标区域显示了其中一个私密图像,则可将当前页面中除了该私密图像以外的其他4个私密图像对应的区域作为待遮挡区域,而当前页面中除了该4个私密图像以外的其他区域(相册名称信息和4个非私密图像)不属于待遮挡区域。如此,用户在浏览相册时,若用户旁边有他人一起浏览相册,用户仅想要将目标区域的私密图像给他人看,不想要他人看到其他私密图像时,可将其他私密图像进行遮挡,从而可避免其他私密图像不小心泄露。In specific implementation, the user can set a private image for the image in advance. Please refer to FIG. 2E. FIG. 2E is another schematic diagram of determining the area to be occluded in the current page according to an embodiment of this application, where the current page display includes 10 Areas, including 9 images displayed in 9 areas and album name information displayed in 1 area. Each image corresponds to an area. The 9 images include 5 preset private images and 4 non-private images, If the target area shows one of the private images, the area corresponding to the other 4 private images in the current page except the private image can be used as the area to be blocked, and the other areas in the current page except the 4 private images (album Name information and 4 non-private images) do not belong to the area to be occluded. In this way, when the user is browsing the album, if there is someone next to the user who is browsing the album together, the user only wants to show the private image of the target area to others. When he does not want others to see other private images, he can block the other private images. It can prevent other private images from being accidentally leaked.
可选地,本申请实施例中,还可包括以下步骤:Optionally, in the embodiment of the present application, the following steps may also be included:
2011、检测针对所述显示屏的所述当前页面的触摸轨迹;2011. Detect the touch track of the current page of the display screen;
2012、根据所述触摸轨迹确定所述显示屏上的待遮挡区域。2012. Determine the area to be blocked on the display screen according to the touch track.
本申请实施例中,用户若想要对当前页面的重要或私密内容进行遮挡,还可在显示屏上进行触摸操作,从而,电子设备可检测针对所述显示屏的所述当前页面的触摸轨迹,确定该触摸轨迹选取的区域,并将该触摸轨迹选取的区域作为显示屏上需要进行遮挡的待遮挡区域。例如,可将显示屏的当前页面根据显示内容划分为多个区域,进而,可确定用户的触摸轨迹覆盖的至少一个区域为待遮挡区域。如此,可通过用户手动设置待遮挡区域,进而将待遮挡区域进行遮挡。In the embodiment of the present application, if the user wants to block the important or private content of the current page, he can also perform a touch operation on the display screen, so that the electronic device can detect the touch track for the current page of the display screen , Determine the area selected by the touch track, and use the area selected by the touch track as the area to be shielded on the display screen that needs to be shielded. For example, the current page of the display screen can be divided into multiple areas according to the display content, and furthermore, it can be determined that at least one area covered by the user's touch track is the area to be blocked. In this way, the user can manually set the area to be shielded, and then the area to be shielded can be shielded.
202、修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸。202. Modify the 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: transparency, The shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded.
其中,可通过处理器修改第一图层的第一图层参数,所述新的第一图层的透明度大于修改前的透明度,透明度越大,表示该第一图层越不透明,透明度越小,表明该第一图层越透明,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸,从而可通过第一图层覆盖待遮挡区域对应的区域,对待遮挡区域的显示内容进行遮挡。Wherein, the first layer parameter of the first layer can be modified by the processor, and the transparency of the new first layer is greater than the transparency before modification. The greater the transparency, the less transparent the first layer and the smaller the transparency. , Indicating that the first layer is more transparent, and the size of the new first layer is greater than or equal to the size of the area to be blocked, so that the area corresponding to the area to be blocked can be covered by the first layer. The display content is blocked.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述方法还可包括以下步骤:Optionally, before the modification of the first layer parameter of the first layer hardware, the method may further include the following steps:
2021、获取所述待遮挡区域的形状和尺寸;2021. Acquire the shape and size of the area to be blocked;
2022、将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。2022. Use the shape and size of the area to be blocked as the shape and size of the first layer.
具体实现中,将待遮挡区域的形状和尺寸作为第一图层的形状和尺寸,可使第一图层完全对待遮挡区域进行遮挡,也不会对待遮挡区域以外的其他区域进行遮挡,从而,可更加准确地对待遮挡区域进行遮挡。In specific implementation, taking the shape and size of the area to be occluded as the shape and size of the first layer can make the first layer completely occlude the area to be occluded, and will not block other areas other than the area to be occluded, thus, The occluded area can be occluded more accurately.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述方法还可包括以下步骤:Optionally, before the modification of the first layer parameter of the first layer hardware, the method may further include the following steps:
2023、根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值。2023. Determine the RGB value of the first layer according to the background color of the area to be blocked.
2024、根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。2024. Determine the transparency of the first layer according to the foreground color of the area to be blocked.
本申请实施例中,可将第一图层的颜色调整为与待遮挡区域的颜色一致或者相近的颜色,因此,可根据待遮挡区域的背景颜色确定第一图层的RGB值,从而,可使新的第一图层的颜色的显示效果更加自然,协调。In the embodiment of this application, the color of the first layer can be adjusted to be the same or similar to the color of the area to be occluded. Therefore, the RGB value of the first layer can be determined according to the background color of the area to be occluded. Make the color display effect of the new first layer more natural and coordinated.
其中,可预先设置颜色与透明度之间的对应关系,进而,可根据该对应关系确定与待遮挡区域的前景颜色对应的第一图层的透明度,具体实现中,前景颜色越深,第一图层的 透明度可以越大,对应的第一图层越不透明;前景颜色越浅,第一图层的透明度可以越小,对应的第一图层越透明,从而,可保证不同深度的前景颜色都能被遮挡。Among them, the corresponding relationship between color and transparency can be set in advance, and further, the transparency of the first layer corresponding to the foreground color of the area to be occluded can be determined according to the corresponding relationship. In specific implementation, the darker the foreground color, the first image The greater the transparency of the layer, the more opaque the corresponding first layer; the lighter the foreground color, the smaller the transparency of the first layer, and the more transparent the corresponding first layer, thus ensuring that the foreground colors of different depths are all Can be blocked.
可选地,所述第一图层硬件为暗淡图层硬件,所述M个第二图层硬件均为普通图层硬件,上述步骤202中,所述修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,包括:Optionally, the first layer hardware is a dim layer hardware, and the M second layer hardware are all ordinary layer hardware. In the above step 202, the modification of the first layer hardware One layer parameter, and create a new first layer according to the modified first layer parameter, including:
所处理器通过所述第一图层硬件修改第一图层的图层参数,以及通过所述第一图层硬件基于修改后的所述第一图层的图层参数重新创建新的第一图层。The processor modifies the layer parameters of the first layer through the first layer hardware, and recreates a new first layer based on the modified layer parameters of the first layer through the first layer hardware. Layers.
其中,该第一图层硬件包括至少一个寄存器,该至少一个寄存器包括以下至少一种:尺寸寄存器、形状寄存器、透明度寄存器和RGB寄存器;处理器通过所述第一图层硬件修改第一图层的图层参数的具体步骤包括:处理器通过第一图层硬件修改所述第一图层硬件包括的所述至少一个寄存器的值。比如,假设修改的第一图层的图层参数包括透明度和RGB值,那么处理器通过第一图层硬件修改透明度寄存器的值和修改RGB寄存器的值。由于暗淡图层硬件可以直接修改图层的图层参数和直接创建图层,从而降低了电子设备的功耗。Wherein, the first layer hardware includes at least one register, and the at least one register includes at least one of the following: a size register, a shape register, a transparency register, and an RGB register; the processor modifies the first layer through the first layer hardware The specific steps of the layer parameters include: the processor modifies the value of the at least one register included in the first layer hardware through the first layer hardware. For example, assuming that the modified layer parameters of the first layer include transparency and RGB values, the processor modifies the value of the transparency register and modifies the value of the RGB register through the hardware of the first layer. Since the dim layer hardware can directly modify the layer parameters of the layer and create the layer directly, the power consumption of the electronic device is reduced.
可选地,所述第一图层硬件和M个第二图层硬件均为普通图层硬件,所述步骤202修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层之前,所述方法还包括:Optionally, the first layer hardware and the M second layer hardware are both ordinary layer hardware, and the step 202 modifies the first layer parameter of the first layer hardware, and according to the modified Before creating a new first layer with the first layer parameter, the method further includes:
在应用空间创建第一图层,以及将所述第一普通图层硬件作为所述第一图层的图层硬件;Creating a first layer in the application space, and using the first ordinary layer hardware as the layer hardware of the first layer;
上述步骤202中,所述修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,包括:修改所述第一图层的图层参数,以及在所述应用空间基于修改后的所述第一图层的图层参数重新创建新的第一图层。In the above step 202, the modifying the first layer parameters of the first layer hardware and creating a new first layer according to the modified first layer parameters includes: modifying the parameters of the first layer Layer parameters, and re-create a new first layer in the application space based on the modified layer parameters of the first layer.
其中,处理器包括第一图层硬件关联的至少一个寄存器,该至少一个寄存器包括以下至少一种:尺寸寄存器、形状寄存器、透明度寄存器和RGB寄存器;所述处理器修改第一图层的图层参数的具体做法是:处理器修改第一图层硬件关联的至少一个寄存器的值。比如,假设修改的第一图层的图层参数包括透明度和RGB值,那么处理器直接修改第一图层硬件关联的透明度寄存器和RGB寄存器的值。从而,在电子设备仅有普通图层硬件时,通过应用空间创建一个正常图层,然后该正常图层再去占用一个普通图层硬件,之后即可使用上述暗淡图层的方案,进而实现了无暗淡图层硬件也可以使用暗淡图层的方案,提升了电子设备的性能。The processor includes at least one register associated with the hardware of the first layer, and the at least one register includes at least one of the following: a size register, a shape register, a transparency register, and an RGB register; the processor modifies the layer of the first layer The specific method of the parameter is: the processor modifies the value of at least one register associated with the hardware of the first layer. For example, if the modified layer parameters of the first layer include transparency and RGB values, the processor directly modifies the values of the transparency register and the RGB register associated with the hardware of the first layer. Therefore, when the electronic device has only ordinary layer hardware, a normal layer is created through the application space, and then the normal layer occupies a normal layer hardware, and then the above dimmed layer scheme can be used, thereby achieving The hardware without dimming layer can also use the solution of dimming layer, which improves the performance of electronic devices.
203、通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。203. Use the layer mixer to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
其中,第一图层硬件创建新的第一图层后,可将第一图层传输至图层混合器,图层混合器还可接收其他M个硬件图层传输的M个第二图层,进而,可将第一图层和M个第二图层进行合成,得到第三图层,最后,将第三图层传输至显示屏进行显示。如此,可通过新的第一图层对待遮挡区域的显示内容进行遮挡,避免待遮挡区域的显示内容泄露。Among them, after the first layer hardware creates a new first layer, the first layer can be transmitted to the layer mixer, and the layer mixer can also receive M second layers transmitted by other M hardware layers , And further, the first layer and M second layers can be synthesized to obtain the third layer, and finally, the third layer is transmitted to the display screen for display. In this way, the display content of the area to be occluded can be occluded by the new first layer, so as to avoid the leakage of the display content of the area to be occluded.
可以看出,在本申请实施例中,通过摄像头检测显示屏的当前页面被关注的目标区域,以及根据目标区域确定显示屏上的待遮挡区域,修改第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,通过图层混合器将新的第一图层和M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对第三图层进行显示,由于新的第一图层的透明度是比旧的第一图层的透明度大的,新的第一图层的尺寸大于或等于待遮挡区域的尺寸,因此,新的第一图层可覆盖待遮挡区域,从而,可通过新的第一图层对待遮挡区域进行遮挡,避免重要或私密信息泄露。It can be seen that in this embodiment of the application, the camera detects the target area of the current page of the display screen that is focused on, and determines the area to be occluded on the display screen according to the target area, and modifies the first layer parameter of the first layer hardware , And create a new first layer according to the modified first layer parameters, and synthesize the new first layer and M second layers corresponding to the M second layer hardware through the layer mixer. Obtain the third layer and display the third layer. Since the transparency of the new first layer is greater than the transparency of the old first layer, the size of the new first layer is greater than or equal to that to be blocked The size of the area, therefore, the new first layer can cover the area to be occluded, so that the area to be occluded can be occluded by the new first layer to avoid the leakage of important or private information.
请参阅图3,图3为本申请实施例提供的一种显示控制方法的流程示意图,应用于电 子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述方法包括:Please refer to FIG. 3, which is a schematic flowchart of a display control method provided by an embodiment of the application, which is applied to an electronic device, the electronic device includes a camera, a display screen, and a distributed processing unit DPU, and the DPU includes N graphs. Layer hardware and layer mixer, the N layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, each image Layer hardware is connected to the layer mixer; the method includes:
301、通过所述摄像头检测所述显示屏的当前页面被关注的目标区域,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息。301. Detect a target area focused on the current page of the display screen through the camera, the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target The area includes any contact information in the multiple contact information.
302、依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人。302. Determine at least one preset important contact among the multiple contacts according to the multiple contact information.
303、确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。303. Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
304、修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸。304. Modify the 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: transparency, The shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded.
305、通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。305. Use the layer mixer to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
其中,上述步骤301-305的具体实现过程可参照步骤201-步骤203中相应的描述,在此不再赘述。For the specific implementation process of the foregoing steps 301-305, reference may be made to the corresponding descriptions in the steps 201-203, which will not be repeated here.
其中,当前页面可包括以下任一种:通信录页面、聊天应用的联系人页面、购物应用的消息页面等等,当前页面可包括依次排列的多个联系人和多个联系人信息。The current page may include any of the following: an address book page, a contact page of a chat application, a message page of a shopping application, etc. The current page may include multiple contacts and multiple contact information arranged in sequence.
举例说明,当前页面包括10个联系人的10个联系人信息,其中,包括预先设定的6个重要联系人,从而,用户给他人展示联系人信息时,可根据检测用户眼球关注的目标区域,从而可确定用户想要向他人展示的目标区域的重要联系人信息或者非重要联系人信息,进而,可确定当前页面显示的其他重要联系人的联系人信息,并将其他重要联系人的联系人信息对应的区域确定为待遮挡区域,进而,通过创建新的第一图层将待遮挡区域进行遮挡,从而,可防止其他重要联系人的联系人信息不小心泄露。For example, the current page includes 10 contact information of 10 contacts, including 6 important contacts set in advance. Therefore, when the user shows contact information to others, it can detect the target area that the user’s eyeballs are paying attention to. , So as to determine the important contact information or non-important contact information of the target area that the user wants to show to others, and then determine the contact information of other important contacts displayed on the current page, and compare the contact information of other important contacts. The area corresponding to the person information is determined as the area to be occluded, and further, the area to be occluded is occluded by creating a new first layer, thereby preventing the contact information of other important contacts from being accidentally leaked.
可以看出,本申请实施例中,可在用户在给他人查看显示屏上的联系人信息时,若用户仅想要将目标区域的重要联系人的联系人信息给他人看,不想要他人看到其他重要联系人的联系人信息时,将其他重要联系人的联系人信息进行遮挡,从而可避免其他重要联系人的联系人信息不小心泄露。It can be seen that in this embodiment of the application, when the user is viewing the contact information on the display screen to others, if the user only wants to show the contact information of important contacts in the target area to others, and does not want others to see it. When the contact information of other important contacts is reached, the contact information of other important contacts is masked, so as to prevent the contact information of other important contacts from being accidentally leaked.
与上述图2A和图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供了另一种电子设备的结构示意图,所述电子设备包括处理器、存储器、通信接口,以及一个或多个程序,所述处理器包括处理器,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,上述程序包括用于执行以下步骤的指令:Consistent with the embodiment shown in FIG. 2A and FIG. 3, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another electronic device provided by an embodiment of the present application. The electronic device includes a processor, a memory, and a communication interface. , And one or more programs, the processor includes a processor, the one or more programs are stored in the memory and are configured to be executed by the processor, and the above programs include instruction:
通过所述摄像头检测所述显示屏的当前页面被关注的目标区域,以及根据所述目标区域确定所述显示屏上的待遮挡区域;Detecting, by the camera, a target area that is focused on the current page of the display screen, and determining an area to be occluded on the display screen according to the target area;
修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;Modify the first layer parameters of the first layer hardware, and create a new first layer according to the modified first layer parameters. The first layer parameters include at least one of the following: transparency, shape, Size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。Synthesize the new first layer and M second layers corresponding to the M second layer hardware through the layer mixer to obtain a third layer, and compare the third image Layer to display.
在一个可能的示例中,在所述修改所述第一图层硬件的第一图层参数之前,上述程序还包括具体用于执行以下步骤的指令:In a possible example, before the modification of the first layer parameter of the first layer hardware, the above program further includes instructions specifically for executing the following steps:
获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
在一个可能的示例中,在所述修改所述第一图层硬件的第一图层参数之前,上述程序包括还用于执行以下步骤的指令:In a possible example, before the modification of the first layer parameter of the first layer hardware, the above-mentioned program includes instructions further used to perform the following steps:
根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值。The RGB value of the first layer is determined according to the background color of the area to be blocked.
根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
在一个可能的示例中,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,上述程序包括还用于执行以下步骤的指令:In a possible example, the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any one of the multiple contact information. Contact information; in terms of determining the area to be occluded on the display screen according to the target area, the program includes instructions that are further used to perform the following steps:
依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
在本申请的一实现方式中,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,上述程序包括用于执行以下步骤的指令:In an implementation manner of the present application, the current page includes multiple images, and the target area includes any one of the multiple images; determining the area to be blocked on the display screen according to the target area On the one hand, the above-mentioned program includes instructions for performing the following steps:
确定所述多个图像中预设的至少一个私密图像;Determining at least one private image preset in the plurality of images;
确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
在一个可能的示例中,上述程序包括还用于执行以下步骤的指令:In a possible example, the above program includes instructions that are also used to perform the following steps:
检测针对所述显示屏的所述当前页面的触摸轨迹;Detecting a touch track for the current page of the display screen;
根据所述触摸轨迹确定所述显示屏上的待遮挡区域。The area to be blocked on the display screen is determined according to the touch track.
需要说明的是,本实施例的具体实现过程可参见上述方法实施例所述的具体实现过程,在此不再详述。It should be noted that the specific implementation process of this embodiment can refer to the specific implementation process described in the foregoing method embodiment, which will not be described in detail here.
本申请实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into 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 may be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
下面为本申请装置实施例,本申请装置实施例用于执行本申请方法实施例所实现的方法。请参阅图5,图5是本申请实施例提供的一种显示控制装置,应用于电子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述装置包括:The following are device embodiments of this application, and the device embodiments of this application are used to implement the methods implemented in the method embodiments of this application. Please refer to FIG. 5. FIG. 5 is a display control device provided by an embodiment of the present application, which is applied to electronic equipment. The electronic equipment 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 a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is equal to Connected with the layer mixer; the device includes:
检测单元501,用于通过所述摄像头检测所述显示屏的当前页面被关注的目标区域;The detecting unit 501 is configured to detect the focused target area of the current page of the display screen through the camera;
确定单元502,用于根据所述目标区域确定所述显示屏上的待遮挡区域;The determining unit 502 is configured to determine the area to be blocked on the display screen according to the target area;
处理单元503,用于修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;The processing unit 503 is configured to modify the first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, and the first layer parameter includes at least one of the following Types: transparency, shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be blocked;
显示单元504,用于通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The display unit 504 is 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.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述处理单元503还用于:Optionally, before the modification of the first layer parameter of the first layer hardware, the processing unit 503 is further configured to:
获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
可选地,在所述修改所述第一图层硬件的第一图层参数之前,所述处理单元503还用于:Optionally, before the modification of the first layer parameter of the first layer hardware, the processing unit 503 is further configured to:
根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值。The RGB value of the first layer is determined according to the background color of the area to be blocked.
根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
可选地,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;所述确定单元502具体用于:Optionally, the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes any contact information among the multiple contact information ; The determining unit 502 is specifically configured to:
依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
可选地,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;所述确定单元502具体用于:Optionally, the current page includes multiple images, and the target area includes any one of the multiple images; the determining unit 502 is specifically configured to:
确定所述多个图像中预设的至少一个私密图像;Determining at least one private image preset in the plurality of images;
确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
可选地,所述处理单元503还用于:Optionally, the processing unit 503 is further configured to:
检测针对所述显示屏的所述当前页面的触摸轨迹;Detecting a touch track for the current page of the display screen;
根据所述触摸轨迹确定所述显示屏上的待遮挡区域。The area to be blocked on the display screen is determined according to the touch track.
需要说明的是,检测单元501、确定单元502、处理单元503和显示单元504可通过处理器实现。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.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment , The above-mentioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the above-mentioned computer program is operable to make a computer execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, some steps can be performed in other order or at the same time. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既 可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application. The aforementioned memory includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the application; at the same time, for Those of ordinary skill in the art, based on the idea of the application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the application.

Claims (20)

  1. 一种显示控制方法,其特征在于,应用于电子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述方法包括:A display control method, characterized in that it is applied to an electronic device, the electronic device includes a camera, a display screen, and a distributed processing unit DPU. The DPU includes N layer hardware and layer mixers. The layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer; The methods include:
    通过所述摄像头检测所述显示屏的当前页面被关注的目标区域,以及根据所述目标区域确定所述显示屏上的待遮挡区域;Detecting, by the camera, a target area that is focused on the current page of the display screen, and determining an area to be occluded on the display screen according to the target area;
    修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;Modify the first layer parameters of the first layer hardware, and create a new first layer according to the modified first layer parameters. The first layer parameters include at least one of the following: transparency, shape, Size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
    通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。Synthesize the new first layer and M second layers corresponding to the M second layer hardware through the layer mixer to obtain a third layer, and compare the third image Layer to display.
  2. 根据权利要求1所述的方法,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述方法还包括:The method according to claim 1, wherein before the modifying the first layer parameter of the first layer hardware, the method further comprises:
    获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
    将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
  3. 根据权利要求1或2所述的方法,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述方法还包括:The method according to claim 1 or 2, characterized in that, before the modifying the first layer parameter of the first layer hardware, the method further comprises:
    根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值;Determining the RGB value of the first layer according to the background color of the area to be blocked;
    根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;所述根据所述目标区域确定显示屏上的待遮挡区域,包括:The method according to any one of claims 1-3, wherein the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes Any contact information of the multiple contact information; the determining the area to be blocked on the display screen according to the target area includes:
    依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
    确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;所述根据所述目标区域确定显示屏上的待遮挡区域,包括:The method according to any one of claims 1 to 3, wherein the current page includes a plurality of images, the target area includes any one of the plurality of images; and the method according to the target area Determine the area to be blocked on the display, including:
    确定所述多个图像中预设的至少一个私密图像;Determining at least one private image preset in the plurality of images;
    确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    检测针对所述显示屏的所述当前页面的触摸轨迹;Detecting a touch track for the current page of the display screen;
    根据所述触摸轨迹确定所述显示屏上的待遮挡区域。The area to be blocked on the display screen is determined according to the touch track.
  7. 一种显示控制装置,其特征在于,应用于电子设备,所述电子设备包括摄像头、显示屏和分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;所述装置包括:A display control device, characterized in that it is applied to an electronic device, the electronic device includes a camera, a display screen, and a distributed processing unit DPU. The DPU includes N layer hardware and layer mixers, and the N images The layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer; The device includes:
    检测单元,用于通过所述摄像头检测所述显示屏的当前页面被关注的目标区域;A detecting unit, configured to detect the focused target area of the current page of the display screen through the camera;
    确定单元,用于根据所述目标区域确定所述显示屏上的待遮挡区域;A determining unit, configured to determine an area to be blocked on the display screen according to the target area;
    处理单元,用于修改所述第一图层硬件的第一图层参数,并根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等 于所述待遮挡区域的尺寸;The processing unit is configured to modify the first layer parameter of the first layer hardware, and create a new first layer according to the modified first layer parameter, and the first layer parameter includes at least one of the following : Transparency, shape, size and RGB value, the transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be blocked;
    显示单元,用于通过所述图层混合器将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The display unit is used 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 The third layer is displayed.
  8. 根据权利要求7所述的装置,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述处理单元还用于:8. The device according to claim 7, wherein before said modifying the first layer parameter of the first layer hardware, the processing unit is further configured to:
    获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
    将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
  9. 根据权利要求7或8所述的装置,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述处理单元还用于:The device according to claim 7 or 8, wherein, before the modification of the first layer parameter of the first layer hardware, the processing unit is further configured to:
    根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值;Determining the RGB value of the first layer according to the background color of the area to be blocked;
    根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
  10. 根据权利要求9所述的装置,其特征在于,所述当前页面包括多个联系人对应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;所述确定单元具体用于:The device according to claim 9, wherein the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes the multiple contact information. Any contact information in the personal information; the determining unit is specifically configured to:
    依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
    确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
  11. 根据权利要求9所述的装置,其特征在于,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;所述确定单元具体用于:The device according to claim 9, wherein the current page includes multiple images, and the target area includes any one of the multiple images; and the determining unit is specifically configured to:
    确定所述多个图像中预设的至少一个私密图像;Determining at least one private image preset in the plurality of images;
    确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
  12. 根据权利要求10或11所述的装置,其特征在于,所述处理单元还用于:The device according to claim 10 or 11, wherein the processing unit is further configured to:
    检测针对所述显示屏的所述当前页面的触摸轨迹;Detecting a touch track for the current page of the display screen;
    根据所述触摸轨迹确定所述显示屏上的待遮挡区域。The area to be blocked on the display screen is determined according to the touch track.
  13. 一种电子设备,其特征在于,所述电子设备包括处理器、摄像头和显示屏,处理器包括分散处理单元DPU,所述DPU包括N个图层硬件和图层混合器,所述N个图层硬件包括第一图层硬件和M个第二图层硬件,所述N为大于1的整数,所述M小于所述N,每个图层硬件均与所述图层混合器连接;其中,An electronic device, characterized in that the electronic device includes a processor, a camera, and a display screen, the processor includes a distributed processing unit DPU, the DPU includes N layer hardware and layer mixers, and the N images The layer hardware includes a first layer hardware and M second layer hardware, the N is an integer greater than 1, the M is less than the N, and each layer hardware is connected to the layer mixer; wherein ,
    所述摄像头,用于检测所述显示屏的当前页面被关注的目标区域;The camera is used to detect the target area that is focused on the current page of the display screen;
    所述处理器,用于根据所述目标区域确定所述显示屏上的待遮挡区域;修改所述第一图层硬件的第一图层参数;The processor is configured to determine the area to be occluded on the display screen according to the target area; modify the first layer parameter of the first layer hardware;
    所述第一图层硬件,用于根据修改后的第一图层参数创建新的第一图层,所述第一图层参数包括以下至少一种:透明度、形状、尺寸和RGB值,所述新的第一图层的透明度大于修改前的透明度,所述新的第一图层的尺寸大于或等于所述待遮挡区域的尺寸;The first layer hardware is used to create a new first layer according to the modified first layer parameters, and the first layer parameters include at least one of the following: transparency, shape, size, and RGB value, so The transparency of the new first layer is greater than the transparency before modification, and the size of the new first layer is greater than or equal to the size of the area to be occluded;
    所述图层混合器,用于将所述新的第一图层和所述M个第二图层硬件对应的M个第二图层进行合成,得到第三图层,并对所述第三图层进行显示。The layer mixer is used to synthesize the new first layer and the M second layers corresponding to the M second layer hardware to obtain a third layer, and compare the Three layers for display.
  14. 根据权利要求13所述的电子设备,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述处理器还用于:The electronic device according to claim 13, wherein before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
    获取所述待遮挡区域的形状和尺寸;Acquiring the shape and size of the area to be occluded;
    将所述待遮挡区域的形状和尺寸作为所述第一图层的形状和尺寸。The shape and size of the area to be blocked are used as the shape and size of the first layer.
  15. 根据权利要求13或14所述的电子设备,其特征在于,在所述修改所述第一图层硬件的第一图层参数之前,所述处理器还用于:The electronic device according to claim 13 or 14, wherein before the modifying the first layer parameter of the first layer hardware, the processor is further configured to:
    根据所述待遮挡区域的背景颜色确定所述第一图层的RGB值;Determining the RGB value of the first layer according to the background color of the area to be blocked;
    根据所述待遮挡区域的前景颜色确定所述第一图层的透明度。The transparency of the first layer is determined according to the foreground color of the area to be occluded.
  16. 根据权利要求15所述的电子设备,其特征在于,所述当前页面包括多个联系人对 应的多个联系人信息,每一联系人对应一个联系人信息,所述目标区域包括所述多个联系人信息中的任一联系人信息;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,所述处理器具体用于:The electronic device according to claim 15, wherein the current page includes multiple contact information corresponding to multiple contacts, each contact corresponds to one contact information, and the target area includes the multiple contact information. Any contact information in the contact information; in the aspect of determining the area to be blocked on the display screen according to the target area, the processor is specifically configured to:
    依据所述多个联系人信息确定所述多个联系人中预设的至少一个重要联系人;Determining at least one preset important contact among the multiple contacts according to the multiple contact information;
    确定邻近所述目标区域的所述至少一个重要联系人对应的待遮挡区域。Determine a to-be-occluded area corresponding to the at least one important contact adjacent to the target area.
  17. 根据权利要求15所述的电子设备,其特征在于,所述当前页面包括多个图像,所述目标区域包括所述多个图像中的任一图像;在所述根据所述目标区域确定显示屏上的待遮挡区域方面,所述处理器具体用于:The electronic device according to claim 15, wherein the current page includes multiple images, and the target area includes any one of the multiple images; and the display screen is determined according to the target area. Regarding the area to be occluded on the above, the processor is specifically configured to:
    确定所述多个图像中预设的至少一个私密图像;Determining at least one private image preset in the plurality of images;
    确定邻近所述目标区域的所述至少一个私密图像对应的待遮挡区域。Determine an area to be occluded corresponding to the at least one private image adjacent to the target area.
  18. 根据权利要求16或17所述的装置,其特征在于,所述显示屏上还包括压力传感器,所述压力传感器,用于检测针对所述显示屏的所述当前页面的触摸轨迹;The device according to claim 16 or 17, wherein the display screen further comprises a pressure sensor, and the pressure sensor is configured to detect a touch track for the current page of the display screen;
    所述处理器,还用于根据所述触摸轨迹,确定所述显示屏上的待遮挡区域。The processor is further configured to determine the area to be blocked on the display screen according to the touch track.
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-6任一项所述的方法中的步骤的指令。An electronic device, characterized by comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, The program includes instructions for executing the steps in the method according to any one of claims 1-6.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机程序,所述计算机程序被处理器执行,以实现如权利要求1-6任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1-6.
PCT/CN2021/071263 2020-01-13 2021-01-12 Display control method and related product WO2021143672A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2021143672A1 true WO2021143672A1 (en) 2021-07-22

Family

ID=71001940

Family Applications (1)

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

Country Status (2)

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

Cited By (4)

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

Families Citing this family (3)

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

Citations (8)

* 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
CN106599738A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Display control method and apparatus for terminal device
CN106773156A (en) * 2016-11-23 2017-05-31 北京小米移动软件有限公司 Display methods and device, electronic equipment
CN107608514A (en) * 2017-09-20 2018-01-19 维沃移动通信有限公司 Information processing method and mobile terminal
CN110070842A (en) * 2019-04-02 2019-07-30 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110503912A (en) * 2019-08-23 2019-11-26 Oppo(重庆)智能科技有限公司 A kind of display control method of transparent display screen, device and terminal device
CN111274618A (en) * 2020-01-13 2020-06-12 Oppo广东移动通信有限公司 Display control method and related product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679387B (en) * 2015-02-13 2018-05-01 广东欧珀移动通信有限公司 A kind of method for protecting privacy and terminal
CN107330347B (en) * 2017-05-25 2020-06-16 努比亚技术有限公司 Display method, terminal and computer readable storage medium
CN109101833B (en) * 2018-08-02 2021-03-23 Oppo广东移动通信有限公司 Content display method, content display device, storage medium and electronic equipment
CN110390216B (en) * 2019-07-29 2021-05-04 Oppo广东移动通信有限公司 Content display method and related equipment

Patent Citations (8)

* 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
CN106773156A (en) * 2016-11-23 2017-05-31 北京小米移动软件有限公司 Display methods and device, 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
CN110070842A (en) * 2019-04-02 2019-07-30 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110503912A (en) * 2019-08-23 2019-11-26 Oppo(重庆)智能科技有限公司 A kind of display control method of transparent display screen, device and terminal device
CN111274618A (en) * 2020-01-13 2020-06-12 Oppo广东移动通信有限公司 Display control method and related product

Cited By (6)

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

Also Published As

Publication number Publication date
CN111274618A (en) 2020-06-12
CN111274618B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
WO2021143672A1 (en) Display control method and related product
US10705671B2 (en) Information sharing method, terminal, and storage medium
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
EP3859521A1 (en) Theme color adjusting method and apparatus, storage medium, and electronic device
US11294495B2 (en) Electronic whiteboard, method for image processing in electronic whiteboard, and recording medium containing computer program of electronic whiteboard
CN110286977B (en) Display method and related product
CN110457963A (en) Display control method, device, mobile terminal and computer readable storage medium
WO2023066085A1 (en) Data backup method and apparatus thereof, electronic device, and readable storage medium
WO2022127804A1 (en) Method and device for managing application icons
CN110618852A (en) View processing method, view processing device and terminal equipment
CN106201407A (en) A kind of data display method and terminal
CN111708476B (en) Virtual keyboard display method, virtual keyboard and display device
WO2020047758A1 (en) Message prompting method and related product
EP3418971A1 (en) Display method and handheld electronic device
WO2022135219A1 (en) Image display method and apparatus, and electronic device
CN110737323A (en) Screen display method, device, storage medium and terminal
CN111273881B (en) Display control method and related product
CN112328138B (en) Data display method, device and storage medium
CN110503912B (en) Display control method and device of transparent display screen and terminal equipment
CN114578898A (en) Display method, electronic device and readable storage medium
CN113821139A (en) Information display method, information display device, glasses and medium
CN111325702B (en) Image fusion method and device
CN112988426A (en) Message processing method and device
CN111292395B (en) Paragraph distinguishing method and device
CN109032744A (en) Icon methods of exhibiting, device, server and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21740727

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21740727

Country of ref document: EP

Kind code of ref document: A1