Processing method, device and equipment

By obtaining and analyzing the distribution information of the displayed object, determining the target image to fill the target area of ​​the electronic device, the problem of the background, icons and components not obstructing each other, the adaptive background adjustment under position changes is achieved, and the equipment is improved Visual and user experience.

CN119311169APending Publication Date: 2025-01-14LENOVO (BEIJING) LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411517363.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

When adjusting the background of the target area of ​​an electronic device, how to choose a suitable background image so that it does not obstruct the existing icons, components, etc., especially in scenes such as mobile phone desktops, the main character or building is obscured by desktop icons. , affects the appearance.

Method used

By obtaining the distribution information of the display object, the target image is determined so that it is filled in the target area, all display objects obscuring a part of the target image, and the non-occluded portion of the target image includes at least one target object, thereby selecting a suitable background image.

Benefits of technology

It realizes that when the position of the display object changes, the background image is adaptively adjusted so that the target object is not blocked by the display object, and improves the visual and user experience of the electronic device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311169A_ABST
    Figure CN119311169A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method, device and equipment, and the method comprises the steps: obtaining the distribution information of at least one display object, and enabling the distribution information to be used for representing the display area of each display object at a display position in a target region; determining a target image based on the distribution information, wherein the target image is used for being displayed in the target area; the target image and all the display objects are displayed on the basis of the target area, the target area is filled with the target image, all the display objects are located in the target area, and each display object shields one part of the target image. The part, corresponding to each display object, of the target image is a shielding part, and the non-shielding part of the target image comprises at least one target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of electronic technology, and relate to but are not limited to a processing method, device and equipment. Background Art

[0002] When it is necessary to adjust the background of a target area in an electronic device such as a mobile phone or tablet, such as setting a mobile phone desktop or customizing an application (APP) background, if the target area already has display content such as icons or components, how to set a suitable background so that the background and the icons, components, and other display content do not block each other is a technical problem that needs to be solved urgently. For example, when using a picture stored in a mobile phone as the mobile phone desktop, if the placement of the desktop icons is determined, the main characters or buildings in the picture are often blocked by the desktop icons, thus affecting the appearance of the mobile phone desktop. How to quickly select an appropriate background picture based on the current icon and component layout method deployed by the user is a problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, embodiments of the present application provide a processing method, device and equipment.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a processing method, including:

[0006] Obtaining distribution information of at least one display object, where the distribution information is used to characterize a display area of ​​each display object at a display position within a target area;

[0007] Determine a target image based on the distribution information, and display the target image in the target area;

[0008] A target image and all display objects are displayed based on a target area, wherein the target image fills the target area, all display objects are located within the target area and each display object blocks a portion of the target image, a portion of the target image corresponding to each display object is a blocked portion, and a non-blocked portion of the target image includes at least one target object.

[0009] In a second aspect, an embodiment of the present application provides a processing device, including:

[0010] An acquisition module, used to obtain distribution information of at least one display object, where the distribution information is used to characterize a display area of ​​each display object at a display position within a target area;

[0011] A determination module, used for determining a target image based on the distribution information, wherein the target image is used for displaying in a target area;

[0012] A display module is used to display a target image and all display objects based on a target area, wherein the target image fills the target area, all display objects are located in the target area and each display object blocks a portion of the target image, the portion of the target image corresponding to each display object is the blocked portion, and the non-blocked portion of the target image includes at least one target object.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a display, a memory and a processor, the memory storing a computer program that can be run on the processor, and the processor executing the program to obtain distribution information of at least one display object, the distribution information being used to characterize the display area of ​​each display object at a display position within a target area; determining a target image based on the distribution information, the target image being used to be displayed in the target area; and displaying the target image and all display objects using the display based on the target area, wherein the target image fills the target area, all display objects are located within the target area and each display object blocks a portion of the target image, the portion of the target image corresponding to each display object is the blocked portion, and the non-blocked portion of the target image includes at least one target object.

[0014] In a fourth aspect, an embodiment of the present application provides a storage medium storing executable instructions for implementing the above method when executed by a processor.

[0015] In a fifth aspect, a computer program product includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the steps in the above method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1A A schematic diagram of a mobile phone desktop provided in an embodiment of the present application;

