Content display method, device, electronic device and storage medium

By displaying multiple contents in the display page of the user terminal and adjusting the content area in response to the terminal tilt, the problem of inconvenience of users to switch pages is solved, and convenient page control and browsing efficiency are achieved.

CN114706507BActive Publication Date: 2025-02-11BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210452357.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2025-02-11
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

In the prior art, it is not convenient for users to switch pages, especially when users have water on their hands or wear heavy gloves.

Method used

By displaying the first content and the second content in the display page of the user terminal, and adjusting the visual content area of ​​both in response to the tilt of the terminal, if the visual content area of ​​a certain content is greater than the preset threshold, switch to the content The corresponding display page.

Benefits of technology

This enables users to control the content area ratio and switch pages by tilting the terminal without touching the screen, improving the efficiency of users browsing content and the convenience of page switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114706507B_ABST
    Figure CN114706507B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a content display method, device, electronic device and storage medium, the method comprising: displaying a first content and a second content in a display page; in response to a tilt signal generated when a terminal is tilted, adjusting the visible content area of ​​the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller; if the visible content area corresponding to the first content or the second content is larger than a preset threshold, switching to a target page, the target page being the display page corresponding to the first content or the second content. The present disclosure can improve the user's operation convenience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of human-computer interaction technology, and in particular to a content display method, device, electronic device and storage medium. Background Art

[0002] With the development of computer technology, more and more people browse content, such as pictures and videos, through user terminals.

[0003] In traditional technologies, users often interact with user terminals by finger touch. However, when the user's hands are wet or the user is wearing thick gloves, it is often inconvenient to interact with the user terminal by finger touch, which is not conducive to the user conveniently switching the page currently displayed on the user terminal.

[0004] Therefore, the current traditional method has the problem that it is not convenient for users to switch pages. Summary of the invention

[0005] The present disclosure provides a content display method, device, electronic device and storage medium to at least solve the problem of inconvenient user page switching in the related art. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a content display method, including:

[0007] Displaying the first content and the second content in the display page;

[0008] In response to a tilt signal generated when the terminal is tilted, adjusting the visible content areas of the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller;

[0009] If the visible content area corresponding to the first content or the second content is larger than a preset threshold, the target page is switched to, and the target page is a display page corresponding to the first content or the second content.

[0010] In a possible implementation, adjusting the visible content area of ​​the first content and the second content in the display interface in response to a tilt signal generated when the terminal is tilted includes:

[0011] When the tilt direction in the tilt signal is the direction corresponding to the first content, the visible content area of ​​the first content in the display page is increased, and the visible content area of ​​the second content in the display page is reduced.

[0012] In a possible implementation, adjusting the visible content area of ​​the first content and the second content in the display page as the tilt state of the user terminal changes includes:

[0013] When the tilt direction in the tilt signal is the direction corresponding to the second content, the visible content area of ​​the first content in the display page is reduced, and the visible content area of ​​the second content in the display page is increased.

[0014] In a possible implementation, displaying the first content and the second content in the presentation page includes:

[0015] The visible content area of ​​the first content in the display page is set to have the same size as the visible content area of ​​the second content in the display page.

[0016] In a possible implementation, displaying the first content and the second content in the presentation page includes:

[0017] Displaying a first type of target object through the first content, and displaying a second type of target object through the second content;

[0018] The position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the current page.

[0019] In one possible implementation, the method further includes:

[0020] In response to a triggering operation on the first content, switching to a display page corresponding to the first content;

[0021] or,

[0022] In response to a triggering operation on the second content, switching to a display page corresponding to the second content.

[0023] In one possible implementation, the method further includes:

[0024] The tilt guide information is displayed in the display page; the tilt guide information is used to guide the terminal to tilt in a specified direction.

[0025] According to a second aspect of an embodiment of the present disclosure, there is provided a content display device, characterized in that it includes:

[0026] A display unit, configured to display the first content and the second content in a display page;

[0027] an adjusting unit, configured to execute, in response to a tilt signal generated when the terminal is tilted, adjusting visible content areas of the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller;

[0028] The switching unit is configured to switch to a target page if the visible content area corresponding to the first content or the second content is larger than a preset threshold, wherein the target page is a display page corresponding to the first content or the second content.

