CN114238723A - Page display method, device, equipment and medium - Google Patents

Page display method, device, equipment and medium Download PDF

Info

Publication number
CN114238723A
CN114238723A CN202111575754.6A CN202111575754A CN114238723A CN 114238723 A CN114238723 A CN 114238723A CN 202111575754 A CN202111575754 A CN 202111575754A CN 114238723 A CN114238723 A CN 114238723A
Authority
CN
China
Prior art keywords
moving object
information
position information
page
coordinate
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
CN202111575754.6A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202111575754.6A priority Critical patent/CN114238723A/en
Publication of CN114238723A publication Critical patent/CN114238723A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a page display method which can be applied to the technical field of computers. The method comprises the following steps: determining position information of a fixed object, initial position information of a moving object and motion parameter information of the moving object in a page; processing the position information of the fixed object, the initial position information of the moving object and the movement parameter information by using a preset algorithm, and determining the passing position information of the moving object at different moments; taking the passing position information as new initial position information, processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using a preset algorithm, and determining the passing position information of the moving object at a plurality of continuous different moments; and dynamically displaying the target motion trail of the moving object in the page according to the passing position information of the moving object at a plurality of continuous different moments. The present disclosure also provides an apparatus, a device, a storage medium and a program product.

Description

Page display method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page display method, apparatus, device, medium, and program product.
Background
With the development of computer technology, more and more users use electronic devices such as mobile phones and notebook computers to entertain, work and learn. The display interface of the electronic device may display a page for a user to browse, and the user may perform an operation with respect to a target object in the page, such as an icon, a picture, and the like.
In carrying out the inventive concept of the present disclosure, the inventors found that at least the following problems exist in the related art: the display mode of the target object in the page is mostly in a static display state, and the personalized requirements of the user cannot be met.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a page presentation method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, there is provided a page display method, including:
determining position information of a fixed object, initial position information of a moving object and motion parameter information of the moving object in a page;
processing the position information of the fixed object, the initial position information of the moving object and the motion parameter information by using a preset algorithm, and determining the passing position information of the moving object at different moments;
taking the passing position information as new initial position information, processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using the preset algorithm, and determining passing position information of the moving object at a plurality of continuous different moments;
and dynamically displaying the target motion trail of the motion object in the page according to the passing position information of the motion object at a plurality of continuous different moments.
According to an embodiment of the present disclosure, the position information of the fixed object in the page includes coordinate information of the fixed object in the page, the initial position information of the moving object includes coordinate information of an initial position of the moving object in the page, and the motion parameter information represents a position change relationship of the moving object with respect to the fixed object after moving for a preset time period;
processing the position information of the fixed object, the initial position information of the moving object, and the motion parameter information by using a preset algorithm, and determining the passing position information of the moving object at different times includes:
processing the coordinate information of the fixed object and the coordinate information of the initial position of the moving object by using the preset algorithm to obtain track parameter information of the target moving track;
and determining the passing position information of the moving object at different moments according to the motion parameter information and the track parameter information, wherein the motion parameter information comprises motion angle change information. According to an embodiment of the present disclosure, the target trajectory includes a circular trajectory, the trajectory parameter information of the target motion trajectory includes a radius of the circular trajectory, and the coordinate information includes first coordinate information corresponding to a first coordinate axis and second coordinate information corresponding to a second coordinate axis;
processing the coordinate information of the fixed object and the coordinate information of the initial position of the moving object by using the preset algorithm to obtain the track parameter information of the target moving track comprises the following steps:
obtaining first coordinate distance information according to first coordinate information of the fixed object and first coordinate information of an initial position of the moving object, wherein the first coordinate distance information represents a distance between a projection of the fixed object on the first coordinate axis and a projection of the moving object on the first coordinate axis;
obtaining second coordinate distance information according to second coordinate information of the fixed object and second coordinate information of the initial position of the moving object, wherein the second coordinate distance information represents a distance between a projection of the fixed object on the second coordinate axis and a projection of the moving object on the second coordinate axis;
and processing the first coordinate distance information and the second coordinate distance information by using a pythagorean theorem algorithm to obtain distance information between the fixed object and the moving object, wherein the distance information represents the radius of the circular track.
According to an embodiment of the present disclosure, the page display method further includes:
in response to detecting first operation information aiming at the moving object in motion, controlling the moving object to stop moving in the page; and
and controlling the moving object to resume moving in the page in response to detecting second operation information aiming at the static moving object.
According to an embodiment of the present disclosure, the page display method further includes:
and controlling the moving object to show a preset dynamic effect in the page in response to detecting that the moving object is in a static state in the page.
According to an embodiment of the present disclosure, the page display method further includes:
and controlling the moving object to eliminate the preset dynamic effect in the page in response to detecting that the moving object is restored to a moving state from a static state in the page.
A second aspect of the present disclosure provides a page displaying apparatus, including:
the system comprises a determining module, a processing module and a display module, wherein the determining module is used for determining position information of a fixed object, initial position information of a moving object, movement parameter information of the moving object and a target track in a page, the moving object can move along the target track, and the movement parameter information represents a position change relation of the moving object relative to the fixed object after moving for a preset time length;
the first processing module is used for processing the position information of the fixed object, the initial position information of the moving object and the motion parameter information by using a preset algorithm and determining the passing position information of the moving object at different moments;
a second processing module, configured to use the passing position information as new initial position information, process, by using the preset algorithm, the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object, and determine passing position information of the moving object at a plurality of consecutive different times; and
and the control module is used for controlling the moving object to move along the target track according to the passing position information of the moving object at a plurality of continuous different moments so as to dynamically display the moving track of the moving object in the page.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the page presentation method described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-mentioned page showing method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the page presentation method described above.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
FIG. 1 schematically shows a page presentation method and apparatus application scene diagram according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a page presentation method according to an embodiment of the present disclosure;
fig. 3 schematically shows a flowchart for determining passing position information of a moving object at different times by processing position information of a fixed object, initial position information of the moving object, and motion parameter information using a preset algorithm according to an embodiment of the present disclosure;
FIG. 4A schematically illustrates an application scenario diagram of a page presentation method according to an embodiment of the present disclosure;
FIG. 4B schematically shows an application scenario diagram of a page presentation method according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates an application scenario diagram of a page presentation method according to another embodiment of the present disclosure;
FIG. 6 schematically shows a block diagram of a page presentation apparatus according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of an electronic device adapted to implement a page presentation method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The embodiment of the disclosure provides a page display method, which comprises the following steps: determining position information of a fixed object, initial position information of a moving object and motion parameter information of the moving object in a page; processing the position information of the fixed object, the initial position information of the moving object and the movement parameter information by using a preset algorithm, and determining the passing position information of the moving object at different moments; taking the passing position information as new initial position information, processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using a preset algorithm, and determining the passing position information of the moving object at a plurality of continuous different moments; and dynamically displaying the target motion trail of the moving object in the page according to the passing position information of the moving object at a plurality of continuous different moments.
According to the embodiment of the disclosure, the position information of the fixed object, the initial position information of the moving object and the movement parameter information are processed by using a preset algorithm, so that the passing position information of the moving object at different moments can be determined; then, processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using a preset algorithm, and determining the passing position information of the moving object at a plurality of continuous different moments; the method and the device can control the moving object to move along the target track, so that a preset dynamic effect of the moving object moving along the target track can be displayed to a user in the page, the aesthetic requirement of the user for browsing the page is met, and the browsing experience of the user for the page is improved.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations, necessary confidentiality measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, the data acquisition, collection, storage, use, processing, transmission, provision, disclosure, application and other processing are all in accordance with the regulations of relevant laws and regulations, necessary security measures are taken, and the public order and good custom are not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
Fig. 1 schematically shows an application scene diagram of a page presentation method and device according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the page display method provided by the embodiment of the present disclosure may be generally executed by the terminal devices 101, 102, and 103. Accordingly, the page display apparatus provided by the embodiments of the present disclosure may be generally disposed in the terminal devices 101, 102, and 103. However, it is easily understood by those skilled in the art that the page displaying method provided by the embodiment of the present disclosure may also be executed by the server 105, and accordingly, the page displaying apparatus provided by the embodiment of the present disclosure may also be disposed in the server 105. The page display method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Correspondingly, the page display device provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The page display method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 5 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 2, the page presentation method of this embodiment may include operations S210 to S240.
In operation S210, position information of a fixed object, initial position information of a moving object, and motion parameter information of the moving object in a page are determined.
According to an embodiment of the present disclosure, the fixed object and the moving object in the page may include a virtual control, for example, the fixed object or the moving object may be presented in the form of an image, an identifier, text, or the like. The position information or initial position information may be represented by coordinate information, and the coordinate information may include two-dimensional coordinate information or three-dimensional coordinate information, or the like. The motion parameter information may include angle change information of the moving object with respect to the fixed object, and may also include distance change information of the moving object with respect to the fixed object.
In operation S220, the position information of the fixed object, the initial position information of the moving object, and the motion parameter information are processed using a preset algorithm, and passing position information of the moving object at different times is determined.
In operation S230, the passing position information is used as new initial position information, and the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object are processed by using a preset algorithm, so as to determine passing position information of the moving object at a plurality of consecutive different times.
In operation S240, a target motion trajectory of the moving object is dynamically displayed in a page according to the passing position information of the moving object at a plurality of consecutive different times.
According to an embodiment of the present disclosure, the movement preset time period may include a minimum time period required for the moving object to move from the initial position to the pathway position. The path position information of the moving object at different times may include position information of the moving object reaching the path position in the page at a time after the moving object moves for a preset time.
According to the embodiment of the present disclosure, the target trajectory may include an arbitrary-shaped trajectory, and for example, may be a circular trajectory, an elliptical trajectory, a square trajectory, or the like.
It should be understood that the moving object may move from the new initial position to a plurality of different path position information at different times after a plurality of consecutive movements for a preset time period. According to the passing position information of the moving object at a plurality of continuous different moments, the moving object can be controlled to move along the target track, so that a preset dynamic effect of the moving object moving relative to the fixed object is displayed in the page, the aesthetic requirement of a user for browsing the page is met, and the browsing experience of the user for the page is improved.
According to the embodiment of the disclosure, the position information of the fixed object in the page includes coordinate information of the fixed object in the page, the initial position information of the moving object includes coordinate information of an initial position of the moving object in the page, and the movement parameter information represents a position change relationship of the moving object relative to the fixed object after moving for a preset time.
Fig. 3 schematically shows a flowchart for determining passing position information of a moving object at different times by processing position information of a fixed object, initial position information of the moving object, and motion parameter information using a preset algorithm according to an embodiment of the present disclosure.
As shown in fig. 3, processing the position information of the fixed object, the initial position information of the moving object, and the motion parameter information using a preset algorithm, and determining the passing position information of the moving object at different times may include operations S310 to S320.
In operation S310, coordinate information of the fixed object and coordinate information of the initial position of the moving object are processed using a preset algorithm, so as to obtain trajectory parameter information of the target moving trajectory.
In operation S320, passing position information of the moving object at different times is determined according to the motion parameter information and the trajectory parameter information, where the motion parameter information includes motion angle change information. It should be noted that the path position information may include coordinate information of a path position of the moving object in the page, and the coordinate information of the path position may also include first coordinate information and second coordinate information.
According to an embodiment of the present disclosure, the target trajectory includes a circular trajectory, the trajectory parameter information of the target motion trajectory includes a radius of the circular trajectory, and the coordinate information includes first coordinate information corresponding to the first coordinate axis and second coordinate information corresponding to the second coordinate axis.
In operation S310, processing the coordinate information of the fixed object and the coordinate information of the initial position of the moving object by using a preset algorithm to obtain the trajectory parameter information of the target moving trajectory may include the following operations.
Obtaining first coordinate distance information according to the first coordinate information of the fixed object and the first coordinate information of the initial position of the moving object, wherein the first coordinate distance information represents the distance between the projection of the fixed object on the first coordinate axis and the projection of the moving object on the first coordinate axis; obtaining second coordinate distance information according to the second coordinate information of the fixed object and the second coordinate information of the initial position of the moving object, wherein the second coordinate distance information represents the distance between the projection of the fixed object on the second coordinate axis and the projection of the moving object on the second coordinate axis; and processing the first coordinate distance information and the second coordinate distance information by using a pythagorean theorem algorithm to obtain distance information between the fixed object and the moving object, wherein the distance information represents the radius of the circular track.
According to an embodiment of the present disclosure, the coordinate information of the fixed object may be expressed as (x)0,y0) The coordinate information of the moving object may be expressed as (x)1,y1) The first coordinate distance information may be expressed as | x1-x0| the second coordinate distance information may be expressed as | y1-y0L. Distance information between a fixed object and a moving object mayTo be expressed by formula (1).
Figure BDA0003422899590000091
In formula (1), c denotes distance information between a fixed object and a moving object, a denotes first coordinate distance information, and a ═ x1-x0I, b represents second coordinate distance information, and y1-y0I, c may characterize the radius of the circular trajectory.
In operation S340, the passing position information of the moving object at different times is determined according to the movement angle change information and the distance information.
According to the embodiment of the disclosure, the distance information may represent the radius of the circular track, and in the case of determining the distance information, the circular track in the page may be determined. The motion angle variation information may characterize a motion angle of the moving object with respect to the fixed object.
The passing position information of the moving object at different times can be determined by, for example, formulas (2) to (4).
Figure BDA0003422899590000101
Figure BDA0003422899590000102
Figure BDA0003422899590000103
In formulas (2) to (4), c represents distance information between the fixed object and the moving object, c may represent a radius of the circular trajectory, and e may represent a distance between the fixed object and the moving object; the position information of the fixed object may be expressed as (x)0,y0) The initial position of the moving object can be expressed as (x)1,y1) The passing positions of the moving object at different timesThe information may be represented as (x)2,y2) The motion angle change information may be represented as β.
According to an embodiment of the present disclosure. Under the condition that the target track is the circular track, the dynamic display effect that the moving object moves around the fixed object along the circular track can be achieved by determining that the moving object moves along the circular track through control, and the dynamic display effect can provide a celestial body movement effect similar to a satellite rotating around a planet for a user, so that the aesthetic effect of page display is improved, and the aesthetic experience of the user is met.
It should be understood that, in the case that the target trajectory is an elliptical trajectory, the moving object may be controlled to move along the elliptical trajectory according to a corresponding preset algorithm, so as to achieve a dynamic presentation effect of dynamically presenting the moving object moving around the fixed object along the elliptical trajectory in the page.
Fig. 4A schematically illustrates an application scenario diagram of a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 4A, in the page 400, the fixed object 411 is disposed at the center of the target track 421, and the target track 421 may be a track along which the moving object 412 can move clockwise. The first coordinate axis 431 is perpendicular to the second coordinate axis 432. The motion parameter information 441 may be a motion angle of the moving object 412 with respect to the fixed object 411. The position information of the fixed object may be expressed as coordinate information (0, 0), and the initial position of the moving object may be expressed as coordinate information (x)1,y1) The motion parameter information 441 may be expressed as β ═ 1 °.
Using the pythagorean theorem, it may be determined that the distance information between the fixed object 411 and the moving object 412 is c. By using the above formulas (2) to (4), the passing position information of the moving object at different times can be determined.
Taking the passing position information of the moving object 412 as new initial position information, based on the same or similar method, the passing position information of the moving object 412 at a plurality of continuous different moments can be determined, so that the moving object 412 can be controlled to move around the fixed object 411 along a circular track, the moving track of the moving object 412 can be dynamically displayed in the page, and the dynamic display effect of dynamically displaying the moving object moving around the fixed object along the circular track in the page can be realized.
It should be appreciated that the first axis 431 and the second axis 432 may not be displayed in the page 400 to avoid affecting the user's browsing of the page.
Fig. 4B schematically illustrates an application scenario diagram of a page presentation method according to another embodiment of the present disclosure.
As shown in fig. 4B, in the page 400, the fixed object 411 is disposed at the center of the target track 422, and the target track 422 may be an elliptical track formed by the moving object 412 capable of moving clockwise along the target track 422. The first coordinate axis 431 is perpendicular to the second coordinate axis 432. The motion parameter information 442 may be a motion angle of the moving object 412 with respect to the fixed object 411. The position information of the fixed object may be expressed as coordinate information (0, 0), and the initial position of the moving object may be expressed as coordinate information (x)2,y2) Motion parameter information 441 may be expressed as
Figure BDA0003422899590000111
The long axis distance and the short axis distance of the elliptical trajectory can be obtained by using the formula (5) and the formula (6).
Figure BDA0003422899590000112
Figure BDA0003422899590000113
In the formula (5) and the formula (6), a represents the major axis distance of the elliptical trajectory, and b represents the minor axis distance of the elliptical trajectory. So that the passing position information of the moving object 412 at different times can be determined. Taking the passing position information of the moving object 412 as new initial position information, based on the same or similar method, the passing position information of the moving object 412 at a plurality of continuous different moments can be determined, so that the moving object 412 can be controlled to move around the fixed object 411 along an elliptical track, the moving track of the moving object 412 can be dynamically displayed in the page, and the dynamic display effect of dynamically displaying the moving object moving around the fixed object along the elliptical track in the page can be realized.
According to an embodiment of the present disclosure, the page presentation method may further include the following operations.
In response to detecting first operation information for a moving object in motion, controlling the moving object to stop moving in a page; and controlling the moving object to resume the movement in the page in response to detecting the second operation information for the moving object which is stationary.
According to an embodiment of the present disclosure, the first operation information for the moving object in motion may be generated by a first operation performed by the user, and the first operation may include a click operation, a slide operation, and the like. The moving object can contain information such as pictures, texts and link information, and the moving object is controlled to stop moving in the page in response to the detection of the first operation information aiming at the moving object, so that a user can conveniently view the information such as the pictures, the texts and the link information contained in the moving object.
According to the embodiment of the disclosure, after the user views the information such as the picture, the text, the link information and the like contained in the moving object, the second operation information can be executed for the static moving object to control the moving object to resume the movement in the page, so as to prompt the user to continue browsing other information.
According to an embodiment of the present disclosure, the page presentation method may further include the following operations.
And in response to detecting that the moving object is in a static state in the page, controlling the moving object to show a preset dynamic effect in the page.
According to an embodiment of the present disclosure, the preset dynamic effect may include, for example, zooming in, zooming out, transforming a shape, and the like. The preset dynamic effect is displayed in the page by controlling the moving object, aesthetic experience can be further provided for a user to browse the page, and the user can conveniently check information such as pictures and texts contained in the moving object by setting the specific preset dynamic effect, such as amplifying the moving object.
It should be understood that the preset dynamic effect may also be designed based on the link information included in the moving object, for example, when the moving object is detected to be in a static state in the page, the moving object may be controlled to dynamically display a picture or text associated with the link information included in the moving object in the page for the user to view or browse.
According to an embodiment of the present disclosure, the page presentation method may further include the following operations.
And controlling the moving object to eliminate the preset dynamic effect in the page in response to detecting that the moving object is restored to the moving state from the static state in the page.
According to the embodiment of the disclosure, after the user views the information such as the picture, the text, the link information and the like contained in the moving object, the moving object is restored to the moving state from the static state, so that the preset dynamic effect is eliminated, the moving object can continue to move in the shape and the size in the moving state, and the preset dynamic effect of the moving object moving along the target track is continuously displayed to the user, so that the aesthetic requirement of the user for browsing the page is met.
Fig. 5 schematically illustrates an application scenario diagram of a page presentation method according to another embodiment of the present disclosure.
As shown in fig. 5, when the page 500 is in the first display state, the fixed object 511 is located at the center of the target track 520, and the moving object 512 moves clockwise along the target track 520 around the fixed object 511.
When the page 500 is in the second presentation state, in response to detection of the first operation information for the moving object 512 in motion, the moving object 512 may be controlled to stop moving in the page 500. In response to detecting that the moving object 512 is in a stationary state in the page 500, the moving object may be controlled to exhibit a preset dynamic effect in the page 500. In this embodiment, the preset dynamic effect may be the enlargement of the shape of the moving object 512 in the static state, so that the user can view the information, such as pictures, texts, link information, and the like, contained in the moving object.
When the page 500 is in the third presentation state, in response to detecting the second operation information for the stationary moving object 512, the moving object 512 may be controlled to resume the motion in the page 500, i.e., to rotate around the fixed object 511 along the target trajectory 520. Meanwhile, in response to detecting that the moving object 512 is restored from the static state to the moving state in the page 500, the moving object 512 is controlled to eliminate the preset dynamic effect in the page 500, that is, the moving object 512 is restored to the shape and size of the page 500 in the first presentation state.
Based on the page display method, the disclosure also provides a page display device. The apparatus will be described in detail below with reference to fig. 6.
Fig. 6 schematically shows a block diagram of a structure of a page presentation apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the page presentation apparatus 600 of this embodiment includes a determination module 610, a first processing module 620, a second processing module 630, and a control module 640.
The determining module 610 is configured to determine position information of a fixed object, initial position information of a moving object, movement parameter information of the moving object, and a target trajectory in a page, where the moving object can move along the target trajectory, and the movement parameter information represents a position change relationship of the moving object after moving for a preset time period with respect to the fixed object.
The first processing module 620 is configured to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information by using a preset algorithm, and determine the passing position information of the moving object at different times.
The second processing module 630 is configured to use the passing position information as new initial position information, process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object by using a preset algorithm, and determine passing position information of the moving object at a plurality of consecutive different times.
The control module 640 is configured to control the moving object to move along the target trajectory according to the passing position information of the moving object at a plurality of consecutive different time instants, so as to dynamically display the moving trajectory of the moving object in the page.
According to an embodiment of the present disclosure, the position information of the fixed object in the page includes coordinate information of the fixed object in the page, the initial position information of the moving object includes coordinate information of an initial position of the moving object in the page, and the coordinate information includes first coordinate information corresponding to a first coordinate axis and second coordinate information corresponding to a second coordinate axis.
According to an embodiment of the present disclosure, the motion parameter information may include motion angle change information, and the target trajectory may include a circular trajectory.
The first processing module may include: the device comprises a first determining unit, a second determining unit, a processing unit and a third determining unit.
The first determining unit is used for obtaining first coordinate distance information according to the first coordinate information of the fixed object and the first coordinate information of the initial position of the moving object, and the first coordinate distance information represents the distance between the projection of the fixed object on the first coordinate axis and the projection of the moving object on the first coordinate axis.
And the second determining unit is used for obtaining second coordinate distance information according to the second coordinate information of the fixed object and the second coordinate information of the initial position of the moving object, and the second coordinate distance information represents the distance between the projection of the fixed object on the second coordinate axis and the projection of the moving object on the second coordinate axis.
And the processing unit is used for processing the first coordinate distance information and the second coordinate distance information by utilizing a pythagorean theorem algorithm to obtain the distance information between the fixed object and the moving object, and the distance information represents the radius of the circular track.
And the third determining unit is used for determining the passing position information of the moving object at different moments according to the movement angle change information and the distance information.
According to an embodiment of the present disclosure, the page displaying apparatus may further include: a stop control module and a motion control module.
And the stop control module is used for controlling the moving object to stop moving in the page in response to detecting the first operation information aiming at the moving object in motion.
And the motion control module is used for controlling the motion object to recover motion in the page in response to detecting the second operation information aiming at the static motion object.
According to an embodiment of the present disclosure, the page displaying apparatus may further include: a first display module.
And the first display module is used for controlling the moving object to display the preset dynamic effect in the page in response to detecting that the moving object is in a static state in the page.
According to an embodiment of the present disclosure, the page displaying apparatus may further include: and a second display module.
And the second display module is used for controlling the moving object to eliminate the preset dynamic effect in the page in response to detecting that the moving object is restored to the moving state from the static state in the page.
According to an embodiment of the present disclosure, any plurality of the determining module 610, the first processing module 620, the second processing module 630, and the control module 640 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the determining module 610, the first processing module 620, the second processing module 630, and the control module 640 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the determination module 610, the first processing module 620, the second processing module 630 and the control module 640 may be at least partially implemented as a computer program module, which when executed may perform a corresponding function.
Fig. 7 schematically shows a block diagram of an electronic device adapted to implement a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 7, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 701 may also include on-board memory for caching purposes. The processor 701 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. The processor 701 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. It is noted that the programs may also be stored in one or more memories other than the ROM 702 and RAM 703. The processor 701 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 700 may also include input/output (I/O) interface 705, which input/output (I/O) interface 705 is also connected to bus 704, according to an embodiment of the present disclosure. The electronic device 700 may also include one or more of the following components connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer 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. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 702 and/or the RAM 703 and/or one or more memories other than the ROM 702 and the RAM 703 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the page display method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 701. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via the communication section 709, and/or installed from the removable medium 711. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by the processor 701, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, 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).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (10)

