CN114661215A - Animation display method and device, electronic equipment, storage medium and program product - Google Patents

Animation display method and device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN114661215A
CN114661215A CN202210346528.9A CN202210346528A CN114661215A CN 114661215 A CN114661215 A CN 114661215A CN 202210346528 A CN202210346528 A CN 202210346528A CN 114661215 A CN114661215 A CN 114661215A
Authority
CN
China
Prior art keywords
target
animation
resource
resources
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210346528.9A
Other languages
Chinese (zh)
Inventor
张航博
李墨
杨明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210346528.9A priority Critical patent/CN114661215A/en
Publication of CN114661215A publication Critical patent/CN114661215A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an animation display method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. The method comprises the following steps: displaying a multimedia presentation page; responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying a target animation resource on the loading prompt area; wherein the target animation resource is associated with the target location. The method can display the target animation resources instead of fixed icons in the loading prompt area, so that the user can concentrate attention on the displayed target animation resources, the user is prevented from being boring when waiting for data refreshing, the displayed target animation resources are matched with the target positions, and better use experience is brought to the user.

Description

Animation display method and device, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an animation display method and apparatus, an electronic device, a storage medium, and a program product.
Background
With the diversification and growth of terminal applications, users can share and acquire rich information by using applications installed on terminals. In the related art, when a user uses an application installed on a terminal, if a refresh operation is performed, the application page is displayed only singly, for example, only a fixed icon is displayed, which causes that the user is boring while waiting for data refresh, and when the refresh time is too long, the user's attention may not be focused and the application is closed.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure provides an animation display method, an animation display device, electronic equipment and a computer-readable storage medium, which are used for at least solving the problem that in the related art, a single display is realized during page refreshing.
According to an aspect of the embodiments of the present disclosure, there is provided an animation display method, including: displaying a multimedia presentation page; responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying a target animation resource on the loading prompt area; wherein the target animation resource is associated with a target location of the target.
In one embodiment of the present disclosure, the target animation resource comprises a target featured animation resource associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target symbolic building animation resource associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target streetscape animation resource associated with the target location.
In one embodiment of the present disclosure, the target animation resources further comprise target weather animation resources associated with the target location.
In one embodiment of the present disclosure, presenting a target animation resource on the load hint area includes: loading the target featured animation resource at a first view level of the loading prompt region; loading the target weather animation asset at a second view level of the load hint area; and overlaying the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in an overlaying mode in the loading prompt area.
In one embodiment of the present disclosure, the refresh operation instruction is to refresh the first view level and/or the second view level.
In one embodiment of the present disclosure, in response to a refresh operation instruction for the multimedia presentation page, displaying a load prompt area on the multimedia presentation page, where a target animation resource is presented, includes: responding to the refresh operation instruction, and triggering a refresh request of the multimedia display page; and responding to the refreshing request, displaying the loading prompt area on the multimedia display page, and playing the target animation resources in the loading prompt area.
In one embodiment of the present disclosure, further comprising: and when the refreshing of the multimedia display page is finished, stopping playing the target animation resource, and hiding the loading prompt area on the multimedia display page.
In one embodiment of the present disclosure, further comprising: inquiring the geographical position of the target terminal at regular time; if the distance between the latest geographical position of the target terminal and the last geographical position of the target terminal exceeds a preset distance threshold, acquiring animation resources of the latest geographical position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographical position of the target terminal, and setting the downloaded animation resource as the target animation resource; and if the resources are not updated, determining the animation resources displayed last time as the target animation resources.
According to another aspect of the embodiments of the present disclosure, there is provided an animation display device, including: the display module is used for displaying a multimedia display page; the display module is used for responding to a refreshing operation instruction aiming at the multimedia display page, displaying a loading prompt area on the multimedia display page and displaying a target animation resource on the loading prompt area; wherein the target animation resource is associated with a target location.
In one embodiment of the present disclosure, the target animation resource comprises a target featured animation resource associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target symbolic building animation resource associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target streetscape animation resource associated with the target location.
In one embodiment of the present disclosure, the target animation resources further comprise target weather animation resources associated with the target location.
In one embodiment of the present disclosure, the display module is further configured to: loading the target featured animation resource at a first view level of the loading hint area; loading the target weather animation asset at a second view level of the load hint area; and overlaying the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in an overlaying mode in the loading prompt area.
In one embodiment of the present disclosure, the refresh operation instruction is to refresh the first view level and/or the second view level.
In one embodiment of the present disclosure, the display module comprises: the triggering submodule is used for responding to the refreshing operation instruction and triggering a refreshing request of the multimedia display page; and the playing sub-module is used for responding to the refreshing request, displaying the loading prompt area on the multimedia display page, and playing the target animation resource in the loading prompt area.
In one embodiment of the present disclosure, the display module further comprises: and the hiding submodule is used for stopping playing the target animation resource when refreshing of the multimedia display page is finished, and hiding the loading prompt area on the multimedia display page.
In an embodiment of the present disclosure, the system further includes a resource update module, configured to: inquiring the geographical position of the target terminal at regular time; if the distance between the latest geographical position of the target terminal and the last geographical position of the target terminal exceeds a preset distance threshold, acquiring animation resources of the latest geographical position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographical position of the target terminal, and setting the downloaded animation resource as the target animation resource; and if the resources are not updated, determining the animation resources displayed last time as the target animation resources.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the animation display method described above.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the animation display method described above.
According to yet another aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program, which when executed by a processor, implements the animation display method described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: on one hand, when a multimedia display page is displayed, if a refreshing operation is carried out on the multimedia display page, namely a refreshing operation instruction is triggered to the multimedia display page, a loading prompt area can be displayed on the multimedia display page, and meanwhile, a target animation resource is displayed in the loading prompt area instead of a fixed icon, so that a user can concentrate attention on the displayed target animation resource, and the user is prevented from being boring when waiting for data refreshing; on the other hand, the target animation resources displayed in the loading prompt area are associated with the target position, so that the target position can be associated, different target animation resources corresponding to different target positions can be provided at different target positions, the target animation resources displayed in the loading prompt area are further enriched, and the displayed target animation resources are matched with the target position, so that better use experience is brought to a user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating an animation presentation method according to an exemplary embodiment;
FIG. 2 is a schematic diagram of a multimedia presentation page for an application;
FIG. 3 is a diagram illustrating a multimedia presentation page during a refresh operation in the related art;
FIG. 4 is a diagram illustrating a multimedia presentation page when a refresh operation is performed, in accordance with an illustrative embodiment;
FIG. 5 is a schematic illustration of a multimedia presentation page when undergoing a refresh operation in accordance with yet another exemplary embodiment;
FIG. 6 is a schematic illustration of a multimedia presentation page when undergoing a refresh operation in accordance with yet another exemplary embodiment;
FIG. 7 is a schematic illustration of a multimedia presentation page when undergoing a refresh operation in accordance with yet another exemplary embodiment;
FIG. 8 is a flowchart illustrating a method of updating a target animation resource, according to an exemplary embodiment;
FIG. 9 is a flowchart of an animation rendering method shown in accordance with yet another illustrative embodiment;
FIG. 10 is a block diagram of an animation display device, shown in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating the structure of an animation display device according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that the user information referred to in the present disclosure, including but not limited to user device information, user personal information, etc., is information authorized by the user or sufficiently authorized by each party.
The method provided by the embodiment of the disclosure can be executed by any type of electronic device, such as a server or a terminal device, or by interaction between the server and the terminal device. The terminal device and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform, and the like.
The terminal device may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like.
FIG. 1 is a flowchart illustrating an animation rendering method according to an exemplary embodiment. As shown in fig. 1, the animation display method includes the following steps.
Step S110, displaying the multimedia display page.
Specifically, the multimedia presentation service may be displayed on a target terminal, which may be a mobile device used by a user, such as a mobile phone or a tablet computer. And the user uses the application installed on the target terminal and displays the multimedia display page of the application on the target terminal.
For example, for a short video application, a home page of one or more short videos may be displayed on the multimedia display page, and a short video may also be played. For another example, for a certain electronic library application, the multimedia display page may display the home pages of one or more electronic books, and may also display the specific content of a certain electronic book. For another example, for a certain life application, a homepage of a short video, a small article of life, and a fun shared by a user may be displayed on the multimedia display page.
Fig. 2 is a schematic diagram of a multimedia presentation page for an application. As shown in fig. 2, the multimedia presentation page may present weather information of a city a and a geographic location where the target terminal (i.e., the current user) is located, and may also present related content of the user, such as an avatar of another user, content shared by another user, and a distance between the other user and the current user.
The multimedia presentation page shown in fig. 2 includes different sub-page tags, such as a focus sub-page tag, a find sub-page tag, a city sub-page tag, a music sub-page tag, and a gourmet sub-page tag, and the different sub-page tags may be used to classify the content shared by the user. For example, if the User1 selects the cate sub-page tab, the content displayed on the multimedia presentation page is the content related to the cate, such as the method for making the cate. Specifically, personalized recommendation can be performed according to the information of the User1, and the content which is interested by the User1 and is related to the food is preferentially displayed to the User 1; and the User1 can also be recommended according to the information of all users, and the contents related to the gourmet food with high click rate or high number of comments are preferentially displayed.
The multimedia presentation page shown in fig. 2 further includes a home page, a pick, a message, and my page tags. The home page tag is used for displaying home page content of the application, the carefully chosen tag is used for displaying carefully chosen content of the application, the message is used for displaying message information of the user, and the My tag is used for displaying setting information related to the user. In addition, the multimedia presentation page shown in fig. 2 further includes a search tag, an hour list tag, a filtering tag, a preferential group purchase tag, a hit list tag, and the like. When the user uses the application, the user can click on the label on the multimedia presentation page of the application, and then the multimedia presentation page can jump to the page related to the clicked label.
And step S120, responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying the target animation resources on the loading prompt area.
In an exemplary embodiment, in response to a refresh operation instruction for a multimedia presentation page, displaying a load hint region on the multimedia presentation page, where a target animation resource is presented, may include: responding to a refresh operation instruction, and triggering a refresh request of a multimedia display page; and responding to the refreshing request, displaying a loading prompt area on the multimedia display page, and playing the target animation resources in the loading prompt area.
And when the user carries out refreshing operation, triggering to generate a refreshing request of the multimedia page. When the refresh request of the page is started to be processed, namely the background starts to acquire the page data so as to refresh the page, the loading prompt area shown in fig. 4 is displayed on the multimedia presentation page, and the target animation resource is played in the loading prompt area.
Fig. 3 is a schematic diagram of a multimedia presentation page during a refresh operation in the related art. As can be seen from fig. 3, in the related art, when a user performs a refresh operation, a load prompt area is displayed on a page, but only a fixed load icon is displayed on the load prompt area. Therefore, the user is boring to wait for the data to be refreshed, and when the refreshing time is too long, the user may be distracted from closing the application.
Fig. 4 is a diagram illustrating a multimedia presentation page when a refresh operation is performed, according to an example embodiment. As shown in fig. 4, when a user performs a refresh operation, such as a user pulls down for refresh or a user clicks a tab on a page for skip refresh, a loading prompt area is displayed on a multimedia presentation page, and the loading prompt area may be used to prompt the user that data is currently being refreshed. As can be seen from fig. 4, the target animation resource can be displayed in addition to the fixed loading icon on the loading prompt area, so that the user can concentrate on the displayed animation resource, and the user is prevented from being boring when waiting for data refresh.
In addition, in an exemplary embodiment, the animation presentation method may further include: and when the refreshing of the multimedia display page is finished, stopping playing the target animation resource, and hiding the loading prompt area on the multimedia display page.
After the page data acquisition is completed in the background and the page refresh is completed, the playing of the target animation resource can be stopped, and the loading prompt area is hidden on the multimedia presentation page, so that the schematic diagram of the multimedia page of the application shown in fig. 2 is obtained.
In embodiments of the present disclosure, a target animation resource is associated with a target location. The target position may be a position where the user performs the refresh operation. That is, the target animation resource may be associated with a location of the target terminal at a target time (i.e., a time at which the user performed the refresh operation). Referring to the multimedia presentation page shown in fig. 4, the current target position is a city a, the weather is sunny, and the animation resources related to the city a can be presented in the loading prompt area. The method has the advantages that when the user uses the application, the geographic position of the user can be correlated, the animation resource of the geographic position can be given at different geographic positions, the position information can be obtained without entering the same-city page for refreshing and positioning, the design of the animation resource can be enriched, and better use experience is brought to the user.
Wherein the target animation resources can include target feature animation resources associated with the target location. Further, the target featured animation resource can include a target symbolic building animation resource associated with the target location. Referring to fig. 4, the animation resources displayed on the loading prompt area are landmark buildings of city a. In the embodiment of the disclosure, the target characteristic animation resource may include a target landmark building animation resource associated with a target position, so that a user may obtain position information more quickly and conveniently. In addition, if the user clicks the symbolic building animation resource displayed on the loading prompt area, the user can directly jump to a content page related to the symbolic building, such as a specific position of the symbolic building, and then play and walk of the symbolic building, so that the use experience of the user can be further improved.
And, the target featured animation resource can include a target streetscape animation resource associated with the target location. For example, the target location is city a, and the animation resource can be a featured street view resource of city a, such as featured courtyard of city a, and further such as street alley of city a, and further such as street gourmet snack of city a. In the embodiment of the disclosure, the target feature animation resources may include target street view animation resources associated with the target position, so that the user can enjoy street views of the target position conveniently, the user can focus on the displayed street view animation, and the tediousness of waiting for data refreshing is avoided. In addition, if the user clicks the target street view animation resource displayed on the loading prompt region, the user can directly jump to a content page related to the target street view animation resource, such as a specific position of the target street view, and then play and attack as the target street view, and further such as a food snack manufacturing method of the target street view, and further such as a specific position of a food snack of the target street view, so that the use experience of the user can be further improved.
In order to make the animation effect more flexible, the target characteristic animation resources can be flexibly configured. For example, the target location is city a, the target feature animation resource is a landmark building, the scenes of the landmark buildings in different seasons can be played in the loading prompt area, the internal structure of the landmark building can be played in the loading prompt area, and the historical introduction of the landmark building can be played in the loading prompt area. For another example, the target location is city a, the target feature animation resource is street view animation resource of city a, and the street view animation resource comprises street food snacks, and the method for making the street food snacks can be played in the loading prompt region. For another example, the target location is city a, the target feature animation resource is a feature courtyard of city a, and a history introduction of the courtyard can be played in the loading prompt area. For another example, the target position is a city a, the target feature animation resource is a plurality of landmark buildings of the city a, and the landmark buildings can be played in turn in the loading prompt area. In addition, the target featured animation resource can also be a promotional video related to the target location.
Additionally, the target animation resources may also include target weather animation resources associated with the target location. As already explained above, the target position may be the position at which the user performs the refresh operation. Therefore, the target weather animation resource can reflect the weather condition of the position where the user performs the refreshing operation. Referring to fig. 4, the weather of the city a is sunny, and the animation resources displayed on the loading prompt area further include sunny animation resources. It should be noted that the target weather animation resource may be a static weather animation, such as a sunny weather animation resource that is the sun, or a dynamic weather animation, such as a rainy weather animation resource that is the rain. In the embodiment of the disclosure, the target animation resources may include target weather animation resources, so that a user can know weather information of a current position in time conveniently, and the animation resources can be enriched.
In an exemplary embodiment, presenting the target animation resource on the load hint area may include: loading a target characteristic animation resource on a first view level of a loading prompt area; loading a target weather animation resource on a second view level of the loading prompt area; and overlaying the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in the loading prompt area in an overlaying mode.
And the refresh operation instruction may be for refreshing the first view level and/or the second view level. That is, the target feature animation resource may be loaded at a first view level of the load hint area, and the target weather animation resource may be loaded at a second view level of the load hint area, i.e., the first view level may be superimposed on the second view level, such that the target feature animation resource and the target weather animation resource may be simultaneously displayed at the load hint area. As shown in fig. 4, the target location is a city a, and a landmark building of the city a can be shown on the loading prompt area, and a sunny animation resource can also be shown. The target featured animation resource can be loaded at a first view level of the loading hint area, i.e., the target featured animation resource is shown in the loading hint area. Fig. 5 is a schematic diagram illustrating a multimedia presentation page when a refresh operation is performed, according to yet another exemplary embodiment. As shown in fig. 5, the target location is city a, and the landmark building and the loading icon of city a are shown on the loading prompt area. The target weather animation asset may be loaded at a second view level of the load hint area, i.e., the target weather animation asset is presented in the load hint area. Fig. 6 is a schematic diagram illustrating a multimedia presentation page when a refresh operation is performed, according to yet another exemplary embodiment. As shown in fig. 6, the target location is city a, and the animation and the loading icon are shown on the loading prompt area as raining.
In addition, the loading prompt area can be divided into a plurality of sub-areas, and each sub-area is used for showing different animation resources. Fig. 7 is a schematic diagram illustrating a multimedia presentation page when a refresh operation is performed, according to yet another exemplary embodiment. As shown in fig. 7, the target location is a city a, a landmark building of the city a is shown in the first sub-area of the loading prompt area, and a rainy animation is shown in the second sub-area of the loading prompt area.
It should be noted that fig. 4 to fig. 7 are described by taking the target feature animation resource as the landmark building. As described above, in the embodiments of the present disclosure, the target animation resources may include the target feature animation resource and the target weather animation resource, and the target feature animation resource may include the target landmark building animation resource and the target street view animation resource. Accordingly, at least one of the target symbolic building animation resource, the target street view animation resource, and the target weather animation resource may be presented in the load hint area. In the embodiment of the disclosure, the loading prompt area on the multimedia presentation page may only present the target characteristic animation resource, may only present the target weather animation resource, and may present the target characteristic animation resource and the target weather animation resource at the same time. And if the target characteristic animation resource and the target weather animation resource are displayed on the loading prompt area at the same time, the target characteristic animation resource and the target weather animation resource can be displayed in a superposition manner, and the target characteristic animation resource and the target weather animation resource can also be displayed in different sub-areas of the loading prompt area. Therefore, the display scheme of various animation resources is provided, the animation effect can be better and more flexible, and better experience is provided for users. In addition, target characteristic animation resources and target weather animation resources, such as landmark buildings and winter and snow weather of the city A, street view animation and sunny weather of the city A, can be flexibly configured, so that the design of the animation resources can be enriched, and a flexible animation display effect is provided for users.
Considering that the position of the target terminal can be changed and the weather information of the position of the target terminal can also be changed, in order to provide accurate animation resources for a user, the user can conveniently obtain accurate geographical position information, the animation resources can be continuously updated, and the currently available animation resources are displayed in a loading prompt area when refreshing operation is carried out. Therefore, the animation display method provided by the embodiment of the disclosure can further comprise updating the animation resources. FIG. 8 is a flowchart illustrating a method of updating a target animation resource, according to an example embodiment. As shown in FIG. 8, a method of updating a target animation resource includes the following steps.
Step S810, inquiring the geographical position of the target terminal at regular time;
step S820, if the distance between the latest geographical position of the target terminal and the last geographical position of the target terminal exceeds a preset distance threshold, acquiring animation resources of the latest geographical position of the target terminal;
step S830, if the resource update is determined, downloading the animation resource of the latest geographical position of the target terminal, and setting the downloaded animation resource as the target animation resource;
in step S840, if it is determined that the resource is not updated, it is determined that the animation resource displayed last time is the target animation resource.
The user uses a certain application installed on the target terminal, and can inquire the geographical position of the terminal (available by user authorization) through positioning and timing, and further can detect the change of the geographical position. And when the fact that the distance between the latest inquired geographic position of the target terminal and the geographic position inquired last time exceeds a preset distance threshold value is detected, inquiring the animation resources of the latest inquired geographic position. If the resource is updated, the animation resource of the newly queried geographical location can be downloaded, and the downloaded animation resource is set as the target animation resource. If the resources are not updated, the animation resources that were last shown can be determined to be target animation resources.
Wherein, if the animation resource of the geographical position which is inquired latest is different from the animation resource of the geographical position which is inquired last time, the resource update can be considered. Alternatively, if the animation resource of the most recently queried geographical location is different from the animation resource that was most recently downloaded, it may be considered a resource update. It should be noted that the animation resources may include different geographical locations and may also include different weather conditions.
Besides updating the animation resources when the change of the geographic position is detected, a timing task can be set for updating the resources. Specifically, the latest geographical position of the target terminal is acquired at intervals, and then animation resources of the latest inquired geographical position are inquired. If the resource is updated, the animation resource of the newly queried geographical location can be downloaded, and the downloaded animation resource is set as the target animation resource. If the resources are not updated, the animation resources that were last shown can be determined to be target animation resources.
In the embodiment of the disclosure, the animation resource can be updated when the change of the geographic position of the terminal is detected, and the animation resource can be updated regularly, so that the target animation resource is the latest animation resource, and thus, when the refresh operation is performed, the target animation resource can be loaded, and a user can conveniently acquire accurate geographic position information.
FIG. 9 is a flowchart illustrating an animation presentation method according to yet another exemplary embodiment. The animation display method provided in the above embodiment is described below with reference to fig. 9, but the present disclosure is not limited thereto. As shown in fig. 9, when the distance between the geographical location of the target terminal at the latest query and the geographical location of the last query varies by more than a preset distance, for example, 2KM, the animation resource of the latest geographical location may be queried. Or setting a timing task, acquiring the latest geographical position every 1 hour, and then inquiring the animation resource of the latest geographical position. And if the resource update is determined, downloading the animation resource of the latest geographical position to a local storage. When the user carries out refreshing operation, the local animation resources can be inquired according to the geographic position. If the local animation resources are inquired to be updated, displaying the local latest animation resources on the loading prompt area. And if the local animation resources are not updated through inquiry, displaying the animation resources displayed last time on the loading prompt area.
FIG. 10 is a block diagram of an animation demonstration apparatus according to an exemplary embodiment. Referring to fig. 10, the apparatus includes: a display module 1010 and a display module 1020.
The display module 1010 is operable to: and displaying the multimedia display page.
The display module 1020 may be configured to: and responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying the target animation resources on the loading prompt area. Wherein the target animation resource is associated with the target location.
In an exemplary embodiment, the target animation resources can include target featured animation resources associated with the target location.
In an exemplary embodiment, the target featured animation resource can include a target symbolic building animation resource associated with a target location.
In an exemplary embodiment, the target featured animation resource may comprise a target street view animation resource associated with a target location.
In an exemplary embodiment, the target animation resources may also include target weather animation resources associated with the target location.
In an exemplary embodiment, the presentation module 1020 is further operable to: loading a target characteristic animation resource on a first view level of a loading prompt area; loading a target weather animation resource on a second view level of the loading prompt area; and overlaying the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in the loading prompt area in an overlaying mode. Wherein the operation refresh instruction may be for refreshing the first view level and/or the second view level.
In an exemplary embodiment, the presentation module 1020 includes: a trigger sub-module 1021 and a play sub-module 1022. The trigger submodule 1021 may be configured to: and responding to the refresh operation instruction, and triggering a refresh request of the multimedia display page. The play sub-module 1022 may be configured to: and responding to the refreshing request, displaying a loading prompt area on the multimedia display page, and playing the target animation resources in the loading prompt area.
In an exemplary embodiment, the display module 1020 further includes: hiding sub-module 1023. The hidden sub-module is operable to: and when the refreshing of the multimedia display page is finished, stopping playing the target animation resource, and hiding the loading prompt area on the multimedia display page.
In an exemplary embodiment, the apparatus further comprises: resource update module 1030. The resource update module 1030 is operable to: inquiring the geographical position of the target terminal at regular time; if the distance between the latest geographical position of the target terminal and the last geographical position of the target terminal exceeds a preset distance threshold, acquiring animation resources of the latest geographical position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographical position of the target terminal, and setting the downloaded animation resource as the target animation resource; and if the resources are not updated, determining the animation resources displayed last time as the target animation resources.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 11 is a block diagram illustrating the structure of an animation display device according to an exemplary embodiment. It should be noted that the illustrated electronic device is only an example, and should not bring any limitation to the functions and the scope of the embodiments of the present invention.
An electronic device 1100 according to this embodiment of the invention is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is only an example and should not bring any limitations to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 11, the electronic device 1100 is in the form of a general purpose computing device. The components of the electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, and a bus 1130 that couples various system components including the memory unit 1120 and the processing unit 1110.
Wherein the storage unit stores program code that is executable by the processing unit 1110 to cause the processing unit 1110 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 1110 may execute step S110 shown in fig. 1 to display a multimedia presentation page; and step S120, responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying a target animation resource on the loading prompt area, wherein the target animation resource is associated with a target position.
The storage unit 1120 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)11201 and/or a cache memory unit 11202, and may further include a read only memory unit (ROM) 11203.
Storage unit 1120 may also include a program/utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1100 can also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and/or any device (e.g., router, modem, etc.) that enables the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1140. As shown, the network adapter 1140 communicates with the other modules of the electronic device 1100 via the bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
According to the program product for implementing the method, the portable compact disc read only memory (CD-ROM) can be adopted, the program code is included, and the program product can be operated on terminal equipment, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An animation display method, comprising:
displaying a multimedia presentation page;
responding to a refreshing operation instruction aiming at the multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and displaying a target animation resource on the loading prompt area;
wherein the target animation resource is associated with a target location.
2. The method of claim 1, wherein the target animation resource comprises a target featured animation resource associated with the target location.
3. The method of claim 2, wherein the target animation resources further comprise target weather animation resources associated with the target location.
4. The method of claim 3, wherein presenting a target animation resource on the load hint area comprises:
loading the target featured animation resource at a first view level of the loading prompt region;
loading the target weather animation asset at a second view level of the load hint area;
superimposing the first view level on the second view level to display the target featured animation asset and the target weather animation asset superimposed in the load hint area.
5. The method of claim 1, wherein displaying a load hint area on the multimedia presentation page in response to a refresh operation instruction for the multimedia presentation page, wherein presenting a target animation resource on the load hint area comprises:
responding to the refresh operation instruction, and triggering a refresh request of the multimedia display page;
and responding to the refreshing request, displaying the loading prompt area on the multimedia display page, and playing the target animation resources in the loading prompt area.
6. The method of claim 1, further comprising:
inquiring the geographical position of the target terminal at regular time;
if the distance between the latest geographical position of the target terminal and the last geographical position of the target terminal exceeds a preset distance threshold, acquiring animation resources of the latest geographical position of the target terminal;
if the resource update is determined, downloading the animation resource of the latest geographical position of the target terminal, and setting the downloaded animation resource as the target animation resource;
and if the resources are not updated, determining the animation resources displayed last time as the target animation resources.
7. An animation display device, comprising:
the display module is used for displaying a multimedia display page;
the display module is used for responding to a refreshing operation instruction aiming at the multimedia display page, displaying a loading prompt area on the multimedia display page and displaying a target animation resource on the loading prompt area;
wherein the target animation resource is associated with a target location.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the animation display method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein the instructions, when executed by a processor of an electronic device, enable the electronic device to perform the animation display method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the animation display method as claimed in any one of claims 1 to 6.
CN202210346528.9A 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product Pending CN114661215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210346528.9A CN114661215A (en) 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210346528.9A CN114661215A (en) 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN114661215A true CN114661215A (en) 2022-06-24