[0029] In one possible implementation, the adjustment unit is specifically configured to increase the visible content area of ​​the first content in the display page and reduce the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the first content.

[0030] In one possible implementation, the adjustment unit is specifically configured to reduce the visible content area of ​​the first content in the display page and increase the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the second content.

[0031] In a possible implementation, the display unit is specifically configured to set a visible content area of ​​the first content in the display page to be the same size as a visible content area of ​​the second content in the display page.

[0032] In one possible implementation, the display unit is specifically configured to display a first type of target object through the first content, and to display a second type of target object through the second content; wherein the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the current page.

[0033] In one possible implementation, the device is further configured to execute, in response to a trigger operation on the first content, switching to a display page corresponding to the first content; or, in response to a trigger operation on the second content, switching to a display page corresponding to the second content.

[0034] In a possible implementation, the device is further configured to display tilt guidance information in the display page; the tilt guidance information is used to guide the terminal to tilt in a specified direction.

[0035] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the content display method as described in the first aspect or any possible implementation manner of the first aspect is implemented.

[0036] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the content display method as described in the first aspect or any possible implementation manner of the first aspect is implemented.

[0037] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a device reading and executing the computer program from the readable storage medium, so that the device executes the content display method described in any possible implementation manner of the first aspect.

[0038] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: part of the first content and part of the second content are displayed on a display page of a user terminal; when the inclination state of the user terminal changes, the visible content areas of the first content and the second content in the display page are adjusted as the tilt state of the user terminal changes, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller; if the visible content area corresponding to the first content or the second content is larger than a preset threshold, switching to a target page, which is a display page corresponding to the first content or the second content; in this way, the user does not need to perform touch operations on the screen of the user terminal, and can also control the user terminal to adjust the ratio between the visible content area of ​​the first content in the display page and the visible content area of ​​the second content in the display page by tilting the user terminal, and control the user terminal to switch to display the display page corresponding to the first content or the second content, thereby improving the efficiency of users browsing content through the user terminal and the convenience of switching pages.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0041] Figure 1 The present invention is a flowchart of a content display method according to an exemplary embodiment.

[0042] Figure 2 It is a schematic diagram of a display page according to an exemplary embodiment.

[0043] Figure 3 The figure is a schematic diagram showing tilt guidance information according to an exemplary embodiment.

[0044] Figure 4 The figure is a schematic diagram of page switching of a content display method according to an exemplary embodiment.

[0045] Figure 5 It is a schematic diagram of an interface of a content display method according to an exemplary embodiment.

[0046] Figure 6 The figure is a flow chart of another content display method according to an exemplary embodiment.

[0047] Figure 7 It is a block diagram of a content display device according to an exemplary embodiment.

[0048] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.

[0051] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0052] The content display method provided by the present disclosure can be applied to user terminals. The user terminals can be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.

[0053] Figure 1 is a flow chart of a content display method according to an exemplary embodiment. Figure 1 As shown, the content display method includes the following steps.

[0054] In step S110 , the first content and the second content are displayed on the presentation page.

[0055] The display page may refer to the page currently displayed on the display interface of the terminal.

[0056] In a specific implementation, the terminal may display part of the first content and part of the second content in a display page. In actual applications, the terminal may respond to a preset trigger condition, for example, when the duration of playing the target video reaches a preset duration threshold, or in response to a user account accessing a preset link, etc., to display part of the first content and part of the second content in a display page. Specifically, the terminal may display a first type of target object through the first content, and display a second type of target object through the second content. In actual applications, the object described by the target video or the target object indicated by the preset link may be associated with the target object displayed by the first content and the second content.

[0057] For example, assuming that the target video is a promotional video of product A, when the terminal detects that the duration of playing the target video reaches a preset duration threshold, the terminal can display part of the first content and part of the second content in the display page. The first content may include the description content corresponding to the first type of product A. The second content may include the description content corresponding to the second type of product A. The first type and the second type may be different types.

[0058] In actual applications, the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the current page.

