A processing method and an electronic device

By determining and adjusting the display status of the first sub-region or overlaying the target image within the video window, the problem of unclear content display caused by changes in the background image is solved, achieving a balance between privacy protection and content display.

CN116527987BActive Publication Date: 2026-07-03LENOVO (BEIJING) LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2023-04-27
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In video scenarios, changing the display state of the background image in the video window to protect personal privacy can result in the content that the user wants to share not being clearly displayed, affecting the video sharing effect.

Method used

By defining a first sub-region within the first area of ​​the video window and adjusting the display parameters of that sub-region or overlaying a target image according to instructions, the display can be switched from a first display state to a second display state, thus protecting privacy while ensuring clear content display.

Benefits of technology

While protecting personal privacy, it achieves a clear and complete display of user-shared content, improving the effectiveness of video sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527987B_ABST
    Figure CN116527987B_ABST
Patent Text Reader

Abstract

This application provides a processing method, comprising: in response to an electronic device being in a first mode, determining a first sub-region in a first area corresponding to a video window according to a first instruction; the first mode indicating a change in the display state of a background image in the first region; and performing a processing operation to switch the first sub-region from a current first display state to a second display state. This application also provides an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to a processing method and an electronic device. Background Technology

[0002] In video scenarios, personal privacy is often protected by changing the display state of the background image in the video window. However, changing the display state of the background image in the video window can prevent the content that the user wants to share in the video from being clearly displayed, thus affecting the video sharing effect. Summary of the Invention

[0003] In view of this, embodiments of this application aim to provide a processing method and an electronic device.

[0004] To achieve the above objectives, the technical solution of this application is implemented as follows:

[0005] According to one aspect of this application, a processing method is provided, comprising:

[0006] In response to the electronic device being in a first mode, a first sub-region is determined in the first region corresponding to the video window according to a first instruction; the first mode indicates that the display state of the background image in the first region has changed;

[0007] Perform a processing operation to switch the first sub-region from its current first display state to its second display state.

[0008] In the above scheme, determining the first sub-region in the first region corresponding to the video window according to the first instruction includes:

[0009] The target object is determined in the first area corresponding to the video window according to the first instruction;

[0010] The region corresponding to the target object in the first region is defined as the first sub-region.

[0011] In the above scheme, during the playback of video data in the video window, the first sub-region is in the same position in two frames that satisfy the adjacency relationship, wherein the images corresponding to the first sub-region in the two frames that satisfy the adjacency relationship are different.

[0012] In the above scheme, the execution of the processing operation includes:

[0013] Adjust the current display parameters of the first sub-region to switch the first sub-region from the current first display state to the second display state.

[0014] In the above scheme, adjusting the current display parameters of the first sub-region includes:

[0015] Adjust the display parameters of the target object in the first sub-region, the display parameters including at least one of blur parameter, sharpness parameter, content display size, and content display quantity.

[0016] In the above scheme, the execution of the processing operation includes:

[0017] Obtain the target image corresponding to the first sub-region;

[0018] The target image is superimposed on the video window, causing the first sub-region to switch from the current first display state to the second display state.

[0019] In the above scheme, obtaining the target image corresponding to the first sub-region includes one of the following:

[0020] Obtain the target image corresponding to the first sub-region from the video data played in the video window;

[0021] Obtain the target image corresponding to the first sub-region from the image library.

[0022] In the above scheme, the step of overlaying the target image onto the video window to switch the first sub-region from the current first display state to the second display state includes one of the following:

[0023] The size of the target image is adjusted according to the second instruction; the adjusted target image is superimposed on the video window, so that the first sub-region switches from the current first display state to the second display state;

[0024] When the target image is superimposed on the video window, the size of the target image is adjusted according to the second instruction, so that the first sub-region switches from the current first display state to the second display state.

[0025] According to another aspect of this application, an electronic device is provided, comprising:

