Page content interaction method and device
By obtaining gyroscope data on your phone to control the sliding or page turn of the comic page, the frequent gesture operation problems caused by limited screen content are solved, and the richness of user experience and interaction methods are improved.
Patent Information
- Application Number
- CN202411305766.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-27
AI Technical Summary
When reading comics, due to the limited content of the mobile phone screen, users need to frequently perform gesture operations to control the up and down of the screen content or turn the page left and right, resulting in a poor experience.
By acquiring the real-time data of the gyroscope on the client, determining the rotation angle and direction of the terminal, and controlling the sliding or page turn operations of the page content based on these data, avoiding frequent gesture input.
It improves the user experience, enriches the interaction mode of page content, reduces the frequent operation of gesture input, and enhances the control accuracy of page content.
Smart Images

Figure CN119200924A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a page content interaction method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] For users who like comics, reading comics through mobile apps is becoming an increasingly common way.
[0003] When reading comics, since the content of the comics on one screen of the mobile phone is very limited, when users need to read more comics or review previous comics, they need to frequently make corresponding gestures on the mobile phone (such as clicking, sliding, etc.) to control the up and down sliding of the screen content or the left and right page turning, which provides a poor experience.
[0004] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the invention
[0005] Embodiments of the present application provide a page content interaction method, apparatus, computer device, computer-readable storage medium, and computer program product to solve or alleviate one or more of the technical problems raised above.
[0006] An aspect of an embodiment of the present application provides a page content interaction method, the method comprising: When the target page content is displayed on the client, real-time data collected by the gyroscope of the terminal corresponding to the client is obtained; Determine rotation angle data of the terminal according to the real-time collected data, wherein the rotation angle data includes a rotation angle and a rotation direction; Determining whether a target condition is met according to the rotation angle data; When the target condition is met, the target page content is controlled to move in a preset direction according to the rotation angle data.
[0007] Optionally, determining whether a target condition is met according to the rotation angle data includes: When the rotation angle is greater than or equal to a preset angle, it is determined that the target condition is met.
[0008] Optionally, controlling the target page content to move in a preset direction according to the rotation angle data includes: When the rotation direction is clockwise, controlling the target page content to slide in a first direction; When the rotation direction is counterclockwise, the target page content is controlled to slide in a second direction.
[0009] Optionally, controlling the target page content to move in a preset direction according to the rotation angle data further includes: Determine the target distance of the movement according to the rotation angle; Control the target page content to move the target distance in a preset direction.
[0010] Optionally, the target page content is comic page content.
[0011] Optionally, the method further comprises: Acquiring historical interactive operation data of the client user with authorization of the client user; The controlling the target page content to move in a preset direction according to the rotation angle data includes: Determine a target distance of movement according to the historical interaction data and the rotation angle; Control the target page content to move the target distance in a preset direction.
[0012] Another aspect of an embodiment of the present application provides a page content interaction device, the device comprising: An acquisition module, used to acquire real-time acquisition data of a gyroscope of a terminal corresponding to the client when the client displays the target page content; A first determination module, configured to determine rotation angle data of the terminal according to the real-time collected data, wherein the rotation angle data includes a rotation angle and a rotation direction; A second determination module, used to determine whether the target condition is met according to the rotation angle data; The control module is used to control the target page content to move in a preset direction according to the rotation angle data when the target condition is met.
[0013] Another aspect of an embodiment of the present application provides a computer device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein: the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described above.
[0014] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.
[0015] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the method described above when executed by a processor.
[0016] The above technical solution adopted in the embodiment of the present application may have the following advantages: By displaying the target page content on the client, the real-time collected data of the gyroscope of the terminal corresponding to the client is obtained, the rotation angle data of the terminal is determined according to the real-time collected data, and whether the target conditions are met according to the rotation angle data. If the target conditions are met, the target page content is controlled to move in a preset direction according to the rotation angle data. The gyroscope can be used to control operations such as sliding or turning pages of the page content, avoiding frequent control through gesture input. At the same time, it also enriches the way of interacting with the page content and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0018] Figure 1 The following schematically shows an operating environment diagram of the page content interaction method according to the first embodiment of the present application; Figure 2 The flowchart of the page content interaction method according to the first embodiment of the present application is schematically shown; Figure 3 Schematically shows Figure 2 Flow chart of sub-steps of step S206; Figure 4 The following is a schematic diagram showing the principle of the page content interaction method according to the first embodiment of the present application; Figure 5 Schematically shows Figure 2 Another sub-step flow chart of step S206; Figure 6 The newly added process of the page content interaction method according to the first embodiment of the present application is schematically shown; Figure 7 A block diagram schematically shows a page content interaction device according to the second embodiment of the present application; and Figure 8 The hardware architecture diagram of the computer device according to the third embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0020] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0021] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.
[0022] First, the following terms are explained: Angular velocity: It is defined in physics as the rate of change of angular displacement, describing the angle an object rotates per unit time and the vector of the direction of rotation.
[0023] Gyroscope: An inertial device used to measure and control the angular motion of an object relative to inertial space. It uses the momentum of a high-speed rotating body to sense the angular motion of the housing relative to inertial space around one or two axes orthogonal to the rotation axis, thereby achieving the measurement of angular velocity or angular displacement.
[0024] Secondly, in order to facilitate those skilled in the art to understand the technical solutions provided in the embodiments of the present application, the relevant technologies are described below: In the related art, when reading comics, since the content of a comic screen on a mobile phone is very limited, when the user needs to read more comic content or review previous comic content, he needs to frequently make corresponding gestures on the mobile phone to control the up and down sliding of the screen content or the left and right page turning, which results in a poor user experience.
[0025] To this end, the embodiment of the present application provides a technical solution for page content interaction. In this technical solution, the gyroscope can be used to control the up and down sliding or left and right page turning of the screen content to improve the user experience. See below for details.
[0026] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0027] Figure 1 The following is a schematic diagram showing an environmental application of the method according to an embodiment of the present application.
[0028] Computer device 10000 includes various types of electronic devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptop computers), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, game systems, thin clients, various messaging devices, sensors or other electronic devices, etc. These computer devices can run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, Linux or Linux-like operating systems (such as GOOGLE ChromeOS); or include various mobile operating systems, such as MICROSOFT Windows, Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular phones, smart phones, tablet computers, personal digital assistants, etc. Wearable devices may include head-mounted displays (such as smart glasses), etc. Game systems may include various handheld game devices, Internet-enabled game devices, etc. Client devices are capable of executing various different applications, such as various Internet-related applications, communication applications (such as email applications), short message service (SMS) applications, and may use various communication protocols.
[0029] The computer device 10000 may include an input / output interface. The input interface may include a touch pad, a touch screen, a mouse, a keyboard, a gyroscope or other sensing elements. The input interface may be configured to receive user instructions, which may enable the computer device 10000 to perform various operations, such as scrolling to view page content, etc. The output interface is used to output information to the user, such as display information.
[0030] Based on the operating environment described above, the computer device 10000 may also be installed with one or more applications, such as an application for reading comics.
[0031] The following uses a computer device as the execution subject to introduce the technical solution of the present application through multiple embodiments. It should be noted that these embodiments can be implemented in a variety of different forms and should not be interpreted as being limited to the embodiments described here.
[0032] Embodiment 1 Figure 2The flowchart of the page content interaction method according to the first embodiment of the present application is schematically shown.
[0033] like Figure 2 As shown, the page content interaction method may include steps S200 to S206, wherein: Step S200: when the client displays the target page content, obtain the real-time collected data of the gyroscope of the terminal corresponding to the client.
[0034] Step S202: determining the rotation angle data of the terminal according to the real-time collected data, where the rotation angle data includes the rotation angle and the rotation direction.
[0035] Step S204, determining whether the target condition is met according to the rotation angle data.
[0036] Step S206: When the target condition is met, the target page content is controlled to move in a preset direction according to the rotation angle data.
[0037] The page content interaction method provided in this embodiment obtains real-time collected data of the gyroscope of the terminal corresponding to the client when the target page content is displayed on the client, determines the rotation angle data of the terminal according to the real-time collected data, determines whether the target condition is met according to the rotation angle data, and controls the target page content to move in a preset direction according to the rotation angle data when the target condition is met. The gyroscope can be used to control operations such as sliding or turning pages of the page content, thereby avoiding frequent control through gesture input. At the same time, it also enriches the way of interacting with the page content and improves the user experience.
[0038] The following combination Figure 2 , each step in steps S200~S206 and other optional steps are described in detail.
[0039] Step S200 , when the client displays the target page content, the real-time collection data of the gyroscope of the client corresponding terminal is obtained.
[0040] The target page content may be page content on a browser or page content on an application. Optionally, the target page content may be comic page content.
[0041] The client terminal is the computer device mentioned above. The real-time data collected by the gyroscope may include the angular velocity data and angle data of the terminal on the X / Y / Z axis. Among them, the X axis may be along the width direction of the computer device. When the computer device is placed face up, the X axis may be from left to right; the Y axis may be along the height direction of the computer device. When the computer device is placed face up, the Y axis may be from bottom to top (bottom to top of the device); the Z axis may be along the depth direction of the computer device. When the computer device is placed face up, the Z axis may be perpendicular to the screen.
[0042] Step S202 , determine the rotation angle data of the terminal according to the real-time collected data, and the rotation angle data includes the rotation angle and the rotation direction.
[0043] Based on the real-time data collected by the gyroscope, the rotation angle data of the terminal can be calculated, including the rotation angle and rotation direction of the terminal. Specifically, the direction of rotation can be determined by the positive and negative values of the angular velocity, such as a positive value for clockwise rotation and a negative value for counterclockwise rotation. As for the rotation angle, it can be obtained by integrating (accumulating) the angular velocity. For example, in the real-time data, the gyroscope rotates around the Y axis at a speed of 1 radian per second for 1 second. Then, through integral calculation, it can be concluded that the terminal rotates around the Y axis by 1 radian.
[0044] Step S204 , determine whether the target conditions are met based on the rotation angle data.
[0045] In an optional embodiment, step S204 may include: when the rotation angle is greater than or equal to a preset angle, determining that the target condition is met.
[0046] The preset angle should not be set too small to avoid misoperation, nor too large, otherwise the user needs to rotate the phone significantly to interact with the target page content. Therefore, the preset angle should be rotated to a smaller angle without causing misoperation, so as to facilitate users to interact with the target page content.
[0047] Optionally, when the rotation angle is less than a preset angle, it is determined that the target condition is not met. When it is determined that the target condition is not met, it can be considered that no instruction from the user to interact with the target page content is received. If the target condition is determined to be not met during the movement of the target page content, it can be considered that an instruction from the user to stop moving the target page content is received, and the movement of the target page content is stopped.
[0048] Step S206 , when the target conditions are met, the target page content is controlled to move in the preset direction according to the rotation angle data.
[0049] When the target conditions are met, the target page content can be controlled to move in a preset direction according to the rotation direction in the rotation angle data.
[0050] In an optional embodiment, if Figure 3 As shown, step S206 may further include steps S300 to S302: Step S300: When the rotation direction is clockwise, control the target page content to slide in a first direction.
[0051] Step S302: When the rotation direction is counterclockwise, control the target page content to slide in a second direction.
[0052] In the case where the target page content is scrolled up and down, the first direction may be downward, and the second direction may be upward. That is, in the case where the rotation direction is clockwise, the target page content is controlled to slide downward so that the user can read more page content; in the case where the rotation direction is counterclockwise, the target page content is controlled to slide upward so that the user can view the previously read page content. In the case where the target page content is slid left and right or turned pages, the first direction may be right, and the second direction may be left. That is, in the case where the rotation direction is clockwise, the target page content is controlled to slide right (or turn pages) so that the user can view more page content; in the case where the rotation direction is counterclockwise, the target page content is controlled to slide left (or turn pages) so that the user can view the previously read page content. It should be noted that in the case where the page content is viewed up and down, the rotation angle data may use the data in the Y-axis direction; in the case where the page content is viewed left and right, the rotation angle data may use the data in the X-axis direction.
[0053] Please refer to Figure 4 , which is a principle example diagram of the page content interaction method. As shown in the figure, the page content interaction may include the following contents: 1. When displaying the target page content, call the system gyroscope sensor interface to obtain the real-time angular velocity of the device in the X, Y, and Z axis directions; 2. Calculate the rotation angle α in the Y-axis direction according to the obtained angular velocity; 3. Determine whether the rotation angle α is greater than the preset angle β. If not, proceed to step 6. If yes, further determine whether α is greater than β, or whether α is less than -β. If α is greater than β, proceed to step 4. If α is less than -β, proceed to step 5. 4. The strip scrolls upwards; 5. The strip scrolls down; 6. The comic strip stops scrolling.
[0054] In this optional embodiment, by controlling the target content to slide in a first direction when the rotation direction is clockwise, and controlling the target page content to slide in a second direction when the rotation direction is counterclockwise, the target page content can be controlled to slide in a specific direction according to the rotation direction, thereby realizing interactive operations on the target page content.
[0055] In an optional embodiment, in step S206, the target page content is controlled to move in a preset direction according to the rotation angle data, such as Figure 5 As shown, steps S400 to S402 may also be included: Step S400, determining the target distance of movement according to the rotation angle.
[0056] Step S402, controlling the target page content to move a target distance in a preset direction.
[0057] Specifically, the rotation angle and the target distance of movement can be pre-configured, so that after the rotation angle is obtained, the target distance of movement can be determined according to the configuration. For example, if the configuration is that the distance of movement is 1 cm per degree of rotation, and the rotation angle is 10 degrees, then the target distance of movement can be determined to be 10 cm. How the specific rotation angle corresponds to the distance of movement can be configured according to actual needs, and is not limited here.
[0058] In this optional embodiment, by determining the target distance of movement according to the rotation angle and controlling the target page content to move the target distance in a preset direction, the moving distance can be accurately controlled according to the rotation angle, thereby improving the accuracy of page content control.
[0059] In an optional embodiment, the page content interaction method may further include: obtaining historical interaction operation data of the client user with authorization of the client user, and in step S206, controlling the target page content to move in a preset direction according to the rotation angle data, such as Figure 6 As shown, it may further include steps S500-S502: Step S500, determining the target distance of movement according to the historical interaction data and the rotation angle.
[0060] Step S502, controlling the target page content to move a target distance in a preset direction.
[0061] The client user's historical interactive operation data may be interactive operation data input by the client user through gestures, such as information such as the frequency and distance of sliding when the client user slides his finger to view. It is understandable that the historical interactive operation data contains information about the client user's reading habits and preferences. For example, for the case where the sliding distance in the historical interactive operation data is large, it can be inferred that the client user likes to slide a large amount to view more new page content after reading most of the current page content; and for the case where the sliding distance in the historical interactive operation data is small, it can be inferred that the client user likes to slide a small amount to update the current page content little by little.
[0062] When determining the target distance of movement based on historical interaction data and rotation angle, for client users who like large sliding movements, a larger moving distance is configured according to the rotation angle; for client users who like small sliding movements, a smaller moving distance can be configured according to the rotation angle.
[0063] In this optional embodiment, with the authorization of the client user, the historical interaction operation data of the client user is obtained, the target distance of movement is determined according to the historical interaction operation data and the rotation angle, and the target page content is controlled to move the target distance in a preset direction. Since the historical interaction operation data reflects the user's operating habits and preferences, the target distance of movement of the target page content is controlled in combination with the historical interaction operation data, so that the interaction of the target page content can conform to the user's operating habits and preferences, thereby further improving the user experience.
[0064] Embodiment 2 Figure 7 The block diagram of the page content interaction device 600 according to the second embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 7 As shown, the apparatus 600 may include: an acquisition module 610, a first determination module 620, a second determination module 630 and a control module 640, wherein: The acquisition module 610 is used to acquire the real-time collected data of the gyroscope of the terminal corresponding to the client when the client displays the target page content; A first determination module 620, configured to determine rotation angle data of the terminal according to the real-time collected data, wherein the rotation angle data includes a rotation angle and a rotation direction; A second determination module 630, configured to determine whether the target condition is met according to the rotation angle data; The control module 640 is used to control the target page content to move in a preset direction according to the rotation angle data when the target condition is met.
[0065] In an optional embodiment, the second determining module 630 is further configured to: When the rotation angle is greater than or equal to a preset angle, it is determined that the target condition is met.
[0066] In an optional embodiment, the control module 640 is further configured to: When the rotation direction is clockwise, controlling the target page content to slide in a first direction; When the rotation direction is counterclockwise, the target page content is controlled to slide in a second direction.
[0067] In an optional embodiment, the control module 640 is further configured to: Determine the target distance of the movement according to the rotation angle; Control the target page content to move the target distance in a preset direction.
[0068] In an optional embodiment, the target page content is comic page content.
[0069] In an optional embodiment, the page content interaction device 600 is further used for: Acquiring historical interactive operation data of the client user with authorization of the client user; The control module 640 is further configured to: Determine a target distance of movement according to the historical interaction data and the rotation angle; Control the target page content to move the target distance in a preset direction.
[0070] Embodiment 3 Figure 8 The schematic diagram of the hardware architecture of a computer device 10000 suitable for implementing the page content interaction method according to the third embodiment of the present application is shown. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 8As shown, the computer device 10000 includes but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other through a system bus. Among them: The memory 10010 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 10010 can be an internal storage module of the computer device 10000, such as a hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 can also be an external storage device of the computer device 10000, such as a plug-in hard disk equipped on the computer device 10000, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 10010 can also include both the internal storage module of the computer device 10000 and its external storage device. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed in the computer device 10000, such as program codes of the page content interaction method, etc. In addition, the memory 10010 can also be used to temporarily store various data that have been output or will be output.
[0071] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.
[0072] The network interface 10030 may include a wireless network interface or a wired network interface, and the network interface 10030 is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.
[0073] It should be pointed out that Figure 8 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0074] In this embodiment, the page content interaction method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as processor 10020) to complete the embodiment of the present application.
[0075] Embodiment 4 An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the page content interaction method in the embodiment are implemented.
[0076] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on the computer device, such as the program code of the page content interaction method in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
[0077] Embodiment 5 An embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.
[0078] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by general-purpose computer devices, they can be concentrated on a single computer device, or distributed on a network composed of multiple computer devices, optionally, they can be implemented by executable program codes of computer devices, so that they can be stored in a storage device and executed by the computer device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0079] It should be noted that the above are only preferred embodiments of the present application, and the patent protection scope of the present application is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A page content interaction method, characterized in that: The method comprises: When the target page content is displayed on the client, real-time data collected by the gyroscope of the terminal corresponding to the client is obtained; Determine rotation angle data of the terminal according to the real-time collected data, wherein the rotation angle data includes a rotation angle and a rotation direction; Determining whether a target condition is met according to the rotation angle data; When the target condition is met, the target page content is controlled to move in a preset direction according to the rotation angle data.
2. The method according to claim 1, characterized in that The step of determining whether the target condition is met according to the rotation angle data comprises: When the rotation angle is greater than or equal to a preset angle, it is determined that the target condition is met.
3. The method according to claim 2, characterized in that The controlling the target page content to move in a preset direction according to the rotation angle data includes: When the rotation direction is clockwise, controlling the target page content to slide in a first direction; When the rotation direction is counterclockwise, the target page content is controlled to slide in a second direction.
4. The method according to claim 3, characterized in that The step of controlling the target page content to move in a preset direction according to the rotation angle data further includes: Determine the target distance of the movement according to the rotation angle; Control the target page content to move the target distance in a preset direction.
5. The method according to any one of claims 1 to 4, characterized in that: The target page content is the comic page content.
6. The method according to claim 1, characterized in that The method further comprises: Acquiring historical interactive operation data of the client user with authorization of the client user; The controlling the target page content to move in a preset direction according to the rotation angle data includes: Determine a target distance of movement according to the historical interaction data and the rotation angle; Control the target page content to move the target distance in a preset direction.
7. A page content interaction device, characterized in that: The device comprises: An acquisition module, used to acquire real-time acquisition data of a gyroscope of a terminal corresponding to the client when the client displays the target page content; A first determination module, configured to determine rotation angle data of the terminal according to the real-time collected data, wherein the rotation angle data includes a rotation angle and a rotation direction; A second determination module, used to determine whether the target condition is met according to the rotation angle data; The control module is used to control the target page content to move in a preset direction according to the rotation angle data when the target condition is met.
8. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