[0017] Figure 1B A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application;

[0018] Figure 1C A schematic diagram of a mobile phone desktop provided in an embodiment of the present application;

[0019] Figure 1D A schematic diagram of mobile phone desktop distribution information provided in an embodiment of the present application;

[0020] Figure 1E A schematic diagram of a mobile phone desktop provided in an embodiment of the present application;

[0021] Figure 2 A schematic diagram of an implementation flow of a processing method provided in an embodiment of the present application;

[0022] Figure 3A schematic diagram of an implementation process of generating a target image provided in an embodiment of the present application;

[0023] Figure 4A A schematic diagram of the implementation flow of the method for determining a target image provided in an embodiment of the present application;

[0024] Figure 4B A schematic diagram of the implementation flow of the method for determining a target image provided in an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the structure of a processing device provided in an embodiment of the present application;

[0026] Figure 6 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the embodiments of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0028] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0029] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0031] The invention protected by this application is executed by electronic devices, including at least mobile phones, tablets, computers, notebooks, smart watches, etc.

[0032] Figure 1A A schematic diagram of a mobile phone desktop provided in an embodiment of the present application, such as Figure 1A As shown, the mobile phone desktop includes logos of multiple application programs displayed on the upper layer of the background image, and the animated lamb on the desktop background is partially blocked by the program logos, which affects the user's perception of the mobile phone desktop.

[0033] The present application embodiment provides a processing method, such as Figure 1B As shown, the method includes:

[0034] Step S110: obtaining distribution information of at least one display object, wherein the distribution information is used to characterize a display area of ​​each display object at a display position within a target area;

[0035] Here, the display object refers to an element that can be seen on the display interface, such as an application logo, a button, a text box, a label, an image, etc.

[0036] In some embodiments, the target area may be the entire background area of ​​the display screen of the electronic device where the display object is located. For example, the target area may be the desktop area displayed on a mobile phone screen or the desktop area displayed on a computer screen. Figure 1A As shown, the target area may be the desktop background of the mobile phone.

[0037] In some embodiments, the target area may also be a partial background area of ​​the display screen of the electronic device where the display object is located. For example, the target area may be the background area of ​​the card area on the mobile phone screen. The user may set the size of the target area based on actual usage requirements. Figure 1C As shown, the mobile phone desktop includes a target area 11, and an application identifier is set on the target area 11.

[0038] During the implementation process, the size information of each display object and the coordinate information in the target area can be obtained to determine the display position and display area of ​​all display objects in the target area. For example, the coordinate information and display area of ​​each display object (including application logo, text input box, date display area, weather display area, etc.) on the mobile phone display interface can be obtained. Figure 1D A schematic diagram of mobile phone desktop distribution information provided in an embodiment of the present application, such as Figure 1D As shown, the schematic diagram includes three display areas 12 for displaying display objects on the mobile phone desktop. The display area can represent the display position and display area of ​​the application logo on the mobile phone desktop.

[0039] Step S120: determining a target image based on the distribution information, wherein the target image is used to be displayed in the target area;

[0040] Here, the target image may be a background image corresponding to the target area, for example, the target image may be a mobile phone desktop background image, a computer desktop background image, or an APP background image. The target image may also be a background image of a card area on a mobile phone.

[0041] In the implementation process, the target image can be determined based on the distribution information of the display object. For example, Figure 1D The distribution information shown is used to determine a target image so that the focused presentation object in the target image is not blocked by the display object.

[0042] Step S130: display the target image and all the display objects based on the target area, wherein the target image fills the target area, all the display objects are located within the target area and each of the display objects blocks a portion of the target image, a portion of the target image corresponding to each of the display objects is a blocked portion, and a non-blocked portion of the target image includes at least one target object.

[0043] Here, the target image can be used as a background image to fill the target area, and the display object located in the target area blocks a part of the target image, that is, the part of the target image blocked by the display object is the blocked part. The non-blocked part can at least display the target object in the target image. For example, Figure 1E A schematic diagram of a mobile phone desktop provided in an embodiment of the present application, such as Figure 1E As shown, the flowers (target objects) in the desktop picture are not blocked by the application logo.