[0026] The determining unit is configured to, in response to the electronic device being in a first mode, determine a first sub-region in a first region corresponding to the video window according to a first instruction; the first mode indicates that the display state of the background image in the first region has changed;

[0027] The processing unit is used to perform processing operations to switch the first sub-region from the current first display state to the second display state.

[0028] In the above scheme, the processing operation performed by the processing unit includes one of the following:

[0029] Adjust the current display parameters of the first sub-region to switch the first sub-region from the current first display state to the second display state;

[0030] Obtain the target image corresponding to the first sub-region; overlay the target image onto the video window to switch the first sub-region from the current first display state to the second display state. Attached Figure Description

[0031] Figure 1 This is a flowchart illustrating the implementation of the processing method in this application. Figure 1 ;

[0032] Figure 2 This is a flowchart illustrating the implementation of the processing method in this application. Figure 2 ;

[0033] Figure 3 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ;

[0034] Figure 4 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 2 . Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other. The steps shown in the flowcharts can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0036] As mentioned above, while protecting personal privacy by changing the display state of the background image in a video scenario can lead to the content that users want to share in the video not being clearly displayed, the solution provided in this application can perform processing operations on the target area through instructions when the display state of the background image in the video window changes, thereby changing the display state of the target area. This allows the content that users want to share in the video to be clearly and completely presented while protecting personal privacy.

[0037] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0038] Figure 1 This is a flowchart illustrating the data processing method in this application. Figure 1 This method can be applied to electronic devices with video sharing capabilities, including but not limited to mobile phones, tablets, and computers. For example... Figure 1 As shown, the method includes:

[0039] Step 101: In response to the electronic device being in a first mode, a first sub-region is determined in the first region corresponding to the video window according to a first instruction; the first mode indicates that the display state of the background image in the first region has changed;

[0040] Here, the change in the display state of the background image can mean that the electronic device adjusts the blur parameter of the background image to change the background image from a clear state to a blurred state; or, the electronic device acquires a target image and uses the target image to replace the background image, thus changing the background image from a real environment to a virtual environment, thereby avoiding the risk of privacy leakage.

[0041] In one implementation of this application, the electronic device may have an image acquisition function, which can capture images of target objects in the current environment and share the captured target images through a video window. For example, in scenarios such as video conferencing or live video streaming, if a user does not want to share the current real environment in the video window, they can protect their privacy by changing the display state of the background image in the first area corresponding to the video window.

[0042] However, when the display state of the background image in the first area corresponding to the video window is changed, the content of the target object that the user wants to share in the video window may be mistakenly regarded as part of the background image and not clearly and completely displayed. In this case, the electronic device can receive the first instruction input by the user. Based on the first instruction, the electronic device can determine the first sub-area corresponding to the target object in the first area corresponding to the video window. The clarity and completeness of the target object in the video window can be adjusted through the first sub-area.

[0043] Here, there are no restrictions on how the user inputs the first command, including but not limited to voice commands, touch commands, gesture commands, etc.

[0044] In another implementation of this application, the electronic device may also obtain video data from the cloud or local device and play the video data through a video window. During the playback of the video data, it may also receive a first instruction from the user for the first area corresponding to the video window. The first instruction can be used to select a target object in the first area and determine the area where the target object is located as the first sub-area.

[0045] For example, when a user is watching a live-streaming sales video on their mobile phone, they can click on the items being sold in the video window. Based on this click, the mobile phone can identify the target object (the item) within the first area of ​​the video window and define the area where the target object is located as the first sub-area. The item can be clearly and completely displayed through this first sub-area.

[0046] Here, regardless of whether the electronic device is in a video conferencing scenario, a live-streaming sales scenario, or a video viewing scenario from third-party software, the electronic device can determine the target object in the first area corresponding to the video window according to the first instruction; and determine the area corresponding to the target object in the first area as the first sub-area. Furthermore, the position of the first sub-area can change according to the position of the target object.

[0047] For example, in a video conferencing scenario, the physical object being shared is a mobile phone. As the mobile phone moves within the video window, the position of the first sub-area will also change accordingly.

