Mode switching method and device, electronic equipment, storage medium and program product

By receiving preset trigger operations on the page and performing mode switching prompts when conditions are met, the problem of difficult switching of content display mode is solved, achieving a clearer user experience and a lower error trigger rate.

CN120104236APending Publication Date: 2025-06-06BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510253427.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In the prior art, switching of content display mode is difficult, and it is difficult for users to clarify under what circumstances the content display mode will be triggered, resulting in frequent false triggering.

Method used

By receiving a preset trigger operation in the page, a mode switching prompt is performed in response to satisfying the mode switching condition, and the content display mode is switched when the trigger is finished, thereby reducing the difficulty of switching and reducing false triggering.

Benefits of technology

It realizes a clear understanding of the mode switching situation during the triggering process, reduces the difficulty of switching content display mode, and reduces the situation of false triggering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104236A_ABST
    Figure CN120104236A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a mode switching method and device, electronic equipment, a storage medium and a program product. The method comprises the following steps: receiving a preset trigger operation acting in a page; in response to the preset triggering operation meeting the mode switching condition of the page, mode switching prompt is carried out on the page, and the mode switching prompt is used for prompting switching of the content display mode of the page after triggering is finished; and in response to the triggering end of the preset triggering operation, switching the content display mode of the page from the first content display mode to a second content display mode. By means of the technical scheme, the switching difficulty of the content display modes can be reduced, and the false triggering situation of switching of the content display modes is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a mode switching method, device, electronic device, storage medium, and program product. Background Art

[0002] In some applications, users can be supported to switch the content display mode of a page. However, switching the content display mode is difficult. Summary of the invention

[0003] Embodiments of the present disclosure provide a mode switching method, device, electronic device, storage medium, and program product to reduce the difficulty of switching content display modes.

[0004] In a first aspect, an embodiment of the present disclosure provides a mode switching method, including:

[0005] Receive preset trigger operations acting on the page;

[0006] In response to the preset trigger operation satisfying the mode switching condition of the page, a mode switching prompt is provided for the page, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed;

[0007] In response to the preset trigger operation being triggered to end, the content display mode of the page is switched from the first content display mode to the second content display mode.

[0008] In a second aspect, the present disclosure also provides a mode switching device, including:

[0009] An operation receiving module, used to receive a preset trigger operation acting on the page;

[0010] A switching prompt module, used for providing a mode switching prompt for the page in response to the preset trigger operation satisfying the mode switching condition of the page, wherein the mode switching prompt is used for prompting the switching of the content display mode of the page after the trigger is completed;

[0011] The mode switching module is used to switch the content display mode of the page from the first content display mode to the second content display mode in response to the preset trigger operation being triggered.

[0012] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:

[0013] one or more processors;

[0014] a memory for storing one or more programs,

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the mode switching method as described in the embodiment of the present disclosure.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the mode switching method as described in the embodiment of the present disclosure.

[0017] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product. When the computer program product is executed by a computer, the computer implements the mode switching method as described in the embodiment of the present disclosure.

[0018] The mode switching method, apparatus, electronic device, storage medium and program product provided by the embodiments of the present disclosure provide a mode switching prompt when a preset trigger operation satisfies the mode switching condition of the page, so that the user can clearly know whether the current end trigger will cause a content display mode switch based on whether a mode switching prompt has been performed on the page. This allows the user to clearly understand under what circumstances the content display mode switch will be triggered and under what circumstances the content display mode switch will not be triggered during the triggering process, thereby reducing the difficulty of switching the content display mode and reducing the false triggering of the content display mode switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0020] Figure 1 A flowchart of a mode switching method provided by an embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of displaying a media content page provided by an embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of displaying another media content page provided by an embodiment of the present disclosure;

[0023] Figure 4 A flowchart of another mode switching method provided by an embodiment of the present disclosure;

[0024] Figure 5 A schematic diagram of a mode switching prompt provided by an embodiment of the present disclosure;

[0025] Figure 6 A schematic diagram of another mode switching prompt provided in an embodiment of the present disclosure;

[0026] Figure 7 A schematic diagram of a mode switching process of a content display mode provided in an embodiment of the present disclosure;

[0027] Figure 8 A schematic diagram of a mode switching process of another content display mode provided in an embodiment of the present disclosure;

[0028] Fig. 9 A structural block diagram of a mode switching device provided in an embodiment of the present disclosure;

[0029] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0032] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0033] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0034] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0035] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0036] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0037] Figure 1 The present invention provides a flow chart of a mode switching method according to an embodiment of the present invention. The method can be executed by a mode switching device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically, a computer, a mobile phone or a tablet computer. The mode switching method provided by the embodiment of the present invention is applicable to the scenario of switching the content display mode of a page, such as switching the content display mode of a media content page. Figure 1 As shown, the mode switching method provided in this embodiment may include:

[0038] S101: Receive a preset trigger operation acting on a page.

[0039] The preset trigger operation may be a mode switching operation that supports a mode switching prompt, such as a mode switching operation with a certain trigger duration, sliding distance, or sliding ratio. This mode switching operation may be understood as a trigger operation for indicating a content display mode switch. The execution mode of the preset trigger operation is not limited. For example, the preset trigger operation may include a long press operation and / or a sliding operation. This sliding operation may include, for example, a single touch point sliding operation and / or a multi-touch point sliding operation. Optionally, the preset trigger operation includes a multi-touch point zoom operation, such as a multi-touch point pinch operation and / or a multi-touch point spread operation. Among them, the multi-touch point pinch operation may be understood as a sliding operation in which the distance between multiple touch points is gradually reduced, such as a two-finger pinch operation or a three-finger pinch operation. The multi-touch point spread operation may be understood as a sliding operation in which the distance between multiple touch points is gradually increased, such as a two-finger spread operation or a three-finger spread operation. The above-mentioned page may be understood as a page that supports content display mode switching based on a preset trigger operation, which may include but is not limited to a media content page. The media content page may be understood as a page associated with the media content, such as a media content screen for displaying the media content and / or a page for displaying media content information of one or more media contents.