[0059] In order to facilitate the understanding of those skilled in the art, Figure 2 As shown, Figure 2 A schematic diagram of a display page is provided as an example; wherein 210 is the first content, 220 is the second content, 230 is the terminal, and 240 is the target object, see Figure 2 , the first content 210 includes a first type of target object 240a, and the second content 220 includes a second type of target object 240b, wherein the styles of the first type of target object 240a and the second type of target object 240b are different. In the process of displaying the first content and the second content on the display page, the terminal 230 displays part of the first content and part of the second content on the display page. The position and size of the target object 240 in the first content on the display page are the same as the position and size of the target object 240 in the second content on the current page.

[0060] In an exemplary embodiment, displaying the first content and the second content in a display page includes: when the inclination state of the terminal is in an initial state and has not changed, setting the visible content area of ​​the first content in the display page to the same size as the visible content area of ​​the second content in the display page.

[0061] In a specific implementation, the terminal may define the current inclination state of the terminal as the initial state in response to a preset trigger condition. When the inclination state of the terminal is in the initial state and has not changed, the terminal may set the visible content area of ​​the first content in the display page to be the same size as the visible content area of ​​the second content in the display page. Figure 2 , the inclination state of the terminal 230 at this time is the initial state and has not changed, the terminal 230 sets the visible content area of ​​the first content in the display page to 50% of the screen area of ​​the terminal 230, and sets the visible content area of ​​the second content in the display page to 50% of the screen area of ​​the terminal 230, so that the visible content area of ​​the first content in the display page is the same as the visible content area of ​​the second content in the display page. In this way, when the inclination state of the terminal is in the initial state and has not changed, it is ensured that the terminal can equally present the information amount of the first content and the information amount of the second content.

[0062] In step S120, in response to a tilt signal generated when the terminal is tilted, the visible content areas of the first content and the second content in the display page are adjusted, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller.

[0063] In an exemplary embodiment, the terminal may also display tilt guidance information in the display page. The tilt guidance information is used to guide the user to tilt the terminal in a specified direction. To facilitate understanding by those skilled in the art, Figure 3 A schematic diagram of tilt guidance information is provided exemplarily; Figure 3 As shown, 310 is tilt guidance information, which is used to guide the user to tilt the terminal in a specified direction. In practical applications, the tilt guidance information includes a virtual terminal 320 for representing the terminal. The tilt state of the virtual terminal can change synchronously with the change of the tilt state of the terminal.

[0064] In a specific implementation, when the terminal displays part of the first content and part of the second content, the terminal can also display tilt guidance information in the display page to guide the user to tilt the terminal in a specified direction. Then, the terminal can detect the tilt signal generated when the terminal is tilted in real time.

[0065] When the terminal detects that the tilt signal generated when the terminal is tilted changes, the terminal can adjust the visible content area of ​​the first content and the second content in the display page as the tilt signal generated when the terminal is tilted changes, so that the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller.

[0066] In an exemplary embodiment, in response to a tilt signal generated when the terminal is tilted, the visible content area of ​​the first content and the second content in the display interface is adjusted, including: when the tilt direction in the tilt signal is a direction corresponding to the first content, the visible content area of ​​the first content in the display page is increased, and the visible content area of ​​the second content in the display page is reduced; when the tilt direction in the tilt signal is a direction corresponding to the second content, the visible content area of ​​the first content in the display page is reduced, and the visible content area of ​​the second content in the display page is increased.

[0067] The first content corresponding direction and the second content corresponding direction may be two opposite directions.

[0068] In a specific implementation, the terminal can call a posture monitoring module arranged in the terminal to detect a tilt signal generated when tilting. Specifically, the terminal can detect the integral of the output of the posture monitoring module over time to calculate the rotation describing the angle change with the time step. And according to the positive and negative values ​​of the calculated degrees, it is determined whether the tilt signal generated when tilting is the direction corresponding to the first content or the direction corresponding to the second content, and the absolute value of the corresponding degree represents the tilt degree (tilt angle) of the terminal. Then, based on the tilt direction and tilt angle, the terminal can adjust the visual content area of ​​the first content and the second content in the display page, so that the visual content area of ​​one of them becomes larger and the visual content area of ​​the other becomes smaller.

[0069] In step S130, if the visible content area corresponding to the first content or the second content is larger than a preset threshold, the target page is switched to, and the target page is a display page corresponding to the first content or the second content.