[0044] For example, a schematic diagram of the position and area occupied by the subject on the desktop can be generated according to the arrangement of the user's current desktop icons, such as Figure 1D As shown, according to the position and area of ​​the subject on the desktop, the target object of the photo is selected from the user's album and is in accordance with the arrangement of icons, and is recommended to the user for selection.

[0045] In the embodiment of the present application, firstly, the distribution information of at least one display object is obtained; then, the target image is determined based on the distribution information; finally, the target image and all display objects are displayed based on the target area. In this way, the target object in the selected target image is not blocked by the display object, so that the target area can display at least one display object and can display the target image with the best effect.

[0046] The present application embodiment provides a processing method, such as Figure 2 As shown, this can be achieved by following the steps below:

[0047] Step S210: in response to an input operation on a first display object displayed at a first position in the target area, changing the first display object from the first position to a second position; the first display object belongs to the at least one display object; the target area displays a first image;

[0048] Here, the input operation may be a drag or move operation of the operating body on the first display object displayed at the first position, so as to move the first display object from the first position to a second position different from the first position. When the first display object is located at the first position, the target display area displays the first image. For example, when the position of the application icon on the mobile phone desktop does not change, the background image may not change, that is, the first image is used as the background image.

[0049] During implementation, the electronic device may move the display position of the first display object on the display desktop in response to an input operation on the first display object. For example, the user may move the coordinates of an application displayed on the mobile phone desktop to transfer the application coordinates to a different display position for display.

[0050] Step S220: if the first display object is located at the second position, obtain distribution information of the at least one display object;

[0051] During implementation, when the display position of the first display object is transferred from the first position to the second position, the distribution information of the display object after the position is updated may be acquired again.

[0052] In some embodiments, the distribution information may be different from the previous distribution information of the first display object in the first position. For example, the position of an application icon on the mobile phone desktop has changed significantly, resulting in a change in the layout information of the application icons on the mobile phone desktop, that is, the distribution information.

[0053] In some embodiments, the distribution information may be the same as the distribution information when the first display object was in the first position. For example, swapping the positions of two application icons on the mobile phone desktop does not cause a change in the layout information of the application icons on the mobile phone desktop, that is, the distribution information does not change.

[0054] Step S230: determining a target image based on the distribution information, wherein the target image is used to be displayed in the target area;

[0055] In the implementation process, the target image can be determined based on the distribution information of the display object. For example, Figure 1D The distribution information shown is used to determine a target image so that the focused presentation object in the target image is not blocked by the display object.

[0056] Step S240: replacing the first image with a second image based on the target area, where the second image is a target image determined by the layout information including that the first display object is located at the second position.

[0057] Here, since the distribution information has changed, the target object in the first image is blocked, and the second image can be re-determined as the target image based on the layout information that the first display object is located at the second position.

[0058] For example, if the position of an application icon on the mobile phone desktop changes significantly, resulting in a change in the layout information of the application icons on the mobile phone desktop, that is, the distribution information, the desktop background image can be replaced so that the key presentation objects in the background image are not blocked by the display objects.

[0059] In some embodiments, the electronic device may replace the first image with the second image in response to a specific mode. For example, the electronic device may be set to enter a wallpaper adjustment mode, in which the electronic device may adaptively adjust the corresponding wallpaper image in response to the user's operation of moving the application image.

[0060] In the embodiment of the present application, first, in response to an input operation on a first display object displayed at a first position in a target area, the first display object is changed from the first position to the second position; if the first display object is located at the second position, the distribution information of at least one display object is obtained; then, a target image is determined based on the distribution information, and the target image is used to be displayed in the target area; finally, the first image is replaced with the second image based on the target area. In this way, when the position of any display object changes, the corresponding target image can be adaptively adjusted based on the distribution information of the display object after the position change, so that after the first image is replaced by the second image, the target object in the second image is not blocked by the display object.

[0061] In some embodiments, the above step S120 “determining the target image based on the distribution information” can be implemented by the following steps:

[0062] Step 121, obtaining at least one file, each of which includes at least one frame of image;