[0040] Specifically, the first content display mode may be used to display the first page content in the page, and receive the preset trigger operation performed by the user in the page. For example, the user may perform the preset trigger operation in the page; accordingly, the current application may receive the preset trigger operation performed by the user.

[0041] S102: In response to the preset trigger operation satisfying a mode switching condition of the page, a mode switching prompt is provided for the page, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed.

[0042] Among them, the mode switching condition can be understood as the conditions that need to be met for the preset trigger operation to trigger the content display mode switching of the page. Exemplarily, the mode switching condition may include a sliding distance condition and / or a trigger duration condition, etc. This sliding distance condition may be understood as a mode switching condition associated with the sliding distance of the preset trigger operation. Taking the preset trigger operation as a multi-touch point zoom operation as an example, this sliding distance condition may include, for example, the difference between the multi-touch point zoom distance and its initial distance reaches a preset distance difference, and / or, the ratio between the multi-touch point zoom distance and its initial distance reaches a preset ratio, etc. This trigger duration condition may be understood as a mode switching condition associated with the trigger duration of the preset trigger operation. Taking the preset trigger operation as a long press operation as an example, this trigger duration condition may include, for example, the trigger duration of the preset trigger operation reaches a preset duration, etc. The mode switching prompt may be used to prompt the content display mode of the page to switch after the trigger ends, such as for prompting the current trigger of the preset trigger operation to switch to the second content display mode corresponding to the preset trigger operation, and the specific prompt method is not limited.

[0043] Exemplarily, when the preset trigger operation is initially triggered, the mode switching condition of the page is not met. In this case, no mode switching prompt may be given; when the preset trigger operation switches from not meeting the mode switching condition of the page to meeting the mode switching condition of the page, a mode switching prompt may be given to the page, so that the user can clearly understand whether the current end trigger will cause a content display mode switch based on whether a mode switching prompt has been given on the page. During the triggering process, the user can clearly understand under what circumstances the content display mode switch will be triggered and under what circumstances the content display mode switch will not be triggered, which can reduce the difficulty of switching the content display mode and reduce the false triggering of the content display mode switch.

[0044] Taking the preset trigger operation as a multi-touch point zoom operation as an example, when the user initially executes the preset trigger operation, this preset trigger operation does not meet the mode switching conditions of the page (such as the sliding distance condition). In this case, no mode switching prompt may be given; as the user executes the preset trigger operation, the preset trigger operation changes from not meeting the mode switching conditions of the page to meeting the mode switching conditions of the page. In this case, in response to the preset trigger operation meeting the mode switching conditions of the page, a mode switching prompt may be given to the page to prompt the user to end the trigger to switch to the second content display mode.

[0045] S103: In response to the preset trigger operation being triggered to end, switching the content display mode of the page from the first content display mode to the second content display mode.

[0046] The first content display mode can be understood as the content display mode used by the page before the content display mode is switched based on the preset trigger operation. The second content display mode can be understood as the content display mode switched to by the preset trigger operation. The first content display mode and the second content display mode are different content display modes of the page. In different content display modes, the content displayed in the page and / or the display method of the content in the page may be different.

[0047] Optionally, the page includes a media content page, and the content display mode includes at least one of a media content stream display mode and a media content collection display mode. For example, the first content display mode may be a media content stream display mode, and the second content display mode may be a media content collection display mode; and / or, the first content display mode may be a media content collection display mode, and the second content display mode may be a media content stream display mode, and the like.

[0048] Among them, the media content stream display mode can be a display mode for displaying media content based on the media content stream. Exemplarily, in the media content stream display mode, the media content page can support the display of media content based on the media content stream, such as the media content page can be used to switch and play different media content in the media content stream. The media content collection display mode can be understood as a display mode for displaying media content information based on the media content collection. For example, in the media content collection display mode, the media content page can display media content information of at least part of the media content in the media content collection, such as displaying media content information of one or more media content in the media content collection. The media content included in the media content stream of the media content page in the media content stream display mode may be different from or at least partially the same as the media content included in the media content collection in the media content collection display mode, and this embodiment does not limit this.

[0049] Specifically, when it is detected that the preset trigger operation ends, such as when it is detected that the touch point corresponding to the preset trigger operation disappears, the content display mode of the page can be switched from the first content display mode to the second content display mode in response to the preset trigger operation.