[0070] In a specific implementation, when the terminal adjusts the visible content area of ​​the first content and the second content in the display page as the tilt state changes, the terminal can also detect in real time the ratio of the visible content area of ​​the first content in the display page to the screen area, and / or detect the ratio of the visible content area of ​​the first content in the display page to the screen area; when the terminal detects that the ratio of the visible content area of ​​the first content in the display page to the screen area is greater than a preset ratio threshold, the terminal displays that the current page is switched to the display page corresponding to the first content. When the terminal detects that the ratio of the visible content area of ​​the second content in the display page to the screen area is greater than a preset ratio threshold, the terminal displays that the current page is switched to the display page corresponding to the second content.

[0071] In actual applications, the display page corresponding to the first content or the second content may be a detail introduction page corresponding to the target object in the first content or the second content, a request submission page, etc.

[0072] See also Figure 4 , Figure 4 A schematic diagram of page switching of a content display method is provided as an example; when the terminal is in an initial state and the tilt state does not change, the first content 210 and the second content 220 are displayed on the display page, and the visual content area of ​​the first content 210 in the display page is the same size as the visual content area of ​​the second content 220 in the display page. When the terminal detects that the terminal is tilted in the direction corresponding to the first content 210. For example, Figure 4 As shown, a rectangular coordinate system 410 is established on the plane where the terminal screen is located with the center point of the terminal screen as the origin. When the terminal detects that the tilt state of the terminal is rotating in the positive direction of the x-axis with the y-axis as the rotation axis (i.e., the first direction), the terminal increases the visible content area of ​​the first content 210 in the display page and reduces the visible content area of ​​the second content 220 in the display page. When the terminal detects that the ratio of the visible content area of ​​the first content in the display page to the screen area is greater than a preset ratio threshold, the terminal displays that the current page is switched to the display page 420 corresponding to the first content.

[0073] On the contrary, please refer to Figure 5 , Figure 5 An interface schematic diagram of a content display method is exemplarily provided; when the terminal detects that the terminal is tilted in a state of rotating in the negative direction of the x-axis with the y-axis as the rotation axis (i.e., the second direction), the terminal increases the visible content area of ​​the second content 220 in the display page, and reduces the visible content area of ​​the first content 210 in the display page. When the terminal detects that the ratio of the visible content area of ​​the second content in the display page to the screen area is greater than a preset ratio threshold, the terminal displays a display that switches the current page to the display page corresponding to the second content. It should be noted that the effect of the terminal switching the current page to the display page corresponding to the second content can be seen in FIG. Figure 4 The terminal switches the current page to the display page corresponding to the first content. Figure 5 No longer shown.

[0074] In the above content display method, part of the first content and part of the second content are displayed in the display page of the terminal; when the inclination state of the terminal changes, the visible content areas of the first content and the second content in the display page are adjusted as the tilt state of the terminal changes, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller; if the visible content area corresponding to the first content or the second content is larger than a preset threshold, the target page is switched to, and the target page is the display page corresponding to the first content or the second content; in this way, the user does not need to perform touch operation on the screen of the terminal, and can also control the terminal to adjust the ratio between the visible content area of ​​the first content in the display page and the visible content area of ​​the second content in the display page by tilting the terminal, and control the terminal to switch to display the display page corresponding to the first content or the second content, thereby improving the efficiency of users browsing content through the user terminal and the convenience of switching pages.

[0075] In an exemplary embodiment, the method further includes: in response to a triggering operation on the first content, switching to a display page corresponding to the first content; or, in response to a triggering operation on the second content, switching to a display page corresponding to the second content.

[0076] In a specific implementation, after displaying part of the first content and part of the second content on the display page of the terminal, the terminal may also receive a trigger operation of the user on the first content or the second content to directly switch to the display page corresponding to the first content or the second content. Specifically, when the terminal receives a trigger operation of the user on the first content, the terminal switches to the display page corresponding to the first content in response to the trigger operation on the first content. When the terminal receives a trigger operation of the user on the second content, the terminal switches to the display page corresponding to the second content in response to the trigger operation on the second content.