[0063] Here, the obtained file may be a file including at least one frame of image. For example, the file may be a moving picture wallpaper file, that is, a file including at least one wallpaper. Moving picture wallpaper, also known as dynamic wallpaper or live wallpaper, is a wallpaper that can be dynamically displayed on the desktop or lock screen.

[0064] Step 122: Analyze at least one frame of image included in each of the files to obtain image distribution, where the image distribution is used to characterize the distribution of at least one target object included in at least one frame of image in each of the target files;

[0065] In the implementation process, each frame of the image in the file can be identified based on the image recognition method to obtain the image distribution of at least one target object in each frame of the image. For example, the distribution information of the target object in each wallpaper image in a set of animated wallpaper files can be analyzed.

[0066] Step 123: Determine the target image based on the distribution information and the image distribution.

[0067] In some embodiments, the distribution information of the displayed objects may be matched with the image distribution of the image file including the target object to obtain a target image in which the target object is located at a position not blocked by the displayed objects.

[0068] In some embodiments, the target image may belong to multiple frames of images, that is, multiple frames of target images may be determined based on the distribution information and the image distribution. For example, a group of animated wallpapers may be determined, and the target object displayed in each wallpaper in the group of animated wallpapers is not blocked by the application icon in the display.

[0069] In the embodiment of the present application, at least one file is first obtained, each file includes at least one frame of image; then at least one frame of image included in each file is analyzed to obtain image distribution; finally, a target image is determined based on the distribution information and the image distribution. In this way, the distribution of target objects in the obtained target image can match the distribution of the display object.

[0070] In some embodiments, the above step S130 "displaying the target image and all the display objects based on the target area" can be implemented by the following steps:

[0071] Step 131: configuring a target file corresponding to the target image as a display file of the target area, wherein the target file includes a continuous multi-frame image, and the target image belongs to the multi-frame image; the target image has a different image distribution from at least one frame image in the multi-frame image;

[0072] Here, a target file including a continuous plurality of frames of images corresponding to a target image may be obtained, and the target file may be configured as a display file of a target area. The target image may have a different image distribution from at least one frame of the other plurality of frames of images. For example, a group of animated wallpapers may be determined, and the position of a target object (e.g., the sun) in the animated wallpaper is different in each frame of the wallpaper.

[0073] Step 132: In response to the continuous output display of the multiple frames of images, the position of at least one of the display objects in the target area dynamically changes based on the image distribution of the multiple frames of images.

[0074] Here, in the case where multiple frames of images are continuously output and displayed, since there is at least one frame of image whose image distribution is different from that of the target image, the position of the display object can be moved, that is, the position of the display object can be dynamically changed based on the image distribution of each frame of image, so that the display object does not block or blocks as little as possible the target object in each frame of image. For example, in the case of using a set of animated wallpapers as the desktop background, since the position of the key presentation object in the animated wallpaper is different in each frame of image, the position of the display object can be set to change adaptively based on the image distribution of each frame of image, so as to achieve no blocking or less blocking of the key presentation object in each frame of image.

[0075] In the embodiment of the present application, the target file corresponding to the target image is first configured as the display file of the target area, the target file includes a continuous multi-frame image, and the target image belongs to the multi-frame image; then, in response to the continuous output display of the multi-frame image, the position of at least one display object in the target area changes dynamically based on the image distribution of the multi-frame image. In this way, the position of the display object can be adaptively changed based on the image distribution of each frame image in the target file, so as to achieve non-blocking or less blocking of the key presentation object in each frame image.

[0076] In some embodiments, the above step S120 “determining the target image based on the distribution information” can be implemented by the following process:

[0077] The target image is generated based on the distribution information and a target model, where the target model is a generative model.

[0078] Here, the generative model can be an image generation model, which is a type of deep learning model that generates new images by learning data distribution. The generative model can create realistic, innovative or style-specific images.

[0079] In the implementation process, the generation model can generate a target image including a target object that is not blocked by the display object based on the distribution information of the display object. For example, the generation model can obtain Figure 1D The distribution information shown is used to generate a target object that matches the distribution information and is not located in the three display areas 12 of the display object.

[0080] In the embodiment of the present application, a target image is generated based on the distribution information and the target model, and the target model is a generative model. In this way, a target image matching the distribution information of the display object can be generated by using the generative model, and the target object in the target image is located at a position not blocked by the display object.