[0050] Exemplarily, taking a media content page as an example, the first content display mode on the media content page is a media content stream display mode (eg, Figure 2In the case of a preset trigger operation, the content display mode currently used by the media content page can be switched to the media content collection display mode in response to the preset trigger operation triggering end, such as using the media content collection display mode to display media content information of at least part of the media content in the media content collection in the media content page, such as Figure 3 As shown; the first content display mode on the media content page is the media content collection display mode (such as Figure 3 In the case of a preset trigger operation, the content display mode currently used by the media content page can be switched to the media content stream display mode in response to the preset trigger operation triggering end, such as displaying the media content in the media content stream corresponding to the media content page on the media content page, such as Figure 2 As shown, after the display of the media content is completed and / or when a media content switching operation of the user is received, the media content currently displayed in the media content page can be switched based on the media content stream.

[0051] In some embodiments, it is not necessary to consider whether the mode switching condition of the page is met when the preset trigger operation is triggered. As long as the preset trigger operation satisfies the mode switching condition of the page in the preset execution stage (such as the first sliding stage, etc.) or during the triggering process, that is, in response to the end of the preset trigger operation, the content display mode of the page is switched from the first content display mode to the second content display mode.

[0052] In some embodiments, it can be considered whether the mode switching condition of the page is satisfied when the preset trigger operation is triggered. If the mode switching condition of the page is satisfied when the preset trigger operation is triggered, then in response to the preset trigger operation being triggered, the content display mode of the page is switched from the first content display mode to the second content display mode, thereby supporting the user to adjust it to satisfy the mode switching condition of the page during the execution of the preset trigger operation to trigger the mode switch, and / or, in the execution of the preset trigger operation, adjust it to not satisfy the mode switching condition of the page to avoid triggering the mode switch, thereby reducing the difficulty of switching the content display mode and avoiding the user from accidentally triggering the mode switch. In this case, optionally, in response to the preset trigger operation being triggered, switching the content display mode of the page from the first content display mode to the second content display mode includes: in response to the preset trigger operation being triggered and the mode switching condition being satisfied when the preset trigger operation is triggered, switching the content display mode of the page from the first content display mode to the second content display mode.

[0053] In the above-mentioned embodiment, when the preset trigger operation changes from not satisfying the mode switching condition of the page to satisfying the mode switching condition of the page, a mode switching prompt can be given to the page. In addition, the user can be supported to adjust the preset trigger operation from satisfying the mode switching condition of the page to not satisfying the mode switching condition of the page. When it is detected that the preset trigger operation changes from satisfying the mode switching condition of the page to not satisfying the mode switching condition of the page, the mode switching prompt given to the page can be canceled to avoid interfering with the user. In this case, optionally, the mode switching method may further include: in response to the preset trigger operation switching from satisfying the mode switching condition to not satisfying the mode switching condition, canceling the mode switching prompt given to the page.

[0054] In the above implementation, if it is detected that the user ends the execution of the preset trigger operation when the preset trigger operation does not satisfy the mode switching condition of the page, for example, if it is detected that the preset trigger operation ends and the mode switching condition of the page is not satisfied when the preset trigger operation ends, the content display mode of the page may not be switched in response to the preset trigger operation, such as maintaining the first content display mode in the page for displaying the page content, and when there is an event corresponding to the preset trigger operation in this case, further executing the event corresponding to the preset trigger operation. In this case, optionally, the mode switching method may also include: in response to the preset trigger operation ending and the mode switching condition being not satisfied when the preset trigger operation ends, maintaining the first content display mode in the page for displaying the page content.

[0055] In this embodiment, the page may display or not display the associated page content in the second content display mode in the first content display mode and / or during the execution of the preset trigger operation. In the case where the associated page content in the second content display mode is displayed, the display size of the associated page content may be adjusted or not during the execution of the preset trigger operation, which may be determined based on the first content display mode and / or the second content display mode or set as needed, and this embodiment does not limit this.

[0056] In some embodiments, the mode switching method may further include: displaying the associated page content of the second content display mode; and during the triggering process of the preset trigger operation, adjusting the display size of the associated page content based on the preset trigger operation.

[0057] Among them, the associated page content of the second content display mode can be understood as the content associated with the second content display mode, such as the content associated with the second page content in the second content display mode. Optionally, the associated page content includes an associated screen of the second page content, and the second page content corresponds to the second content display mode. This associated screen can be understood as a screen associated with the second page content. Taking the second page content as media content as an example, illustratively, the associated screen of the second page content may include an image screen of a media content image (such as a picture or video frame, etc.) of this media content, a thumbnail of the media content image, a cover screen of the media content cover and / or a thumbnail of the media content cover, etc., which is not limited in this embodiment. The second page content can be at least part of the page content of the above-mentioned page in the second content display mode.

[0058] Specifically, the associated page content of the second content display mode can be displayed in the page. For example, when the page adopts the first content display mode to display the first page content, the associated page content of the second content display mode is kept displayed at the first preset position of the page; or, during the execution of the first trigger operation, such as when the first trigger operation starts to be executed, the associated page content with the second content display mode is added and displayed at the first preset position of the page. And, during the execution of the preset trigger operation, the display size of the associated page content is adjusted based on the preset trigger operation. Taking the preset trigger operation as a multi-touch point zoom operation as an example, during the execution of the preset trigger operation, the associated page content of the second content display mode can be controlled to zoom with the preset trigger operation, such as when the distance between the multi-touch points increases, the display size of the associated page content is increased; and / or, when the distance between the multi-touch points decreases, the display size of the associated page content is reduced, and so on.

[0059] In this embodiment, during the triggering process of the preset trigger operation, the display size of the associated page content of the second content display mode in this page can be adjusted based on this preset trigger operation, so that the execution status of the preset trigger operation can be prompted by the change in the display size of the associated page content, thereby further reducing the execution difficulty of the preset trigger operation.

[0060] The mode switching method provided in this embodiment receives a preset trigger operation acting on a page; in response to this preset trigger operation satisfying the mode switching condition of the page, a mode switching prompt is provided for the page, and this mode switching prompt is used to prompt that the content display mode of the page will be switched after the trigger is completed; in response to the preset trigger operation being triggered and completed, the content display mode of the page is switched from the first content display mode to the second content display mode. This embodiment utilizes the above technical solution to provide a mode switching prompt when the preset trigger operation satisfies the mode switching condition of the page, so that the user can clearly know whether the current end trigger will switch the content display mode based on whether the mode switching prompt is performed in the page, so that the user can clearly understand under what circumstances the content display mode switching will be triggered and under what circumstances the content display mode switching will not be triggered during the triggering process, which can reduce the difficulty of switching the content display mode and reduce the false triggering of the content display mode switching.

[0061] Figure 4 A flowchart of another mode switching method provided for an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the mode switching prompt for the page includes at least one of the following: displaying the mode switching prompt content to prompt the page to switch the mode; playing the mode switching prompt audio to prompt the page to switch the mode; vibrating the page to prompt the page to switch the mode.

[0062] Correspondingly, such as Figure 4 As shown, the mode switching method provided in this embodiment may include:

[0063] S201: Receive a preset trigger operation acting on a page.

[0064] S202, in response to the preset trigger operation satisfying the mode switching condition of the page, a mode switching prompt is provided to the page by displaying mode switching prompt content, a mode switching prompt is provided to the page by playing mode switching prompt audio, and / or a mode switching prompt is provided to the page by vibration, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed.

[0065] The mode switching prompt content may be content that supports display in a page and is used for mode switching prompts. The type of the mode switching prompt content is not limited. For example, the mode switching prompt content may include but is not limited to character content and / or screen content. The mode switching prompt audio may be understood as audio used for mode switching prompts. The content of the mode switching prompt audio may be set in advance as needed.

[0066] Exemplarily, when the preset trigger operation meets the mode switching conditions of the page, display mode switching prompt content, play mode switching prompt audio and / or control the electronic device on which the current application is installed to vibrate can be added to the page to implement the mode switching prompt for the page.

[0067] In this embodiment, with respect to the case where a mode switching prompt is provided for a page by displaying mode switching prompt content, exemplarily, this mode switching prompt content may remain displayed on the page when a preset trigger operation satisfies the mode switching condition of the page; or it may be displayed on the page in some cases where the preset trigger operation satisfies the mode switching condition of the page, such as displaying the mode switching prompt content on the page when the preset trigger operation satisfies the mode switching condition of the page, and canceling at least part of the mode switching prompt content displayed on the display page when the display time of the mode switching prompt content reaches a first time length and / or the execution of the preset trigger operation satisfies the set condition, and so on.

[0068] In some embodiments, the method of providing a mode switch prompt for the page by displaying mode switch prompt content includes at least one of the following: displaying mode switch prompt information corresponding to the second content display mode, the mode switch prompt information including character information and / or animation information; displaying a mode preview screen of the second content display mode.

[0069] Among them, character information can be understood as information of character type, such as prompt content of character type. Animation information can be understood as information of animation type, such as prompt content of animation type. The mode preview screen of the second content display mode can be understood as a screen for users to preview the second content display mode to be switched to. The style of this mode preview screen is not limited. Exemplarily, this mode preview screen can be a preset screen, such as a preset page skeleton diagram (i.e., page frame diagram) of the page in the second content display mode and / or a preset page content schematic diagram of the page in the second content display mode, etc.; it can also be a preview screen of the actual page content displayed in the second content display mode of the page after the content display mode is switched, etc.

[0070] Exemplarily, when the preset trigger operation satisfies the mode switching condition of the page, the mode switching prompt information corresponding to the second content display mode can be displayed in the page, such as adding the mode switching prompt information 50 corresponding to the second content display mode at the second preset position of the page, such as Figure 5 and 6 As shown (in the figure, the mode switching prompt information 50 is character information as an example); and / or, a mode preview screen of the second content display mode is displayed in the page, such as Figure 5 The page skeleton diagram shown in FIG. 1 is located at the lower layer of the layer where the first page content 51 is located and Figure 6 The page skeleton diagram ( Figure 6 Only the interactive control frame at the top of the page is shown).

[0071] In the above implementation, when displaying the preview screen of the second content display mode, the first page content of the page in the first content display mode may be displayed or not displayed. For example, the first page content of the page may be kept displayed, and a preview screen of the second content display mode may be added to the page, such as Figure 5 As shown ( Figure 5 Taking the first content display mode as the media content stream display mode and the second content display mode as the media content collection display mode as an example); the first page content in the page can also be switched to the mode preview screen of the second content display mode, such as canceling the display of the first page content in the page, and adding a mode preview screen of the second content display mode in the page, such as Figure 6 As shown ( Figure 6 Taking the first content display mode as a media content collection display mode and the second content display mode as a media content stream display mode as an example), the display method of the mode preview screen is further enriched.

[0072] In this case, optionally, the mode preview screen displaying the second content display mode includes: keeping displaying the first page content in the page, and adding a mode preview screen displaying the second content display mode in the page, wherein the first page content corresponds to the first content display mode; or, switching the first page content in the page to the mode preview screen of the second content display mode.

[0073] The first page content may be at least the page content when the page is displayed in the first content display mode, such as at least part of the page content displayed in the page before receiving the preset trigger operation. Exemplarily, the first page content may be the main display content in the page, such as taking the first content display mode as the media content stream display mode as an example, the first page content may be the media content screen of the media content played in the page.

[0074] In the above implementation, the display mode of the mode preview screen of the second content display mode in the page is not limited, such as the mode preview screen of the second display mode can be displayed in the upper layer or lower layer of the layer where the first page content and / or the associated page content of the second content display mode are located; the mode preview screen of the second display mode can also be displayed in the layer where the first page content and / or the associated page content of the second display mode are located, such as displaying the mode preview screen of the second display mode above, below, on the left or on the right of the first page content and / or the associated page content of the second content display mode, etc. The mode preview screen of the second content display mode can be displayed in full screen or non-full screen in the page, which can be flexibly set according to needs.

[0075] In this embodiment, during the execution of the preset trigger operation, the display style of the first page content may be adjusted or not, such as adjusting or not adjusting the display size and / or display transparency of the first page content, etc. This may be specifically determined based on the first content display mode and / or the second content display mode or set as needed, and this embodiment is not limited to this.

[0076] In some embodiments, the mode switching method may further include: during the triggering process of the preset trigger operation, adjusting the display size of the first page content based on the preset trigger operation; adding a mode preview screen displaying the second content display mode in the page includes: based on the first page content after adjusting the display size, adding a mode preview screen displaying the second content display mode in the page.

[0077] Exemplarily, during the execution of a preset trigger operation, the display size of the first page content can be adjusted based on the preset trigger operation. Taking the preset trigger operation as a multi-touch point zoom operation as an example, during the execution of the preset trigger operation, the first page content can be controlled to zoom along with the preset trigger operation, such as when the distance between the multi-touch points increases, the display size of the first page content is increased; and / or, when the distance between the multi-touch points decreases, the display size of the first page content is reduced, and so on.

[0078] When it is detected that the preset trigger operation satisfies the mode switching condition of the page, based on the first page content after the display size is adjusted, a mode preview screen of the second content display mode is added to the page, such as displaying the mode preview screen of the second content display mode in the lower layer of the layer where the first page content is located, and displaying this mode preview screen to at least partially not overlap with the first page content after the display size is adjusted, such as Figure 5 As shown, this is to avoid that the preview screen is completely blocked by the first page content after the display size is adjusted; or, a mode preview screen showing the second content display mode is added outside the display area where the first page content after the display size is adjusted, and so on.

[0079] In some embodiments, the mode switching method may further include: during the triggering process of the preset trigger operation, controlling the first page content to gradually fade away; switching the first page content in the page to the mode preview screen of the second content display mode includes: adding a mode preview screen displaying the second content display mode in the page after the first page content disappears.

[0080] Exemplarily, during the triggering process of a preset trigger operation, the transparency of the first page content can be adjusted based on the preset trigger operation. Taking the preset trigger operation as a multi-touch point zoom operation as an example, the transparency of the first page content can be adjusted based on the multi-touch point zoom operation, such as when the distance between the multi-touch points increases, the transparency of the first page content is reduced, and when the distance between the multi-touch points decreases, the transparency of the first page content is increased; or, when the distance between the multi-touch points increases, the transparency of the first page content is increased, and when the distance between the multi-touch points decreases, the transparency of the first page content is reduced, so that when the preset trigger operation satisfies the mode switching condition of the page, the first page content is completely hidden and disappears. Also, when it is detected that the preset trigger operation satisfies the mode switching condition of the page, since the first page content has been completely hidden and disappeared, a mode preview screen showing the second content display mode can be added to the page after the first page content disappears, such as Figure 6 shown.

[0081] In the present embodiment, in the case of providing a mode switching prompt for a page by playing a mode switching prompt audio, illustratively, the mode switching prompt audio can be played continuously when a preset trigger operation satisfies the mode switching condition of the page; or the mode switching prompt audio can be played discontinuously when a preset trigger operation satisfies the mode switching condition of the page. For example, when the playing time of the mode switching prompt audio reaches a second time length and / or the number of loop playbacks of the mode switching prompt audio reaches a first number, the playing of the mode switching prompt audio can be canceled, so as to avoid causing excessive interference to the user while ensuring the prompt effect.

[0082] In the present embodiment, in the case of using vibration to prompt the mode switch of the page, for example, the electronic device on which the current application is installed can be continuously controlled to vibrate when the preset trigger operation meets the mode switching condition of the page; or the electronic device on which the current application is installed can be discontinued to be controlled to vibrate when the preset trigger operation meets the mode switching condition of the page. For example, when the vibration duration of the electronic device reaches a third duration and / or the number of vibrations of the electronic device reaches a second number, the control of the vibration of the electronic device can be canceled to avoid process interference to the user while ensuring the prompt effect.

[0083] S203: In response to the preset trigger operation being triggered to end, switching the content display mode of the page from the first content display mode to the second content display mode.

[0084] Figure 7 A schematic diagram of a mode switching process of a content display mode provided in this embodiment, such as Figure 7 As shown, in some optional implementations, the first content display mode is a media content stream display mode, and the second content display mode is a media content collection display mode (such as Figure 7 ), the preset trigger operation is a two-finger pinch operation as an example, the mode switching process of the media content page from the first content display mode to the second content display mode can be described as:

[0085] The first content display mode is used to display the first page content 51 of the media content display page, such as displaying a media content screen (i.e., the first page content 51) of a certain media content in the media content stream in the media content page based on the media content stream of the media content page, and further displaying interactive controls and / or media content information associated with the currently displayed media content, such as Figure 7 As shown in the first picture in the first row.

[0086] When receiving the two-finger pinch operation, cancel the display of at least part of the page content except the first page content 51, and during the execution of the two-finger pinch operation, control the display size of the first page content 51 to gradually shrink as the two-finger pinch operation is executed, such as Figure 7 As shown in the second picture in the first row.

[0087] When it is detected that the ratio between the current distance between the two touch points of the two-finger pinch operation and the initial distance thereof is less than or equal to the first preset ratio (i.e., the mode switching condition for switching to the second content display mode is satisfied), such as when it is detected that the reduction ratio of the two-finger zoom operation is less than or equal to the first preset ratio, the mode switching prompt information 50 corresponding to the second content display mode is added to the page, and a preset skeleton diagram of the media content page in the second display mode (i.e., the mode preview screen of the second display mode) is displayed at the lower layer of the layer where the first page content 51 is located, such as Figure 7 As shown in the third picture in the first row, the electronic device on which the current application is installed can be controlled to vibrate.

[0088] After detecting that the ratio between the current distance between the two touch points of the two-finger pinch operation and the initial distance thereof is less than or equal to the first preset ratio, the user can continue to perform the two-finger pinch operation. In this case, the display size of the first page content 51 can be controlled to continue to shrink as the two-finger pinch operation is performed, and when the first preset switching condition is met, the preset skeleton image of the media content page in the second display mode can be switched to the second page content of the media content page in the second display mode, such as Figure 7 As shown in the second picture of the second row in the figure, as the two-finger pinch operation continues, the transparency of the second page content is gradually reduced. The first preset switching condition can be understood as a condition for switching the preset skeleton diagram to the second page content in the media content stream display mode, and the first preset switching condition can be flexibly set as needed.

[0089] In the case where the ratio between the current distance between the two touch points of the two-finger pinch operation and the initial distance thereof is less than or equal to the first preset ratio, if it is detected that the two-finger pinch operation is triggered to end, for example, if it is detected that the user releases their fingers, the content display mode of the media content page can be switched from the first content display mode to the second content display mode, such as canceling the display of the first page content 51 of the media content page and displaying the second page content in the media content page, such as Figure 7 As shown in the first picture in the second row.

[0090] Figure 8 A schematic diagram of a mode switching process of another content display mode provided in this embodiment, such as Figure 8 As shown, in some optional implementations, the first content display mode is a media content collection display mode, and the second content display mode is a media content stream display mode (such as Figure 8 Taking the single-column mode shown in FIG. 1 and the preset trigger operation as a two-finger pinch-out operation as an example, the mode switching process of the media content page switching from the first content display mode to the second content display mode can be described as follows:

[0091] The first content display mode is used to display the first page content of the media content page, such as displaying media content information of at least part of the media content in the media content set in the media content page, and further displaying a mode switching control 80, in which a thumbnail of a media content screen of the media content to be displayed in the media content page after the mode switching and / or a thumbnail of a media content cover can be displayed, such as Figure 8 As shown in the first picture in the first row.

[0092] When receiving the two-finger pinch-out operation, cancel the display of the mode switching control 80 in the first page content, and add the associated page content 60 of the second content display mode to the media content page; or, use the thumbnail in the mode switching control 80 as the associated page content 60 of the second content display mode, and cancel the display of other control contents in the mode switching control 80 except the thumbnail, such as Figure 8 As shown in the second picture in the first row.

[0093] During the two-finger pinch-out operation, the display size of the associated page content 60 is gradually increased, and the transparency of other first page contents except the mode switching control 80 is gradually increased, such as Figure 8 As shown in the third picture in the first row, the other first page content is controlled to fade away.

[0094] When it is detected that the ratio between the current distance between the two touch points of the two-finger spread operation and the initial distance thereof is greater than or equal to the second preset ratio (i.e., the mode switching condition for switching to the second content display mode is satisfied), such as when it is detected that the distance increase ratio between the two touch points of the two-finger spread operation is greater than or equal to the second preset ratio, the first page content except the mode switching control 80 is completely hidden and disappears. In this case, mode switching prompt information 50 corresponding to the second content display mode can be added to the media content page, and a preset skeleton diagram of the media content page in the second display mode (i.e., the mode preview screen of the second display mode) is displayed at the lower layer of the layer where the associated page content 60 is located, such as Figure 8 As shown in the second picture in the second row, the electronic device on which the current application is installed can be controlled to vibrate.

[0095] In the case where the ratio between the current distance between the two touch points in the two-finger pinch-out operation and the initial distance therebetween is greater than or equal to the second preset ratio, if it is detected that the pinch-out operation trigger ends, for example, if it is detected that the user releases their fingers, the content display mode of the media content page can be switched from the first content display mode to the second content display mode, such as displaying a media content screen of the media content corresponding to the associated page content 60 in the media content page, such as Figure 8 As shown in the first picture in the second row.

[0096] The mode switching method provided in this embodiment supports providing mode switching prompts for the page by displaying mode switching prompt content, playing mode switching prompt audio and / or vibrating, etc. when the preset trigger operation meets the mode switching conditions of the page. This can further enrich the mode switching prompt methods and improve the prompt effect of the mode switching prompt.

[0097] Fig. 9The present invention provides a block diagram of a mode switching device provided by an embodiment of the present invention. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, a mobile phone, or a tablet computer, and can switch the content display mode of a page by executing a mode switching method, such as switching the content display mode of a media content page. Fig. 9 As shown, the mode switching device provided in this embodiment may include: an operation receiving module 901, a switching prompting module 902 and a mode switching module 903, wherein:

[0098] An operation receiving module 901 is used to receive a preset trigger operation acting on the page;

[0099] A switching prompt module 902, configured to provide a mode switching prompt for the page in response to the preset trigger operation satisfying the mode switching condition of the page, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed;

[0100] The mode switching module 903 is configured to switch the content display mode of the page from the first content display mode to the second content display mode in response to the preset trigger operation being triggered to end.

[0101] The mode switching device provided in this embodiment receives a preset trigger operation acting on a page through an operation receiving module; responds to the preset trigger operation satisfying the mode switching condition of the page through a switching prompt module, and performs a mode switching prompt on the page, and this mode switching prompt is used to prompt that the content display mode of the page will be switched after the trigger ends; responds to the preset trigger operation triggering end through a mode switching module, and switches the content display mode of the page from the first content display mode to the second content display mode. This embodiment utilizes the above technical solution to perform a mode switching prompt when the preset trigger operation satisfies the mode switching condition of the page, so that the user can clearly understand whether the current end trigger will switch the content display mode based on whether the mode switching prompt is performed in the page, so that the user can clearly understand under what circumstances the content display mode switching will be triggered and under what circumstances the content display mode switching will not be triggered during the triggering process, which can reduce the difficulty of switching the content display mode and reduce the false triggering of the content display mode switching.

[0102] Optionally, the switching prompt module 902 includes at least one of the following: a content prompt unit, used to provide a mode switching prompt to the page by displaying the mode switching prompt content; an audio prompt unit, used to provide a mode switching prompt to the page by playing the mode switching prompt audio; a vibration prompt unit, used to provide a mode switching prompt to the page by vibration.

[0103] Optionally, the content prompt unit may include: an information display subunit, used to display mode switching prompt information corresponding to the second content display mode, the mode switching prompt information including character information and / or animation information; a screen display subunit, used to display a mode preview screen of the second content display mode.

[0104] Optionally, the screen display subunit can be specifically used to: keep displaying the first page content in the page, and add a mode preview screen displaying the second content display mode in the page, wherein the first page content corresponds to the first content display mode; or, switch the first page content in the page to the mode preview screen of the second content display mode.

[0105] Furthermore, the mode switching device may also include: a first size adjustment module, used to adjust the display size of the first page content based on the preset trigger operation during the triggering process of the preset trigger operation; the screen display subunit can be specifically used to: based on the first page content after adjusting the display size, add a mode preview screen for displaying the second content display mode in the page.

[0106] Furthermore, the mode switching device may also include: a fade-out control module, used to control the first page content to fade out during the triggering process of the preset trigger operation; the screen display subunit can be specifically used to: add a mode preview screen displaying the second content display mode to the page after the first page content disappears.

[0107] Furthermore, the mode switching device may also include: a content display module, used to display the associated page content of the second content display mode; and a second size adjustment module, used to adjust the display size of the associated page content based on the preset trigger operation during the triggering process of the preset trigger operation.

[0108] Optionally, the associated page content includes an associated screen of a second page content, and the second page content corresponds to the second content display mode.

[0109] Optionally, the mode switching module 903 can be specifically used to: in response to the preset trigger operation being triggered and the mode switching condition being satisfied when the preset trigger operation is triggered, switch the content display mode of the page from the first content display mode to the second content display mode; the mode switching device may also include: a cancellation prompt module, used to cancel the mode switching prompt for the page in response to the preset trigger operation switching from satisfying the mode switching condition to not satisfying the mode switching condition; and a display maintenance module, used to maintain the use of the first content display mode for page content display in the page in response to the preset trigger operation being triggered and the mode switching condition being not satisfied when the preset trigger operation is triggered.

[0110] The mode switching device provided in the embodiment of the present disclosure can execute the mode switching method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the mode switching method. For technical details not described in detail in this embodiment, please refer to the mode switching method provided in any embodiment of the present disclosure.

[0111] Reference below Fig.10 , which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 1000 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.10 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0112] like Fig.10 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0113] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0114] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0115] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0116] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0117] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0118] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a preset trigger operation acting on a page; in response to the preset trigger operation satisfying the mode switching condition of the page, performs a mode switching prompt for the page, and the mode switching prompt is used to prompt the content display mode of the page to be switched after the trigger ends; in response to the preset trigger operation triggering ends, switches the content display mode of the page from the first content display mode to the second content display mode.