[0048] Alternatively, after determining the first sub-region by the target object, in subsequent video frames, even if the position of the target object changes, the position of the first sub-region in the subsequent video frames of the video window remains unchanged.

[0049] Here, during video data playback, the electronic device can, based on a first command input by the user, further define a preset area as a first sub-region within the first region corresponding to the video window. This first sub-region is located in the same position in two frames that satisfy an adjacency relationship, where the images corresponding to the first sub-region in the two frames satisfying the adjacency relationship are different. Satisfying an adjacency relationship means that the two frames are adjacent or that there is a preset number of frame images between them.

[0050] For example, while watching a live-streaming sales video, if a user taps the bottom left corner of their phone screen, the phone can designate the bottom left area of ​​the video window as a first sub-area. Within this first sub-area, multiple different items can be clearly and completely displayed. The position of this first sub-area does not change regardless of the image displayed within it. Therefore, users can move items they want to share to this first sub-area for clear display.

[0051] When the display state of the background image changes, the electronic device of this application determines a first sub-region in the first area corresponding to the video window according to a first instruction. The first sub-region may be a partially blurred area of ​​the background image or a partially virtual area that is not the background image.

[0052] Step 102: Perform a processing operation to switch the first sub-region from the current first display state to the second display state.

[0053] In one implementation of this application, the electronic device can switch the first sub-region from a current first display state to a second display state by adjusting the current display parameters of the first sub-region. The electronic device activates a first mode, causing the first sub-region to enter the first display state.

[0054] Here, adjusting the current display parameters of the first sub-region specifically refers to adjusting the display parameters of the target object in the first sub-region. The display parameters include at least one of blur parameters, sharpness parameters, content display size, and content display quantity.

[0055] For example, when the background image of the video window is blurred, the first sub-region is in the first display state (such as the blurred state). At this time, the electronic device can adjust the sharpness parameter or blur parameter of the first sub-region to change the first sub-region from the first display state (blurred state) to the second display state (such as the clear state).

[0056] For example, when the background image of the video window is blurred, the first sub-area is in the first display state (such as the clear state). By adjusting the display size of the content of the first sub-area, the electronic device can change the first sub-area from the first display state (clear state) to the second display state (such as the image magnification state).

[0057] Here, the electronic device can also adjust multiple display parameters of the first sub-region at the same time. For example, while adjusting the clarity parameter of the target object in the first sub-region, it can also adjust the content display size and content display amount of the target object to improve the completeness and clarity of the target object in the first sub-region, so that the target object is displayed in the first sub-region in the optimal state.

[0058] In another implementation of this application, the electronic device may also acquire a target image corresponding to the first sub-region, and overlay the target image onto the video window, so that the first sub-region switches from the current first display state to the second display state.

[0059] Here, the electronic device can obtain the target image corresponding to the first sub-region from the video data played in the video window. The video data played in the video window can be the original image captured by the camera during the video conference. The original image is processed by the electronic device in the first mode and then displayed in the video window. The electronic device can also obtain the target image corresponding to the first sub-region from the image library. Specifically, this includes recognizing the image displayed in the first sub-region and matching the corresponding target image from the image library based on the recognized image information. The image library contains images uploaded by the user before the video conference, so when the user displays an item, they can directly match an image from the image library for display. Furthermore, before the video conference starts, the electronic device captures the image corresponding to the shared item and records it in the image library. In some embodiments, superimposing the target image on the video window includes superimposing the target image on the video window in a first state, where the target image display area and the first sub-region completely overlap. In some embodiments, superimposing the target image onto the video window includes superimposing the target image onto the video window in a second state, wherein the display area of ​​the target image covers at least a portion of the first sub-region and the area outside the first sub-region in the first region; further, in the case of superimposing in the second state, the area outside the display area of ​​the target image in the first region is blurred; further, the area of ​​the display area of ​​the target image is larger than the first sub-region.

