Page display method, device, equipment and medium

By dynamically displaying the trajectory of moving objects on the page, the problem that static display cannot meet user needs is solved and the user experience is improved.

CN114238723BActive Publication Date: 2024-12-20CCB FINTECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111575754.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-12-20
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the prior art, the display methods of target objects in the page are mostly static display states, which cannot meet the personalized needs of users.

Method used

By determining the position information and motion parameter information of fixed objects and moving objects in the page, using a preset algorithm to process these information, dynamically display the position information of the moving objects, thereby moving along the target trajectory in the page, and achieving dynamic display effect.

Benefits of technology

Meet users' aesthetic needs, improve users' experience of browsing pages, dynamically display the trajectory of moving objects, and provide dynamic effects such as satellite rotation orbits of planets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114238723B_ABST
    Figure CN114238723B_ABST
Patent Text Reader

Abstract

The present disclosure provides a page display method, which can be applied to the field of computer technology. The method includes: 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; using a preset algorithm to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information to determine the passing position information of the moving object at different times; using the passing position information as new initial position information, using a preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object to determine the passing position information of the moving object at multiple consecutive different times; based on the passing position information of the moving object at multiple consecutive different times, dynamically displaying the target motion trajectory of the moving object in the page. The present disclosure also provides a device, an apparatus, a storage medium, and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a page display method, device, equipment, medium and program product. Background Art

[0002] With the development of computer technology, more and more users use electronic devices such as mobile phones and laptops for entertainment, work and study. The display interface of the electronic device can display pages for users to browse, and users can operate on target objects in the page, such as icons, pictures, etc.

[0003] In the process of realizing the inventive concept of the present disclosure, the inventors found that there are at least the following problems in the related art: the display mode of the target object in the page is mostly in a static display state, which cannot meet the personalized needs of users. Summary of the invention

[0004] In view of the above problems, the present disclosure provides a page display method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present disclosure, a page display method is provided, comprising:

[0006] Determine the position information of the fixed object in the page, the initial position information of the moving object and the motion parameter information of the moving object;

[0007] 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 to determine the passing position information of the moving object at different times;

[0008] The above-mentioned passing position information is used as new initial position information, and the above-mentioned preset algorithm is used to process the position information of the above-mentioned fixed object, the above-mentioned new initial position information, and the motion parameter information of the above-mentioned moving object to determine the passing position information of the above-mentioned moving object at a plurality of consecutive different moments;

[0009] According to the passing position information of the above-mentioned moving object at a plurality of consecutive different moments, the target moving trajectory of the above-mentioned moving object is dynamically displayed in the above-mentioned page.

[0010] According to an embodiment of the present disclosure, the position information of the fixed object in the page includes the coordinate information of the fixed object in the page, the initial position information of the moving object includes the coordinate information of the initial position of the moving object in the page, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after the preset motion duration;

[0011] 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 to determine the passing position information of the moving object at different times includes:

[0012] 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 trajectory parameter information of the target motion trajectory;

[0013] According to the motion parameter information and the trajectory parameter information, the position information of the moving object at different times is determined, wherein the motion parameter information includes the 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 the 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;

[0014] The coordinate information of the fixed object and the coordinate information of the initial position of the moving object are processed by the preset algorithm to obtain the trajectory parameter information of the target motion trajectory, including:

[0015] According to the first coordinate information of the fixed object and the first coordinate information of the initial position of the moving object, first coordinate distance information is obtained, 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;

[0016] According to the second coordinate information of the fixed object and the second coordinate information of the initial position of the moving object, second coordinate distance information is obtained, 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;

[0017] The first coordinate distance information and the second coordinate distance information are processed by using the 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 trajectory.

[0018] According to an embodiment of the present disclosure, the page display method further includes:

[0019] In response to detecting first operation information for the moving object in motion, controlling the moving object to stop moving in the page; and

[0020] In response to detecting second operation information for the stationary moving object, the moving object is controlled to resume movement in the page.

[0021] According to an embodiment of the present disclosure, the page display method further includes:

[0022] In response to detecting that the moving object is in a stationary state in the page, the moving object is controlled to display a preset dynamic effect in the page.

[0023] According to an embodiment of the present disclosure, the page display method further includes:

[0024] In response to detecting that the moving object is restored from a static state to a moving state in the page, the moving object is controlled to eliminate the preset dynamic effect in the page.