1. A page display method comprises the following steps:
determining position information of a fixed object, initial position information of a moving object and motion parameter information of the moving object in a page;
processing the position information of the fixed object, the initial position information of the moving object and the motion parameter information by using a preset algorithm, and determining the passing position information of the moving object at different moments;
taking the passing position information as new initial position information, processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using the preset algorithm, and determining passing position information of the moving object at a plurality of continuous different moments;
and dynamically displaying the target motion trail of the moving object in the page according to the passing position information of the moving object at a plurality of continuous different moments.
2. The method according to claim 1, wherein the position information of the fixed object in the page comprises coordinate information of the fixed object in the page, the initial position information of the moving object comprises coordinate information of an initial position of the moving object in the page, and the motion parameter information represents a position change relationship of the moving object relative to the fixed object after moving for a preset time period;
processing the position information of the fixed object, the initial position information of the moving object and the motion parameter information by using a preset algorithm, and determining the passing position information of the moving object at different moments comprises the following steps:
processing the coordinate information of the fixed object and the coordinate information of the initial position of the moving object by using the preset algorithm to obtain track parameter information of the target moving track;
and determining the passing position information of the moving object at different moments according to the motion parameter information and the track parameter information, wherein the motion parameter information comprises motion angle change information.
3. The method of claim 2, wherein the target trajectory comprises a circular trajectory, the trajectory parameter information of the target motion trajectory comprises a radius of the circular trajectory, the coordinate information comprises first coordinate information corresponding to a first coordinate axis, and second coordinate information corresponding to a second coordinate axis;
processing the coordinate information of the fixed object and the coordinate information of the initial position of the moving object by using the preset algorithm to obtain the track parameter information of the target moving track comprises the following steps:
obtaining first coordinate distance information according to the first coordinate information of the fixed object and the first coordinate information of the initial position of the moving object, wherein the first coordinate distance information represents the distance between the projection of the fixed object on the first coordinate axis and the projection of the moving object on the first coordinate axis;
obtaining second coordinate distance information according to second coordinate information of the fixed object and second coordinate information of the initial position of the moving object, wherein the second coordinate distance information represents a distance between a projection of the fixed object on the second coordinate axis and a projection of the moving object on the second coordinate axis;
and processing the first coordinate distance information and the second coordinate distance information by using a pythagorean theorem algorithm to obtain distance information between the fixed object and the moving object, wherein the distance information represents the radius of the circular track.
4. The method of claim 1, further comprising:
in response to detecting first operation information for the moving object in motion, controlling the moving object to stop moving in the page; and
and controlling the moving object to restore the movement in the page in response to detecting second operation information for the moving object which is still.
5. The method of claim 4, further comprising:
and in response to the detection that the moving object is in a static state in the page, controlling the moving object to display a preset dynamic effect in the page.
6. The method of claim 5, further comprising:
and in response to detecting that the moving object is restored to a moving state from a static state in the page, controlling the moving object to eliminate the preset dynamic effect in the page.
7. A page display apparatus comprising:
the determining module is used for determining the position information of a fixed object, the initial position information of a moving object and the motion parameter information of the moving object in a page;
the first processing module is used for processing the position information of the fixed object, the initial position information of the moving object and the motion parameter information by using a preset algorithm and determining the passing position information of the moving object at different moments;
the second processing module is used for processing the position information of the fixed object, the new initial position information and the motion parameter information of the moving object by using the preset algorithm to determine the passing position information of the moving object at a plurality of continuous different moments by taking the passing position information as new initial position information; and
and the control module is used for dynamically displaying the target motion trail of the moving object in the page according to the passing position information of the moving object at a plurality of continuous different moments.
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-6.
9. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 6.
CN202111575754.6A 2021-12-21 2021-12-21 Page display method, device, equipment and medium Pending CN114238723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111575754.6A CN114238723A (en) 2021-12-21 2021-12-21 Page display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111575754.6A CN114238723A (en) 2021-12-21 2021-12-21 Page display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114238723A true CN114238723A (en) 2022-03-25