[0060] At this time, if the electronic device receives a second instruction from the user, the electronic device can adjust the size, clarity, content completeness, display angle and other parameters of the target image according to the second instruction, and overlay the adjusted target image on the video window, so that the first sub-region switches from the current first display state (such as the unobstructed state) to the second display state (such as the state at least partially obstructed by the target image).

[0061] Here, when the electronic device acquires the target image corresponding to the first sub-region, it can first overlay the target image on the video window, and then, upon receiving a second instruction from the user, adjust the size, clarity, content completeness, display angle, and other parameters of the target image according to the second instruction, so that the first sub-region switches from the current first display state (such as a blurred state) to a second display state (such as a state in which at least part of the area is occluded by the target image).

[0062] Here, the target image within the first sub-region, in the second display state, can be an enlarged image, a clearer image, or an image with missing content filled in.

[0063] Optionally, the processing operations include: adjusting the current display parameters of the first sub-region, obtaining the target image corresponding to the first sub-region, overlaying the target image onto the video window, and switching the first sub-region from the current first display state to the second display state.

[0064] In this application, the electronic device can also capture multiple frames of images containing the target object in the video data if the display state of the background image in the first area of ​​the video window changes during the playback of video data. Based on the multiple frames of images, the outline information of the target object is obtained, and the target object is corrected based on the outline information so that the display effect of the corrected target object meets the target requirements.

[0065] Here, while playing video data in the video window, the electronic device can collect voice information in the current environment. If the voice information includes preset key information (such as sharing or display), it can collect multiple frames of images containing the target object in the video data when the display state of the background image changes.

[0066] Here, while the electronic device is playing video data in the video window, it can also detect moving objects in the video data. If the number of times the moving object moves within a preset time is greater than or equal to a threshold, then multiple frames of images containing the target object (i.e., the moving object) can be captured in the video data, even if the display state of the background image changes.

[0067] Here, while the electronic device is playing video data in the video window, it can also detect biological objects and moving objects with biological characteristics in the current environment. If it is detected that some features of the biological object are occluded by the moving object, then when the display state of the background image changes, multiple frames of images containing the target object (i.e. the moving object) can be captured from the video data.

[0068] For example, if a user is holding a displayed item and frequently waving it in front of them, at least part of the user's body will be obscured by the displayed item. In this case, multiple frames of images including the displayed item can be captured from the video data being played.

[0069] Here, when the electronic device obtains the contour information of the target object based on the multi-frame image, it can specifically identify the target object through thermal imaging to obtain the contour information of the target object. Based on the contour information, the target object can be segmented to obtain multiple target sub-objects. Based on the multiple target sub-objects, the target object can be supplemented with content, adjusted for exposure, adjusted for boundary angle, and adjusted for sharpness, so that the display effect of the target object meets the requirements of clear and complete display.

[0070] The processing method provided in this application, when the display state of the background image changes, determines a first sub-region in the first area corresponding to the video window through an instruction, and performs processing operations on the first sub-region to change the display state of the first sub-region. In this way, not only can personal privacy be protected from being leaked, but the user's sharing intention can also be achieved, so that the shared items can be clearly and completely displayed.

[0071] Figure 2 This is a flowchart illustrating the implementation of the processing method in this application. Figure 2 ,like Figure 2 As shown, the method includes:

[0072] Step 201: Open the target application;

[0073] Here, the target application includes, but is not limited to, video conferencing applications and video playback applications.

[0074] Step 202: Determine whether the first information has been obtained;

[0075] If the first information is obtained, proceed to step 203; if the first information is not obtained, proceed to step 206.

[0076] Here, the first information can be obtained by detecting voice information in the current environment. If the voice information includes preset key information, the first information represents the voice information. Alternatively, the first information can be obtained by detecting moving objects in the current environment. If the number of times the moving object moves reaches a threshold, the first information represents the action information. Furthermore, the first information can be obtained by detecting the occlusion relationship between biological objects with biological characteristics and moving objects in the current environment. If it is detected that some features of the biological object are occluded by the moving object, the first information represents the location information.