[0025] A second aspect of the present disclosure provides a page display device, comprising:

[0026] A determination module, used to determine the position information of a fixed object in a page, the initial position information of a moving object, the motion parameter information of the moving object, and a target trajectory, wherein the moving object can move along the target trajectory, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after the moving object moves for a preset time period;

[0027] A first processing module is used to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information using a preset algorithm to determine the passing position information of the moving object at different times;

[0028] a second processing module, configured to use the above-mentioned passing position information as new initial position information, and use the above-mentioned preset algorithm to process the position information of the above-mentioned fixed object, the above-mentioned new initial position information, and the motion parameter information of the above-mentioned moving object, so as to determine the passing position information of the above-mentioned moving object at a plurality of consecutive different moments; and

[0029] The control module is used 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 different consecutive moments, so as to dynamically display the movement trajectory of the moving object in the page.

[0030] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned page display method.

[0031] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned page display method.

[0032] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned page display method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0034] Figure 1 The following schematically shows the application scenario of the page display method and device according to the embodiment of the present disclosure;

[0035] Figure 2 A flowchart of a page display method according to an embodiment of the present disclosure is schematically shown;

[0036] Figure 3 A flowchart schematically illustrates a method of processing the position information of a fixed object, the initial position information of a moving object, and the motion parameter information using a preset algorithm to determine the passing position information of the moving object at different times according to an embodiment of the present disclosure;

[0037] Figure 4A The application scenario diagram of the page display method according to the embodiment of the present disclosure is schematically shown;

[0038] Figure 4B A diagram schematically shows an application scenario of a page display method according to another embodiment of the present disclosure;

[0039] Figure 5 A diagram schematically shows an application scenario of a page display method according to another embodiment of the present disclosure;

[0040] Figure 6 The structure block diagram of the page display device according to the embodiment of the present disclosure is schematically shown;

[0041] Figure 7 A block diagram of an electronic device suitable for implementing a page display method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0042] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0043] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0044] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0045] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0046] An embodiment of the present disclosure provides a page display method, including: 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; using a preset algorithm to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information to determine the passing position information of the moving object at different times; using the passing position information as new initial position information, and using a preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object to determine the passing position information of the moving object at multiple consecutive different times; and dynamically displaying the target motion trajectory of the moving object in the page according to the passing position information of the moving object at multiple consecutive different times.

[0047] According to an embodiment of the present disclosure, by using a preset algorithm to process the position information of a fixed object, the initial position information of a moving object, and the motion parameter information, the passing position information of the moving object at different moments can be determined; then, by using a preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object, the passing position information of the moving object at multiple consecutive different moments can be determined; the moving object can be controlled to move along a target trajectory, so that a preset dynamic effect of the moving object moving along the target trajectory can be displayed to the user on the page, so as to meet the user's aesthetic needs for browsing the page and enhance the user's browsing experience for the page.

[0048] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.

[0049] In the technical solution disclosed in the present invention, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.

[0050] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.

[0051] Figure 1 The application scenario diagram of the page display method and device according to the embodiments of the present disclosure is schematically shown.

[0052] like Figure 1 As shown, 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 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0053] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0054] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0055] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0056] It should be noted that the page display method provided in the embodiment of the present disclosure can generally be executed by the terminal devices 101, 102, and 103. Correspondingly, the page display device provided in the embodiment of the present disclosure can generally be arranged in the terminal devices 101, 102, and 103. However, it is easy for those skilled in the art to understand that the page display method provided in the embodiment of the present disclosure can also be executed by the server 105, and accordingly, the page display device provided in the embodiment of the present disclosure can also be arranged in the server 105. The page display method provided in the embodiment of the present disclosure can also be executed by a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Correspondingly, the page display device provided in the embodiment of the present disclosure can also be arranged in a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0057] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The page display method of the disclosed embodiment is described in detail.

[0058] Figure 2 The flowchart of the page display method according to the embodiment of the present disclosure is schematically shown.

[0059] like Figure 2 As shown, the page display method of this embodiment may include operations S210 to S240.

[0060] 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.

[0061] 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 displayed in the form of an image, an identifier, text, etc. The position information or the initial position information may be represented by coordinate information, and the coordinate information may include two-dimensional coordinate information or three-dimensional coordinate information, etc. The motion parameter information may include angle change information of the moving object relative to the fixed object, and may also include distance change information of the moving object relative to the fixed object.