[0081] In some embodiments, the above step of "generating the target image based on the distribution information and the target model, wherein the target model is a generative model" is as follows: Figure 3 As shown, this can be achieved by following the steps below:

[0082] Step S310, obtaining the display content of each display object;

[0083] Here, display objects refer to elements that can be presented on the screen, such as images, application logos, text, videos, animations, etc. The display content of these elements depends on their type. For example, images display pixel data, text displays character information, and videos display continuous frames.

[0084] In some embodiments, when the display object is an image, the display content in the image can be recognized, that is, the content displayed in the image can be extracted using a recognition model.

[0085] In some embodiments, when the display object is text, the text information can be recognized to determine the display content.

[0086] Step S320: Generate the target image based on the display content of each display object, the distribution information and the target model.

[0087] In the implementation process, the target image can be generated by using a generative model based on the display content and distribution information of the display object. For example, the display object can be a theme object after a certain application is opened. When the theme object is identified as an animal, a target image such as natural scenery can be matched for the animal as a background image.

[0088] In the embodiment of the present application, the display content of each display object is first obtained; then the target image is generated based on the display content, distribution information and target model of each display object. In this way, the display content is added as the input of the target model, and the obtained target image has a better match with the display object, and the target image and display object can be better presented.

[0089] In some embodiments, the above step S120 "determine the target image based on the distribution information" is as follows: Figure 4A As shown, this can be achieved by following the steps below:

[0090] Step S410, determining the position information of the target object in the image to be matched;

[0091] During the implementation process, the position information of the target object in each of all the images to be matched is determined in advance, that is, the distribution information of the target object in the images to be matched can be determined in advance.

[0092] In some embodiments, when the image to be matched includes at least two target objects, the position information of each target object can be determined in turn, and the importance of all target objects can be sorted at the same time, that is, all target objects can be sorted according to different importance levels.

[0093] Step S420: Match the distribution information with the location information of the target object, and determine the to-be-matched image that meets a preset matching threshold as the target image.

[0094] During the implementation process, a matching threshold may be preset, the distribution information is matched with the position information of the target object, and the image to be matched that meets the matching threshold is determined as the target image.

[0095] In some embodiments, when the image to be matched includes at least two target objects, the matching between the position information and the distribution information of a target object with a higher importance level can be preferentially determined. When it is determined that the matching degree between the position information of a target object with a higher importance level and the position information of the target object meets the matching threshold, the image to be matched can be determined as the target image.

[0096] In the embodiment of the present application, the position information of the target object in the image to be matched is first determined; then the distribution information is matched with the position information of the target object, and the image to be matched that meets the preset matching threshold is determined as the target image. In this way, the target image can be determined based on the matching threshold to ensure that the target object in the target image is not blocked by the display object.

[0097] In some embodiments, the above step S120 "determine the target image based on the distribution information" is as follows: Figure 4B As shown, this can be achieved by following the steps below:

[0098] Step S430: Processing the image to be matched based on the distribution information to obtain a processed image to be matched; the processing at least includes extracting other objects except the target object from the image to be matched;

[0099] Here, processing the image to be matched includes operations such as cropping, cutting out, and expanding the image elements.

[0100] In the implementation process, the distribution information of the display object can be used to process the image to be matched. For example, if there are other unimportant objects in the image to be matched at the location of the display object, the other objects can be removed from the image to be matched. Here, the other objects can be other unimportant elements in the image to be matched.

[0101] Step S440, determining the position information of the target object in the processed image to be matched;

[0102] During implementation, the position of the target object in the processed image to be matched may be identified to determine the position information of the target object.

[0103] Step S450: Match the distribution information with the position information of the target object, and determine the processed matching image that meets a preset matching threshold as the target image.

[0104] In the embodiment of the present application, the image to be matched is first processed based on the distribution information to obtain the processed image to be matched; the processing at least includes extracting other objects except the target object from the image to be matched; then determining the position information of the target object in the processed image to be matched; finally matching the distribution information with the position information of the target object, and determining the processed matching image that meets the preset matching threshold as the target image. In this way, since the image to be matched can be processed based on the distribution information, an image to be matched with a higher degree of matching with the distribution information of the display object can be obtained, and the number of choices of the image to be matched can be effectively expanded.