[0077] Step 203: Extract the contour information of the target object from the frame images of the video data;

[0078] Here, once the electronic device obtains the first information, it can activate the physical sharing mode. In the physical sharing mode, thermal imaging technology can be used to identify the target object in order to obtain the outline information of the target object.

[0079] Step 204: Correct the target object based on the contour information;

[0080] Here, the electronic device can perform image segmentation on the target object based on the contour information to obtain multiple target sub-objects. Based on the multiple target sub-objects, the target object can be supplemented with content, adjusted for exposure, adjusted for boundary angle, and adjusted for clarity, so that the corrected target object can be adapted to display from different angles.

[0081] Step 205: Output the corrected target object in the first sub-region.

[0082] Here, the position of the first sub-region can change depending on the position of the target object; or it can be a fixed position, and different target objects can be displayed within this first sub-region.

[0083] Step 206, end the process.

[0084] The processing method provided in this application can not only protect user privacy from being leaked, but also improve the interactivity between users during the sharing of physical objects, meet the sharing experience in different scenarios, and enable the sharing of physical objects to achieve the best display effect.

[0085] Figure 3 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ,like Figure 3 As shown, the electronic device includes:

[0086] The determining unit 301 is configured to, in response to the electronic device being in a first mode, determine a first sub-region in a first region corresponding to the video window according to a first instruction; the first mode indicates that the display state of the background image in the first region has changed;

[0087] The processing unit 302 is used to perform a processing operation to switch the first sub-region from the current first display state to the second display state.

[0088] In a preferred embodiment, the processing operation performed by the processing unit 302 includes one of the following:

[0089] Adjust the current display parameters of the first sub-region to switch the first sub-region from the current first display state to the second display state;

[0090] Obtain the target image corresponding to the first sub-region; overlay the target image onto the video window to switch the first sub-region from the current first display state to the second display state.

[0091] In a preferred embodiment, the determining unit 301 is specifically used to determine the target object in the first region corresponding to the video window according to the first instruction; and to determine the region corresponding to the target object in the first region as the first sub-region.

[0092] Here, during the playback of video data in the video window, the first sub-region is in the same position in two frames that satisfy the adjacency relationship, wherein the images corresponding to the first sub-region in the two frames that satisfy the adjacency relationship are different.

[0093] In a preferred embodiment, the processing unit 302 is specifically used to adjust the display parameters of the target object in the first sub-region, and the display parameters include at least one of blur parameter, sharpness parameter, content display size, and content display quantity.

[0094] In a preferred embodiment, the processing unit 302 is further configured to obtain a target image corresponding to the first sub-region from the video data played in the video window; or obtain a target image corresponding to the first sub-region from an image library. The size of the target image is adjusted according to a second instruction; the adjusted target image is superimposed on the video window, causing the first sub-region to switch from its current first display state to a second display state; or, when the target image is superimposed on the video window, the size of the target image is adjusted according to the second instruction, causing the first sub-region to switch from its current first display state to a second display state.

[0095] It should be noted that the above embodiments of the electronic device are only illustrated by the division of the above program modules when performing data processing. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the electronic device provided in the above embodiments and the processing method embodiments provided above belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0096] This application also provides an electronic device, which includes: a processor and a memory for storing a computer program capable of running on the processor.

[0097] When the processor is used to run the computer program, it executes any one of the method steps in the above processing method.

[0098] Figure 4 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 2 The electronic device 400 can be a mobile phone, computer, game console, tablet device, fitness equipment, personal digital assistant, or other terminal with video capabilities. Figure 4 The illustrated electronic device 400 includes at least one processor 401, a memory 402, at least one network interface 404, and a user interface 403. The various components in the electronic device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to implement communication between these components. In addition to a data bus, the bus system 405 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 4 The general designated all buses as Bus System 405.

[0099] The user interface 403 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.