[0119] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

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

[0121] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.

[0122] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0123] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0124] According to one or more embodiments of the present disclosure, Example 1 provides a mode switching method, including:

[0125] Receive preset trigger operations acting on the page;

[0126] In response to the preset trigger operation satisfying the mode switching condition of the page, a mode switching prompt is provided for the page, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed;

[0127] In response to the preset trigger operation being triggered to end, the content display mode of the page is switched from the first content display mode to the second content display mode.

[0128] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, wherein the prompting the page to switch modes includes at least one of the following:

[0129] Prompting the page to switch mode by displaying the prompt content of the mode switch;

[0130] Prompt the page to switch mode by playing a prompt audio for mode switching;

[0131] Vibration is used to prompt the page to switch modes.

[0132] According to one or more embodiments of the present disclosure, Example 3 is a method according to Example 2, wherein the method of displaying the mode switching prompt content to provide the mode switching prompt for the page includes at least one of the following:

[0133] displaying mode switching prompt information corresponding to the second content display mode, wherein the mode switching prompt information includes character information and / or animation information;

[0134] A mode preview screen of the second content display mode is displayed.

[0135] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 3, wherein displaying a mode preview screen of the second content display mode includes:

[0136] Keep displaying the first page content in the page, and add a mode preview screen showing the second content display mode in the page, wherein the first page content corresponds to the first content display mode; or