[0105] Based on the foregoing embodiments, the embodiments of the present application provide a processing device, which includes the modules included, each module includes sub-modules, and can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0106] Figure 5 A schematic diagram of the structure of the processing device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the device 500 includes:

[0107] An obtaining module 510 is used to obtain distribution information of at least one display object, where the distribution information is used to characterize a display area of ​​each display object at a display position within a target area;

[0108] A determination module 520, configured to determine a target image based on the distribution information, wherein the target image is configured to be displayed in the target area;

[0109] The display module 530 is used to display the target image and all the display objects based on the target area, wherein the target image fills the target area, all the display objects are located in the target area and each of the display objects blocks a portion of the target image, the portion of the target image corresponding to each of the display objects is the blocked portion, and the non-blocked portion of the target image includes at least one target object.

[0110] In some embodiments, the acquisition module 510 includes a position change submodule and a first acquisition submodule, wherein the position change submodule is used to change the first display object displayed at the first position in the target area from the first position to the second position in response to an input operation on the first display object displayed at the first position in the target area; the first display object belongs to the at least one display object; the target area displays a first image; the acquisition submodule is used to obtain the distribution information of the at least one display object if the first display object is located at the second position; the display module 530 is also used to replace the first image with a second image based on the target area, and the second image is a target image determined by the layout information including the first display object being located at the second position.

[0111] In some embodiments, the determination module 520 includes a second acquisition submodule, an analysis submodule and a first determination submodule, wherein the second acquisition submodule is used to obtain at least one file, each of which includes at least one frame of image; the analysis submodule is used to analyze the at least one frame of image included in each of the files to obtain an image distribution, and the image distribution is used to characterize the distribution of at least one target object in each of the target files including at least one frame of image; the first determination submodule is used to determine the target image based on the distribution information and the image distribution.

[0112] In some embodiments, the display module 530 includes a configuration submodule and a display submodule, wherein the configuration submodule is used to configure the target file corresponding to the target image as a display file of the target area, the target file includes continuous multi-frame images, and the target image belongs to the multi-frame images; the target image has a different image distribution from at least one frame of the multi-frame images; and the display submodule is used to respond to the continuous output display of the multi-frame images, and the position of at least one of the display objects in the target area dynamically changes based on the image distribution of the multi-frame images.

[0113] In some embodiments, the determination module 520 is further configured to generate the target image based on the distribution information and a target model, where the target model is a generative model.

[0114] In some embodiments, the determination module 520 includes a third acquisition submodule and a generation submodule, wherein the third acquisition submodule is used to obtain the display content of each of the display objects; and the generation submodule is used to generate the target image based on the display content of each of the display objects, the distribution information and the target model.

[0115] In some embodiments, the determination module 520 includes a second determination submodule and a first matching submodule, wherein the second determination submodule is used to determine the position information of the target object in the image to be matched; and the first matching submodule is used to match the distribution information with the position information of the target object, and determine the image to be matched that meets a preset matching threshold as the target image.

[0116] In some implementations, the determination module 520 includes a processing submodule, a third determination submodule and a second matching submodule, wherein the processing submodule is used to process the image to be matched based on the distribution information to obtain a processed image to be matched; the processing at least includes extracting other objects except the target object from the image to be matched; the third determination submodule is used to determine the position information of the target object in the processed image to be matched; and the second matching submodule is used to match the distribution information with the position information of the target object, and determine the processed matching image that meets a preset matching threshold as the target image.

[0117] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0118] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0119] Correspondingly, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the processing method provided in the above embodiment are implemented.

[0120] Correspondingly, an embodiment of the present application provides an electronic device, Figure 6 A hardware entity diagram of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, the hardware entity of the device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores a computer program that can be run on the processor 602, and the processor 602 implements the steps in the processing method provided in the above embodiment when executing the program.

[0121] The memory 601 is configured to store instructions and applications executable by the processor 602, and can also cache data to be processed or processed by the processor 602 and various modules in the electronic device 600 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0122] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0123] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

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

[0126] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0127] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0128] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0129] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

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

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

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