[0077] The technical solution of this embodiment switches to the display page corresponding to the first content in response to a trigger operation on the first content; or switches to the display page corresponding to the second content in response to a trigger operation on the second content, thereby providing an interactive method for the user to control the terminal to display the display page corresponding to the first content or the second content, thereby improving the diversity of human-computer interaction methods.

[0078] Figure 6 is a flowchart of another content display method according to an exemplary embodiment. Figure 6 As shown, the method includes the following steps.

[0079] In step S610, the visible content area of ​​the first content in the display page is set to have the same size as the visible content area of ​​the second content in the display page.

[0080] In step S620, a tilt signal generated when the terminal is tilted is detected in real time.

[0081] In step S630, when the tilt direction in the tilt signal is the direction corresponding to the first content, the visible content area of ​​the first content in the display page is increased, and the visible content area of ​​the second content in the display page is reduced.

[0082] In step S631, when the visible content area of ​​the first content in the display page is larger than a preset threshold, the page is switched to a target page, which is the display page corresponding to the first content.

[0083] In step S640, when the tilt direction in the tilt signal is the direction corresponding to the second content, the visible content area of ​​the first content in the display page is reduced, and the visible content area of ​​the second content in the display page is increased.

[0084] In step S641, when the visible content area of ​​the second content in the display page is larger than a preset threshold, switching to a target page is performed, and the target page is a display page corresponding to the second content.

[0085] It should be noted that the specific limitations of the above steps can refer to the specific limitations of a content display method mentioned above, which will not be repeated here.

[0086] It should be understood that although Figure 1 and Figure 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and Figure 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0087] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.

[0088] Figure 7 is a block diagram of a content display device according to an exemplary embodiment. Figure 7, the device comprises:

[0089] The display unit 710 is configured to display the first content and the second content in the display page;

[0090] The adjustment unit 720 is configured to execute, in response to a tilt signal generated when the terminal is tilted, adjusting the visible content area of ​​the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller;

[0091] The switching unit 730 is configured to switch to a target page if the visible content area corresponding to the first content or the second content is larger than a preset threshold, wherein the target page is a display page corresponding to the first content or the second content.

[0092] In one possible implementation, the adjustment unit 720 is specifically configured to increase the visible content area of ​​the first content in the display page and reduce the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the first content.

[0093] In one possible implementation, the adjustment unit 720 is specifically configured to reduce the visible content area of ​​the first content in the display page and increase the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the second content.

[0094] In a possible implementation, the display unit 710 is specifically configured to set the visible content area of ​​the first content in the display page to be the same size as the visible content area of ​​the second content in the display page.

[0095] In one possible implementation, the display unit 710 is specifically configured to display a first type of target object through the first content, and to display a second type of target object through the second content; wherein the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the current page.

[0096] In one possible implementation, the device is further configured to execute, in response to a trigger operation on the first content, switching to a display page corresponding to the first content; or, in response to a trigger operation on the second content, switching to a display page corresponding to the second content.

[0097] In a possible implementation, the device is further configured to display tilt guidance information in the display page; the tilt guidance information is used to guide the terminal to tilt in a specified direction.

[0098] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0099] Figure 8 1 is a block diagram of an electronic device 800 for executing the above-mentioned content display method according to an exemplary embodiment. For example, the electronic device 800 may be a user terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0100] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0101] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0102] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, an optical disk, or a graphene memory.

[0103] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0104] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0105] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting an audio signal.

[0106] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0107] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or the components of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the device 800 and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0108] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0109] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0110] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by the processor 820 of the electronic device 800 to complete the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0111] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor 820 of the electronic device 800 to complete the above method.

[0112] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. may also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments, which will not be described one by one here.

[0113] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0114] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A content display method, characterized in that: include: Displaying a first content and a second content in a display page; wherein a target object displayed by the first content and a target object displayed by the second content are target objects of different types; the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the display page; when the terminal is in an initial state and has not changed, setting a visible content area of ​​the first content in the display page to be the same as the visible content area of ​​the second content in the display page; the initial state is the current tilt state of the terminal when the terminal responds to a preset trigger condition; In response to a tilt signal generated when the terminal is tilted, adjusting visible content areas of the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller; If the visible content area corresponding to the first content or the second content is larger than a preset threshold, the target page is switched to, and the target page is a display page corresponding to the first content or the second content.