[0062] 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 to determine the passing position information of the moving object at different times.

[0063] In operation S230, the passing position information is used as new initial position information, and a preset algorithm is used to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object to determine the passing position information of the moving object at multiple consecutive different moments.

[0064] In operation S240, the target motion trajectory of the moving object is dynamically displayed on the page according to the passing position information of the moving object at a plurality of consecutive different moments.

[0065] According to an embodiment of the present disclosure, the preset duration of movement may include the minimum duration required for the moving object to move from the initial position to the path position. The path position information of the moving object at different moments may include the position information of the moving object arriving at the path position in the page at the moment after the preset duration of movement.

[0066] According to an embodiment of the present disclosure, the target trajectory may include a trajectory of any shape, for example, a circular trajectory, an elliptical trajectory, a square trajectory, etc.

[0067] It should be understood that the moving object can move from a new initial position to a plurality of different path position information at different moments after a plurality of continuous movements of preset duration. According to the path position information of the moving object at a plurality of different moments, the moving object can be controlled to move along the target trajectory, thereby achieving a preset dynamic effect of showing the movement of the moving object relative to the fixed object in the page, so as to meet the aesthetic needs of the user browsing the page and enhance the user's browsing experience for the page.

[0068] According to an embodiment of the present disclosure, the position information of a fixed object in a page includes the coordinate information of the fixed object in the page, the initial position information of a moving object includes the coordinate information of the initial position of the moving object in the page, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after a preset motion duration.

[0069] Figure 3 The flowchart schematically shows a method of using a preset algorithm to process the position information of a fixed object, the initial position information of a moving object, and the motion parameter information to determine the passing position information of the moving object at different times according to an embodiment of the present disclosure.

[0070] like Figure 3 As shown, using a preset algorithm to process the position information of a fixed object, the initial position information of a moving object, and the motion parameter information, and determining the passing position information of the moving object at different times may include operations S310 to S320.

[0071] 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 to obtain trajectory parameter information of the target motion trajectory.

[0072] In operation S320, the path position information of the moving object at different times is determined according to the motion parameter information and the trajectory parameter information, wherein the motion parameter information includes the motion angle change information. It should be noted that the path position information may include the coordinate information of the path position of the moving object in the page, and the coordinate information of the path position may also include the first coordinate information and the second coordinate information.

[0073] 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 the 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.

[0074] Operation S310, using a preset algorithm to process the coordinate information of the fixed object and the coordinate information of the initial position of the moving object to obtain trajectory parameter information of the target motion trajectory may include the following operations.

[0075] According to the first coordinate information of the fixed object and the first coordinate information of the initial position of the moving object, first coordinate distance information is obtained, 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; according to the second coordinate information of the fixed object and the second coordinate information of the initial position of the moving object, second coordinate distance information is obtained, 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; the first coordinate distance information and the second coordinate distance information are processed by the 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 trajectory.

[0076] According to an embodiment of the present disclosure, the coordinate information of the fixed object can be expressed as (x0, y0), the coordinate information of the moving object can be expressed as (x1, y1), the first coordinate distance information can be expressed as |x1-x0|, and the second coordinate distance information can be expressed as |y1-y0|. The distance information between the fixed object and the moving object can be expressed by formula (1).

[0077]

[0078] In formula (1), c represents the distance information between the fixed object and the moving object, a represents the first coordinate distance information, a=|x1-x0|, b represents the second coordinate distance information, b=|y1-y0|, and c can represent the radius of the circular trajectory.

[0079] 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.

[0080] According to an embodiment of the present disclosure, the distance information may represent the radius of the circular track, and when the distance information is determined, the circular track in the page may be determined. The motion angle change information may represent the motion angle of the moving object relative to the fixed object.

[0081] For example, the passing position information of the moving object at different times can be determined by formula (2) to formula (4).

[0082]

[0083]

[0084]

[0085] In formula (2) to formula (4), c represents the distance information between the fixed object and the moving object, c can represent the radius of the circular trajectory, and e can represent the distance between the fixed object and the moving object; the position information of the fixed object can be expressed as (x0, y0), the initial position of the moving object can be expressed as (x1, y1), the passing position information of the moving object at different times can be expressed as (x2, y2), and the motion angle change information can be expressed as β.