[0137] Switch the first page content in the page to a mode preview screen of the second content display mode.

[0138] According to one or more embodiments of the present disclosure, Example 5 is the method according to Example 4, wherein the method further includes:

[0139] During the triggering process of the preset triggering operation, adjusting the display size of the first page content based on the preset triggering operation;

[0140] The adding a mode preview screen for displaying the second content display mode in the page includes:

[0141] Based on the first page content after the display size is adjusted, a mode preview screen showing the second content display mode is added to the page.

[0142] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 5, wherein the method further includes:

[0143] During the triggering process of the preset triggering operation, controlling the first page content to gradually disappear;

[0144] The switching of the first page content in the page to the mode preview screen of the second content display mode includes:

[0145] A mode preview screen showing the second content display mode is added to the page after the first page content disappears.

[0146] According to one or more embodiments of the present disclosure, Example 7 is a method according to any one of Examples 1-6, wherein the method further includes:

[0147] Displaying the associated page content of the second content display mode;

[0148] During the triggering process of the preset triggering operation, the display size of the associated page content is adjusted based on the preset triggering operation.

[0149] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 7, wherein the associated page content includes an associated screen of the second page content, and the second page content corresponds to the second content display mode.

[0150] According to one or more embodiments of the present disclosure, Example 9 is a method according to any one of Examples 1-6, wherein in response to the preset trigger operation triggering being ended, switching the content display mode of the page from the first content display mode to the second content display mode includes:

[0151] In response to the preset trigger operation being triggered and the mode switching condition being satisfied when the preset trigger operation is triggered, switching the content display mode of the page from the first content display mode to the second content display mode;

[0152] The method further comprises:

[0153] In response to the preset trigger operation switching from satisfying the mode switching condition to not satisfying the mode switching condition, canceling the mode switching prompt for the page;

[0154] In response to the preset trigger operation being triggered and the mode switching condition not being satisfied when the preset trigger operation is triggered, the first content display mode is maintained for displaying page content on the page.

[0155] According to one or more embodiments of the present disclosure, Example 10 provides a mode switching device, including:

[0156] An operation receiving module, used to receive a preset trigger operation acting on the page;

[0157] A switching prompt module, used for providing a mode switching prompt for the page in response to the preset trigger operation satisfying the mode switching condition of the page, wherein the mode switching prompt is used for prompting the switching of the content display mode of the page after the trigger is completed;

[0158] The mode switching module is used to switch the content display mode of the page from the first content display mode to the second content display mode in response to the preset trigger operation being triggered.

[0159] According to one or more embodiments of the present disclosure, Example 11 provides an electronic device, including:

[0160] one or more processors;

[0161] a memory for storing one or more programs,

[0162] When the one or more programs are executed by the one or more processors, the one or more processors implement the mode switching method as described in any one of Examples 1-9.

