Display control method and electronic equipment
By generating display images that match the event content, the problem of dynamic wallpapers being unable to be personalized is solved, a unified visual style and personalized display are achieved across application events, and the user experience is improved.
Patent Information
- Application Number
- CN202510726487.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-16
AI Technical Summary
Existing dynamic wallpapers cannot dynamically adjust display content according to relevant events of electronic devices, resulting in users being unable to obtain a personalized visual experience that matches the event content.
By detecting the events to be responded to by the electronic device, a display image is generated whose image features and additional features of the target object match the event content, and is displayed in the target display area, including the generation of dynamic and static images and the control of display modes.
It achieves a unified visual style display across application events, meets personalized display needs, and improves the efficiency of event information transmission and user experience.
Smart Images

Figure CN120653346A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and more specifically to a display control method and electronic equipment. Background Art
[0002] The display interface of an electronic device usually presents an interface wallpaper, such as dynamic wallpaper and static wallpaper. Static wallpaper refers to a static image used as the background image of the wallpaper, while dynamic wallpaper is an animated image. Current dynamic wallpapers use pre-generated specified animations to achieve dynamic presentation of the wallpaper. The dynamic wallpapers implemented in the above manner can only present a relatively simple content and cannot dynamically adjust the displayed content according to related events of the electronic device, resulting in users being unable to obtain a personalized visual experience that matches the event content. Summary of the Invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A display control method, comprising:
[0005] When an event to be responded to is detected from any source of the electronic device, obtaining the event content of the event to be responded to;
[0006] generating a display image based on the image features of the target object and the event content; wherein the additional features of the target object in the display image match the event content;
[0007] The display image is controlled to be displayed in a target display area.
[0008] Optionally, before detecting an event to be responded to from any source of the electronic device, the method includes:
[0009] Obtaining image features of the target object;
[0010] Generating a display image based on the image characteristics of the target object and the event content includes:
[0011] Determining additional features of the target object based on the event content, where different event contents correspond to different additional features of the target object;
[0012] The display image is generated based on the image feature of the target object and the additional feature.
[0013] Optionally, the additional features of the target object include at least one of a dress feature and a behavior feature;
[0014] The dress feature represents the dress of the target object that matches the event content; and the behavior feature represents the behavior of the target object that matches the event content.
[0015] Optionally, generating a display image based on the image features of the target object and the event content further includes:
[0016] generating scene features according to the event content;
[0017] The display image is generated based on the image feature of the target object, the additional feature and the scene feature.
[0018] Optionally, the display image is a dynamic display image, and the dynamic display image contains at least one of the following animation contents: animation content generated based on behavioral characteristics of the target object, and animation content generated based on scene characteristics corresponding to the event content.
[0019] Optionally, obtaining the image features of the target object includes:
[0020] obtaining a target image, wherein the target image includes at least one object;
[0021] determining the image features of the target object based on the target image using an image processing model;
[0022] Alternatively, determining the image features of the target object based on the user's input information;
[0023] The events to be responded to from different sources of the electronic device correspond to the image features of the same target object.
[0024] Optionally, controlling the display image to be displayed in a target display area includes:
[0025] determining a display mode of the display image based on at least one of a device form of the electronic device and the event to be responded to, wherein the display mode includes at least one of a wallpaper mode and a notification mode; the wallpaper mode indicates that the display image is displayed in the form of wallpaper; and the notification mode indicates that the display image is displayed in the form of notification information;
[0026] The display image is controlled to be displayed in the target display area in a corresponding display mode.
[0027] Optionally, controlling the display image to be displayed in a target display area includes:
[0028] The display image is set as a wallpaper of the target display area to be displayed in the target display area.
[0029] Optionally, generating a display image based on the image features of the target object and the event content includes:
[0030] The image features of the target object and the event content are input into a generative model so that the generative model generates the display image.
[0031] An electronic device, comprising:
[0032] A display device having a target display area;
[0033] A processor is configured to, upon detecting an event to be responded to from any source of an electronic device, obtain the event content of the event to be responded to; generate a display image based on the image features of a target object and the event content; and control the display image to be displayed in the target display area, wherein the additional features of the target object in the display image match the event content. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0035] Figure 1 A flow chart of a display control method provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the image characteristics of a target object provided in an embodiment of the present application;
[0037] Figure 3 Schematic diagram of target objects for different events provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of displaying an image as wallpaper provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram of a display image corresponding to an application scenario provided in an embodiment of the present application;
[0040] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0042] In this application, the terms "first" and "second" are used to distinguish between different objects, not to describe a specific order. Furthermore, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements and may include steps or elements that are not listed.
[0043] This application provides a display control method that can be applied to electronic devices that can display relevant interface information through corresponding display devices. For example, the electronic devices can be mobile terminals, computers, laptops, tablets, wearable devices, and in-vehicle central control devices. This display control method can control the interface display of electronic devices, respond to pending events of various applications of the electronic devices through personalized dynamic images, and achieve a unified visual style for displaying events across applications. Users can customize the image of objects in the display interface and add event content to the displayed image, meeting personalized display needs and improving the efficiency of event information communication.
[0044] See also Figure 1 , which shows a flow chart of a display control method provided by an embodiment of the present application, the method may include the following steps:
[0045] S101: When an event to be responded to is detected from any source of an electronic device, obtain the event content of the event to be responded to.
[0046] S102: Generate a display image based on the image features of the target object and the event content.
[0047] S103: Control the display image to be displayed in the target display area.
[0048] In step S101, the detected pending events from any source of the electronic device may include different event types. When obtaining the event content of the pending event, information can be extracted from the event log of the pending event to obtain the event content. In order to improve the accuracy of event content acquisition, the event content can also be obtained based on the event type of the pending event. In this way, event keywords matching the event type can be determined based on different event types, and the event content can be determined based on the event keywords, so that the obtained event content can better reflect the response requirements of the pending event.
[0049] The event type of the event to be responded to can be any of the system event type of the electronic device, the event type triggered by the user, or the application notification event type of the electronic device. If the event to be responded to is a system event of the electronic device, such as a system update event of the electronic device, the corresponding event content can be the system update content and the system update time, etc.; if the event to be responded to is a time event, such as the arrival of a preset alarm time, the corresponding event content can be the characteristics of the time point corresponding to the alarm, such as whether it is time to get up or the content of the pending items set in advance, etc.; if the event to be responded to is a user click event, the corresponding event content can be the relevant content of the object clicked by the user, etc.; if the event to be responded to is a user motion status event, such as an event of a user running, the corresponding event content can be the time and route of the user's running, as well as the user's physical parameters, etc.
[0050] If the event to be responded to is an application notification event of an electronic device, such as a takeaway notification event in an electronic device, the event content of the takeaway notification event can be obtained based on the order information, real-time delivery path information, etc. in the takeaway, for example, the event content can be content information representing the delivery progress of the takeaway; for example, the event to be responded to can be a meeting notification event, and the event content can be obtained based on the information of the meeting notification, for example, the event content can be information representing the meeting location, event or urgency, etc.; for example, the event to be responded to can be a weather warning notification event, and the event content can be obtained based on the current weather status information.
[0051] In an embodiment of the present application, when an event to be responded to is detected from any source of an electronic device, the event content of the event to be responded to is obtained. The event content can more accurately reflect the event characteristics of the event to be responded to, providing an accurate data basis for the subsequent generation of display images.
[0052] In step S102, a display image may be generated based on the target object's image features and the event content, wherein additional features of the target object in the display image match the event content. The target object represents a unified animated image capable of responding to different pending events. The target object may be an object in a user-specified image, such as a pet image in a user-taken pet photo, or a system-default animated image. The target object's image features may include basic appearance features of the target object, such as basic parameters such as the target object's outline, color, and expression.
[0053] The additional features of the target object in the displayed image may include features that match the event content, such as the target object's action features, dress features, or scene features that match the event content. For example, if the target object is the image of a pet dog, the pet dog may present different additional features for the event content corresponding to different pending events. For example, if the pending event is a takeout delivery event, the pet dog's additional features may include a takeout box and a vehicle. If the pending event is a weather notification event, the pet dog's additional features may include weather scene features and decorative features, such as the pet dog wearing accessories corresponding to different weather characteristics. In some embodiments, the target object's additional features may also include adaptively adjustable dynamic features. The adaptively adjustable dynamic features may be adjustment parameters that adapt to different pending events or different display areas, such as the size and posture of the target object. In this way, when responding to pending events from different sources or different types, different event contents can be personalized based on the target object with a unified image feature and different additional features, so that the generated display image better matches the event content of the pending event.
[0054] After obtaining the display image, the display image can be controlled to be displayed in the target display area in step S103. The target display area can be different display areas from the electronic device, such as the target display area can be the lock screen interface of the electronic device, the main screen desktop of the electronic device, or the floating window area of the notification center, etc. Correspondingly, the target display area can also be determined based on the different forms of the electronic device. In the embodiment of the present application, the display area specified by the user can be determined as the target display area, the target display area can be determined according to the current application state of the electronic device, and the display area where the original notification information of the event to be responded to is presented can also be determined as the target display area.
[0055] According to the display characteristics of different target display areas, such as the size of the display area, the resolution of the display area, or other display content currently presented in the display area, the display parameters of the target image are determined, such as the display brightness and display resolution of the target image. Based on the display parameters, the target image is controlled to be displayed in the target display area, so that the display effect of the target image better matches the target display area, thereby improving the display effect of the target image.
[0056] In the display control method provided in the embodiment of the present application, the electronic device can respond to pending events from any source based on the same target object. When generating the target display image, the additional features of the target object in the target image are matched with the event content. In this way, different pending events can be presented using a unified target object, and different event contents are matched through different additional features of the target object. This can achieve a unified visual style display across application events, meet personalized display needs, and display the image in the corresponding display area to prompt the user to pay attention, thereby improving the efficiency of event information communication.
[0057] The following describes the relevant features of the display control method in the embodiment of the present application in combination with actual application scenarios.
[0058] In one embodiment of the present application, before detecting a pending event from any source on an electronic device, the display control method includes: obtaining an image characteristic of a target object. Accordingly, generating a display image based on the image characteristic of the target object and the event content may include the following steps:
[0059] The additional features of the target object are determined based on the event content, and different event contents correspond to different additional features of the target object; based on the image features and additional features of the target object, a display image is generated.
[0060] In the embodiments of the present application, the image characteristics of the target object can be user-specified image characteristics or system-default image characteristics. In one embodiment, obtaining the image characteristics of the target object includes: obtaining a target image, the target image including at least one object; and determining the image characteristics of the target object based on the target image using an image processing model. The target image includes at least one object.
[0061] In an embodiment, the target image can be a designated image uploaded by the user, or it can be a target image determined based on the image information in the current electronic device, such as the target image can be the current wallpaper of the electronic device, the user's avatar, or an image frequently used by the user. After obtaining the target image, the processing system can generate prompt information, such as prompting the image features of the target object for selecting the target image, and determining the image features of the target object based on the user's feedback information. For example, if the target image includes cartoon images of a kitten and a puppy, when the user selects the puppy, the puppy's outline, color, and other features can be extracted to determine the puppy as the image features of the target object. Correspondingly, after obtaining the target image, the target image can be automatically analyzed based on the image processing model to determine the image features of the target object. The image processing model can be a computer vision model based on deep learning, which can be trained based on a public image dataset and a user-defined image dataset. The image processing model can use contour extraction, color recognition, expression classification, etc. as training tasks, so that the image features of the target object of the target image can be obtained based on the image processing model. Correspondingly, the image of a real object can also be converted into a cartoon image through the image processing model. As shown in FIG. Figure 2 , which shows a schematic diagram of the image characteristics of a target object provided by an embodiment of the present application. A user takes an image of a pet dog and inputs the image of the pet dog into an image processing model. The image processing model processes the image to obtain a cartoon image of the pet dog, which serves as the image characteristics of the target object in the subsequent generated display image. In this embodiment of the present application, the image processing model improves the efficiency and accuracy of obtaining the image characteristics of the target object.
[0062] Correspondingly, in another embodiment of the present application, obtaining the image characteristics of the target object may further include: determining the image characteristics of the target object based on user input information. The user input information may be textual information, such as information describing the image characteristics of the target object to be generated. For example, the user inputs relevant information about the desired cartoon image of a kitten, and then the image characteristics of the target object are determined based on the relevant information. The user input information may also be an image template and include adjustment information about the object in the image template. For example, if the image template includes a cartoon image of a kitten, the adjustment information may include information about the kitten's color, posture, or size. In this way, the kitten image in the template can be adjusted based on the adjustment information to obtain the image characteristics of the target object, i.e., the image characteristics of the kitten that match the user's description. In the embodiment of the present application, the pending events from different sources of the electronic device correspond to the same image characteristics of the target object. The image characteristics of the target object represent a cartoon image of a kitten. In a takeout delivery notification event, the cartoon image of the kitten is displayed as the image of a takeout delivery driver, and in a weather notification event, the cartoon image of the kitten can be displayed as a weather forecaster. In this way, the image characteristics of the target object can be used to achieve a unified visual style display across application events.
[0063] In order to achieve personalized display of event content, in the embodiment of the present application, additional features of the target object can also be determined based on the event content, and different event contents correspond to different additional features of the target object; based on the image features and additional features of the target object, a display image is generated.
[0064] Event content can be subject to text recognition and processing, such as extracting keywords from the event description text to determine the event type. Additional features of the target object can then be determined based on the event type. Furthermore, based on the feature types within the additional features, the feature content corresponding to each feature type can be determined. For example, feature types include behavioral features, attire features, and scene features. For example, if the event type is a product delivery event, additional features could include behavioral features of the target object riding a bicycle, attire features such as the target object wearing a takeout box, or scene features from street view images. For another example, if the event content is weather notification information, additional features of the target object could include features such as a raincoat, an umbrella, and weather information signs.
[0065] See also Figure 3 , which is a schematic diagram of target objects for different events provided in an embodiment of the present application, Figure 3The first image on the left in the center represents the target object for a food delivery event, while the second image represents the target object for a weather notification event. The target objects in both images share the same visual characteristics: a cartoon dog. However, their additional features differ. The cartoon dog for the food delivery event uses a hat as an additional feature to represent the event content, while the cartoon dog for the weather notification event uses a weather sign and raindrops as additional features to represent the corresponding weather characteristics. This achieves a unified visual style for displaying events across applications while also meeting personalized display needs.
[0066] In one implementation of the embodiment of the present application, the additional features of the target object include at least one of a dress feature and a behavior feature; wherein the dress feature represents the dress of the target object that matches the event content; and the behavior feature represents the behavior of the target object that matches the event content.
[0067] The additional features of the target object refer to dynamic attributes that directly match the event content of the event to be responded to, and are used to enhance the relevance and visual expressiveness of the displayed image and the event. For example, they may include: dress features and behavior features. The state features represent the dress of the target object that matches the event content, and may be the clothing worn, props carried, or logo displayed by the target object to adapt to the event content. For example, the "safety helmet" in the dress features can be associated with event content such as delivery or construction scenes; the "raincoat" in the dress features can be associated with event content such as weather scenes. The behavior features represent the behavior that matches the target object with the event content, and may be the action or gesture performed by the target object in response to the event content. The event progress is dynamically presented through action logic. For example, the "riding a bicycle" feature in the behavior features represents the event content in delivery, and the "waving" feature in the behavior features can represent the event content of a message reminder. In the embodiment of the present application, the dressing features and behavioral features in the additional features can be determined according to different types of event content, or the same event type can correspond to different dressing features and / or behavioral features. For example, the dressing features of the target objects corresponding to the same type of events from different sources can also be different. For example, the target object corresponding to the first food delivery application and the target object corresponding to the second food delivery application have the same image features, but their dressing features are different. For example, the colors of the helmets worn by the two target objects can be different, and the way the prompt information is displayed can also be different. In this way, the user can clearly know which application the notification event comes from based on different dressing features. In the embodiment of the present application, the image features of the target object are combined with the architecture of replaceable additional features to achieve flexible adaptation of the same target object across scenarios, reduce content production costs, and facilitate users to quickly learn about notifications of different types of events, thereby improving user experience.
[0068] In one implementation of the embodiment of the present application, generating a display image based on the image features of the target object and the event content may also include: generating scene features according to the event content; generating a display image based on the image features, additional features and scene features of the target object.
[0069] In this embodiment, scene features refer to background elements such as the environment, weather, and time that match the event content of the event to be responded to. They are used to construct the scene in which the target object is located and enhance the narrative and immersiveness of the displayed image. Among them, environmental features can describe the physical space where the target object is located, such as city streets, indoor living rooms, forests, etc.; weather features represent the weather conditions when the event to be responded to occurs, such as sunny days, rainy days, etc.; and time features reflect the time period attributes of the event, such as daytime, nighttime, early morning, and dusk, which can be controlled by parameters such as light intensity and color temperature. In the process of generating the display image, key information such as "takeout delivery," "rainstorm warning," and "birthday party" can be extracted from the notification content of the event to be responded to. This key information is determined as the event content, and then the event content is matched with the image features, additional features, and scene features of the target object to obtain the display image. For example, a prefabricated scene model (such as a 3D model of a city street or a 2D image background) is loaded according to the environmental characteristics, and the image features (contour, color) and additional features (dress, behavior) of the target object are synthesized into a character animation and placed in a suitable position in the scene (such as the center of the street); according to the weather and time characteristics, lighting and particle effects (such as sunlight shadows and raindrop tracks) are superimposed, and then the above image is rendered to obtain the display image.
[0070] In one implementation of the embodiment of the present application, the displayed image is a dynamic display image, which contains at least one of the following animation contents: animation content generated based on the behavioral characteristics of the target object, and animation content generated based on the scene characteristics corresponding to the event content.
[0071] A dynamic display image refers to a visual output containing animated content, and its dynamic elements can be derived from the behavioral characteristics of the target object, the scene characteristics, or a combination of the two. Animated display images can be images generated by a dynamic target object and a static scene. Behavioral characteristics (such as waving, riding a bicycle) can be realized through skeletal animation or frame-by-frame animation. The skeletal nodes are bound to the scene coordinates to ensure that the action does not exceed the background range, thereby obtaining the target object animation, and then loading a static background image (such as a city street panorama) to obtain the final display image. For example, the event to be responded to is a message notification event, and the event content can be the information content of a new friend request received. The generated display image can be the target object (kitten) standing in front of a static living room background, performing the "waving and turning to look at the phone" action.
[0072] Dynamically displayed images can also be images determined based on a static target object and a dynamic scene, that is, the target object maintains a static posture, and the background scene contains dynamic elements or special effects. Static images can be generated based on image features (such as a default standing posture), fixed dressing features (such as a birthday hat) can be superimposed, and weather and environmental dynamics (such as snow and traffic) can be realized through particle systems or animation clips. For example, the event to be responded to is a weather notification event, and the corresponding event content is a heavy snow warning notification. The dynamically displayed image can be a static target object (a puppy) wearing a scarf standing in the center of the screen, and the background scene has an animation of snowflake particles falling and tree branches swaying in the storm.
[0073] Dynamic display images can also be generated based on dynamic target objects and dynamic scenes, that is, the target object's actions are linked to the dynamic elements of the scene to form an immersive interactive experience. The target object's actions trigger scene reactions (such as riding a bicycle over accumulated water to produce splashes), or scene changes affect the state of the target object (such as heavy rain and wind pushing the target object's body to sway slightly). For example, the event to be responded to is a takeaway delivery event, and the event content is that the takeaway is being delivered and encounters a congested road section. Correspondingly, the dynamic display image can be the target object (squirrel) riding a bicycle through a dynamically congested street, with vehicle horns flashing and pedestrians waving.
[0074] In another embodiment of the present application, the display image may also be a static display image, that is, generated based on a static target object and a static scene. Correspondingly, the target object and the scene in the display image have no animation content and are presented as a static picture. This type of display image can be suitable for low-power devices (such as electronic ink screen devices) or users who prefer a concise style; it can also be suitable for event types that do not require dynamic expression (such as "schedule reminder", "device is connected to WiFi"). For example, the event to be responded to may be a meeting notification event, and the display image may be the target object (penguin) wearing a suit and tie (dress feature), standing in front of an office background, with a meeting time text label superimposed on the top of the screen.
[0075] In order to better display the display image, the display image can be controlled to be displayed in the target display area. Correspondingly, the process may include:
[0076] Based on at least one of the device form of the electronic device and the pending event, a display mode of the display image is determined, wherein the display mode includes at least one of a wallpaper mode and a notification mode; the wallpaper mode indicates that the display image is displayed in the form of wallpaper; and the notification mode indicates that the display image is displayed in the form of notification information. The display image is controlled to be displayed in the target display area in the corresponding display mode.
[0077] In this embodiment, the device form of an electronic device may refer to the physical structural state of the electronic device, including the device form corresponding to a straight-screen phone, such as a tablet computer, etc.; it may also include the device form corresponding to a folding phone, and the corresponding electronic device may include a foldable screen device, which is divided into a "folding form" (single-screen display on the external screen) and an "unfolding form" (full-screen display on the internal screen). The display mode of the displayed image may be determined according to the device form of the electronic device, and the display mode of the displayed image may also be determined according to the event to be responded to, or the two may be combined to jointly determine the display mode of the displayed image. When determining the display mode of the displayed image based on the event to be responded to, it may be determined according to the classification of the event to be responded to. The event to be responded to includes high-frequency lightweight events such as social messages and call reminders (which require quick notification to the user); it may also include low-frequency immersive events such as navigation instructions and video playback progress (which require full-screen interaction).
[0078] In the embodiment of the present application, the display modes include wallpaper mode and notification mode. Wallpaper mode indicates that the display image is displayed in the form of wallpaper, such as displaying the display image on the lock screen interface, home screen interface, etc.; notification mode indicates that the display image is displayed in the form of notification information, such as displaying the display image on the notification bar, foldable screen, etc. Correspondingly, the display mode may also include extended mode, such as split-screen display or in-vehicle projection display, such as displaying the display image on the split screen of a tablet computer or the in-vehicle central control screen.
[0079] For example, if the electronic device is a candy-bar device, the pending event, such as a low-frequency immersive event, could be a notification indicating the completion of navigation route planning. If the electronic device is currently locked and a lock screen trigger is detected, the display mode can be set to wallpaper mode, rendering a dynamic image (e.g., a target object with "direction gestures and a 3D map scene") full-screen to the lock screen, overlaying the native wallpaper. Furthermore, if the target object points to the right side of the screen, a route arrow dynamically loads on the background map, updating the location progress every second. This allows the user to intuitively view the navigation overview before unlocking the device, without obscuring basic information such as the time and battery level. Conversely, if the electronic device is in home screen mode and the event type is a message notification from a messaging app, the display mode can be set to notification mode, such as displaying a thumbnail dynamic image (the target object's features may include "waving hands and speech bubbles") in the notification bar at the top of the screen, sized 20% of the screen width, with the height automatically adapted to the animated content. Clicking the dynamic image directly jumps to the chat interface. This allows users to perceive new messages without interrupting their current activity, and dynamic icons increase notification awareness.
[0080] For example, if the electronic device is in a foldable form, that is, the external screen is displayed. If the event is a notification event of the arrival of a courier, the display mode can be set to notification mode, and the dynamic display image can be adapted to the narrow aspect ratio of the external screen, as shown in the following example. Figure 4 The target object (puppy) is displayed in the center of the screen, with its width occupying 80% of the outer screen and its height automatically compressed to avoid stretching. If the electronic device is currently unfolded, that is, after the device is unfolded and detects that the inner screen is the primary display area, and the event type is a low-frequency family scene, the display mode is determined to be wallpaper mode. For example, the target object (kitten) can be displayed in the inner screen display area, with the action of "wearing a birthday hat and blowing out candles" against a living room party scene. Gesture swiping is supported to switch between different animation clips (such as cutting a cake and opening gifts).
[0081] For example, if a user is using two apps simultaneously and the event is a notification from one of the apps, the display mode could be split-screen, with the dynamic image displayed as a small window in an area outside the primary app (such as the right quarter of the video playback interface). The target object's behavioral characteristics are adapted to the current split-screen scenario (for example, a chat app notification triggering a "wave" action does not obstruct the video).
[0082] In this way, in the embodiment of the present application, the display image is adapted to different device forms of the electronic device, thereby improving the user experience.
[0083] Correspondingly, in one implementation of the embodiment of the present application, controlling the display image to be displayed in the target display area includes: setting the display image as the wallpaper of the target display area to be displayed in the target display area. In this implementation, after obtaining the display image, the display image can be directly set as the wallpaper of the target display area corresponding to the electronic device. The target display area can be the lock screen display area and the main screen. Therefore, the display image can be directly set as the lock screen or main screen wallpaper of the electronic device, covering the native background. In this mode, the display image can be directly set as the wallpaper without real-time detection of the device status or parsing of the event content, thereby reducing the processor load.
[0084] In one implementation of the embodiment of the present application, generating a display image based on the image features and event content of the target object includes: inputting the image features and event content of the target object into a generative model so that the generative model generates a display image.
[0085] The generative model can be an artificial intelligence (AI) model based on deep learning, which automatically generates images that conform to these rules by learning the distribution patterns of training data. Compared to image processing methods that use feature mapping and template rendering, the generative model can generate personalized display images directly based on the image characteristics of the target object and the event content, improving the diversity and intelligence of image content and the efficiency of display image generation. The training dataset for the generative model can include the target object image and the mapping information between the event content and the image. For example, the target object image can be collected from tens of thousands of pet photos or cartoon character images, annotated with labels such as outline, color, and expression. The mapping information between event content and image can be obtained by manually annotating event text and display image samples, such as a "puppy riding a bicycle" image for a food delivery, thereby constructing cross-modal training data. The generative model is then trained based on the selected model architecture and training data to obtain the generative model. For example, the event content is "The express delivery has been signed for and the package has been stored in the express cabinet", and the image feature of the target object is a user-defined robot image. By inputting these two pieces of information into the generative model, a display image can be output. The display image can present the target object (green robot), appearance features (scanning gun), behavioral features (pointing action), and scene features (express cabinet and blue background). All elements are automatically coordinated through the generative model, and there is no need for manual design of animation templates.
[0086] When the display image in the embodiment of the present application is displayed in the display area, the target object in the display area is updated according to the update information of the event content, such as updating the additional features of the target object. For example, when it is recognized that the weather notification information changes from raining to sunny, the original feature of the target object holding an umbrella can be updated to an image of the sun in the background image, such as Figure 5 That is, the display image seen by the user in the target display area is matched with the event content in real time, which allows the user to obtain relevant information about the event more vividly and vividly, thereby improving the user experience.
[0087] In the embodiment of the present application, an electronic device is also provided. Figure 6 , the electronic device comprises:
[0088] A display device 201, wherein the display device has a target display area;
[0089] Processor 202, the processor is used to obtain the event content of the event to be responded to when detecting a pending event from any source of the electronic device; generate a display image based on the image characteristics of the target object and the event content; and control the display image to be displayed in the target display area, wherein the additional characteristics of the target object in the display image match the event content.
[0090] Optionally, the processor is further configured to execute:
[0091] Before detecting an event to be responded to from any source of the electronic device, the method includes:
[0092] Obtaining image features of the target object;
[0093] Generating a display image based on the image characteristics of the target object and the event content includes:
[0094] Determining additional features of the target object based on the event content, where different event contents correspond to different additional features of the target object;
[0095] The display image is generated based on the image feature of the target object and the additional feature.
[0096] Optionally, the additional features of the target object include at least one of a dress feature and a behavior feature;
[0097] The dress feature represents the dress of the target object that matches the event content; and the behavior feature represents the behavior of the target object that matches the event content.
[0098] Optionally, generating a display image based on the image features of the target object and the event content further includes:
[0099] generating scene features according to the event content;
[0100] The display image is generated based on the image feature of the target object, the additional feature and the scene feature.
[0101] Optionally, the display image is a dynamic display image, and the dynamic display image contains at least one of the following animation contents: animation content generated based on behavioral characteristics of the target object, and animation content generated based on scene characteristics corresponding to the event content.
[0102] Optionally, obtaining the image features of the target object includes:
[0103] obtaining a target image, wherein the target image includes at least one object;
[0104] determining the image features of the target object based on the target image using an image processing model;
[0105] Alternatively, determining the image features of the target object based on the user's input information;
[0106] The events to be responded to from different sources of the electronic device correspond to the image features of the same target object.
[0107] Optionally, controlling the display image to be displayed in a target display area includes:
[0108] determining a display mode of the display image based on at least one of a device form of the electronic device and the event to be responded to, wherein the display mode includes at least one of a wallpaper mode and a notification mode; the wallpaper mode indicates that the display image is displayed in the form of wallpaper; and the notification mode indicates that the display image is displayed in the form of notification information;
[0109] The display image is controlled to be displayed in the target display area in a corresponding display mode.
[0110] Optionally, controlling the display image to be displayed in a target display area includes:
[0111] The display image is set as a wallpaper of the target display area to be displayed in the target display area.
[0112] Optionally, generating a display image based on the image features of the target object and the event content includes:
[0113] The image features of the target object and the event content are input into a generative model so that the generative model generates the display image.
[0114] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0115] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0116] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0117] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0118] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A display control method, comprising: When an event to be responded to is detected from any source of the electronic device, obtaining the event content of the event to be responded to; generating a display image based on the image features of the target object and the event content; wherein the additional features of the target object in the display image match the event content; The display image is controlled to be displayed in a target display area.
2. The method according to claim 1, before detecting an event to be responded to from any source of the electronic device, the method comprising: Obtaining image features of the target object; Generating a display image based on the image characteristics of the target object and the event content includes: Determining additional features of the target object based on the event content, where different event contents correspond to different additional features of the target object; The display image is generated based on the image feature of the target object and the additional feature.
3. The method according to claim 2, wherein the additional characteristics of the target object include at least one of a dress characteristic and a behavior characteristic; in, The dress feature represents the dress of the target object that matches the event content; the behavior feature represents the behavior of the target object that matches the event content.
4. The method according to claim 2, wherein generating a display image based on the image characteristics of the target object and the event content further comprises: generating scene features according to the event content; The display image is generated based on the image feature of the target object, the additional feature and the scene feature.
5. According to any one of the methods described in claims 2 to 4, the displayed image is a dynamic display image, and the dynamic display image contains at least one of the following animation contents: animation content generated based on the behavioral characteristics of the target object, and animation content generated based on the scene characteristics corresponding to the event content.
6. The method according to claim 2, wherein obtaining the image characteristics of the target object comprises: obtaining a target image, wherein the target image includes at least one object; determining the image features of the target object based on the target image using an image processing model; Alternatively, determining the image features of the target object based on the user's input information; The events to be responded to from different sources of the electronic device correspond to the image features of the same target object.
7. The method according to claim 1, wherein controlling the display image to be displayed in the target display area comprises: determining a display mode of the display image based on at least one of a device form of the electronic device and the event to be responded to, wherein the display mode includes at least one of a wallpaper mode and a notification mode; the wallpaper mode indicates that the display image is displayed in the form of wallpaper; and the notification mode indicates that the display image is displayed in the form of notification information; The display image is controlled to be displayed in the target display area in a corresponding display mode.
8. The method according to claim 1, wherein controlling the display image to be displayed in the target display area comprises: The display image is set as a wallpaper of the target display area to be displayed in the target display area.
9. The method according to claim 1, wherein generating a display image based on the image characteristics of the target object and the event content comprises: The image features of the target object and the event content are input into a generative model so that the generative model generates the display image.
10. An electronic device comprising: A display device having a target display area; a processor, configured to obtain event content of the event to be responded to when detecting an event to be responded to from any source of the electronic device; generating a display image based on the image features of the target object and the event content; The display image is controlled to be displayed in the target display area, wherein the additional features of the target object in the display image match the event content.