[0086] According to an embodiment of the present disclosure, when the target trajectory is a circular trajectory, the dynamic display effect of dynamically displaying the movement of the moving object along the circular trajectory around the fixed object can be achieved by determining that the moving object is controlled to move along the circular trajectory. The dynamic display effect can provide users with a celestial motion effect similar to a satellite orbiting a planet, thereby enhancing the aesthetic effect of the page display to meet the user's aesthetic experience.

[0087] It should be understood that when the target trajectory is an elliptical trajectory, the moving object can be controlled to move along the elliptical trajectory according to the corresponding preset algorithm to achieve a dynamic display effect of dynamically displaying the moving object moving along the elliptical trajectory around the fixed object in the page.

[0088] Figure 4A The application scenario diagram of the page display method according to an embodiment of the present disclosure is schematically shown.

[0089] like Figure 4AAs shown, in page 400, fixed object 411 is set at the center position of target trajectory 421, and target trajectory 421 can be a target trajectory along which moving object 412 can move clockwise. First coordinate axis 431 and second coordinate axis 432 are perpendicular to each other. Motion parameter information 441 can be a motion angle of moving object 412 relative to fixed object 411. The position information of the fixed object can be represented as coordinate information (0, 0), the initial position of the moving object can be represented as coordinate information (x1, y1), and the motion parameter information 441 can be represented as β=1°.

[0090] Using the Pythagorean theorem, the distance information between the fixed object 411 and the moving object 412 can be determined as c. Using the above formulas (2) to (4), the passing position information of the moving object at different times can be determined.

[0091] By using the passing position information of the moving object 412 as the new initial position information, based on the same or similar method, the passing position information of the moving object 412 at multiple different consecutive moments can be determined, so that the moving object 412 can be controlled to move along a circular trajectory around the fixed object 411, so as to dynamically display the motion trajectory of the moving object 412 in the page, thereby achieving a dynamic display effect of dynamically displaying the moving object moving along a circular trajectory around the fixed object in the page.

[0092] It should be understood that the first coordinate axis 431 and the second coordinate axis 432 may not be displayed in the page 400 to avoid affecting the user's browsing of the page.

[0093] Figure 4B An application scenario diagram of a page display method according to another embodiment of the present disclosure is schematically shown.

[0094] like Figure 4B As shown, in page 400, fixed object 411 is set at the center position of target trajectory 422, and target trajectory 422 can be an elliptical trajectory formed by the moving object 412 moving clockwise along the target trajectory 422. The first coordinate axis 431 and the second coordinate axis 432 are perpendicular to each other. The motion parameter information 442 can be the motion angle of the moving object 412 relative to the fixed object 411. The position information of the fixed object can be represented as coordinate information (0, 0), the initial position of the moving object can be represented as coordinate information (x2, y2), and the motion parameter information 441 can be represented as

[0095] Using formula (5) and formula (6), we can get the major axis distance and minor axis distance of the elliptical trajectory.

[0096]

[0097]

[0098] In formula (5) and formula (6), a represents the major axis distance of the elliptical trajectory, and b represents the minor axis distance of the elliptical trajectory. Thus, the passing position information of the moving object 412 at different times can be determined. The passing position information of the moving object 412 is used as the new initial position information, and based on the same or similar method, the passing position information of the moving object 412 at multiple consecutive different times can be determined, so that the moving object 412 can be controlled to move around the fixed object 411 along the elliptical trajectory, so as to dynamically display the movement trajectory of the moving object 412 in the page, thereby achieving a dynamic display effect of dynamically displaying the movement of the moving object along the elliptical trajectory around the fixed object in the page.

[0099] According to an embodiment of the present disclosure, the page display method may further include the following operations.

[0100] In response to detecting first operation information for a moving object in motion, the moving object is controlled to stop moving in the page; and in response to detecting second operation information for a stationary moving object, the moving object is controlled to resume moving in the page.

[0101] 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 a user, and the first operation may include a click operation, a slide operation, etc. The moving object may contain information such as pictures, texts, and link information, and by controlling the moving object to stop moving on the page in response to detecting the first operation information for the moving object in motion, it is convenient for the user to view the pictures, texts, link information, and other information contained in the moving object.

[0102] According to an embodiment of the present disclosure, after viewing the pictures, texts, link information and other information contained in the moving object, the user can execute a second operation information on the stationary moving object to control the moving object to resume movement on the page to prompt the user to continue browsing other information.