2. The content display method according to claim 1, characterized in that: The step of adjusting the visible content area of ​​the first content and the second content in the display interface in response to the tilt signal generated when the terminal is tilted includes: When the tilt direction in the tilt signal is the direction corresponding to the first content, the visible content area of ​​the first content in the display page is increased, and the visible content area of ​​the second content in the display page is reduced.

3. The content display method according to claim 2, characterized in that: The adjusting the visible content area of ​​the first content and the second content in the display page as the tilt state of the user terminal changes includes: When the tilt direction in the tilt signal is the direction corresponding to the second content, the visible content area of ​​the first content in the display page is reduced, and the visible content area of ​​the second content in the display page is increased.

4. The content display method according to claim 1, characterized in that: The displaying of the first content and the second content on the display page includes: The visible content area of ​​the first content in the display page is set to have the same size as the visible content area of ​​the second content in the display page.

5. The content display method according to claim 1, characterized in that: The displaying of the first content and the second content on the display page includes: Displaying a first type of target object through the first content, and displaying a second type of target object through the second content; The position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the display page.

6. The content display method according to claim 1, characterized in that: The method further comprises: In response to a triggering operation on the first content, switching to a display page corresponding to the first content; or, In response to a triggering operation on the second content, switching to a display page corresponding to the second content.

7. The content display method according to any one of claims 1 to 6, characterized in that: The method further comprises: The tilt guide information is displayed in the display page; the tilt guide information is used to guide the terminal to tilt in a specified direction.

8. A content display device, characterized in that: include: The display unit is configured to display the first content and the second content in a display page; wherein the target object displayed by the first content and the target object displayed by the second content are different types of target objects; the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the display page; when the terminal is in an initial state and no change occurs, the visual content area of ​​the first content in the display page is set to be the same as the size of the visual content area of ​​the second content in the display page; the initial state is the tilt state of the terminal when the terminal responds to a preset trigger condition; an adjusting unit, configured to execute, in response to a tilt signal generated when the terminal is tilted, adjusting visible content areas of the first content and the second content in the display page, wherein the visible content area of ​​one becomes larger and the visible content area of ​​the other becomes smaller; The switching unit is configured to switch to a target page if the visible content area corresponding to the first content or the second content is larger than a preset threshold, wherein the target page is a display page corresponding to the first content or the second content.

9. The content display device according to claim 8, characterized in that: The adjustment unit is specifically configured to increase the visible content area of ​​the first content in the display page and reduce the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the first content.

10. The content display device according to claim 9, characterized in that: The adjustment unit is specifically configured to reduce the visible content area of ​​the first content in the display page and increase the visible content area of ​​the second content in the display page when the tilt direction in the tilt signal is the direction corresponding to the second content.

11. The content display device according to claim 8, characterized in that: The display unit is specifically configured to set the visible content area of ​​the first content in the display page to be the same size as the visible content area of ​​the second content in the display page.

12. The content display device according to claim 8, characterized in that: The display unit is specifically configured to display a first type of target object through the first content, and to display a second type of target object through the second content; wherein the position and size of the target object in the first content in the display page are the same as the position and size of the target object in the second content in the display page.

13. The content display device according to claim 8, characterized in that: The device is also configured to execute switching to a display page corresponding to the first content in response to a triggering operation on the first content; or, switching to a display page corresponding to the second content in response to a triggering operation on the second content.

14. The content display device according to any one of claims 8 to 13, characterized in that: The device is further configured to display tilting guidance information in the display page; the tilting guidance information is used to guide the terminal to tilt in a specified direction.

15. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the content display method according to any one of claims 1 to 7.

16. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the content display method according to any one of claims 1 to 7.

17. A computer program product, comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the content display method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Page processing method and device, terminal and storage medium

    CN109710139A

  • Double-screen display control method, device, storage medium and electronic equipment

    CN110795009A

  • Mobile terminal control method, mobile terminal and storage medium

    CN112351139A

  • Multimedia content display control method and device, electronic equipment and medium

    CN113535033A

  • Page display control method and device, mobile terminal and storage medium

    CN114385299A