[0100] It is understood that memory 402 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 402 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0101] In this embodiment, the memory 402 is used to store various types of data to support the operation of the electronic device 400. Examples of such data include: any computer program used to operate on the electronic device 400, such as the operating system 4021 and application program 4022; contact data; phonebook data; messages; pictures; audio, etc. The operating system 4021 includes various system programs, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and handle hardware-based tasks. The application program 4022 may include various applications, such as a media player, browser, etc., used to implement various application services. Programs implementing the methods of this embodiment may be included in the application program 4022.

[0102] The methods disclosed in the embodiments of this application can be applied to processor 401, or implemented by processor 401. Processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 401 or by instructions in the form of software. The processor 401 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 401 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 402. Processor 401 reads the information in memory 402 and combines its hardware to complete the steps of the aforementioned method.

[0103] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0104] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory 402 including a computer program, which can be executed by a processor 401 of an electronic device 400 to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0105] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs any of the method steps in the above-described processing method.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0107] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0108] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0109] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0110] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0111] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A processing method, comprising: In response to the electronic device being in a first mode for privacy protection, a target object is determined in a first area corresponding to the video window according to a first instruction, and the area corresponding to the target object in the first area is determined as a first sub-area; the first mode indicates that the display state of the background image in the first area has changed; By adjusting the display parameters of the first sub-region or overlaying the target image corresponding to the first sub-region onto the video window, the first sub-region is switched from its current first display state to a second display state; the parameters of the target image are adjusted based on a second instruction, and the parameters include at least one of size, clarity, content completeness, and display angle; Adjusting the current display parameters of the first sub-region includes: Adjust the display parameters in the first sub-region, the display parameters including at least one of blur parameter, sharpness parameter, content display size, and content display quantity.

2. The method according to claim 1, wherein during the playback of video data in the video window, the first sub-region is in the same position in two frames that satisfy the adjacency relationship, wherein, The images corresponding to the first sub-region in two frames that satisfy the adjacency relationship are different.

3. The method according to claim 1, wherein adjusting the display parameters of the first sub-region or overlaying the target image onto the video window comprises: Obtain the target image corresponding to the first sub-region; The target image is superimposed on the video window, causing the first sub-region to switch from the current first display state to the second display state.

4. The method according to claim 3, wherein obtaining the target image corresponding to the first sub-region includes one of the following: Obtain the target image corresponding to the first sub-region from the video data played in the video window; Obtain the target image corresponding to the first sub-region from the image library.

5. The method according to claim 3, wherein superimposing the target image onto the video window to switch the first sub-region from the current first display state to the second display state includes one of the following: The size of the target image is adjusted according to the second instruction; The adjusted target image is superimposed on the video window, causing the first sub-region to switch from the current first display state to the second display state. When the target image is superimposed on the video window, the size of the target image is adjusted according to the second instruction, so that the first sub-region switches from the current first display state to the second display state.

6. An electronic device, comprising: The determining unit is configured to, in response to the electronic device being in a first mode for privacy protection, determine a target object in a first area corresponding to the video window according to a first instruction, and determine the area corresponding to the target object in the first area as a first sub-area; the first mode indicates that the display state of the background image in the first area has changed; The processing unit is configured to switch the first sub-region from its current first display state to a second display state by adjusting the display parameters of the first sub-region or by overlaying the target image corresponding to the first sub-region onto the video window; the parameters of the target image are adjusted based on a second instruction, and the parameters include at least one of size, clarity, content completeness, and display angle. Adjusting the current display parameters of the first sub-region includes: Adjust the display parameters of the target object in the first sub-region, the display parameters including at least one of blur parameter, sharpness parameter, content display size, and content display quantity.

7. The electronic device according to claim 6, wherein the processing unit performs the function of overlaying the target image onto the video window, comprising: Obtain the target image corresponding to the first sub-region; The target image is superimposed on the video window, causing the first sub-region to switch from the current first display state to the second display state.