[0103] According to an embodiment of the present disclosure, the page display method may further include the following operations.

[0104] In response to detecting that the moving object is in a stationary state in the page, the moving object is controlled to display a preset dynamic effect in the page.

[0105] According to the embodiments of the present disclosure, the preset dynamic effects may include, for example, zooming in, zooming out, changing shapes, etc. By controlling the moving object to display the preset dynamic effects on the page, an aesthetic experience can be further provided for the user to browse the page. By setting specific preset dynamic effects, such as zooming in on the moving object, it can be convenient for the user to view the pictures, texts, and other information contained in the moving object.

[0106] It should be understood that the preset dynamic effects can also be designed based on the link information contained in the moving object. For example, when the moving object is detected to be stationary in the page, the moving object can be controlled to dynamically display pictures or texts associated with the link information contained in the moving object in the page to facilitate user viewing or browsing.

[0107] According to an embodiment of the present disclosure, the page display method may further include the following operations.

[0108] In response to detecting that the moving object recovers from a static state to a moving state in the page, the moving object is controlled to eliminate a preset dynamic effect in the page.

[0109] According to an embodiment of the present disclosure, after a user views the pictures, texts, link information and other information contained in a moving object, the moving object may be restored from a static state to a moving state, thereby eliminating the preset dynamic effect. The moving object may continue to move in the shape and size of the moving state, and continue to show the user the preset dynamic effect of the moving object moving along the target trajectory, so as to meet the user's aesthetic needs for browsing pages.

[0110] Figure 5 An application scenario diagram of a page display method according to another embodiment of the present disclosure is schematically shown.

[0111] like Figure 5 As shown, 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 around the fixed object 511 along the target track 520.

[0112] When the page 500 is in the second display state, in response to detecting 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 display a preset dynamic effect in the page 500. In this embodiment, the preset dynamic effect may be an enlarged shape of the moving object 512 in a stationary state, so that the user can view information such as pictures, texts, and link information contained in the moving object.

[0113] When the page 500 is in the third display state, in response to detecting the second operation information for the static moving object 512, the moving object 512 can be controlled to resume motion in the page 500, that is, to rotate around the fixed object 511 along the target trajectory 520. At the same time, 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 display state.

[0114] Based on the above page display method, the present disclosure also provides a page display device. Figure 6 The device is described in detail.

[0115] Figure 6 The structural block diagram of the page display device according to an embodiment of the present disclosure is schematically shown.

[0116] like Figure 6 As shown, the page display device 600 of this embodiment includes a determination module 610 , a first processing module 620 , a second processing module 630 and a control module 640 .

[0117] Determination module 610 is used to determine the position information of a fixed object in a page, the initial position information of a moving object, the motion parameter information of the moving object and the target trajectory, wherein the moving object can move along the target trajectory, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after a preset motion duration.

[0118] The first processing module 620 is used to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information using a preset algorithm to determine the passing position information of the moving object at different times.

[0119] The second processing module 630 is used to use the passing position information as the new initial position information, and use a preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object to determine the passing position information of the moving object at multiple consecutive different moments.

[0120] The control module 640 is used 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 different consecutive moments, so as to dynamically display the moving trajectory of the moving object in the page.

[0121] According to an embodiment of the present disclosure, the position information of a fixed object in a page includes coordinate information of the fixed object in the page, the initial position information of a moving object includes coordinate information of the 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.

[0122] According to an embodiment of the present disclosure, the motion parameter information may include motion angle change information, and the target motion trajectory may include a circular trajectory.

[0123] The first processing module may include: a first determining unit, a second determining unit, a processing unit, and a third determining unit.

[0124] The first determination unit is used to obtain 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.

[0125] The second determination unit is used to obtain 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.

[0126] The processing unit is used to process the first coordinate distance information and the second coordinate distance information by using the Pythagorean theorem algorithm to obtain the distance information between the fixed object and the moving object, wherein the distance information represents the radius of the circular trajectory.

[0127] The third determination unit is used to determine the passing position information of the moving object at different times according to the movement angle change information and the distance information.

[0128] According to an embodiment of the present disclosure, the page display device may further include: a stop control module and a motion control module.

[0129] The stop control module is used to control the moving object to stop moving in the page in response to detecting first operation information for the moving object.