[0163] According to one or more embodiments of the present disclosure, Example 12 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the mode switching method as described in any one of Examples 1-9.

[0164] According to one or more embodiments of the present disclosure, Example 13 provides a computer program product. When the computer program product is executed by a computer, the computer implements the mode switching method as described in any one of Examples 1-9.

[0165] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0166] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0167] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A mode switching method, characterized in that: include: Receive preset trigger operations acting on the page; In response to the preset trigger operation satisfying the mode switching condition of the page, a mode switching prompt is provided for the page, wherein the mode switching prompt is used to prompt the switching of the content display mode of the page after the trigger is completed; In response to the preset trigger operation being triggered to end, the content display mode of the page is switched from the first content display mode to the second content display mode.

2. The method according to claim 1, characterized in that The prompting the page to switch modes includes at least one of the following: Prompting the page to switch mode by displaying the prompt content of the mode switch; Prompt the page to switch mode by playing a prompt audio for mode switching; Vibration is used to prompt the page to switch modes.

3. The method according to claim 2, characterized in that The method of providing a mode switching prompt for the page by displaying the mode switching prompt content includes at least one of the following: displaying mode switching prompt information corresponding to the second content display mode, wherein the mode switching prompt information includes character information and / or animation information; A mode preview screen of the second content display mode is displayed.