[0133] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A processing method, the method comprising: Obtaining distribution information of at least one display object, wherein the distribution information is used to characterize a display area of ​​each display object at a display position within a target area; Determine a target image based on the distribution information, wherein the target image is used to be displayed in the target area; The target image and all the display objects are displayed based on the target area, wherein the target image fills the target area, all the display objects are located in the target area and each of the display objects blocks a portion of the target image, the portion of the target image corresponding to each of the display objects is the blocked portion, and the non-blocked portion of the target image includes at least one target object.

2. The method according to claim 1, wherein obtaining distribution information of at least one display object comprises: In response to an input operation on a first display object displayed at a first position within the target area, changing the first display object from the first position to a second position; The first display object belongs to the at least one display object; the target area displays a first image; If the first display object is located at the second position, obtaining distribution information of the at least one display object; The displaying the target image and all the display objects based on the target area includes: The first image is replaced with a second image based on the target area, where the second image is a target image determined by layout information including that the first display object is located at the second position.

3. The method according to claim 1, wherein determining the target image based on the distribution information comprises: Obtain at least one file, each of which includes at least one frame of image; Analyzing at least one frame of image included in each of the files to obtain image distribution, wherein the image distribution is used to characterize the distribution of at least one target object included in at least one frame of image in each of the target files; The target image is determined based on the distribution information and the image distribution.

4. The method according to claim 3, wherein displaying the target image and all the display objects based on the target area comprises: Configuring a target file corresponding to the target image as a display file of the target area, the target file includes a continuous multi-frame image, the target image belongs to the multi-frame image; the target image has a different image distribution from at least one frame image in the multi-frame image; In response to the continuous output display of the multiple frames of images, the position of at least one of the display objects within the target area changes dynamically based on the image distribution of the multiple frames of images.

5. The method according to claim 1, wherein determining the target image based on the distribution information comprises: The target image is generated based on the distribution information and a target model, where the target model is a generative model.

6. The method according to claim 5, wherein generating the target image based on the distribution information and the target model comprises: Obtaining display content of each of the display objects; The object image is generated based on the display content of each of the display objects, the distribution information, and the object model.

7. The method according to claim 1, wherein determining the target image based on the distribution information comprises: Determine the location information of the target object in the image to be matched; The distribution information is matched with the position information of the target object, and an image to be matched that meets a preset matching threshold is determined as the target image.

8. The method according to claim 1, wherein determining the target image based on the distribution information comprises: Processing the image to be matched based on the distribution information to obtain a processed image to be matched; the processing at least includes extracting other objects except the target object from the image to be matched; Determining the position information of the target object in the image to be matched after the processing; The distribution information is matched with the position information of the target object, and a processed matching image that meets a preset matching threshold is determined as the target image.

9. A processing device, comprising: An acquisition module, used for acquiring distribution information of at least one display object, wherein the distribution information is used for representing a display area of ​​each display object at a display position within a target area; A determination module, configured to determine a target image based on the distribution information, wherein the target image is configured to be displayed in the target area; A display module is used to display the target image and all the display objects based on the target area, wherein the target image fills the target area, all the display objects are located in the target area and each of the display objects blocks a portion of the target image, the portion of the target image corresponding to each of the display objects is the blocked portion, and the non-blocked portion of the target image includes at least one target object.

10. An electronic device, comprising a display, a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the distribution information of at least one display object is obtained, wherein the distribution information is used to characterize the display area of ​​each display object at a display position within a target area; Determine a target image based on the distribution information, wherein the target image is used to be displayed in the target area; The target image and all the display objects are displayed using the display based on the target area, wherein the target image fills the target area, all the display objects are located within the target area and each of the display objects blocks a portion of the target image, a portion of the target image corresponding to each of the display objects is a blocked portion, and a non-blocked portion of the target image includes at least one target object.

Citation Information

Patent Citations

  • Information processing method and electronic device

    CN104461500A

  • Desktop icon arrangement method and apparatus

    CN105183272A

  • Desktop wallpaper display method and terminal

    CN106814932A

  • Application icon setting method and apparatus, and mobile terminal

    CN108008878A

  • Page layout method and related equipment

    CN111966266A