[0130] The motion control module is used to control the motion object to resume motion in the page in response to detecting second operation information for the stationary motion object.

[0131] According to an embodiment of the present disclosure, the page display device may further include: a first display module.

[0132] The first display module is used to control the moving object to display a preset dynamic effect in the page in response to detecting that the moving object is in a stationary state in the page.

[0133] According to an embodiment of the present disclosure, the page display device may further include: a second display module.

[0134] The second display module is used to control the moving object to eliminate a preset dynamic effect in the page in response to detecting that the moving object recovers from a static state to a moving state in the page.

[0135] According to an embodiment of the present disclosure, any multiple modules of the determination module 610, the first processing module 620, the second processing module 630 and the control module 640 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the determination module 610, the first processing module 620, the second processing module 630 and the control module 640 can be at least partially implemented 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 can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods 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, and when the computer program module is executed, a corresponding function may be performed.

[0136] Figure 7 A block diagram of an electronic device suitable for implementing a page display method according to an embodiment of the present disclosure is schematically shown.

[0137] like Figure 7 As shown, the 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 part 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 a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0138] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0139] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 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, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.

[0140] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0141] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.

[0142] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program includes a program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the page display method provided by the embodiment of the present disclosure.

[0143] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0144] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0145] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0146] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0147] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0148] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0149] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A page display method, comprising: Determine the position information of the fixed object in the page, the initial position information of the moving object and the motion parameter information of the moving object; 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 to determine the passing position information of the moving object at different times; Taking the passing position information as new initial position information, using the preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object, and determining the passing position information of the moving object at a plurality of consecutive different moments; Dynamically displaying the target motion trajectory of the moving object in the page according to the passing position information of the moving object at a plurality of consecutive different moments; The position information of the fixed object in the page includes the coordinate information of the fixed object in the page, the initial position information of the moving object includes the coordinate information of the initial position of the moving object in the page, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after the preset motion duration; 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 to determine 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 trajectory parameter information of the target motion trajectory; According to the motion parameter information and the trajectory parameter information, the passing position information of the moving object at different times is determined, wherein the motion parameter information includes motion angle change information.

2. The method according to claim 1, wherein: The target motion 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; Using the preset algorithm to process the coordinate information of the fixed object and the coordinate information of the initial position of the moving object to obtain the trajectory parameter information of the target motion trajectory includes: 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; The first coordinate distance information and the second coordinate distance information are processed by using a Pythagorean theorem algorithm to obtain distance information between the fixed object and the moving object, wherein the distance information represents a radius of the circular trajectory.

3. The method according to 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; as well as In response to detecting second operation information for the stationary moving object, the moving object is controlled to resume movement in the page.

4. The method according to claim 3, further comprising: In response to detecting that the moving object is in a stationary state in the page, the moving object is controlled to display a preset dynamic effect in the page.

5. The method according to claim 4, further comprising: In response to detecting that the moving object is restored from a static state to a moving state in the page, the moving object is controlled to eliminate the preset dynamic effect in the page.

6. A page display device, comprising: A determination module, used to determine the position information of a fixed object in a page, the initial position information of a moving object, and the motion parameter information of the moving object; A first processing module, configured to process the position information of the fixed object, the initial position information of the moving object, and the motion parameter information using a preset algorithm to determine the passing position information of the moving object at different times; A second processing module is used to use the passing position information as new initial position information, and use the preset algorithm to process the position information of the fixed object, the new initial position information, and the motion parameter information of the moving object to determine the passing position information of the moving object at a plurality of consecutive different moments; as well as A control module, configured to dynamically display the target motion trajectory of the motion object in the page according to the passing position information of the motion object at a plurality of consecutive different moments; The position information of the fixed object in the page includes the coordinate information of the fixed object in the page, the initial position information of the moving object includes the coordinate information of the initial position of the moving object in the page, and the motion parameter information represents the position change relationship of the moving object relative to the fixed object after the preset motion duration; The first processing module is further configured to: 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 trajectory parameter information of the target motion trajectory; According to the motion parameter information and the trajectory parameter information, the passing position information of the moving object at different times is determined, wherein the motion parameter information includes motion angle change information.

7. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Entry object determination method and device, storage medium and processor

    CN108874474A

  • Element position updating method and device, electronic equipment and storage medium

    CN113763459A