4. The method according to claim 3, characterized in that The mode preview screen displaying the second content display mode includes: Keep displaying the first page content in the page, and add a mode preview screen showing the second content display mode in the page, wherein the first page content corresponds to the first content display mode; or Switch the first page content in the page to a mode preview screen of the second content display mode.

5. The method according to claim 4, characterized in that The method further comprises: During the triggering process of the preset triggering operation, adjusting the display size of the first page content based on the preset triggering operation; The adding a mode preview screen for displaying the second content display mode in the page includes: Based on the first page content after the display size is adjusted, a mode preview screen showing the second content display mode is added to the page.

6. The method according to claim 5, characterized in that The method further comprises: During the triggering process of the preset triggering operation, controlling the first page content to gradually disappear; The switching of the first page content in the page to the mode preview screen of the second content display mode includes: A mode preview screen showing the second content display mode is added to the page after the first page content disappears.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Displaying the associated page content of the second content display mode; During the triggering process of the preset triggering operation, the display size of the associated page content is adjusted based on the preset triggering operation.

8. The method according to claim 7, characterized in that The associated page content includes an associated screen of a second page content, and the second page content corresponds to the second content display mode.

9. The method according to any one of claims 1 to 6, characterized in that: The step of switching the content display mode of the page from the first content display mode to the second content display mode in response to the preset trigger operation being triggered to end includes: In response to the preset trigger operation being triggered and the mode switching condition being satisfied when the preset trigger operation is triggered, switching the content display mode of the page from the first content display mode to the second content display mode; The method further comprises: In response to the preset trigger operation switching from satisfying the mode switching condition to not satisfying the mode switching condition, canceling the mode switching prompt for the page; In response to the preset trigger operation being triggered and the mode switching condition not being satisfied when the preset trigger operation is triggered, the first content display mode is maintained for displaying page content on the page.

10. A mode switching device, characterized in that: include: An operation receiving module, used to receive a preset trigger operation acting on the page; A switching prompt module, used for providing a mode switching prompt for the page in response to the preset trigger operation satisfying the mode switching condition of the page, wherein the mode switching prompt is used for prompting the switching of the content display mode of the page after the trigger is completed; The mode switching module is used to switch the content display mode of the page from the first content display mode to the second content display mode in response to the preset trigger operation being triggered.

11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the mode switching method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the mode switching method according to any one of claims 1 to 9 when executed.

13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the mode switching method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • Method and device for determining display mode, equipment, medium and product

    CN121092045A

  • Mode switching method and apparatus, electronic device, storage medium, and program product

    WO2026184084A1