Family

ID=82032952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210346528.9A Pending CN114661215A (en) 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN114661215A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034710A (en) * 2012-12-07 2013-04-10 北京奇虎科技有限公司 Page rendering method and page rendering device for browser
US20160328878A1 (en) * 2011-05-19 2016-11-10 Sony Corporation Information processing apparatus, information processing method, and program
CN108073649A (en) * 2016-11-15 2018-05-25 北京搜狗科技发展有限公司 A kind of information processing method and device, a kind of device for information processing
CN110765379A (en) * 2019-09-20 2020-02-07 苏州达家迎信息技术有限公司 Method and device for loading resource file, computer equipment and storage medium
CN111008061A (en) * 2019-12-20 2020-04-14 腾讯科技(深圳)有限公司 Animation display method and related equipment
CN113420247A (en) * 2021-06-23 2021-09-21 北京字跳网络技术有限公司 Page display method and device, electronic equipment, storage medium and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160328878A1 (en) * 2011-05-19 2016-11-10 Sony Corporation Information processing apparatus, information processing method, and program
CN103034710A (en) * 2012-12-07 2013-04-10 北京奇虎科技有限公司 Page rendering method and page rendering device for browser
CN108073649A (en) * 2016-11-15 2018-05-25 北京搜狗科技发展有限公司 A kind of information processing method and device, a kind of device for information processing
CN110765379A (en) * 2019-09-20 2020-02-07 苏州达家迎信息技术有限公司 Method and device for loading resource file, computer equipment and storage medium
CN111008061A (en) * 2019-12-20 2020-04-14 腾讯科技(深圳)有限公司 Animation display method and related equipment
CN113420247A (en) * 2021-06-23 2021-09-21 北京字跳网络技术有限公司 Page display method and device, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
US11750683B2 (en) Computer application promotion
US10999650B2 (en) Methods and systems for multimedia content
US9003310B2 (en) Modifying running of plug-in on hidden tab of browser
US8479108B2 (en) Methods and systems for shareable virtual devices
RU2731837C1 (en) Determining search requests to obtain information during user perception of event
US10871881B2 (en) Dynamically picking content from social shares to display in a user interface
US20150304449A1 (en) Method for dynamically displaying a personalized home screen on a user device
US20090158161A1 (en) Collaborative search in virtual worlds
US20220197448A1 (en) Method, apparatus and device for displaying followed user information, and storage medium
CN103581314A (en) Method and system for achieving application recommendation on APP starting page
US20220075932A1 (en) Method and apparatus for inserting information into online document
US9250765B2 (en) Changing icons for a web page
US20170264973A1 (en) Video playing method and electronic device
KR20110113232A (en) Method and system for providing application store service
KR20180051590A (en) Content integration in non-browser applications
WO2015027199A9 (en) Method and system for addressing the problem of discovering relevant services and applications that are available over the internet or other communcations network
WO2009105613A2 (en) Interactive media content display system
CN109408752A (en) Online document methods of exhibiting, device and electronic equipment
CN113296669A (en) Music social contact realization method and device, storage medium and electronic equipment
CN108140037B (en) Pre-instantiating native applications in the background
CN110750482A (en) Method and equipment for providing novel reading information
CN103957460A (en) Method and device for generating television receiving terminal desktop application
CN114661215A (en) Animation display method and device, electronic equipment, storage medium and program product
US20180357682A1 (en) Systems and methods for platform agnostic media injection and presentation
CN113157369B (en) Music playing interaction method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination