Content display method and device, readable medium, electronic equipment and program product
By dynamically determining the promotion targets based on user location and weather information, and displaying virtual objects in real-life scenes, the problems of single content and lack of interactivity in content promotion are solved, achieving more efficient promotion results.
Patent Information
- Application Number
- CN202510887913.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-09-26
AI Technical Summary
The existing content promotion technology has the problems of single promotion content and poor promotion effect. In particular, due to the failure to dynamically adjust the promotion targets according to real-time weather data, the promotion targets are disconnected from the actual needs of users, and the interactivity and perception are low, making it impossible for users to interact deeply with the promotion targets.
By responding to the user's search operation for weather information, determining the target location and target weather information, dynamically determining the target promotion object, and displaying the real scene and virtual objects of the user's environment on the terminal device, the user can control the display of virtual objects through interactive operations or environmental changes.
It realizes scenario-based push based on user location and weather information, improves the matching degree between promotion objects and user needs, enriches the display method and interactivity, enhances the user's sense of interaction with the promotion object, and thus improves the promotion effect.
Smart Images

Figure CN120704573A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular, to a content display method, device, readable medium, electronic device, and program product. Background Art
[0002] With the development of computer technology, people can promote content in different ways. For example, in the field of video applications, content can be promoted through short video applications.
[0003] However, in the related art, when performing content promotion, there are problems such as single promotion content and poor promotion effect. Summary of the Invention
[0004] This summary is provided to briefly introduce concepts that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] In a first aspect, the present disclosure provides a content display method, the content display method comprising: In response to a user's search operation for weather information, determining a target location of the user and target weather information corresponding to the target location; determining a target promotion object based at least on the target location and the target weather information, and displaying the target promotion object on a terminal device; In response to the user's triggering operation on the target promotion object, displaying a real scene of the user's environment and displaying a virtual object of the target promotion object in the real scene; In response to the user's interactive operation on the virtual object, the virtual object is controlled to be displayed differently, and / or in response to a change in the environment where the user is located, the virtual object is controlled to be displayed differently.
[0006] In a second aspect, the present disclosure provides a content display device, comprising: A first determining module is configured to determine a target location of the user and target weather information corresponding to the target location in response to a user's search operation for weather information; a first display module, configured to determine a target promotion object based at least on the target location and the target weather information, and to display the target promotion object on a terminal device; a second display module, configured to display a real scene of the user's environment in response to the user's triggering operation on the target promotion object, and to display a virtual object of the target promotion object in the real scene; The third display module is used to control the virtual object to be displayed differently in response to the user's interactive operation on the virtual object, and / or to control the virtual object to be displayed differently in response to a change in the user's environment.
[0007] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the steps of the method described in the first aspect when executed by a processing device.
[0008] In a fourth aspect, the present disclosure provides an electronic device, comprising: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the method in the first aspect.
[0009] In a fifth aspect, the present disclosure provides a computer program product, comprising a computer program, which implements the steps of the method described in the first aspect when executed by a processor.
[0010] Through the above technical solution, the target promotion object can be determined based on at least the user's target location and the target weather information corresponding to the target location. When the target promotion object is triggered in the terminal settings, a real-life scene of the user's environment is displayed, and a virtual object of the target promotion object is displayed in the real-life scene. The virtual object can also be controlled to display differently based on changes in the user's environment and the user's interactive operations on the virtual object. Since the target promotion object is determined based on the target location and the target weather information corresponding to the target location, dynamic push of the promotion object can be achieved, thereby increasing the degree of match between the promotion object and the user's actual needs, thereby improving the promotion effect of the promotion object. In addition, since the virtual object of the target promotion object can be displayed in the real-life scene of the user's environment after the target promotion object is triggered, and the virtual object can be controlled to display differently, this not only enriches the display method and display content of the promotion object, but also enables the user to deeply interact with the promotion object, increasing the sense of interaction between the user and the promotion object, thereby improving the promotion effect of the promotion object.
[0011] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale. In the drawings: Figure 1 is a flow chart showing a content display method according to an exemplary embodiment of the present disclosure; Figure 2 is a structural block diagram of a content display device according to an exemplary embodiment of the present disclosure; Figure 3 The figure is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0013] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0014] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0015] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0016] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0017] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0018] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0019] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0020] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0021] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0022] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0023] At the same time, it is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0024] As mentioned in the background technology, when performing content promotion, the relevant technology has problems such as single promotion content and poor promotion effect.
[0025] Specifically, when promoting content, related technologies generally first determine the promotional objects that the user is interested in based on the user's historical browsing data, and then push the promotional objects that the user is interested in to the user. When promoting content using this method, there are the following problems: Insufficient scenario adaptability: Because promotional targets are determined based on users' historical browsing data without considering real-time weather data, it is impossible to dynamically adjust promotional targets based on real-time weather data when promoting content. This results in a disconnect between the promotional targets pushed to users and their actual needs, which in turn affects the effectiveness of the promotional targets. For example, in hot weather, users may be more interested in sunscreen products or refreshing drinks, but when using relevant technology to push them, hydrating and moisturizing products may be pushed to them. This creates a serious mismatch between the promotional targets and the user's environment, reducing their appeal to users and affecting their effectiveness.
[0026] Low interactivity and perception: When promoting content using related technologies, the promoted items are typically presented through images, text, and videos. Not only are the display methods and content limited, but users are also unable to interact with the promoted items. This results in users passively receiving information and lacking a sense of participation and immersion, which in turn impacts the effectiveness of the promoted items. For example, when browsing a promoted item, users only see static images or simple text descriptions, unable to interact and further understand the details of the promoted item or its usage scenarios. This makes it difficult to stimulate user interest and purchasing desire, thus impacting the effectiveness of the promoted item.
[0027] In view of this, the present disclosure provides a content display method, device, readable medium, electronic device, and program product to solve the above technical problems.
[0028] The following further explains the embodiments of the present disclosure with reference to the accompanying drawings.
[0029] Figure 1 is a flow chart of a content display method according to an exemplary embodiment of the present disclosure, referring to Figure 1 , the method may include the following steps: S101: In response to a user's search operation for weather information, determining the user's target location and target weather information corresponding to the target location.
[0030] In this embodiment, the search operation for weather information can be a search operation for weather information in a short video application, or a search operation for weather information in a search application, and of course it can be other operations. The embodiment of the present disclosure does not impose any restrictions on this.
[0031] For example, a short video application can be displayed on a terminal device. When the user opens the short video application, a video playback page can be displayed, and a search control can be displayed in the upper right corner of the video playback page. When the user triggers the search control by clicking or other operations, an information search page can be displayed, and a search input box can be displayed in the information search page. After the user searches for "weather information of area A" through the search input box, on the one hand, the weather information of area A can be displayed on the information search page, and on the other hand, the user's target location can be obtained by calling the system-level positioning service of the terminal device. After obtaining the user's target location, the target weather information corresponding to the target location can be obtained through the API (Application Programming Interface) provided by the meteorological data service provider.
[0032] The target weather information may include real-time weather parameters and / or real-time weather warning information. Real-time weather parameters may include temperature, precipitation, air pressure, visibility, and wind direction. Weather warning information refers to warning information issued by meteorological authorities based on analysis and assessment of possible meteorological disasters based on meteorological monitoring data. It may include orange and red high temperature warnings, blue rainstorm warnings, typhoon warnings, cold wave warnings, and heavy fog warnings.
[0033] S102: Determine a target promotion object based at least on the target location and target weather information, and display the target promotion object on the terminal device.
[0034] In this embodiment, the promotion object can be a commodity, an article, a game, or other objects. This disclosure does not impose any restrictions on this.
[0035] In this embodiment, determining the target promotion object based at least on the target location and target weather information can be accomplished by preconfiguring a first correspondence between weather type, location, and promotion object. Thus, after obtaining the target location and target weather information, the target weather type can be first determined based on the target weather information, and then the target promotion object can be determined based on the target weather type, target location, and the first correspondence. Alternatively, a second correspondence between weather type, regional functional attributes, and promotion object can be preconfigured. Thus, after obtaining the target location and target weather information, the target weather type can be first determined based on the target weather information, and the target regional functional attributes can be determined based on the target location. Then, the target promotion object can be determined based on the target weather type, the target regional functional attributes, and the second correspondence. Regional functional attributes can include tourist areas, commercial areas, industrial areas, agricultural areas, ecological protection areas, and residential areas, among others. Of course, the target promotion object can also be determined by other means, and this disclosed embodiment does not impose any limitations thereto.
[0036] For example, continuing to refer to the above example, the first correspondence between weather type, location and promotion object can be pre-configured. Thus, if the target location obtained through step S101 is "City A-District B-Street C", and the target weather information obtained through step S101 is "high temperature warning and temperature > 37°C", then the target weather type can be first determined based on "high temperature warning and temperature > 37°C", for example, the target weather type is "high temperature", and then based on the target weather type "high temperature", the target location "City A-District B-Street C" and the first correspondence, the target promotion object can be determined, for example, the target promotion object is "sunscreen", and the target promotion object "sunscreen" can be displayed on the information search page.
[0037] S103: In response to the user's triggering operation on the target promotion object, a real scene picture of the user's environment is displayed, and a virtual object of the target promotion object is displayed in the real scene picture.
[0038] In this embodiment, the triggering operation on the target promotion object can be a click operation, a drag operation, a long press operation or a sliding operation on the target promotion object. Of course, it can also be other operations, and the present embodiment does not impose any restrictions on this.
[0039] For example, continuing to refer to the above example, when the target promotion object "sunscreen" is displayed on the information search page, if the user clicks on "sunscreen", on the one hand, the camera in the terminal device can be activated to obtain the real-life picture of the user's environment in real time and display it on the information search page. On the other hand, a virtual model of "sunscreen" can be constructed through the terminal device, and the constructed virtual model can be displayed in the real-life picture.
[0040] S104: In response to the user's interactive operation on the virtual object, controlling the virtual object to be displayed differently, and / or in response to a change in the user's environment, controlling the virtual object to be displayed differently.
[0041] It should be understood that the user's interactive operation on the virtual object can be a click operation, a drag operation, a long press operation, or a sliding operation on the virtual object. Accordingly, controlling the virtual object to be displayed differently can include: controlling the virtual object to be displayed at different angles, controlling the virtual object to be displayed at different display dimensions, or controlling the virtual object to be disassembled for display. Of course, other methods are also possible, and the embodiments of the present disclosure do not impose any limitations on this.
[0042] In a possible manner, in response to a user's interactive operation on a virtual object, controlling the virtual object to display differently may include: When the target promotion object is a container loaded with contents, in response to the user's sliding operation on the virtual object, the contents are controlled to flow out of the virtual object; or, in response to the user's zoom-out operation on the virtual object, the virtual object is controlled to follow the zoom-out operation and be displayed in zoomed-out form, or, in response to the user's zoom-in operation on the virtual object, the virtual object is controlled to follow the zoom-in operation and be displayed in zoomed-in form.
[0043] In this embodiment, the contents can be liquid, solid, or other, and the present disclosure does not impose any restrictions on this. Accordingly, the container loaded with the contents can be sunscreen, shampoo, shower gel, or chewing gum, etc.
[0044] For example, continuing to refer to the above example, after the “sunscreen” virtual model is displayed in the real scene, if the user slides toward the bottle mouth of the “sunscreen” virtual model, the sunscreen can be controlled to flow out of the bottle.
[0045] It should be understood that a change in the user's environment may include a change in the light intensity, color temperature, or position of the user. Accordingly, controlling the display of a virtual object may include controlling the virtual object to display in different colors, or controlling the shadow of the virtual object to display at different angles or lengths. Other configurations are also possible, and the present disclosure does not impose any limitations thereto.
[0046] In a possible manner, in response to a change in the user's environment, controlling the virtual object to display differently may include: In response to changes in the light intensity of the user's environment, the reflective intensity of the virtual object is controlled to change along with the changes in the light intensity; or, in response to changes in the light color temperature of the user's environment, the display material of the virtual object is controlled to change along with the changes in the light color temperature.
[0047] For example, referring to the previous example, after the "sunscreen" virtual model is displayed in the real scene, if the light intensity in the user's environment increases, the reflection intensity of the "sunscreen" virtual model can be increased; if the light intensity in the user's environment decreases, the reflection intensity of the "sunscreen" virtual model can be reduced. Alternatively, if the color temperature of the light in the user's environment changes from warm light (5500K) to cool white light (6500K), the surface of the "sunscreen" virtual model bottle can be controlled to change from a matte texture to a high-gloss texture.
[0048] Through the above technical solution, the target promotion object can be determined based on at least the user's target location and the target weather information corresponding to the target location. When the target promotion object is triggered in the terminal settings, a real-life scene of the user's environment is displayed, and a virtual object of the target promotion object is displayed in the real-life scene. The virtual object can also be controlled to display differently based on changes in the user's environment and the user's interactive operations on the virtual object. Since the target promotion object is determined based on the target location and the target weather information corresponding to the target location, dynamic push of the promotion object can be achieved, thereby increasing the degree of match between the promotion object and the user's actual needs, thereby improving the promotion effect of the promotion object. In addition, since the virtual object of the target promotion object can be displayed in the real-life scene of the user's environment after the target promotion object is triggered, and the virtual object can be controlled to display differently, this not only enriches the display method and display content of the promotion object, but also enables the user to deeply interact with the promotion object, increasing the sense of interaction between the user and the promotion object, thereby improving the promotion effect of the promotion object.
[0049] To facilitate understanding of the content display method provided by the present disclosure, possible implementation methods of the present disclosure are described below.
[0050] Among possible ways, determining the target promotion object based on at least the target location and target weather information may include: The target position is parsed according to the preset position accuracy to obtain target position accuracy information, wherein the preset position accuracy includes the first-level position accuracy and the second-level position accuracy, and the area range corresponding to the first-level position accuracy is smaller than the area range corresponding to the second-level position accuracy; in a case where the target position accuracy information includes the first-level position accuracy, the target promotion object is determined based on at least the position information corresponding to the first-level position accuracy in the target position accuracy information and the target weather information; in a case where the target position accuracy information does not include the first-level position accuracy and includes the second-level position accuracy, the regional functional attributes corresponding to the target position are determined, and the target promotion object is determined based on at least the target weather information and the regional functional attributes.
[0051] In this embodiment, the first-level position accuracy and the second-level position accuracy can be determined according to actual conditions, and the embodiments of the present disclosure do not impose any restrictions on this. For example, the area range corresponding to the first-level position accuracy can be a street, and the area range corresponding to the second-level position accuracy can be a district. Thus, when the target location is accurate to the street, the promotion objects under the street can be pushed first. For example, if the target weather information is heavy rain, rain gear in supermarkets near the street can be pushed first. When the target location is accurate to the district, the regional functional attributes of the target location can be determined, and then the target promotion object can be determined based on at least the target weather information and the regional functional attributes.
[0052] Through this approach, when the target location is precisely determined to the street level, promotional targets within that street are prioritized. When the target location is precisely determined to the district level, the target promotion targets are determined based on the regional functional attributes of the target location. Because different districts have different regional functional attributes, determining target promotion targets based on these attributes can better align them with user needs, thereby improving the promotion effectiveness of the target promotion targets.
[0053] In a possible embodiment, the preset location accuracy further includes a third-level location accuracy, and the area range corresponding to the third-level location accuracy is larger than the area range corresponding to the second-level location accuracy. Accordingly, the content display method may further include: When the target location accuracy information does not include the first level location accuracy and the second level location accuracy, and includes the third level location accuracy, the target promotion object is determined based on at least the location information corresponding to the third level location accuracy in the target location accuracy information and the target weather information.
[0054] For example, the area corresponding to the third level of location accuracy may be a city. Thus, when the target location is accurate to the city, city-level promotion objects can be pushed.
[0055] Through the above method, the target position can be analyzed according to the first position accuracy, the second position accuracy and the third position accuracy. Therefore, when the target position accuracy information includes the first-level position accuracy, the target promotion object can be determined according to the rules corresponding to the first-level position accuracy; when the target position accuracy information does not include the first-level position accuracy and includes the second-level position accuracy, the target promotion object can be determined according to the rules corresponding to the second-level position accuracy; when the target position accuracy information does not include the first-level position accuracy and the second-level position accuracy and includes the third-level position accuracy, the target promotion object can be determined according to the rules corresponding to the third-level position accuracy. This makes it possible to determine different target promotion objects according to different target position accuracy. On the one hand, the flexibility in determining the target promotion object can be improved, and on the other hand, the target promotion object can be made to be as closely aligned with user needs as possible, thereby improving the promotion effect of the promotion object.
[0056] Among possible ways, determining the target promotion object based on at least the target location and target weather information may include: Determine the category of the promotion object based on the target location and target weather information; determine the user's historical interaction data under the category, and determine the target promotion object among the promotion objects under the category based on the historical interaction data.
[0057] For example, continuing to refer to the above example, after obtaining the target location "City A - District B - Street C" and the target weather information "high temperature warning and temperature > 37°C", you can first determine the category of the promotion object based on "City A - District B - Street C" and "high temperature warning and temperature > 37°C". For example, you can determine the category of the promotion object to be "sunscreen category". Then obtain the user's historical interaction data under the "sunscreen category", such as purchase data, click data on the promotion object, and browsing data of the promotion object. Finally, based on the historical interaction data, determine the target promotion object among the promotion objects under the "sunscreen category". For example, the promotion objects that users frequently purchase or browse under the "sunscreen category" can be determined as target promotion objects.
[0058] Through this approach, we can first determine the category of promotional objects based on the target location and target weather information, and then determine the target promotion objects based on the user's historical interaction data within that category. This not only improves the matching degree between the target promotion object and the current weather scenario, but also builds a user preference model based on the user's historical interaction data, thereby achieving personalized push of promotional objects, thereby improving the user experience and the promotion effect of the promotion object.
[0059] In a possible manner, the content display method may further include: In the case where the target weather information includes weather warning information, if the display conditions of the weather warning pop-up window are met, the weather warning pop-up window is displayed in the terminal device, and an animation for promoting the target promotion object is displayed in the weather warning pop-up window.
[0060] In this embodiment, the display condition of the weather warning pop-up window can be: the terminal device is in the unlocked state or the short video application is in the background state. In order to reduce the frequency of weather warning pop-up windows and improve the user experience, the display condition of the weather warning pop-up window can also be: the number of weather warning pop-up windows within a preset time period is less than the preset number of pop-up times, or the number of weather warning pop-up windows for the same weather warning information within a preset time period is less than the preset number of pop-up times. Of course, other conditions are also possible, and the present embodiment does not impose any restrictions on this.
[0061] For example, continuing to refer to the above example, since the target weather information includes high temperature warning information, when the terminal device is in a non-locked state and the number of pop-up times of the weather warning pop-up window for high temperature warning information on that day is less than the preset number of pop-up times, a weather warning pop-up window can be popped up in the terminal device, and a micro-plot animation for promoting "sunscreen" can be displayed in the weather warning pop-up window.
[0062] Through this approach, when the target weather information includes weather warning information, a weather warning pop-up window can be displayed, and an animation promoting the target promotional object can be displayed within the weather warning pop-up window. This not only enriches the displayed content of the promotional object and improves the user experience, but also attracts the user's attention through animation, allowing the user to promptly notice the promotional object, thereby improving the promotional effect of the promotional object.
[0063] In a possible way, in order to further attract users' attention to the target promotion object, the correspondence between the meteorological warning level and the vibration intensity can be pre-configured. Thus, when the target weather information includes meteorological warning information, the meteorological warning level can be determined first according to the meteorological warning information, and then the vibration intensity can be determined according to the correspondence between the meteorological warning level and the vibration intensity and the meteorological warning level. Finally, the terminal device can be controlled to vibrate based on the vibration intensity.
[0064] In a possible manner, the content display method may further include: After determining the target promotion object, determine the voice prompt template used to promote the target promotion object based on the target weather information, the target promotion object and the preset configuration information, wherein the configuration information is used to characterize the correspondence between the weather information, the promotion object and the voice prompt template; fill the target weather information and the target promotion object into the voice prompt template to obtain voice prompt information; and play the voice prompt information.
[0065] For example, for each brand, voice prompt templates for different weather information can be pre-configured. For example, in hot weather, the voice prompt template can be: [YY Brand] reminds you: The current temperature is XX°C, travel stylishly, XX object will protect your skin. In cool weather, the voice prompt template can be: [YY Brand] reminds you: The current temperature is XX°C, the breeze is cool, the sun is still shining, XX object will protect your skin. Therefore, after obtaining the target weather information and the target promotion object, you can first determine the voice prompt templates for different weather information under the brand of the target promotion object, and then determine the voice prompt template for promoting the target promotion object from the voice prompt templates for different weather information under the brand based on the target weather information. After that, you can fill the target weather information and the target promotion object into the voice prompt template to obtain the voice prompt information. For example, if the target weather information is 37°C and the target promotion object is CC sunscreen of the YY brand, the target weather and target promotion object can be filled into the language prompt template corresponding to high temperature weather, and a voice prompt message can be obtained: [YY brand] reminds you: The current temperature is 37°C, travel fashionably, CC sunscreen will protect your skin. Finally, the voice prompt message can be played through the speaker of the terminal device.
[0066] Through the above method, after determining the target promotion object, voice prompt information for promoting the target promotion object can be constructed and played. Thus, the user's attention can be further attracted through the voice prompt information, so that the user can notice the promotion object in time, further improving the promotion effect of the promotion object.
[0067] In order to further attract user attention, after determining the target promotion object, weather effects can be displayed on the information search page, and the weather effects can be integrated with the promotion object to further enrich the content display of the promotion object and the promotion effect of the promotion object.
[0068] For example, in a rainstorm scene, the rain curtain particle special effects can be displayed on the information search page, and the rainfall intensity is positively correlated with the particle density. The brand information of the promotion object can also be displayed on the information search page, such as the brand logo, and the brand logo can be added with waterproof effects, such as the animation of raindrops sliding down.
[0069] For example, in a high temperature scenario: a dynamic background image and the brand information of the promotion object can be displayed on the information search page, where the dynamic background image can be a background image whose color gradually changes to orange-red, and the brand information can be a brand copy, and the font size of the brand copy increases with increasing temperature. For example, for every 5°C increase in temperature, the font size of the brand copy increases by 1pt.
[0070] It should be understood that the display effect of weather effects and / or dynamic background images is related to the rendering performance of the terminal device. In a possible way, in order to improve the display effect of weather effects, the frame rate of the terminal device can be monitored in real time during the display of weather effects and / or dynamic background images. When the frame rate is less than 30 frames / second and lasts for 3 seconds, it is judged that the rendering performance of the terminal device is insufficient. At this time, the weather effects can be disabled, and / or a static background image can be used instead of the dynamic background image, and core brand elements such as the brand LOGO and brand copy can be retained.
[0071] In a possible manner, in response to a user's search operation for weather information, determining the user's target location and target weather information corresponding to the target location may include: In response to a user's search operation for weather information, the positioning status of the terminal device is determined, and the positioning status is used to indicate whether the positioning information of the terminal device is valid; when the positioning status indicates that the positioning information of the terminal device is invalid, the IP (Internet Protocol) address of the terminal device and the historical resident location of the user corresponding to the terminal device are determined; based on the IP address and historical resident location of the terminal device, the user's target location and the target weather information corresponding to the target location are determined.
[0072] In this embodiment, the positioning status of the terminal device can be determined based on whether the system-level positioning service of the terminal device has not returned any data for a preset period of time, or whether the error of the returned data is greater than a preset error value. For example, if the system-level positioning service of the terminal device has not returned any data for 5 seconds, or the error of the returned data is greater than 3 kilometers, then the positioning information of the terminal device is determined to be invalid.
[0073] In this embodiment, the historical permanent location of the terminal device corresponding to the user can be obtained by recording all positioning points of the terminal device under the IP address in the past 7 days, then clustering all positioning points in the 7 days, and determining the cluster center position as the historical permanent location.
[0074] For example, when the positioning status indicates that the positioning information of the terminal device is invalid, if it is determined that the IP address of the terminal device is City F, and the historical permanent location of the user corresponding to the terminal device is District E, then City F-District E can be determined as the user's target location, so that the target weather information can be obtained by obtaining the weather information of City F-District E.
[0075] Through the above method, when the user location information cannot be obtained based on the system-level positioning service of the terminal device, the target location and target weather information can be determined based on the IP address of the terminal device and the historical permanent location of the user corresponding to the terminal device. This allows the target promotion object to be more closely matched with the user, thereby improving the user experience.
[0076] Among the possible approaches, this also includes: Determine historical location information of a user corresponding to the terminal device under the IP address; determine target information based on the historical location information, the target information being used to indicate whether the number of times the user corresponding to the terminal device has visited a location area of a preset type has reached a preset number; Accordingly, determining the user's target location and target weather information corresponding to the target location based on the IP address and historical resident location of the terminal device may include: When the target information indicates that the number of times the user corresponding to the terminal device has visited a location area of a preset type has reached a preset number of times, the user's target location and the target weather information corresponding to the target location are determined based on the IP address of the terminal device and the location area of the preset type; when the target information indicates that the number of times the user corresponding to the terminal device has visited a location area of a preset type has not reached a preset number of times, the user's target location and the target weather information corresponding to the target location are determined based on the IP address of the terminal device and the historical resident location of the terminal device.
[0077] In this embodiment, the preset type of location area may be a tourist area, or an ecological protection area, or other types, and the embodiment of the present disclosure does not impose any limitation on this.
[0078] For example, continuing with the above example, if the preset location area is a tourist area, then after obtaining the IP address of the terminal device, the user's historical location information under that IP address can be determined. Based on this historical location information, the number of times the user has visited the tourist area under that IP address can be determined. If this number is greater than or equal to the preset number, the target location can be determined based on the IP address and the tourist area. For example, if the IP address is City F and the tourist area is Lake D, then the Lake D tourist area in City F can be determined as the target location, and the weather information for the Lake D tourist area in City F can be used as the target weather information. If this number is less than the preset number, then District E in City F can be determined as the user's target location, and the weather information for District E in City F can be used as the target weather information.
[0079] It should be understood that during the use of the terminal device, there may be a situation where the network between the terminal device and the server is interrupted. In this case, in order to be able to push the target promotion object to the user in a timely manner, each time the user opens the short video application, a preset number of promotion objects related to the current weather can be loaded from the server and stored in the local cache of the terminal device. Each time a new promotion object is requested from the server, the local cache can be updated according to the LRU (Least Recently Used) rule. Afterwards, if a network interruption is detected between the terminal device and the server, the promotion object can be loaded from the local cache. Among them, when loading the promotion object from the local cache, the promotion object that the user has browsed before can be loaded first, or the promotion object can be loaded randomly. Of course, other methods are also possible, and the embodiments of the present disclosure do not impose any restrictions on this.
[0080] Through the above method, the promotion object can be loaded from the local cache when the network between the terminal device and the server is interrupted. Compared with frequently establishing a connection between the terminal device and the server when the network between the terminal device and the server is interrupted, and obtaining the promotion object from the server after the connection is established, the server's resource consumption can be reduced.
[0081] Based on the same concept, the embodiment of the present disclosure also provides a content display device, such as Figure 2 As shown, the content display device 200 may include: The first determining module 201 is configured to determine a target location of the user and target weather information corresponding to the target location in response to a user's search operation for weather information; A first display module 202 is configured to determine a target promotion object based at least on the target location and target weather information, and to display the target promotion object on a terminal device; The second display module 203 is used to display the real scene of the user's environment in response to the user's triggering operation on the target promotion object, and display the virtual object of the target promotion object in the real scene; The third display module 204 is used to control the virtual object to be displayed differently in response to the user's interactive operation on the virtual object, and / or to control the virtual object to be displayed differently in response to changes in the user's environment.
[0082] The above-mentioned content display device 200 can at least determine the target promotion object based on the user's target location and the target weather information corresponding to the target location. When the target promotion object is triggered in the terminal settings, the real scene of the user's environment is displayed, and the virtual object of the target promotion object is displayed in the real scene. The virtual object can also be controlled to display differently according to changes in the user's environment and the user's interactive operations on the virtual object. Since the target promotion object is determined based on the target location and the target weather information corresponding to the target location, a scenario-based dynamic push can be implemented for the promotion object, thereby increasing the degree of match between the promotion object and the user's actual needs, thereby improving the promotion effect of the promotion object. In addition, since the virtual object of the target promotion object can be displayed in the real scene of the user's environment after the target promotion object is triggered, and the virtual object can be controlled to display differently, this not only enriches the display method and display content of the promotion object, but also enables the user to deeply interact with the promotion object, increasing the sense of interaction between the user and the promotion object, thereby improving the promotion effect of the promotion object.
[0083] In a possible manner, the third display module 204 can be used to respond to changes in the light intensity of the user's environment and control the reflection intensity of the virtual object to change along with the change in light intensity; or, it can be used to respond to changes in the light color temperature of the user's environment and control the display material of the virtual object to change along with the change in light color temperature.
[0084] In a possible manner, the third display module 204 can be used to control the contents to flow out of the virtual object in response to a user's sliding operation on the virtual object when the target promotion object is a container loaded with contents; or, it can be used to control the virtual object to be displayed in a reduced size following the zoom-out operation in response to a user's zoom-in operation on the virtual object, or to be displayed in an enlarged size following the zoom-in operation in response to a user's zoom-in operation on the virtual object.
[0085] In a possible manner, the first display module 202 may include: a parsing unit, configured to parse the target position according to a preset position accuracy to obtain target position accuracy information, wherein the preset position accuracy includes a first-level position accuracy and a second-level position accuracy, and the area range corresponding to the first-level position accuracy is smaller than the area range corresponding to the second-level position accuracy; a first determining unit configured to determine a target promotion object based on at least the location information corresponding to the first level of location accuracy in the target location accuracy information and the target weather information, when the target location accuracy information includes the first level of location accuracy; The second determination unit is used to determine the regional functional attributes corresponding to the target location when the target location accuracy information does not include the first-level location accuracy but includes the second-level location accuracy, and to determine the target promotion object based on at least the target weather information and the regional functional attributes.
[0086] In a possible manner, the preset position accuracy further includes a third-level position accuracy, and the area range corresponding to the third-level position accuracy is larger than the area range corresponding to the second-level position accuracy. Accordingly, the first display module 202 may include: The third determination unit is used to determine the target promotion object based on at least the position information corresponding to the third level position accuracy in the target position accuracy information and the target weather information when the target position accuracy information does not include the first level position accuracy and the second level position accuracy and includes the third level position accuracy.
[0087] In a possible manner, the first display module 202 may include: a fourth determining unit, configured to determine a category of a promotion target based on a target location and target weather information; The fifth determining unit is configured to determine the user's historical interaction data under a category, and determine a target promotion object from among the promotion objects under the category based on the historical interaction data.
[0088] In a possible manner, the content display device 200 may further include: The fourth display module is used to display a weather warning pop-up window in the terminal device when the target weather information includes weather warning information and the display conditions of the weather warning pop-up window are met, and to display an animation for promoting the target promotion object in the weather warning pop-up window.
[0089] In a possible manner, the content display device 200 may further include: A second determining module is configured to, after determining a target promotion object, determine a voice prompt template for promoting the target promotion object based on weather information, the target promotion object, and preset configuration information, wherein the configuration information is used to represent a correspondence between the weather information, the promotion object, and the voice prompt template; A processing module is used to fill weather information and target promotion objects into a voice prompt template to obtain voice prompt information; The playback module is used to play voice prompt information.
[0090] In a possible manner, the first determining module 201 may include: a sixth determining unit, configured to determine a positioning status of the terminal device in response to a user's search operation for weather information, the positioning status being used to indicate whether positioning information of the terminal device is valid; a seventh determining unit, configured to determine, when the positioning status indicates that the positioning information of the terminal device is invalid, the IP address of the terminal device and the historical resident location of the user corresponding to the terminal device; The eighth determining unit is used to determine the user's target location and the target weather information corresponding to the target location based on the IP address and historical resident location of the terminal device.
[0091] In a possible manner, the first determining module 201 may further include: A ninth determining unit, configured to determine historical location information of a user corresponding to the terminal device under the IP address; A tenth determining unit, configured to determine target information based on the historical location information, where the target information is used to indicate whether the number of times a user corresponding to the terminal device has visited a location area of a preset type has reached a preset number; Accordingly, the eighth determining unit may include: A first determining subunit is configured to determine a target location of the user and target weather information corresponding to the target location based on the IP address of the terminal device and the location area of the preset type, when the target information indicates that the number of times the user corresponding to the terminal device has visited a location area of the preset type reaches a preset number; The second determination subunit is used to determine the user's target location and the target weather information corresponding to the target location based on the IP address of the terminal device and the historical permanent location of the terminal device when the target information indicates that the number of times the user corresponding to the terminal device has visited the preset type of location area has not reached a preset number.
[0092] Based on the same concept, an embodiment of the present disclosure further provides a computer-readable medium having a computer program stored thereon, which implements the steps of any of the above-mentioned content display methods when executed by a processing device.
[0093] Based on the same concept, an embodiment of the present disclosure further provides an electronic device, which may include: a storage device having a computer program stored thereon; The processing device is used to execute the computer program in the storage device to implement the steps of any of the above-mentioned content display methods.
[0094] Based on the same concept, an embodiment of the present disclosure further provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned content display methods when executed by a processor.
[0095] Reference below Figure 3, which shows a schematic structural diagram of an electronic device 300 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0096] like Figure 3 As shown, electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 302 or programs loaded from a storage device 308 into a random access memory (RAM) 303. RAM 303 also stores various programs and data required for the operation of electronic device 300. Processing device 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to bus 304.
[0097] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0098] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0099] It should be noted that the computer-readable medium described above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable storage media may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wire, optical cable, RF (radio frequency), or any suitable combination thereof.
[0100] In some embodiments, communications may be conducted using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0101] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0102] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: determines the user's target location and the target weather information corresponding to the target location in response to the user's search operation for weather information; determines the target promotion object based on at least the target location and the target weather information, and displays the target promotion object in the terminal device; displays the real-life picture of the user's environment and the virtual object of the target promotion object in the real-life picture in response to the user's triggering operation on the target promotion object; controls the virtual object to be displayed differently in response to the user's interactive operation on the virtual object, and / or controls the virtual object to be displayed differently in response to changes in the user's environment.
[0103] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] The modules described in the embodiments of the present disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the module itself.
[0106] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0107] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0108] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the present disclosure is not limited to technical solutions formed by specific combinations of the aforementioned technical features. It also encompasses other technical solutions formed by any combination of the aforementioned technical features or their equivalents, without departing from the scope of the above disclosure. For example, a technical solution formed by replacing the aforementioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0109] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0110] Although the subject matter has been described using language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the apparatus in the above-described embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method and will not be elaborated upon here.
Claims
1. A content display method, characterized in that: The content display method includes: In response to a user's search operation for weather information, determining a target location of the user and target weather information corresponding to the target location; determining a target promotion object based at least on the target location and the target weather information, and displaying the target promotion object on a terminal device; In response to the user's triggering operation on the target promotion object, displaying a real scene of the user's environment and displaying a virtual object of the target promotion object in the real scene; In response to the user's interactive operation on the virtual object, the virtual object is controlled to be displayed differently, and / or in response to a change in the environment where the user is located, the virtual object is controlled to be displayed differently.
2. The content display method according to claim 1, characterized in that: The controlling the virtual object to display differently in response to a change in the user's environment includes: In response to a change in the light intensity of the user's environment, controlling the light reflection intensity of the virtual object to change in accordance with the change in the light intensity; or, In response to a change in the color temperature of light in the user's environment, the display material of the virtual object is controlled to change following the change in the color temperature of the light.
3. The content display method according to claim 1, wherein: The controlling the virtual object to display differently in response to the user's interactive operation on the virtual object includes: In a case where the target promotion object is a container loaded with contents, in response to the user's sliding operation on the virtual object, controlling the contents to flow out of the virtual object; or In response to the user's zoom-out operation on the virtual object, the virtual object is controlled to be displayed in zoomed-out following the zoom-out operation, or, in response to the user's zoom-in operation on the virtual object, the virtual object is displayed in zoomed-in following the zoom-in operation.
4. The content display method according to any one of claims 1 to 3, characterized in that: The determining of a target promotion object based at least on the target location and the target weather information includes: parsing the target position according to a preset position accuracy to obtain target position accuracy information, wherein the preset position accuracy includes a first-level position accuracy and a second-level position accuracy, and the area range corresponding to the first-level position accuracy is smaller than the area range corresponding to the second-level position accuracy; In a case where the target location accuracy information includes the first level location accuracy, determining a target promotion object based on at least location information corresponding to the first level location accuracy in the target location accuracy information and the target weather information; When the target location accuracy information does not include the first-level location accuracy but includes the second-level location accuracy, the regional functional attributes corresponding to the target location are determined, and the target promotion object is determined based on at least the target weather information and the regional functional attributes.
5. The content display method according to claim 4, characterized in that: The preset position accuracy further includes a third level position accuracy, and the area range corresponding to the third level position accuracy is larger than the area range corresponding to the second level position accuracy. The content display method further includes: In the case that the target location accuracy information does not include the first level location accuracy and the second level location accuracy, and includes the third level location accuracy, the target promotion object is determined based on at least the location information corresponding to the third level location accuracy in the target location accuracy information and the target weather information.
6. The content display method according to any one of claims 1 to 3, characterized in that: The determining of a target promotion object based at least on the target location and the target weather information includes: Determining the category of the promotion object according to the target location and the target weather information; Determine the historical interaction data of the user under the category, and determine a target promotion object from among the promotion objects under the category based on the historical interaction data.
7. The content display method according to any one of claims 1 to 3, characterized in that: The content display method further includes: In the case where the target weather information includes weather warning information, if the display conditions of the weather warning pop-up window are met, the weather warning pop-up window is displayed in the terminal device, and an animation for promoting the target promotion object is displayed in the weather warning pop-up window.
8. The content display method according to any one of claims 1 to 3, characterized in that: The content display method further includes: After determining the target promotion object, determining a voice prompt template for promoting the target promotion object based on the weather information, the target promotion object, and preset configuration information, wherein the configuration information is used to represent the correspondence between the weather information, the promotion object, and the voice prompt template; Filling the weather information and the target promotion object into the voice prompt template to obtain voice prompt information; Play the voice prompt information.
9. The content display method according to any one of claims 1 to 3, characterized in that: The step of determining a target location of the user and target weather information corresponding to the target location in response to a user's search operation for weather information includes: In response to a user's search operation for weather information, determining a positioning status of a terminal device, the positioning status being used to indicate whether positioning information of the terminal device is valid; When the positioning status indicates that the positioning information of the terminal device is invalid, determining the IP address of the terminal device and the historical resident location of the user corresponding to the terminal device; The target location of the user and the target weather information corresponding to the target location are determined according to the IP address of the terminal device and the historical resident location.
10. The content display method according to claim 9, characterized in that: Also includes: Determine the historical location information of the user corresponding to the terminal device under the IP address; Determining target information based on the historical location information, where the target information is used to indicate whether the number of times a user corresponding to the terminal device visits a location area of a preset type reaches a preset number; The determining, based on the IP address of the terminal device and the historical resident location, the target location of the user and the target weather information corresponding to the target location includes: When the target information indicates that the number of times the user corresponding to the terminal device visits a location area of a preset type reaches a preset number, determining the target location of the user and the target weather information corresponding to the target location based on the IP address of the terminal device and the location area of the preset type; When the target information indicates that the number of times the user corresponding to the terminal device has visited a location area of a preset type has not reached a preset number, the target location of the user and the target weather information corresponding to the target location are determined based on the IP address of the terminal device and the historical resident location of the terminal device.
11. A content display device, characterized in that: The content display device includes: A first determining module is configured to determine a target location of the user and target weather information corresponding to the target location in response to a user's search operation for weather information; a first display module, configured to determine a target promotion object based at least on the target location and the target weather information, and to display the target promotion object on a terminal device; a second display module, configured to display a real scene of the user's environment in response to the user's triggering operation on the target promotion object, and to display a virtual object of the target promotion object in the real scene; The third display module is used to control the virtual object to be displayed differently in response to the user's interactive operation on the virtual object, and / or to control the virtual object to be displayed differently in response to a change in the user's environment.
12. A computer-readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 10 are implemented.
13. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.