CN114661215B - 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
CN114661215B
CN114661215B CN202210346528.9A CN202210346528A CN114661215B CN 114661215 B CN114661215 B CN 114661215B CN 202210346528 A CN202210346528 A CN 202210346528A CN 114661215 B CN114661215 B CN 114661215B
Authority
CN
China
Prior art keywords
target
animation
resource
resources
prompt area
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.)
Active
Application number
CN202210346528.9A
Other languages
Chinese (zh)
Other versions
CN114661215A (en
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/CN114661215B/en
Publication of CN114661215A publication Critical patent/CN114661215A/en
Application granted granted Critical
Publication of CN114661215B publication Critical patent/CN114661215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 present disclosure provides an animation display method and apparatus, an electronic device, a storage medium, and a program product, and relates to the field of computer technology. The method comprises the following steps: displaying a multimedia display page; 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. According to the method, the target animation resources can be displayed in the loading prompt area instead of the fixed icons, so that the user can concentrate on the displayed target animation resources, the situation that the user is boring when waiting for data refreshing is avoided, the displayed target animation resources are matched with the target positions, and good 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 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 more singly, for example, only a fixed icon is displayed, which results in that the user is boring when waiting for data refresh, and when the refresh time is too long, the user may be unable to focus on and close the application.
It should be noted that the information disclosed in the above background section is only for enhancing 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 present disclosure provides an animation display method, an animation display device, an electronic device, and a computer readable storage medium, so as to at least solve the problem of single display during page refreshing in the related art.
According to an aspect of the embodiments of the present disclosure, there is provided an animation display method, including: displaying a multimedia display page; 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 position of the target.
In one embodiment of the present disclosure, the target animation resources comprise target feature animation resources associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target signage building animation resource associated with the target location.
In one embodiment of the present disclosure, the target feature animation resource comprises a target street view 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, exposing a target animation resource on the loading hint region comprises: loading the target feature animation resource on a first view level of the loading prompt area; loading the target weather animation resource on a second view level of the loading prompt area; and superposing the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area.
In one embodiment of the present disclosure, the refresh operation instructions are for refreshing 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 loading hint area on the multimedia presentation page, presenting a target animation resource on the loading hint area, comprising: responding to the refreshing operation instruction, and triggering a refreshing request of the multimedia presentation page; and responding to the refreshing request, displaying the loading prompt area on the multimedia presentation page, and playing the target animation resource in the loading prompt area.
In one embodiment of the present disclosure, further comprising: and stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
In one embodiment of the present disclosure, further comprising: inquiring the geographic position of the target terminal at regular time; if the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as the target animation resource; and if the resources are not updated, determining that the animation resources displayed last time are the target animation resources.
According to another aspect of the embodiments of the present disclosure, there is provided an animation exhibiting apparatus including: the display module is used for displaying the 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 resources comprise target feature animation resources associated with the target location.
In one embodiment of the present disclosure, the target featured animation resource comprises a target signage building animation resource associated with the target location.
In one embodiment of the present disclosure, the target feature animation resource comprises a target street view 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 feature animation resource on a first view level of the loading prompt area; loading the target weather animation resource on a second view level of the loading prompt area; and superposing the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area.
In one embodiment of the present disclosure, the refresh operation instructions are for refreshing the first view level and/or the second view level.
In one embodiment of the present disclosure, the display module includes: the triggering sub-module is used for responding to the refreshing operation instruction and triggering the 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 sub-module is used for stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
In one embodiment of the present disclosure, the method further includes a resource update module for: inquiring the geographic position of the target terminal at regular time; if the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as the target animation resource; and if the resources are not updated, determining that the animation resources displayed last time are the target animation resources.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic apparatus 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 yet another aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the above-described animation demonstration method.
According to yet another aspect of the disclosed embodiments, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the above-described animation demonstration method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: on the one hand, when the multimedia display page is displayed, if the refreshing operation is performed 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 the user can concentrate 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 positions, so that the target positions can be associated, different target animation resources corresponding to different target positions can be given out at different target positions, the target animation resources displayed in the loading prompt area are further enriched, the displayed target animation resources are matched with the target positions, and better use experience is brought to users.
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 disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flowchart illustrating an animation demonstration method, according to an exemplary embodiment;
FIG. 2 is a schematic illustration of a multimedia presentation page of an application;
FIG. 3 is a schematic diagram of a multimedia presentation page in a related art refresh operation;
FIG. 4 is a schematic diagram of a multimedia presentation page when a refresh operation is performed, according to an example embodiment;
FIG. 5 is a schematic diagram of a multimedia presentation page in a refresh operation, according to yet another exemplary embodiment;
FIG. 6 is a schematic diagram of a multimedia presentation page in a refresh operation, according to yet another exemplary embodiment;
FIG. 7 is a schematic diagram of a multimedia presentation page in a refresh operation, according to 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 demonstration method according to yet another exemplary embodiment;
FIG. 10 is a block diagram of an animation display device, according to an exemplary embodiment;
Fig. 11 is a block diagram illustrating a structure of an animation exhibiting apparatus according to an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of 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 figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, the user information related to the present disclosure, including but not limited to user equipment information, user personal information, etc., is information authorized by the user or sufficiently authorized by each party.
The method provided by the embodiments of the present disclosure may be performed by any type of electronic device, such as a server or a terminal device, or an interaction of a server and a terminal device. The terminal device and the server may be directly or indirectly connected through wired or wireless communication, and the present 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 cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligent platforms, 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, etc.
Fig. 1 is a flowchart illustrating an animation demonstration method according to an exemplary embodiment. As shown in fig. 1, the animation exhibiting method includes the following steps.
Step S110, displaying a multimedia presentation 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 the multimedia presentation page of the application is displayed on the target terminal.
For example, for a short video application, one or more homepages of the short video may be displayed on the multimedia presentation page, and a short video may also be played. For another example, for an electronic library application, one or more homepages of an electronic book may be displayed on the multimedia presentation page, and specific contents of the electronic book may also be displayed. For another example, for a living application, a homepage of a short video, a living article and a interesting shared by a user can be displayed on the multimedia display page.
Fig. 2 is a schematic diagram of a multimedia presentation page of an application. As shown in fig. 2, the multimedia presentation page may present the geographic location city a where the target terminal (i.e., the current user) is located, and weather information of the city a, and may also present relevant content of the user, such as the head portraits of other users, content shared by other users, and distances between other users and the current user.
The multimedia presentation page shown in fig. 2 includes different sub-page tags, such as attention sub-page tags, discovery sub-page tags, co-city sub-page tags, music sub-page tags, delicacy sub-page tags, which may be used to categorize content shared by users. For example, if the User1 selects the food sub-page tag, the content displayed on the multimedia display page is content related to food, such as a food making method. Specifically, personalized recommendation can be performed according to the information of the User1, and content which is interested in the User1 and related to the food is preferentially displayed to the User1; and recommending the content with high click rate or comment number and related to the food can be preferentially displayed to the User1 according to the information of all the users.
The multimedia presentation page shown in fig. 2 also includes a home page, a pick, a message, and a my page tag. The home page tag is used for displaying home page content of an application, the carefully chosen tag is used for displaying carefully chosen content of the application, the message is used for displaying message information of a 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, a hours list tag, a screening tag, a preferential group purchase tag, a popular list tag, and the like. When using the application, the user may click on a tab on the multimedia presentation page of the application, and then the multimedia presentation page may jump to the page associated with the clicked tab.
Step S120, in response to the refreshing operation instruction for the multimedia presentation page, a loading prompt area is displayed on the multimedia presentation page, and the target animation resource is presented on the loading prompt area.
In an exemplary embodiment, in response to a refresh operation instruction for a multimedia presentation page, displaying a loading prompt area on the multimedia presentation page, and presenting a target animation resource on the loading prompt area may include: responding to the refreshing operation instruction, and triggering a refreshing request of the multimedia presentation page; and responding to the refreshing request, displaying a loading prompt area on the multimedia presentation page, and playing the target animation resource in the loading prompt area.
When the user performs the refresh operation, a refresh request for generating the multimedia page is triggered. When the processing of the refresh request of the page is started, that is, when the background starts to acquire page data in order to refresh the page, a 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 when a refresh operation is performed in the related art. As can be seen from fig. 3, in the related art, when the user performs a refresh operation, a loading prompt area is displayed on the page, but only a fixed loading icon is displayed on the loading prompt area. Thus, the user is boring while waiting for the data refresh, and when the refresh time is too long, the user may be caused to focus out of focus and close the application.
Fig. 4 is a schematic diagram illustrating a multimedia presentation page when a refresh operation is performed, according to an exemplary embodiment. As shown in fig. 4, when the user performs a refresh operation, such as a user pull-down refresh or a user clicks a tab on a page to perform a jump refresh, a loading prompt area is displayed on the 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, in addition to displaying the fixed loading icon on the loading prompt area, the target animation resource can be displayed, so that the user can concentrate on the displayed animation resource, and the user is prevented from being quite boring when waiting for data refreshing.
Additionally, in an exemplary embodiment, the animation exhibiting method may further include: and stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
After the acquisition of the page data is completed in the background and the refreshing of the page 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 the disclosed embodiment, the target animation resources are associated with the target positions. The target position may be a position where the user performs the refresh operation. That is, the target animation resource may be associated with the position of the target terminal at the target time (i.e., the time at which the user performs the refresh operation). Referring to the multimedia presentation page shown in fig. 4, the current target location is city a, the weather is sunny, and the loading prompt area can present animation resources related to city a. The method has the advantages that when the user uses the application, the geographic position of the user can be associated, the animation resources of the geographic position can be given out at different geographic positions, the position information can be obtained without entering the same city page refreshing and positioning, the design of the animation resources can be enriched, and better use experience is brought to the user.
Wherein the target animation resources may include target feature animation resources associated with the target location. Further, the target feature animation resources may include target signage building animation resources associated with the target location. Referring to fig. 4, the animated resource shown on the loading hints area is the logo building of city a. In the embodiment of the disclosure, the target feature animation resource can comprise a target mark-up building animation resource associated with the target position, so that a user can acquire the position information more quickly. In addition, if the user clicks the landmark building animation resource displayed on the loading prompt area, the user can directly jump to a content page related to the landmark building, such as a specific position of the landmark building, and further such as a play attack of the landmark building, so that the use experience of the user can be further improved.
And, the target feature animation resources may include target street view animation resources associated with the target location. For example, the target location is city a, and the animation resource may be a feature street view resource of city a, such as a feature courtyard of city a, such as a street of city a, and such as a street of city a. In the embodiment of the disclosure, the target feature animation resource can comprise a target street view animation resource associated with the target position, so that a user can conveniently enjoy the street view of the target position, and the user can concentrate attention on the displayed street view animation, and the boring of waiting for data refreshing is avoided. In addition, if the user clicks the target street view animation resource displayed on the loading prompt area, 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, such as a play strategy of the target street view, such as a method for making a food snack of the target street view, such as a specific position of the 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 resource can be flexibly configured. For example, the target position is city A, the target feature animation resource is a logo building, scenes of different seasons of the logo building can be played in the loading prompt area, the internal structure of the logo building can be played in the loading prompt area, and the history introduction of the logo building can be played in the loading prompt area. For another example, the target position is city a, the target feature animation resource is a street view animation resource of city a, and the street view animation resource includes street food snack, and the method for making the street food snack can be played in the loading prompt area. For another example, the target position is city a, the target feature animation resource is a feature quadrangle of city a, and the history introduction of the quadrangle can be played in the loading prompt area. For another example, the target position is city a, the target feature animation resource is a plurality of landmark buildings of city a, and the plurality of landmark buildings can be played in turn in the loading prompt area. In addition, the target feature animation resource can also be a promotional video related to the target position.
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 a position where 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 city a is sunny, and the animation resources displayed on the loading prompt area further comprise sunny animation resources. It should be noted that the target weather animation resource may be a static weather animation, for example, a sunny weather animation resource is sun, or may be a dynamic weather animation, for example, a rainy weather animation resource is rainy. In the embodiment of the disclosure, the target animation resources can comprise target weather animation resources, so that a user can know weather information of the current position in time, and the animation resources can be enriched.
In an exemplary embodiment, exposing the target animation resource on the load prompt field 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 superposing the first view hierarchy on the second view hierarchy to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area.
And, the refresh operation instructions may be used to refresh the first view level and/or the second view level. That is, the target feature animation resources may be loaded on a first view level of the loading hint region and the target weather animation resources may be loaded on a second view level of the loading hint region, i.e., the first view level may be superimposed on the second view level, such that the target feature animation resources and the target weather animation resources may be presented simultaneously in the loading hint region. As shown in fig. 4, the target location is city a, and the landmark building of city a can be displayed on the loading prompt area, and the sunny animation resource can also be displayed. The target feature animation resources may be loaded on the first view level of the loading hint region, i.e., the target feature animation resources are displayed in the loading hint region. Fig. 5 is a schematic diagram showing a multimedia presentation page when a refresh operation is performed according to still another exemplary embodiment. As shown in fig. 5, the target location is city a, and the marked architecture and the loading icon of city a are displayed on the loading prompt area. The target weather animation resources may be loaded on the second view level of the loading hint area, i.e., the target weather animation resources are presented in the loading 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 loading prompt area is displayed with an animation and loading icon for raining.
In addition, the loading prompt area can be divided into a plurality of subareas, and each subarea is used for displaying different animation resources. Fig. 7 is a schematic diagram showing a multimedia presentation page when a refresh operation is performed according to still another exemplary embodiment. As shown in fig. 7, the target position is city a, the first sub-region of the loading prompt region displays the landmark building of city a, and the second sub-region of the loading prompt region displays the animation of raining.
In fig. 4 to 7, the target feature animation resource is taken as a logo building for example. As already described above, in embodiments of the present disclosure, the target animation resources may include a target feature animation resource and a target weather animation resource, and the target feature animation resource may include a target logo building animation resource and a target street view animation resource. Thus, at least one of a target signage building animation resource, a target street view animation resource, and a target weather animation resource may be presented in the loading hint area. In the embodiment of the disclosure, the loading prompt area on the multimedia presentation page can only present the target feature animation resource, can only present the target weather animation resource, and can also present the target feature animation resource and the target weather animation resource simultaneously. And if the target characteristic animation resources and the target weather animation resources are displayed on the loading prompt area at the same time, the target characteristic animation resources and the target weather animation resources can be displayed in a superposition manner, and the target characteristic animation resources and the target weather animation resources can be displayed in different subareas of the loading prompt area. Therefore, the embodiment of the disclosure provides a display scheme of various animation resources, so that the animation effect is better and more flexible, and better experience is provided for users. Moreover, the target characteristic animation resources and the target weather animation resources, such as the marked building and winter and snow weather of the city A and the 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.
In consideration of the fact that the position of the target terminal can be changed and the weather information of the position of the target terminal can be changed, in order to provide accurate animation resources for users, the users can conveniently acquire the accurate geographical position information, the animation resources can be continuously updated, and when refreshing operation is carried out, the currently available animation resources are displayed in the loading prompt area. Therefore, the animation exhibiting method provided by the embodiment of the present disclosure may further include updating the animation resource. FIG. 8 is a flowchart illustrating a method of updating a target animation resource, according to an exemplary embodiment. As shown in fig. 8, the method of updating the target animation resources includes the following steps.
Step S810, inquiring the geographic position of the target terminal at regular time;
Step S820, if the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal;
step S830, if the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as the target animation resource;
step S840, if it is determined that the resources are not updated, it is determined that the animation resources displayed last time are target animation resources.
The user, using an application installed on the target terminal, can query the geographic location of the terminal (available via user authorization) by locating the timing, and can then detect a change in geographic location. And inquiring the animation resources of the latest inquired geographic position when the distance between the latest inquired geographic position of the target terminal and the geographic position when the latest inquired geographic position exceeds a preset distance threshold value. If the resource is updated, the animation resource of the latest queried geographic 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 displayed last time can be determined as target animation resources.
Wherein, if the animation resources of the latest queried geographic location are different from the animation resources of the geographic location at the last time of query, it can be considered as resource update. Alternatively, if the animation resources of the most recently queried geographic location are different from the last downloaded animation resources, it may be considered a resource update. It should be noted that the animation resources may include geographic locations and weather.
In addition to updating animation resources when a change in geographic location is detected, a timed task may be set to perform resource updating. Specifically, every time a period of time, the latest geographic position of the target terminal is acquired, and then animation resources of the latest geographic position are queried. If the resource is updated, the animation resource of the latest queried geographic 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 displayed last time can be determined as target animation resources.
In the embodiment of the disclosure, the animation resource can be updated when the geographic position of the terminal is detected to change, and the animation resource can be updated at regular time, so that the target animation resource is the latest animation resource, and when the refreshing operation is performed, the target animation resource can be loaded, so that a user can conveniently acquire accurate geographic position information.
Fig. 9 is a flowchart of an animation exhibiting method according to still another exemplary embodiment. The animation display method provided by the above embodiment is illustrated in the following with reference to fig. 9, but the present disclosure is not limited thereto. As shown in fig. 9, when the change in the distance between the geographical location at the time of the latest inquiry of the target terminal and the geographical location at the time of the last inquiry exceeds a preset distance, such as 2KM, the animation resources of the latest geographical location can be inquired. Or, setting a timing task, acquiring the latest geographic position every 1 hour, and then inquiring the animation resources of the latest geographic position. If the resource update is determined, the animation resource of the latest geographic position is downloaded to the local storage. When the user performs the refreshing operation, the local animation resources can be queried according to the geographic position. And 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 inquired to be not updated, displaying the animation resources displayed last time on the loading prompt area.
FIG. 10 is a block diagram of an animation display device, according to an example embodiment. Referring to fig. 10, the apparatus includes: display module 1010, display module 1020.
The display module 1010 may be used to: and displaying the multimedia presentation page.
The display module 1020 may be used to: and responding to a refreshing operation instruction aiming at the multimedia display page, displaying a loading prompt area on the multimedia display page, and displaying the target animation resource on the loading prompt area. Wherein the target animation resource is associated with a target location.
In an exemplary embodiment, the target animation resources may include target feature animation resources associated with a target location.
In an exemplary embodiment, the target feature animation resource may comprise a target logo building animation resource associated with a target location.
In an exemplary embodiment, the target feature 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 may be further configured 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 superposing the first view hierarchy on the second view hierarchy to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area. Wherein the operation refresh instruction may be used to refresh the first view level and/or the second view level.
In an exemplary embodiment, the presentation module 1020 includes: a triggering sub-module 1021 and a playing sub-module 1022. The trigger submodule 1021 may be operable to: and responding to the refreshing operation instruction, and triggering a refreshing request of the multimedia presentation page. The play sub-module 1022 may be used to: and responding to the refreshing request, displaying a loading prompt area on the multimedia presentation page, and playing the target animation resource in the loading prompt area.
In an exemplary embodiment, the presentation module 1020 further includes: concealing submodule 1023. The hidden sub-module may be used to: and stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
In an exemplary embodiment, the apparatus further comprises: the resource update module 1030. The resource update module 1030 may be configured to: inquiring the geographic position of the target terminal at regular time; if the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal; if the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as a target animation resource; if the resources are not updated, the animation resources displayed last time are determined to be target animation resources.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 11 is a block diagram illustrating a structure of an animation exhibiting apparatus according to an exemplary embodiment. It should be noted that the illustrated electronic device is only an example, and should not impose any limitation on the functions and application 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 merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 11, the electronic device 1100 is embodied in the form of a general purpose computing device. Components of electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting the different 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 such that the processing unit 1110 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 1110 may perform step S110 shown in fig. 1 to display a multimedia presentation page; in step S120, in response to the refresh operation instruction for the multimedia presentation page, a loading prompt area is displayed on the multimedia presentation page, and a target animation resource is presented on the loading prompt area, wherein the target animation resource is associated with the target position.
The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a Random Access Memory (RAM) 11201 and/or a cache memory 11202, and may further include a Read Only Memory (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 or some combination of which may include an implementation of a network environment.
The bus 1130 may be a local bus representing 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 bus using any of a variety of bus architectures.
The electronic device 1100 may 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 devices (e.g., routers, modems, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through the network adapter 1140. As shown, the network adapter 1140 communicates with 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 connection with electronic device 1100, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, 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 (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this 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. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a 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 in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, 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 (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform 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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. An animation display method, comprising:
displaying a multimedia display page;
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;
The loading prompt area is used for prompting a user that data are currently being refreshed, the target animation resources are associated with target positions, the target animation resources comprise target characteristic animation resources associated with the target positions, and the target characteristic animation resources comprise target mark-up building animation resources and target street view animation resources;
And, the method further comprises: responding to clicking the target mark-up building animation resource displayed on the loading prompt area, and jumping to a content page of the target mark-up building animation resource; and responding to clicking the target street view animation resource displayed on the loading prompt area, and jumping to a content page of the target street view animation resource.
2. The method of claim 1, wherein the target animation resources further comprise target weather animation resources associated with the target location.
3. The method of claim 2, wherein exposing the target animation resource on the load prompt field comprises:
loading the target feature animation resource on a first view level of the loading prompt area;
loading the target weather animation resource on a second view level of the loading prompt area;
and superposing the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area.
4. A method according to claim 3, wherein the refresh operation instruction is for refreshing the first view level and/or the second view level.
5. The method of claim 1, wherein displaying a load prompt area on the multimedia presentation page in response to a refresh operation instruction for the multimedia presentation page, and displaying a target animation resource on the load prompt area, comprises:
Responding to the refreshing operation instruction, and triggering a refreshing request of the multimedia presentation page;
And responding to the refreshing request, displaying the loading prompt area on the multimedia presentation page, and playing the target animation resource in the loading prompt area.
6. The method as recited in claim 5, further comprising:
and stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
7. The method as recited in claim 1, further comprising:
inquiring the geographic position of the target terminal at regular time;
If the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal;
If the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as the target animation resource;
and if the resources are not updated, determining that the animation resources displayed last time are the target animation resources.
8. An animation exhibiting device, comprising:
the display module is used for displaying the 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;
The loading prompt area is used for prompting a user that data are currently being refreshed, the target animation resources are associated with target positions, the target animation resources comprise target characteristic animation resources associated with the target positions, and the target characteristic animation resources comprise target mark-up building animation resources and target street view animation resources;
And, the display module is further configured to: responding to clicking the target mark-up building animation resource displayed on the loading prompt area, and jumping to a content page of the target mark-up building animation resource; and responding to clicking the target street view animation resource displayed on the loading prompt area, and jumping to a content page of the target street view animation resource.
9. The apparatus of claim 8, wherein the target animation resources further comprise target weather animation resources associated with the target location.
10. The apparatus of claim 9, wherein the display module is further configured to:
loading the target feature animation resource on a first view level of the loading prompt area;
loading the target weather animation resource on a second view level of the loading prompt area;
and superposing the first view level on the second view level to display the target characteristic animation resource and the target weather animation resource in a superposition manner in the loading prompt area.
11. The apparatus of claim 10, wherein the refresh operation instructions are to refresh the first view level and/or the second view level.
12. The apparatus of claim 8, wherein the presentation module comprises:
The triggering sub-module is used for responding to the refreshing operation instruction and triggering the 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.
13. The apparatus of claim 12, wherein the display module further comprises:
and the hiding sub-module is used for stopping playing the target animation resource when the refreshing of the multimedia display page is completed, and hiding the loading prompt area on the multimedia display page.
14. The apparatus of claim 8, further comprising a resource update module to:
inquiring the geographic position of the target terminal at regular time;
If the distance between the latest geographic position of the target terminal and the last geographic position of the target terminal exceeds a preset distance threshold, obtaining animation resources of the latest geographic position of the target terminal;
If the resource update is determined, downloading the animation resource of the latest geographic position of the target terminal, and setting the downloaded animation resource as the target animation resource;
and if the resources are not updated, determining that the animation resources displayed last time are the target animation resources.
15. 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 presentation method of any of claims 1 to 7.
16. A computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the animation demonstration method of any one of claims 1 to 7.
17. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the animation demonstration method of any one of claims 1 to 7.
CN202210346528.9A 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product Active CN114661215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210346528.9A CN114661215B (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 CN114661215B (en) 2022-03-31 2022-03-31 Animation display method and device, electronic equipment, storage medium and program product

Publications (2)

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

Family

ID=82032952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210346528.9A Active CN114661215B (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) CN114661215B (en)

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012243077A (en) * 2011-05-19 2012-12-10 Sony Corp Information processing device, information processing method, and program

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN114661215A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US10999650B2 (en) Methods and systems for multimedia content
US9003310B2 (en) Modifying running of plug-in on hidden tab of browser
US11899907B2 (en) Method, apparatus and device for displaying followed user information, and storage medium
US20220075932A1 (en) Method and apparatus for inserting information into online document
US6546002B1 (en) System and method for implementing an intelligent and mobile menu-interface agent
TWI393017B (en) System and method for updating a search results page in response to a user map interaction
US20220239612A1 (en) Information interaction method, apparatus, device, storage medium and program product
US11579902B2 (en) User interface rendering performance
US9250765B2 (en) Changing icons for a web page
CN105074700A (en) Generating search results containing state links to applications
KR20110113232A (en) Method and system for providing application store service
CN103581314A (en) Method and system for achieving application recommendation on APP starting page
US12112772B2 (en) Method and apparatus for video production, device and storage medium
US9582506B2 (en) Conversion of declarative statements into a rich interactive narrative
US20210042792A1 (en) Advertising during the loading of content
WO2019148134A1 (en) Method, server, and client for updating playback record
WO2001067286A2 (en) Framework for a customizable graphics user interface
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
WO2021018186A1 (en) Video update push method and terminal
CN110502299B (en) Method and equipment for providing novel information
CN103957460A (en) Method and device for generating television receiving terminal desktop application
CN114661215B (en) Animation display method and device, electronic equipment, storage medium and program product
CN114205366A (en) Cross-platform data synchronization method and device, equipment, medium and product thereof
CN110765258B (en) Method and equipment for providing electronic books
US20240012557A1 (en) Interactive media content platform

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
GR01 Patent grant
GR01 Patent grant