Content display method and device, electronic equipment and computer readable storage medium
By obtaining and updating the target content, dynamically displaying the appearance and expression of the virtual object, the problem of insufficient interactive experience of electronic devices in the off-screen state is solved, and higher interactivity and user experience is achieved.
Patent Information
- Application Number
- CN202310827585.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-06
- Publication Date
- 2025-01-07
AI Technical Summary
The existing electronic devices have a weak interactive experience with users under the screen-off display state and lack effective interactive content.
By obtaining the target content in the current time period, update the image content of the virtual object, including appearance and expression, and display the target virtual object on the screen to improve the user's interactive experience with the device.
It enhances the interactive experience between users and electronic devices in the screen-off display state, and reflects the target content in the current time period through dynamically updated virtual objects, improving interactivity and user experience.
Smart Images

Figure CN119276976A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and more specifically, to a content display method, device, electronic device, and computer-readable storage medium. Background Art
[0002] At present, with the development of electronic information technology, electronic devices can have an always-on display (AOD) function. Users can interact with electronic devices in the always-on display state. However, the content displayed by electronic devices in the always-on display state currently has a weak interactive experience with users. Summary of the invention
[0003] The present application proposes a content display method, device, electronic device and computer-readable storage medium.
[0004] In a first aspect, an embodiment of the present application provides a content display method, which is applied to an electronic device, wherein the electronic device is in a screen-off display state, the method comprising: obtaining target content within a current time period based on the electronic device; updating the image content of a virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression; and displaying the target virtual object on a screen of the electronic device.
[0005] In a second aspect, an embodiment of the present application further provides a content display device, which is applied to an electronic device, and the electronic device is in a screen-off display state. The device includes: an acquisition unit, which is used to acquire target content within a current time period based on the electronic device; an update unit, which is used to update the image content of a virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression; and a display unit, which is used to display the target virtual object on the screen of the electronic device.
[0006] In a third aspect, an embodiment of the present application also provides an electronic device, comprising: one or more processors; a memory; a screen, the screen being connected to the processor; and one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors so that the electronic device executes the method described in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method described in the first aspect.
[0008] The content display method, device, electronic device and computer-readable storage medium provided by the present application first obtain the target content within the current time period based on the electronic device, then update the image content of the virtual object based on the target content, obtain the updated target virtual object, the image content includes at least one of appearance and expression, and then display the target virtual object on the screen. The image content in the embodiment of the present application is at least one of appearance and expression, and the image content is updated based on the target content. Therefore, the target virtual object is not a pre-set object, but can be updated and transformed based on different target content, and the target content is obtained in the current time period. Therefore, the updated target virtual object can reflect the target content within the current time period obtained by the electronic device to a certain extent. Therefore, the electronic device can improve the interactive experience between the user and the electronic device by displaying the target virtual object on the screen.
[0009] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by practicing the embodiments of the present application. The purposes and other advantages of the embodiments of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0011] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown;
[0012] Figure 2 A method flow chart of a content display method provided by an embodiment of the present application is shown;
[0013] Figure 3 A method flow chart of a content display method provided by another embodiment of the present application is shown;
[0014] Figure 4 A schematic diagram of a target virtual object provided by an embodiment of the present application is shown;
[0015] Figure 5 A schematic diagram of a target virtual object provided by another embodiment of the present application is shown;
[0016] Figure 6 A schematic diagram of a target virtual object provided by another embodiment of the present application is shown;
[0017] Figure 7 A schematic diagram of a target virtual object provided by another embodiment of the present application is shown;
[0018] Figure 8 A schematic diagram of a target virtual object provided by another embodiment of the present application is shown;
[0019] Fig. 9 A schematic diagram showing a target virtual object provided by an embodiment of the present application is shown;
[0020] Fig.10 A method flow chart of a content display method provided by yet another embodiment of the present application is shown;
[0021] Fig.11 A schematic diagram showing prompt information of a target virtual object provided by an embodiment of the present application is shown;
[0022] Fig.12 A schematic diagram showing a target virtual object display prompt information provided by another embodiment of the present application
[0023] Fig.13 A structural block diagram of a content display device provided in an embodiment of the present application is shown;
[0024] Fig.14 A structural block diagram of an electronic device provided by another embodiment of the present application is shown;
[0025] Fig.15 A structural block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown;
[0026] Fig.16 A structural block diagram of a computer program product provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0029] At present, with the development of electronic information technology, electronic devices can have an always-on display (AOD) function. Users can interact with electronic devices in the always-on display state. However, the content displayed by electronic devices in the always-on display state currently has a weak interactive experience with users. How to improve the interactive experience between electronic devices in the always-on display state and users is a problem that needs to be solved urgently.
[0030] At present, if an electronic device obtains a screen-off command, it can enter a standby state. In an exemplary embodiment, a user can input a screen-off command, for example, a user can press a lock screen button of an electronic device to input a screen-off command, or a user can touch a position corresponding to the lock screen on a touch screen of an electronic device to input a screen-off command, and the electronic device can control the screen to quickly go black and switch to a standby state.
[0031] When the electronic device is in the off-screen display state, it can interact with the user to a certain extent, such as introducing animation for playback. However, the inventor found in the research that the content displayed by the current electronic device in the off-screen display state has a low sense of interaction with the user.
[0032] Therefore, in order to overcome the above-mentioned defects, the present application provides a content display method, device, electronic device and computer-readable storage medium.
[0033] See also Figure 1 , Figure 1 A schematic diagram of the structure of an electronic device in an embodiment of the present application is shown. The electronic device 100 includes a processor 110 and a screen 120 , wherein the screen 120 is connected to the processor 110 .
[0034] The electronic device 100 can enter the screen-off display state in response to the screen-off instruction. When the electronic device 100 is in the screen-off display state, the target virtual object can be displayed. The screen-off instruction can be issued by the user, such as when the user presses the lock screen button on the electronic device 100; it can also be automatically generated by the electronic device, such as when the electronic device 100 does not detect the user's control operation on the electronic device 100 within a specified time, such as within 1 minute, or within 30 seconds, etc., then the screen-off instruction is automatically generated. The target virtual object is obtained by updating the pre-set virtual object with the target content within the current time period obtained by the electronic device 100, for example, it can be obtained by updating the pre-set virtual object with the target content obtained by the specified application in the electronic device 100. The target content obtained based on different specified applications can be different, so that the pre-set virtual object can be updated based on different target content. As an exemplary example, the designated application may be a weather application type application, thereby determining the target content based on the weather application type application, and then updating the virtual object based on the target content; for another example, the designated application may also be a calendar application type application, thereby determining the target content based on the calendar application type application, and then updating the virtual object based on the target content; for another example, the designated application may also be an instant messaging application type application, and then updating the virtual object based on the target content.
[0035] For some embodiments, the screen 120 may be connected to the processor 110, so that the processor 110 may control the screen 120 to display the target virtual object. Optionally, when the screen 120 displays the target virtual object, it may also display prompt information through the target virtual object, wherein the prompt information is generated based on the target content, and for a specific introduction, please refer to the subsequent embodiments.
[0036] See also Figure 2 , Figure 2 A content display method provided by an embodiment of the present application is shown, and the content display method can be applied to Figure 1 The electronic device 100 shown in the figure can be specifically applied to the processor 110 in the electronic device 100. The content display method includes steps S110 to S130.
[0037] Step S110: Acquire target content within the current time period.
[0038] In some embodiments, the electronic device can be in a screen-off display state. When the electronic device is in the screen-off display state, it can interact with the user to a certain extent, such as introducing animations for playback, displaying some virtual objects, etc. However, if only by pre-setting some objects, such as cartoon characters or cartoon animal images, etc., when the electronic device is in the screen-off display state, an object is selected from some pre-set objects for display, so as to achieve interaction with the user, the user's interactive experience with the electronic device will be weak. Therefore, in the embodiments provided in the present application, the pre-set virtual object can be updated by specifying an application, so that the updated virtual object is displayed on the screen, and the updated virtual object is associated with the specified application, which can enhance the user's interactive experience with the electronic device.
[0039] Specifically, the target content within the current time period can be first obtained. It is not difficult to understand that the electronic device can run different applications, such as weather applications, schedule applications, instant messaging applications, and audio and video playback applications, so that the target content can be obtained through the specified application, wherein the specified application can be at least one of the weather application, schedule application, and instant messaging application.
[0040] Furthermore, in order to enhance the user's interactive experience with the electronic device, the virtual object can be updated with the target content later. Since the target content in the current time period is different in different time periods, the virtual object can be updated with different target content, thereby enhancing the user's interactive experience with the electronic device.
[0041] As an exemplary example, if the designated application includes a weather application, the target content in the current time period may be the current weather information; if the designated application includes a calendar application, the target content in the current time period may be the calendar information for the current date; if the designated application includes an instant messaging type application, the target content in the current time period may be the currently received push message.
[0042] The virtual object may be pre-set. For example, the virtual object may be set when the electronic device leaves the factory, so that the user can directly use the virtual object when using the electronic device later. For another example, the virtual object may be obtained by further adjusting the appearance or expression of the initial object based on the initial object preset when the electronic device is shipped. For another example, the virtual object may be obtained by first selecting an initial object from multiple initial objects and then further adjusting the appearance or expression of the initial object. For a specific introduction, please refer to the subsequent steps.
[0043] Step S120: updating the image content of the virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression.
[0044] In some embodiments, the user may pre-establish a virtual object in the electronic device. In an exemplary embodiment, the electronic device may provide an application for establishing the virtual object. The user may select an initial virtual object through the application for establishing the virtual object, and then adjust the appearance of the initial virtual object to obtain the virtual object. The application for establishing the virtual object may provide a variety of initial virtual objects, such as a cartoon male avatar, a cartoon female avatar, a cartoon boy's full body picture, or a cartoon girl's full body picture. After the user selects the initial virtual object, the initial virtual object generally has a default appearance. At this time, the user may further adjust the appearance of the initial virtual object, such as adjusting the size of the eyes, eyelash color, eyelash thickness, pupil color, mouth size, nose size, limb length or limb thickness of the initial virtual object. Thus, the adjusted initial virtual object may be used as a virtual object.
[0045] It is easy to understand that if the user does not adjust the default appearance after selecting the initial virtual object, then the initial virtual object can be regarded as a virtual object.
[0046] Optionally, after selecting the initial virtual object, the user may also configure the appearance of the initial virtual object, such as configuring sunglasses, myopic glasses, a hat, shorts or a short skirt, etc. for the initial virtual object, so that the initial virtual object with the configured appearance can be used as a virtual object.
[0047] In an exemplary embodiment, the virtual object may be an Omoji character.
[0048] It should be noted that the above specific introduction to adjusting the appearance of the initial virtual object and configuring the appearance of the initial virtual object is only an illustration. In practical applications, the appearance to be adjusted and the appearance to be configured can be flexibly set as needed, and the embodiments of the present application do not make specific limitations.
[0049] Further, after the target content is obtained, the image content of the virtual object can be updated based on the target content, thereby obtaining an updated target virtual object. The image content can include at least one of appearance and expression. Thus, at least one of the appearance and expression of the virtual object can be updated based on the target content, thereby obtaining an updated target virtual object.
[0050] In an exemplary embodiment, clothing parameters may be determined based on the target content, so that the appearance of the virtual object may be updated through the clothing parameters; emotional parameters may be determined based on the target content, so that the expression of the virtual object may be updated through the emotional parameters; clothing parameters and emotional parameters may also be determined based on the target content, so that the appearance of the virtual object may be updated through the clothing parameters, and the expression of the virtual object may be updated through the emotional parameters. For details, please refer to the introduction of the subsequent embodiments.
[0051] Step S130: Displaying the target virtual object on the screen of the electronic device.
[0052] As can be seen from the above introduction, when the electronic device is in the screen-off display state, some content can be displayed on the screen to achieve interaction with the user. Therefore, after the target virtual object is acquired, the target virtual object can be displayed on the screen of the electronic device.
[0053] It is not difficult to understand that, since the target content may include different information, and the target virtual object updates the image content through the target content, the target virtual object can reflect the information of the target content to a certain extent.
[0054] The target content information refers to the information included in the target content. For example, the target content may include current weather information, schedule information for the current date, and currently received push messages.
[0055] In an exemplary embodiment, the target content may include current weather information. If the current weather information indicates that it is raining, then an umbrella or raincoat may be updated for the appearance of the virtual object to obtain the target virtual object. Thus, displaying the target virtual object including an umbrella or raincoat on the screen may indicate that the weather in the current time period is raining.
[0056] In another exemplary embodiment, the target content may include schedule information for the current date. If the schedule information includes exercise schedule, sports glasses and a sweat towel may be updated for the appearance of the virtual object. Thus, displaying the target virtual object including sports glasses and a sweat towel on the screen may indicate that the schedule information for the current date includes exercise schedule.
[0057] Optionally, in addition to displaying the target virtual object on the screen of the electronic device, prompt information can also be displayed through the target virtual object, wherein the prompt information can be generated based on the target content, so that the information of the target content can be displayed more intuitively, thereby improving the interactive experience of the user and the electronic device. For a specific introduction, please refer to the subsequent embodiments.
[0058] The content display method provided by the present application first obtains the target content within the current time period based on the electronic device, then updates the image content of the virtual object based on the target content, obtains the updated target virtual object, and the image content includes at least one of appearance and expression, and then displays the target virtual object on the screen. The image content in the embodiment of the present application is at least one of appearance and expression, and the image content is updated based on the target content. Therefore, the target virtual object is not a pre-set object, but can be updated and transformed based on different target contents, and the target content is obtained within the current time period, so the updated target virtual object can reflect the target content within the current time period obtained by the electronic device to a certain extent. Therefore, the electronic device can improve the interactive experience between the user and the electronic device by displaying the target virtual object on the screen.
[0059] See also Figure 3 , Figure 3 A content display method provided by an embodiment of the present application is shown, and the content display method can be applied to Figure 1 The electronic device 100 shown in the figure can be specifically applied to the processor 110 in the electronic device 100. The content display method includes steps S210 to S240.
[0060] Step S210: Acquire target content within the current time period.
[0061] Among them, step S210 has been introduced in detail in the above embodiment and will not be repeated here.
[0062] Step S220: determining a target parameter based on the target content, the target parameter including at least one of a clothing parameter and an emotion parameter, the clothing parameter being used to update the appearance of the virtual object, and the emotion parameter being used to update the expression of the virtual object.
[0063] Step S230: updating the image content of the virtual object based on the target parameters to obtain an updated target virtual object.
[0064] In some embodiments, the target content may include different information, so that the image content of the virtual object is updated through the target content, and the updated target virtual object can be changed according to the different information of the target content, thereby improving the user's experience of interacting with the electronic device.
[0065] The target content may include at least one of current weather information, schedule information for the current date, and a currently received push message.
[0066] Specifically, a target parameter may be first determined based on the target content, the target parameter including at least one of a clothing parameter and an emotion parameter, the clothing parameter is used to update the appearance of the virtual object, and the emotion parameter is used to update the expression of the virtual object. Therefore, at least one of the appearance and the expression of the virtual object may be updated by the target parameter to obtain an updated target virtual object.
[0067] In an exemplary embodiment, if the target content in the current time period is the current weather information, the target parameter may include the first parameter. It should be noted that the target content of the current weather information may be obtained through a designated application of the electronic device, and the designated application may be a weather application; the designated application may also be an instant messaging type application, and the current weather information is obtained by obtaining and analyzing the messages pushed in the instant messaging application.
[0068] At this time, the first parameter can be determined based on the current weather information, and the image content of the pre-set virtual object can be updated by the first parameter. The first parameter may include at least one of a first clothing parameter and a first emotion parameter, the first clothing parameter can be used to update the appearance of the virtual object, and the first emotion parameter can be used to update the expression of the virtual object.
[0069] For example, if the current weather information is suitable weather, such as the temperature is between 15 degrees Celsius and 25 degrees Celsius, the first clothing parameter can be determined as sportswear; if the current weather information is colder weather, such as the temperature is less than 15 degrees Celsius, the first clothing parameter can be determined as a scarf and a thick hat; if the current weather information is hotter weather, such as the temperature is greater than 25 degrees Celsius, the first clothing parameter can be determined as sunglasses and a baseball cap.
[0070] Furthermore, if the current weather information is sunny, the first emotion parameter may be determined to be happy; if the current weather information is rainy, the first emotion parameter may be determined to be unhappy.
[0071] It should be noted that the first clothing parameter and the first emotion parameter determined based on the current weather information shown above are only examples, and can be flexibly adjusted according to needs in actual applications, and the embodiments of the present application do not make specific limitations.
[0072] Thus, the image content of the preset virtual object can be updated based on the first parameter to obtain an updated target virtual object. It is easy to understand that if the first parameter only includes the first clothing parameter, the appearance of the preset virtual object can be updated only by the first clothing parameter; similarly, if the first parameter only includes the first emotion parameter, the expression of the preset virtual object can be updated only by the first emotion parameter; if the first parameter includes the first clothing parameter and the first emotion parameter, the appearance of the preset virtual object can be updated by the first clothing parameter, and the expression of the preset virtual object can be updated by the first emotion parameter.
[0073] In the embodiment of the present application, the target content is the current weather information. Thus, the electronic device displays the target virtual object through the screen, and the user can obtain relevant information of the current weather information to a certain extent, which can improve the user's interactive experience with the electronic device.
[0074] For example, see Figure 4 , Figure 4 A schematic diagram of a target virtual object provided in an embodiment of the present application is shown. Figure 4 The first clothing parameter shown in the figure includes a scarf and a thick hat, then the appearance of the virtual object can be updated based on the scarf and the thick hat to obtain the target virtual object. The target virtual object 400 is displayed on the screen 120 of the electronic device 100. The target virtual object 400 is obtained after the appearance of the virtual object is updated by the scarf and the thick hat.
[0075] For another example, see Figure 5 , Figure 5 A schematic diagram of a target virtual object provided in an embodiment of the present application is shown. Figure 5 If the first clothing parameter includes sunglasses and a baseball cap, the pre-established virtual object can be configured based on the sunglasses and the baseball cap to obtain the target virtual object. The target virtual object 500 is displayed on the screen 120 of the electronic device 100. The target virtual object 500 is obtained after the appearance of the virtual object is updated by the sunglasses and the baseball cap.
[0076] For another example, see Figure 6 , Figure 6 A schematic diagram of a target virtual object provided in an embodiment of the present application is shown. Figure 6 If the first emotion parameter includes happiness, the pre-established virtual object can be configured based on the first emotion parameter to obtain the target virtual object. The target virtual object 600 is displayed on the screen 120 of the electronic device 100. The target virtual object 600 is obtained by updating the expression of the virtual object with the emotion of happiness.
[0077] Also see, for example, Figure 7 , Figure 7 A schematic diagram of a target virtual object provided in an embodiment of the present application is shown. Figure 7 If the first emotion parameter includes unhappiness, the pre-established virtual object can be configured based on the first emotion parameter to obtain the target virtual object. The target virtual object 700 is displayed on the screen 120 of the electronic device 100. The target virtual object 700 is obtained by updating the expression of the virtual object with the unhappy emotion.
[0078] It is easy to understand that Figure 4 , Figure 5 , Figure 6 as well as Figure 7 The target virtual object shown in the figure is only an example. In actual application, the target virtual object can also be any other desired image, which is not specifically limited in the embodiments of the present application. For example, the virtual object can also have a full body image, so that the appearance of the virtual object can also be updated through pants, shoes, etc.
[0079] It is easy to understand that, since the first parameter is determined based on the current weather information, the target virtual object is obtained by updating the first parameter, and the target virtual object can represent the current weather information to a certain extent. Therefore, when the user views the target virtual object, the user can also learn the current weather information through the target virtual object, thereby improving the user's interactive experience with the electronic device.
[0080] If the first parameter includes a first clothing parameter and a first emotion parameter, when executing step S220, step S221 and step S222 may also be included.
[0081] Step S221: Determine the first clothing parameter corresponding to the current weather information based on a pre-generated weather and clothing comparison table, wherein the weather and clothing comparison table includes at least one preset weather information and a preset first clothing parameter corresponding to each preset weather information.
[0082] Step S222: Determine the first emotion parameter corresponding to the current weather information based on a pre-generated weather and emotion comparison table, wherein the weather and emotion comparison table includes at least one preset weather information and a preset first emotion parameter corresponding to each preset weather information.
[0083] In some embodiments, a weather and clothing comparison table may be generated in advance, and the weather and clothing comparison table may include at least one preset weather information and a preset first clothing parameter corresponding to each preset weather information. In other words, the preset first clothing parameter having a mapping relationship with each preset weather information may be found through the weather and clothing comparison table.
[0084] In an exemplary manner, the preset weather information in the weather and clothing comparison table may include a temperature less than 15 degrees Celsius, a temperature between 15 degrees Celsius and 25 degrees Celsius, and a temperature greater than 25 degrees Celsius. The preset first clothing parameter corresponding to the preset weather information may specifically be that a scarf and a thick hat correspond to a temperature less than 15 degrees Celsius, sportswear corresponds to a temperature between 15 degrees Celsius and 25 degrees Celsius, and sunglasses and a baseball cap correspond to a temperature greater than 25 degrees Celsius.
[0085] Furthermore, a weather and mood comparison table may be generated in advance, and the weather and mood comparison table may include at least one preset weather information and a preset first mood parameter corresponding to each preset weather information. In other words, the preset first mood parameter having a mapping relationship with each preset weather information may be found through the weather and mood comparison table.
[0086] In an exemplary embodiment, the preset weather information in the weather and clothing comparison table may include rainy days and sunny days. The preset first emotion parameter corresponding to the preset weather information may specifically be that happiness corresponds to sunny days, and unhappiness corresponds to rainy days.
[0087] Therefore, after obtaining the target content, that is, after obtaining the current weather information, you can search the weather and clothing comparison table to see whether there is preset weather information that is the same as the current weather information. If so, the preset first clothing parameter corresponding to the preset weather information that is the same as the current weather information can be used as the first clothing parameter.
[0088] Similarly, it is also possible to check from the weather and emotion comparison table whether there is preset weather information that is the same as the current weather information. If so, the preset first emotion parameter corresponding to the preset weather information that is the same as the current weather information can be used as the first emotion parameter.
[0089] Therefore, the image content of the virtual object can be updated based on the first clothing parameter and the first emotion parameter to obtain an updated target virtual object.
[0090] In the embodiment of the present application, the image content is at least one of appearance and expression, the target content includes current weather information, and the first parameter used to update the image content is determined based on the current weather information. Therefore, the target virtual object obtained after the update can represent the current weather information to a certain extent, thereby improving the user's interactive experience with the electronic device when the target virtual object is displayed on the screen.
[0091] Another exemplary example is that if the target content in the current time period is the schedule information of the current date, the schedule information can be used to characterize the schedule of events, such as what to do and when. The schedule information can be pre-entered by the user and stored in the schedule application. At this time, the target parameter can include the second parameter. It should be noted that the target content of the schedule information of the current date can be obtained through a designated application of the electronic device, and the designated application can be a schedule application; the designated application can also be an instant messaging type application, and the schedule information of the current date is obtained by obtaining and analyzing the messages pushed in the instant messaging application.
[0092] At this time, the second parameter can be determined based on the schedule information of the current date, and the image content of the pre-set virtual object can be updated through the second parameter. The second parameter may include at least one of a second clothing parameter and a second emotion parameter, and the second clothing parameter can be used to update the appearance of the virtual object, and the second emotion parameter can be used to update the expression of the virtual object.
[0093] As an exemplary example, if the schedule information for the current date includes an important meeting arrangement, the second clothing parameter can be determined as a suit collar; if the schedule information for the current date includes sports arrangements, the second clothing parameter can be determined as a sweat towel and sports glasses; if the schedule information for the current date includes medical arrangements, the second clothing parameter can be determined as a mask.
[0094] Furthermore, if the schedule information of the current date includes exercise arrangements, the second emotion parameter may be determined to be happy, and if the schedule information of the current date includes arrangements for attending a funeral, the second emotion parameter may be determined to be sad.
[0095] It should be noted that the second clothing parameter and the second emotion parameter determined based on the schedule information of the current date shown above are only examples, and can be flexibly adjusted according to needs in actual applications, and the embodiments of the present application do not make specific limitations.
[0096] For example, if the second clothing parameter includes a suit collar, the appearance of the virtual object can be updated based on the suit collar to obtain the target virtual object. Figure 8 , Figure 8 A schematic diagram of a target virtual object provided in an embodiment of the present application is shown. Figure 8 The target virtual object 800 shown in FIG. 1 is displayed on the screen 120 of the electronic device 100. The target virtual object 800 is obtained by updating the appearance of the virtual object with a suit collar. The target virtual object 800 is obtained by updating the expression of the virtual object with an unhappy emotion.
[0097] It is easy to understand that Figure 8The target virtual object shown in the figure is only an example. In actual application, the target virtual object can also be any other desired image, which is not specifically limited in the embodiments of the present application.
[0098] Thus, the image content of the preset virtual object can be updated based on the second parameter to obtain an updated target virtual object. It is easy to understand that if the second parameter only includes the second clothing parameter, the appearance of the preset virtual object can be updated only through the second clothing parameter; similarly, if the second parameter only includes the second emotion parameter, the expression of the preset virtual object can be updated only through the second emotion parameter; if the second parameter includes the second clothing parameter and the second emotion parameter, the appearance of the preset virtual object can be updated through the second clothing parameter, and the expression of the preset virtual object can be updated through the second emotion parameter.
[0099] It is easy to understand that, since the second parameter is determined based on the schedule information of the current date, the target virtual object is updated through the second parameter, and the target virtual object can represent the schedule information of the current date to a certain extent. Therefore, when the user views the target virtual object, the schedule information of the current date can also be obtained through the target virtual object, thereby improving the user's interactive experience with the electronic device. Furthermore, since the schedule information of the current date does not change frequently, the frequency of updating the target virtual object based on the second parameter determined based on the schedule information of the current date will not be too high, so it will not cause excessive power consumption of the electronic device and will not occupy too many system resources.
[0100] If the second parameter includes a second clothing parameter and a second emotion parameter, when executing step S220, step S223 and step S224 may also be included.
[0101] Step S223: Determine the second clothing parameter corresponding to the schedule information of the current date based on a pre-generated schedule and clothing comparison table, wherein the schedule and clothing comparison table includes at least one preset schedule information and a preset second clothing parameter corresponding to each preset schedule information.
[0102] Step S224: Determine the second emotion parameter corresponding to the schedule information of the current date based on a pre-generated schedule and emotion comparison table, wherein the schedule and emotion comparison table includes at least one preset schedule information and a preset second emotion parameter corresponding to each preset schedule information.
[0103] In some embodiments, a schedule-to-clothing comparison table may be generated in advance, and the schedule-to-clothing comparison table may include at least one preset schedule information and a preset second clothing parameter corresponding to each preset schedule information. In other words, the preset second clothing parameter having a mapping relationship with each preset schedule information may be found through the schedule-to-clothing comparison table.
[0104] In an exemplary embodiment, the preset schedule information in the schedule and clothing comparison table may include important meeting arrangements, sports arrangements, and medical appointments. The preset second clothing parameter corresponding to the preset schedule information may specifically be that a suit collar corresponds to an important meeting arrangement, a sweat towel and sports glasses correspond to sports arrangements, and a mask corresponds to a medical appointment.
[0105] Furthermore, a schedule and emotion comparison table may be generated in advance, and the schedule and emotion comparison table may include at least one preset schedule information and a preset second emotion parameter corresponding to each preset schedule information. In other words, the preset second emotion parameter having a mapping relationship with each preset schedule information may be found through the schedule and emotion comparison table.
[0106] In an exemplary embodiment, the preset schedule information in the schedule and clothing comparison table may include exercise arrangements and funeral arrangements. The preset second emotion parameter corresponding to the preset schedule information may specifically be that happiness corresponds to exercise arrangements and sadness corresponds to funeral arrangements.
[0107] Therefore, after obtaining the schedule information of the current date, you can search the schedule and clothing comparison table to see whether there is preset schedule information that is the same as the schedule information of the current date. If so, the preset second clothing parameters corresponding to the preset schedule information that is the same as the schedule information of the current date can be used as the second clothing parameters.
[0108] Similarly, the schedule and emotion comparison table can be used to check whether there is preset schedule information that is the same as the schedule information of the current date. If so, the preset second emotion parameter corresponding to the preset schedule information that is the same as the schedule information of the current date can be used as the second emotion parameter.
[0109] Therefore, the image content of the virtual object can be updated based on the second clothing parameter and the second emotion parameter to obtain an updated target virtual object.
[0110] In the embodiment of the present application, the image content is at least one of appearance and expression, the target content includes the schedule information of the current date, and the second parameter used to update the image content is determined based on the schedule information of the current date. Therefore, the target virtual object obtained after the update can represent the schedule information of the current date to a certain extent, thereby improving the user's interactive experience with the electronic device when the target virtual object is displayed on the screen.
[0111] Another exemplary example is that if the target content in the current time period is a currently received push message, wherein the currently received push message may be obtained based on a specified application, and the specified application may be an instant messaging type application. Among them, the instant messaging type application is an application that can implement instant messaging. For example, if the electronic device is installed with the instant messaging type application, and another electronic device is installed with the same instant messaging type application, then the electronic device and the other electronic device may implement instant messaging through the same instant messaging type application. The currently received push message is a conversation message sent by another electronic device and received by the electronic device through the instant messaging type application. For example, the push message may be a text type message, and for another example, the push message may also be a graphic type message, such as an emoticon or a picture. At this time, the target parameter may include a third parameter.
[0112] At this time, the third parameter can be determined based on the currently received push message, and the preset image content of the virtual object can be updated through the third parameter. The third parameter can include at least one of a third clothing parameter and a third emotion parameter, and the third clothing parameter can be used to update the appearance of the virtual object, and the third emotion parameter can be used to update the expression of the virtual object.
[0113] For example, if the currently received push message includes "cold", it can be determined that the third clothing parameter includes a scarf and a thick hat; if the currently received push message includes "hot", it can be determined that the third clothing parameter includes sunglasses and a baseball cap; if the currently received push message includes "sick", it can be determined that the third clothing parameter includes a mask.
[0114] Furthermore, if the currently received push message includes “happy”, the third emotion parameter may be determined to be happy; if the currently received push message includes “crying”, the third emotion parameter may be determined to be sad.
[0115] It should be noted that the third clothing parameter and the third emotion parameter determined based on the currently received push message shown above are only examples, and can be flexibly adjusted according to needs in actual applications, and the embodiments of the present application do not make specific limitations.
[0116] Thus, the image content of the preset virtual object can be updated based on the third parameter to obtain an updated target virtual object. It is easy to understand that if the third parameter only includes the third clothing parameter, the appearance of the preset virtual object can be updated only through the third clothing parameter; similarly, if the third parameter only includes the third emotion parameter, the expression of the preset virtual object can be updated only through the third emotion parameter; if the third parameter includes the third clothing parameter and the third emotion parameter, the appearance of the preset virtual object can be updated through the third clothing parameter, and the expression of the preset virtual object can be updated through the third emotion parameter.
[0117] It is easy to understand that, since the third parameter is determined based on the currently received push message, the target virtual object is updated by the third parameter, and the target virtual object can represent the currently received push message to a certain extent. Therefore, when the user views the target virtual object, the user can also learn the currently received push message to a certain extent through the target virtual object, thereby improving the user's interactive experience with the electronic device.
[0118] If the third parameter includes a third clothing parameter and a third emotion parameter, when executing step S220, step S225 and step S226 may also be included.
[0119] Step S225: Acquire a target keyword in the currently received push message, where the target keyword matches at least one preset designated keyword.
[0120] Step S226: Determine the third clothing parameter and the third emotion parameter based on the target keyword.
[0121] In some implementations, the target keyword may be obtained from the currently received push message. The target keyword may be used to characterize the emotion and appearance related words in the push message. In an exemplary embodiment, the target keyword may be obtained from the received push message through a pre-trained deep model.
[0122] The target keyword matches at least one pre-set designated keyword, that is, at least one pre-set designated keyword is pre-set, and the target keyword extracted from the received push message matches at least one pre-set designated keyword. Further, each pre-set designated keyword can also have a mapping relationship with a preset third emotion parameter and a preset third clothing parameter at the same time, so that after the target keyword is obtained, the third clothing parameter and the third emotion parameter can be determined based on the target keyword.
[0123] The pre-set designated keywords may include a portion of designated keywords corresponding to different instant messaging applications by default, and may also include another portion of designated keywords customized by the user. The portion of designated keywords corresponding to instant messaging applications may specifically refer to some designated keywords corresponding to each instant messaging application by default. For example, instant messaging application A has designated keywords A1, A2, and A3 corresponding to it by default; and instant messaging application B has designated keywords B1, B2, and B3 corresponding to it by default.
[0124] Furthermore, a part of the designated keywords corresponding to the instant messaging type application may correspond to a preset third emotion parameter and a preset third clothing parameter. For another part of the designated keywords customized by the user, the preset third emotion parameter and the preset third clothing parameter corresponding to the other part of the designated keywords may also be set.
[0125] Therefore, after obtaining the target keyword, the preset third clothing parameter corresponding to the designated keyword matching the target keyword can be determined as the third clothing parameter; the preset third emotion parameter corresponding to the designated keyword matching the target keyword can be determined as the third emotion parameter.
[0126] In another exemplary embodiment, after the target keyword is acquired, the third clothing parameter and the third emotion parameter corresponding to the target keyword may be inferred based on the deep learning model.
[0127] Therefore, the image content of the virtual object can be updated based on the third clothing parameter and the third emotion parameter to obtain an updated target virtual object.
[0128] In some embodiments, if each received conversation message is used as a push message, and then the target keyword is determined, and then the third parameter is determined to update the virtual object, more system resources will be occupied and the power consumption of the electronic device will be increased. Therefore, in some embodiments, it is also possible to determine whether to use the conversation message as a push message based on the application identifier of the instant messaging type application that triggers the conversation message. Specifically, when executing step S220, steps S227 to S229 may also be included.
[0129] Step S227: receiving a session message, and obtaining an application identifier of an application that triggers the session message.
[0130] Step S228: If the application program identifier matches the preset designated application identifier, the session message is used as the currently received push message.
[0131] Step S229: Determine the third parameter based on the currently received push message.
[0132] In some embodiments, the session message can be triggered by an instant messaging application, so that after receiving the session message of the instant messaging application, the application identifier of the instant messaging application that triggered the session message can be obtained, and it is determined whether the application identifier matches the preset specified application identifier. If they match, the session message is used as the currently received push message, and the third parameter is determined based on the currently received push message. When the application identifier corresponding to the acquired session message does not match the specified application identifier, the session message may not be used as a push message, and the third parameter does not need to be determined, which saves system resources and reduces the power consumption of the electronic device.
[0133] Among them, the pre-set designated application identifier can be an application identifier that the user is interested in, or it can be an application identifier that the user considers to be more important. Therefore, when a conversation message is subsequently obtained, only when the designated application identifier is met will the subsequent steps of determining the third parameter and updating the virtual object based on the third parameter be executed, which can further improve the user's interactive experience with the electronic device.
[0134] For some other implementations, after receiving a conversation message of an instant messaging type application, the identity of the object that triggered the conversation message can also be obtained to determine whether the identity matches a preset specified identity. If so, the conversation message is used as the currently received push message, and the third parameter is determined based on the currently received push message. When the identity corresponding to the conversation message is obtained and does not match the specified identity, the conversation message may not be used as a push message, and thus the third parameter does not need to be determined, thereby saving system resources and reducing the power consumption of the electronic device. Specifically, when executing step S220, steps S2210 to S2212 may also be included.
[0135] Step S2210: receiving a conversation message, and obtaining the identity of the object that triggers the conversation message.
[0136] Step S2211: If the identity identifier matches a preset designated identity identifier, the conversation message is used as the currently received push message.
[0137] Step S2212: Determine the third parameter based on the currently received push message.
[0138] Among them, even in the same instant messaging application, there may be multiple objects that can trigger a conversation message, and each object has a different identity. The user can pre-set a specified identity, which may include an identity of one object or multiple identities of multiple objects, and the embodiments of the present application do not make specific limitations.
[0139] After the identity is obtained, the identity can be matched with a preset designated identity, and if the identity matches the preset designated identity, the session message is used as the currently received push message, so that the third parameter can be determined based on the currently received push message.
[0140] In the embodiment of the present application, the image content is at least one of appearance and expression, the target content includes the currently received push message, and the third parameter used to update the image content is determined based on the currently received push message. Therefore, the target virtual object obtained after the update can represent the currently received push message to a certain extent, thereby improving the user's interactive experience with the electronic device when the target virtual object is displayed on the screen.
[0141] In another exemplary embodiment, if the target content in the current time period is the current weather information and the schedule information of the current date, then the target parameter may include the first parameter and the second parameter.
[0142] Thus, the first parameter can be determined based on the current weather information, and the second parameter can be determined based on the schedule information of the current date. The first parameter can include at least one of a first clothing parameter and a first emotion parameter, the first clothing parameter is used to update the appearance of the virtual object, and the first emotion parameter is used to update the expression of the virtual object; and the second parameter includes at least one of a second clothing parameter and a second emotion parameter, the second clothing parameter is used to update the appearance of the virtual object, and the second emotion parameter is used to update the expression of the virtual object.
[0143] Among them, the specific method of determining the first parameter based on the current weather information and determining the second parameter based on the schedule information of the current date has been introduced in detail above and will not be repeated here.
[0144] After obtaining the first parameter and the second parameter, the image content of the preset virtual object can be updated based on the first parameter and the second parameter to obtain the updated target virtual object. In some embodiments, if the first parameter includes a first clothing parameter and the second parameter includes a second clothing parameter, then the first clothing association degree between the current weather information and the first clothing parameter, and the second clothing association degree between the schedule information of the current date and the second clothing parameter can be obtained. Among them, the association degree between the current weather information and the first clothing parameter is positively correlated with the first clothing association degree; the association degree between the schedule information of the current date and the second clothing parameter is positively correlated with the second clothing association degree. Therefore, the appearance of the virtual object can be updated by the clothing parameter corresponding to the higher one of the first clothing association degree and the second clothing association degree.
[0145] In an exemplary manner, if the current weather information is suitable weather, and the first clothing parameter is determined to be sportswear, the degree of association between suitable weather and the first clothing of sportswear can be determined, and the degree of association between the first clothing can be low; if the schedule information of the current date includes an important meeting arrangement, the second clothing parameter can be determined to be a suit collar, and the degree of association between the important meeting arrangement and the second clothing of the suit collar can also be determined, and the degree of association between the first clothing can be medium. Therefore, at this time, the appearance of the virtual object can be updated through the second clothing parameter. For another example, if the current weather information is colder weather, and the first clothing parameter is determined to be a scarf and a thick hat, the degree of association between the colder weather and the first clothing of the scarf and the thick hat can be determined, and the degree of association between the first clothing can be high; if the schedule information of the current date includes an important meeting arrangement, the second clothing parameter can be determined to be a suit collar, and the degree of association between the important meeting arrangement and the second clothing of the suit collar can also be determined, and the degree of association between the first clothing can be medium. Therefore, at this time, the appearance of the virtual object can be updated through the first clothing parameter.
[0146] Similarly, if the first parameter includes a first emotion parameter, and the second parameter includes a second emotion parameter, then the first emotion correlation degree between the current weather information and the first emotion parameter, and the second emotion correlation degree between the schedule information of the current date and the second emotion parameter can be obtained. Among them, the correlation degree between the current weather information and the first emotion parameter is positively correlated with the correlation degree of the first emotion; the correlation degree between the schedule information of the current date and the second emotion parameter is positively correlated with the correlation degree of the second emotion parameter. Therefore, the expression of the virtual object can be updated by the emotion parameter corresponding to the higher one of the first emotion correlation degree and the second emotion correlation degree.
[0147] Furthermore, it is also possible that the first parameter only includes the first emotion parameter, and the second parameter only includes the second clothing parameter. In this case, the expression of the virtual object can be updated by the first emotion parameter, and the appearance of the virtual object can be updated by the second clothing parameter, so as to obtain an updated target virtual object.
[0148] Furthermore, it is also possible that the first parameter only includes the first clothing parameter, and the second parameter only includes the second emotion parameter. In this case, the expression of the virtual object can be updated by the second emotion parameter, and the appearance of the virtual object can be updated by the first clothing parameter, so as to obtain the updated target virtual object.
[0149] In other embodiments, if both the first clothing parameter and the second clothing parameter exist, any one of them may be randomly selected to update the appearance of the virtual object; if both the first emotion parameter and the second emotion parameter exist, any one of them may be randomly selected to update the expression of the virtual object.
[0150] In the embodiment of the present application, the image content is at least one of appearance and expression, and the image content is updated based on the target content. Therefore, the target virtual object is not a pre-set object, but can be updated and transformed based on different target contents. Therefore, the updated target virtual object can reflect the target content in the current time period obtained by the specified application to a certain extent. In the embodiment of the present application, the target content is the current weather information and the schedule information of the current date. Therefore, the electronic device displays the target virtual object through the screen, and the user can obtain the relevant information of the current weather information and the schedule information of the current date to a certain extent, which can improve the user's interactive experience with the electronic device.
[0151] In another exemplary embodiment, if the target content in the current time period is the current weather information and the currently received push message, then the target parameter may include the first parameter and the third parameter.
[0152] Thus, the first parameter can be determined based on the current weather information, and the third parameter can be determined based on the currently received push message. The first parameter can include at least one of a first clothing parameter and a first emotion parameter, the first clothing parameter is used to update the appearance of the virtual object, and the first emotion parameter is used to update the expression of the virtual object; and the third parameter includes at least one of a third clothing parameter and a third emotion parameter, the third clothing parameter is used to update the appearance of the virtual object, and the third emotion parameter is used to update the expression of the virtual object.
[0153] Among them, the specific method of determining the first parameter based on the current weather information and determining the third parameter based on the schedule information of the current date has been introduced in detail above and will not be repeated here.
[0154] After obtaining the first parameter and the third parameter, the image content of the preset virtual object can be updated based on the first parameter and the third parameter to obtain the updated target virtual object. In some embodiments, if the first parameter includes a first clothing parameter and the third parameter includes a third clothing parameter, then the first clothing association degree of the current weather information and the first clothing parameter, and the third clothing association degree of the currently received push message and the third clothing parameter can be obtained. Among them, the association degree of the current weather information and the first clothing parameter is positively correlated with the first clothing association degree; the association degree of the currently received push message and the third clothing parameter is positively correlated with the third clothing association degree. Therefore, the appearance of the virtual object can be updated by the clothing parameter corresponding to the higher one of the first clothing association degree and the third clothing association degree.
[0155] Similarly, if the first parameter includes a first emotion parameter, and the third parameter includes a third emotion parameter, then the first emotion correlation degree between the current weather information and the first emotion parameter, and the third emotion correlation degree between the currently received push message and the third emotion parameter can be obtained. Among them, the correlation degree between the current weather information and the first emotion parameter is positively correlated with the correlation degree between the first emotion; the correlation degree between the currently received push message and the third emotion parameter is positively correlated with the correlation degree between the third emotion parameter. Thus, the expression of the virtual object can be updated by the emotion parameter corresponding to the higher one of the first emotion correlation degree and the third emotion correlation degree.
[0156] Furthermore, it is also possible that the first parameter only includes the first emotion parameter, and the third parameter only includes the third clothing parameter. In this case, the expression of the virtual object can be updated by the first emotion parameter, and the appearance of the virtual object can be updated by the third clothing parameter, so as to obtain an updated target virtual object.
[0157] Furthermore, it is also possible that the first parameter only includes the first clothing parameter, and the third parameter only includes the third emotion parameter. In this case, the expression of the virtual object can be updated by the third emotion parameter, and the appearance of the virtual object can be updated by the first clothing parameter, so as to obtain the updated target virtual object.
[0158] In other embodiments, if the first clothing parameter and the third clothing parameter exist at the same time, any one of them can be randomly selected to update the appearance of the virtual object; if the first emotion parameter and the third emotion parameter exist at the same time, any one of them can be randomly selected to update the expression of the virtual object.
[0159] In the embodiment of the present application, the target content is the current weather information and the currently received push message. Thus, the electronic device displays the target virtual object through the screen, and the user can obtain relevant information of the current weather information and the currently received push message to a certain extent, which can improve the user's interactive experience with the electronic device.
[0160] In another exemplary embodiment, if the target content in the current time period is the schedule information of the current date and the currently received push message, then the target parameter may include the second parameter and the third parameter.
[0161] Thus, the second parameter can be determined based on the schedule information of the current date, and the third parameter can be determined based on the currently received push message. The second parameter can include at least one of a second clothing parameter and a second emotion parameter, the second clothing parameter is used to update the appearance of the virtual object, and the second emotion parameter is used to update the expression of the virtual object; and the third parameter includes at least one of a third clothing parameter and a third emotion parameter, the third clothing parameter is used to update the appearance of the virtual object, and the third emotion parameter is used to update the expression of the virtual object.
[0162] The specific method of determining the second parameter based on the schedule information of the current date and the specific method of determining the third parameter based on the schedule information of the current date have been described in detail above and will not be repeated here.
[0163] After obtaining the second parameter and the third parameter, the image content of the preset virtual object can be updated based on the second parameter and the third parameter to obtain the updated target virtual object. In some embodiments, if the second parameter includes a second clothing parameter and the third parameter includes a third clothing parameter, then the degree of association between the schedule information of the current date and the second clothing parameter, and the degree of association between the currently received push message and the third clothing parameter can be obtained. Among them, the degree of association between the schedule information of the current date and the second clothing parameter is positively correlated with the degree of association between the second clothing; the degree of association between the currently received push message and the third clothing parameter is positively correlated with the degree of association between the third clothing. Therefore, the appearance of the virtual object can be updated by the clothing parameter corresponding to the higher one of the second clothing association degree and the third clothing association degree.
[0164] Similarly, if the second parameter includes a second emotion parameter, and the third parameter includes a third emotion parameter, then the degree of association between the current date's schedule information and the second emotion parameter, and the degree of association between the currently received push message and the third emotion parameter can be obtained. Among them, the degree of association between the current date's schedule information and the second emotion parameter is positively correlated with the degree of association between the second emotion; the degree of association between the currently received push message and the third emotion parameter is positively correlated with the degree of association between the third emotion parameter. Thus, the expression of the virtual object can be updated by the emotion parameter corresponding to the higher of the second emotion association degree and the third emotion association degree.
[0165] Furthermore, it is also possible that the second parameter only includes the second emotion parameter, and the third parameter only includes the third clothing parameter. In this case, the expression of the virtual object can be updated by the second emotion parameter, and the appearance of the virtual object can be updated by the third clothing parameter, so as to obtain the updated target virtual object.
[0166] Furthermore, it is also possible that the second parameter only includes the second clothing parameter, and the third parameter only includes the third emotion parameter. In this case, the expression of the virtual object can be updated by the third emotion parameter, and the appearance of the virtual object can be updated by the second clothing parameter, so as to obtain the updated target virtual object.
[0167] In other embodiments, if the second clothing parameter and the third clothing parameter exist at the same time, any one of them can be randomly selected to update the appearance of the virtual object; if the second emotion parameter and the third emotion parameter exist at the same time, any one of them can be randomly selected to update the expression of the virtual object.
[0168] In the embodiment of the present application, the specified application includes the schedule information of the current date and the currently received push message. Therefore, the electronic device displays the target virtual object through the screen, and the user can obtain the schedule information of the current date and the relevant information of the currently received push message to a certain extent, which can improve the user's interactive experience with the electronic device.
[0169] In another exemplary embodiment, if the target content in the current time period is the current weather information, the schedule information of the current date, and the currently received push message, then the target parameters may include a first parameter, a second parameter, and a third parameter.
[0170] Thus, the first parameter can be determined based on the current weather information, the second parameter can be determined based on the schedule information of the current date, and the third parameter can be determined based on the currently received push message. The first parameter can include at least one of a first clothing parameter and a first emotion parameter, the first clothing parameter is used to update the appearance of the virtual object, and the first emotion parameter is used to update the expression of the virtual object; the second parameter includes at least one of a second clothing parameter and a second emotion parameter, the second clothing parameter is used to update the appearance of the virtual object, and the second emotion parameter is used to update the expression of the virtual object; and the third parameter includes at least one of a third clothing parameter and a third emotion parameter, the third clothing parameter is used to update the appearance of the virtual object, and the third emotion parameter is used to update the expression of the virtual object.
[0171] Among them, the specific methods of determining the first parameter based on the current weather information, determining the second parameter based on the schedule information of the current date, and determining the third parameter based on the currently received push message have been introduced in detail above and will not be repeated here.
[0172] After the first parameter, the second parameter and the third parameter are obtained, the image content of the preset virtual object can be updated based on the first parameter, the second parameter and the third parameter to obtain an updated target virtual object.
[0173] Similar to the above-mentioned embodiment, if multiple clothing parameters are determined by the first parameter, the second parameter and the third parameter, the appearance of the virtual object can be updated by the clothing parameter with the highest clothing association degree through the clothing association degree between the clothing parameter and the target content in the corresponding current time period. Among them, the multiple clothing parameters may include, for example, determining the first clothing parameter and the second clothing parameter; for example, determining the first clothing parameter and the third clothing parameter; for example, determining the first clothing parameter, the second clothing parameter and the third clothing parameter. Specifically, the first clothing parameter, the second clothing parameter and the third clothing parameter are determined as an example. The first clothing association degree of the current weather information and the first clothing parameter, the second clothing association degree of the current date's schedule information and the second clothing parameter, and the third clothing association degree of the currently received push message and the third clothing parameter can be obtained. Among them, the association degree of the current weather information and the first clothing parameter is positively correlated with the first clothing association degree; the association degree of the current date's schedule information and the second clothing parameter is positively correlated with the second clothing association degree; the association degree of the currently received push message and the third clothing parameter is positively correlated with the third clothing association degree. Therefore, the appearance of the virtual object can be updated by the clothing parameter corresponding to the higher one among the first clothing association degree, the second clothing association degree and the third clothing association degree.
[0174] Similarly, if multiple emotional parameters are determined by the first parameter, the second parameter, and the third parameter, the appearance of the virtual object can be updated by the emotional correlation between the emotional parameter and the target content in the corresponding current time period, and the emotional parameter with the highest emotional correlation. Among them, the multiple emotional parameters may include, for example, determining the first emotional parameter and the second emotional parameter; for example, determining the first emotional parameter and the third emotional parameter; for example, determining the first emotional parameter, the second emotional parameter, and the third emotional parameter. Specifically, the first emotional parameter, the second emotional parameter, and the third emotional parameter are determined as an example. The first emotional correlation degree between the current weather information and the first emotional parameter, the second emotional correlation degree between the schedule information of the current date and the second emotional parameter, and the third emotional correlation degree between the currently received push message and the third emotional parameter can be obtained. Among them, the correlation degree between the current weather information and the first emotional parameter is positively correlated with the first emotional correlation degree; the correlation degree between the schedule information of the current date and the second emotional parameter is positively correlated with the second emotional correlation degree; the correlation degree between the currently received push message and the third emotional parameter is positively correlated with the third emotional correlation degree. Therefore, the appearance of the virtual object can be updated according to the emotion parameter corresponding to the higher one among the first emotion association degree, the second emotion association degree and the third emotion association degree.
[0175] For other implementations, when it is determined that there are multiple clothing parameters, any clothing parameter can be randomly selected to update the appearance of the virtual object to obtain the target virtual object. When it is determined that there are multiple emotion parameters, any emotion parameter can be randomly selected to update the expression of the virtual object.
[0176] For some other embodiments, since users may pay more attention to push messages of instant messaging applications, if the determined clothing parameters include a third clothing parameter, the appearance of the virtual object can be directly updated based on the third clothing parameter. Similarly, if the determined emotion parameters include a third emotion parameter, the expression of the virtual object can be directly updated based on the third emotion parameter. This can further improve the interactive experience between the user and the electronic device.
[0177] In the embodiment of the present application, the target content is the current weather information, the schedule information of the current date, and the currently received push messages. Thus, the electronic device displays the target virtual object through the screen, and the user can obtain relevant information of the current weather information, the schedule information of the current date, and the currently received push messages to a certain extent, which can improve the user's interactive experience with the electronic device.
[0178] Step S240: Displaying the target virtual object on the screen of the electronic device.
[0179] After the target virtual object is acquired, it can be displayed on the display screen of the electronic device. For an exemplary embodiment, see Fig. 9 , Fig. 9 A schematic diagram of displaying a target virtual object provided by an embodiment of the present application is shown. Fig. 9 , an electronic device 900 is shown, the electronic device 900 includes a screen 910, and when the electronic device 900 is in the screen-off display state, a target virtual object 920 can be displayed on the screen 910. It is not difficult to see that the appearance of the target virtual object 920 is updated by the scarf and the thick hat, so it can be known that the current weather information may be relatively cold weather. It should be noted that Fig. 9 The specific display position of the target virtual object 920 displayed on the screen 910 and the size of the target virtual object 920 displayed on the screen 910 shown in the figure are only examples. In actual applications, the specific display position and size of the target virtual object on the screen can be flexibly adjusted as needed, and the embodiments of the present application do not make specific limitations.
[0180] Among them, step S240 has been introduced in detail in the above embodiment and will not be repeated here.
[0181] The content display method provided by the present application first determines the target content within the current time period obtained by the specified application, then determines a first parameter based on the current weather information, updates the image content of a preset virtual object based on the first parameter, obtains the updated target virtual object, and then displays the target virtual object on the screen.
[0182] The content display method provided by the present application first obtains the target content within the current time period based on the electronic device, then determines the target parameters based on the target content, updates the image content of the virtual object based on the target parameters, obtains the updated target virtual object, and then displays the target virtual object on the screen. The image content in the embodiment of the present application is at least one of appearance and expression, and the target parameters determined by different target contents are not the same, so the target virtual objects obtained based on different target parameters are not the same. Therefore, the target virtual object is not a pre-set object, nor is it unchanged, but can be updated and transformed based on different target contents, and the updated target virtual object can reflect the target content within the current time period obtained by the electronic device to a certain extent. Thus, the electronic device can improve the interactive experience between the user and the electronic device by displaying the target virtual object on the screen.
[0183] See also Fig.10 , Fig.10 A content display method provided by an embodiment of the present application is shown, and the content display method can be applied to Figure 1 The electronic device 100 shown in the figure can be specifically applied to the processor 110 in the electronic device 100. The content display method includes steps S310 to S340.
[0184] Step S310: Obtain target content within the current time period through a designated application of the electronic device.
[0185] Among them, the electronic device may obtain the target content in the current time period through a designated application. For example, the designated application may be an application of the weather application type, so that the target content may be determined based on the weather application type application, and the target content may include the current weather information, and then the virtual object is updated based on the target content; for another example, the designated application may also be an application of the calendar application type, and the target content may include the calendar information of the current date, so that the target content may be determined based on the calendar application type application, and then the virtual object is updated based on the target content; for another example, the designated application may also be an application of the instant messaging application type, and the target content may include the current weather information, the calendar information of the current date, or the currently received push message, and then the virtual object is updated based on the target content.
[0186] Step S320: updating the image content of the virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression.
[0187] Among them, step S320 has been introduced in detail in the above embodiment and will not be repeated here.
[0188] Step S330: Displaying the target virtual object on the screen of the electronic device.
[0189] Step S340: displaying prompt information through the target virtual object, where the prompt information is generated based on the target content.
[0190] If the target virtual object is only displayed on the display screen of the electronic device when the electronic device is in the off-screen display state, the effect of improving the user's interactive experience with the electronic device is limited. Therefore, prompt information can also be displayed through the target virtual object, thereby further improving the user's interactive experience with the electronic device. Among them, the prompt information can be information generated based on the target content, such as text information.
[0191] In one exemplary embodiment, if the designated application includes a weather application, the target content in the current time period is the current weather information, and thus the prompt information may be generated based on the current weather information. For example, if the current weather information is that the temperature is between 15 degrees Celsius and 25 degrees Celsius, the prompt information "suitable weather" may be generated.
[0192] In another exemplary embodiment, if the designated application includes a calendar application, the target content in the current time period is the calendar information of the current date, so the prompt information can be generated based on the calendar information of the current date. For example, if the calendar information of the current date includes an important meeting arrangement, the prompt information "Important Meeting" can be generated.
[0193] In another exemplary embodiment, if the designated application includes an instant messaging type application, the target content in the current time period is the currently received push message, so the prompt information can be generated based on the currently received push message. For example, if the push message is "Don't be angry, okay", the prompt information "Don't be angry, okay" can be generated.
[0194] The prompt information displayed by the target virtual object may be expressed in the form of a dialog box combined with the target virtual object. The dialog box may contain text information, and the text information is the prompt information. Fig.11 , Fig.11 A schematic diagram of displaying prompt information of a target virtual object provided by an embodiment of the present application is shown. Fig.11The electronic device 1100 shown in FIG. 1 displays a target virtual object 1120 and prompt information 1130 on the screen 1110. Thus, the user can directly view the target virtual object 1120 and the prompt information 1130 on the screen 1110. The target virtual object 1120 is updated by the target content obtained by the designated application, and the prompt information 1130 is generated based on the target content, so the interactive experience between the user and the electronic device can be improved.
[0195] Optionally, in some implementations, if multiple push messages may be obtained within a specified time period, if corresponding prompt information is generated based on each push message in turn and then displayed on the screen, each prompt information stays on the screen for a short time, and the user may not have time to see the specific prompt information clearly, resulting in a poor user experience. The specified time period may be a short time period, such as 1 second, 2 seconds, etc.
[0196] Therefore, a specified number of push messages can also be determined from multiple push messages obtained within a specified time period. For example, the push time when each push message is received can be obtained, and then the specified number of push times closest to the current time can be found, and multiple prompt messages can be generated by the push messages corresponding to the specified number of push times. Among them, the specified number can be less than or equal to a preset number threshold, which can be preset by the user, such as 2 or 4, etc.; it can also be a default value of the electronic device, which is not specifically limited in the embodiments of the present application.
[0197] For example, if three push messages are received within a specified time period, namely "Don't be angry, please", "Why don't you answer the phone", and "I was wrong", if the quantity threshold is 2, the push messages corresponding to the specified number of push times closest to the current time are "Don't be angry, please" and "Why don't you answer the phone". Therefore, the prompt information can be determined to be "Don't be angry, please" and "Why don't you answer the phone". Please refer to Fig.12 , Fig.12 A schematic diagram showing prompt information of a target virtual object provided by an embodiment of the present application is shown. Fig.12 The screen 1210 of the electronic device 1200 displays a target virtual object 1220 , and a push message 1230 and a push message 1240 .
[0198] Optionally, in other implementations, a push message with the highest priority parameter may be determined from multiple push messages obtained within a specified time period, thereby generating a prompt message based on the push message with the highest priority parameter. Specifically, the priority parameter of each push message may be first obtained, and then each priority parameter may be sorted to obtain the highest priority parameter. Among them, the priority parameter may be related to the application identifier of the instant messaging type application that triggers the push message, or may be related to the identity identifier of the object that triggers the push message, and this application does not make specific limitations. For example, the user may pre-specify the instant messaging type application C1 as having the highest priority, the instant messaging type application C2 as having a higher priority, and the instant messaging type application C3 as having a lower priority.
[0199] The content display method provided by the present application first obtains the target content in the current time period through a designated application of an electronic device, then updates the image content of a virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression, and then displays the target virtual object on the screen of the electronic device, and displays prompt information through the target virtual object, wherein the prompt information is generated based on the target content. In the embodiment provided by the present application, prompt information is displayed through the target virtual object, thereby further improving the user's interactive experience with the electronic device.
[0200] See also Fig.13 , which shows a structural block diagram of a content display device 1300 provided in an embodiment of the present application, including: an acquisition unit 1310, an update unit 1320 and a display unit 1330.
[0201] The acquisition unit 1310 is configured to acquire target content within a current time period based on the electronic device.
[0202] Furthermore, the acquisition unit 1310 may also be configured to acquire target content within a current time period through a designated application of the electronic device.
[0203] The updating unit 1320 is configured to update the image content of the virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression.
[0204] Furthermore, the update unit 1320 can also be used to determine target parameters based on the target content, and the target parameters include at least one of a clothing parameter and an emotion parameter, the clothing parameter is used to update the appearance of the virtual object, and the emotion parameter is used to update the expression of the virtual object; based on the target parameters, the image content of the virtual object is updated to obtain an updated target virtual object.
[0205] Furthermore, the update unit 1320 can also be used to determine the first clothing parameter corresponding to the current weather information based on a pre-generated weather and clothing comparison table, wherein the weather and clothing comparison table includes at least one preset weather information and a preset first clothing parameter corresponding to each preset weather information; based on a pre-generated weather and emotion comparison table, determine the first emotion parameter corresponding to the current weather information, wherein the weather and emotion comparison table includes at least one preset weather information and a preset first emotion parameter corresponding to each preset weather information.
[0206] Furthermore, the update unit 1320 can also be used to determine the second clothing parameter corresponding to the schedule information of the current date based on a pre-generated schedule and clothing comparison table, wherein the schedule and clothing comparison table includes at least one preset schedule information and a preset second clothing parameter corresponding to each preset schedule information; based on a pre-generated schedule and emotion comparison table, determine the second emotion parameter corresponding to the schedule information of the current date, wherein the schedule and emotion comparison table includes at least one preset schedule information and a preset second emotion parameter corresponding to each preset schedule information.
[0207] Furthermore, the updating unit 1320 may also be used to obtain a target keyword in the currently received push message, where the target keyword matches at least one pre-set designated keyword; and determine the third clothing parameter and the third emotion parameter based on the target keyword.
[0208] Furthermore, the update unit 1320 can also be used to receive a session message and obtain an application identifier of an application that triggers the session message; if the application identifier matches a pre-set designated application identifier, the session message is used as the currently received push message; and the third parameter is determined based on the currently received push message.
[0209] The display unit 1330 is configured to display the target virtual object on the screen of the electronic device.
[0210] Furthermore, the display unit 1330 may also be configured to display the target virtual object on the screen of the electronic device; and display prompt information through the target virtual object, wherein the prompt information is generated based on the target content.
[0211] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0212] In several embodiments provided in the present application, the coupling between the units may be electrical, mechanical or other forms of coupling.
[0213] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0214] See also Fig.14 , which shows a structural block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be an electronic device such as a smart phone, a tablet computer, etc. that can run a computer program. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a screen 120, and a memory 130, wherein the screen 120 is connected to the processor 110. The electronic device may also include one or more application programs, wherein the processor 110 is electrically connected to the memory 130, and the one or more program configurations are used to execute the method described in the aforementioned method embodiment.
[0215] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 130, and calling data stored in the memory 130. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 120 can integrate one or more combinations of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and computer programs; the GPU is responsible for rendering and drawing display content; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, and it can be implemented separately through a communication chip. Specifically, the method described in the above embodiment can be executed by one or more processors 110.
[0216] For some embodiments, the memory 130 may include a random access memory (RAM) or a read-only memory (ROM). The memory 130 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 130 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the electronic device 100 during use, etc.
[0217] Optionally, the screen 120 may also include a touch integrated circuit (IC), through which the user's touch operation on the screen can be converted into a signal that can be recognized by the electronic device, such as an electrical signal. The screen 120 may include different types, such as a vector pressure sensing touch screen, a resistive touch screen, a capacitive touch screen, an infrared touch screen, or a surface acoustic wave touch screen. The screen 120 can be used to display the target virtual object determined in the aforementioned embodiments. For details, please refer to the description of the aforementioned embodiments, which will not be repeated here.
[0218] Please refer to Fig.15 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1500 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0219] The computer readable storage medium 1500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 1500 includes a non-transitory computer-readable storage medium. The computer readable storage medium 1500 has storage space for program code 1510 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 1510 can be compressed, for example, in an appropriate form.
[0220] Please refer to Fig.16 , which shows a block diagram of a computer program product provided by an embodiment of the present application. The computer program product 1600 includes a computer program / instruction 1610, which implements the steps of the above method when executed by a processor.
[0221] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A content display method, characterized in that: Applied to an electronic device, the electronic device is in a screen-off display state, and the method includes: Get the target content in the current time period; updating the image content of the virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression; The target virtual object is displayed on a screen of the electronic device.
2. The method according to claim 1, characterized in that The updating of the image content of the virtual object based on the target content to obtain an updated target virtual object includes: Determining a target parameter based on the target content, the target parameter including at least one of a clothing parameter and an emotion parameter, the clothing parameter being used to update the appearance of the virtual object, and the emotion parameter being used to update the expression of the virtual object; The image content of the virtual object is updated based on the target parameters to obtain an updated target virtual object.
3. The method according to claim 2, characterized in that The target content includes current weather information, the target parameter includes a first parameter, the first parameter includes a first clothing parameter and a first emotion parameter, and determining the target parameter based on the target content includes: Determine the first clothing parameter corresponding to the current weather information based on a pre-generated weather and clothing comparison table, wherein the weather and clothing comparison table includes at least one preset weather information and a preset first clothing parameter corresponding to each preset weather information; Based on a pre-generated weather and emotion comparison table, a first emotion parameter corresponding to the current weather information is determined, wherein the weather and emotion comparison table includes at least one preset weather information and a preset first emotion parameter corresponding to each preset weather information.
4. The method according to claim 2, characterized in that: The target content includes schedule information of the current date, the target parameter includes a second parameter, the second parameter includes a second clothing parameter and a second emotion parameter, and determining the target parameter based on the target content includes: Determine the second clothing parameter corresponding to the schedule information of the current date based on a pre-generated schedule and clothing comparison table, wherein the schedule and clothing comparison table includes at least one preset schedule information and a preset second clothing parameter corresponding to each preset schedule information; Based on a pre-generated schedule and emotion comparison table, the second emotion parameter corresponding to the schedule information of the current date is determined, wherein the schedule and emotion comparison table includes at least one preset schedule information and a preset second emotion parameter corresponding to each preset schedule information.
5. The method according to claim 2, characterized in that: The target content includes a currently received push message, the target parameter includes a third parameter, the third parameter includes a third clothing parameter and a third emotion parameter, and determining the target parameter based on the target content includes: Acquire a target keyword in a currently received push message, where the target keyword matches at least one preset designated keyword; The third clothing parameter and the third emotion parameter are determined based on the target keyword.
6. The method according to claim 2, characterized in that The target content includes a currently received push message, the target parameter includes a third parameter, the third parameter includes a third clothing parameter and a third emotion parameter, and determining the target parameter based on the target content includes: Receive a session message, and obtain an application identifier of an application that triggers the session message; If the application program identifier matches the preset designated application identifier, the session message is used as the currently received push message; The third parameter is determined based on the currently received push message.
7. The method according to any one of claims 1 to 6, characterized in that: The step of displaying the target virtual object on the screen of the electronic device comprises: Displaying the target virtual object on a screen of the electronic device; Prompt information is displayed through the target virtual object, and the prompt information is generated based on the target content.
8. The method according to claim 1, characterized in that The obtaining of target content within the current time period includes: The target content within the current time period is obtained through a designated application of the electronic device.
9. A content display device, characterized in that: Applied to an electronic device, the electronic device is in a screen-off display state, and the device comprises: An acquisition unit, configured to acquire target content within a current time period based on the electronic device; An updating unit, configured to update the image content of the virtual object based on the target content to obtain an updated target virtual object, wherein the image content includes at least one of appearance and expression; A display unit is used to display the target virtual object on the screen of the electronic device.
10. An electronic device, characterized in that: include: one or more processors; Memory; a screen connected to the processor; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 8.