Family

ID=80760895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111575754.6A Pending CN114238723A (en) 2021-12-21 2021-12-21 Page display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114238723A (en)

Similar Documents

Publication Publication Date Title
US10825256B2 (en) Generation of user interaction based data by three dimensional assets in a virtual environment
CN111291244B (en) House source information display method, device, terminal and storage medium
CN113434241A (en) Page skipping method and device
US10547711B2 (en) Using off-screen user interface data during remote sessions
CN111259291B (en) View display method and device and electronic equipment
CN110618811B (en) Information presentation method and device
CN114238723A (en) Page display method, device, equipment and medium
CN110874446A (en) Page display method and system, computer system and computer readable medium
CN110619615A (en) Method and apparatus for processing image
CN115291993A (en) Page adjusting method, device, computer system and readable storage medium
CN111666030B (en) Information display method and device, computer equipment and storage medium
CN114510309B (en) Animation effect setting method, device, equipment and medium
CN112380821B (en) Graphic display method and device and electronic equipment
CN112114723B (en) Page sliding method and device and electronic equipment
CN111489286B (en) Picture processing method, device, equipment and medium
CN113835791B (en) Method and apparatus for presenting hierarchical relationships of view components
CN111563214B (en) Reference line processing method and device
CN112965778B (en) Chat page display method, chat page display device, electronic equipment and computer readable medium
CN110620805B (en) Method and apparatus for generating information
CN112306339B (en) Method and apparatus for displaying image
WO2023151572A1 (en) Landing page processing method and apparatus
US20160011747A1 (en) Web page thumbnails
CN113760157A (en) Information display method and device, electronic equipment and storage medium
CN116492679A (en) Page rendering method, device, medium and electronic equipment
CN116612261A (en) Information processing method, device, terminal and storage medium

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