Page display method and apparatus, and device and medium
Patent Information
- Application Number
- PCT/CN2026/085259
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-03-27
- Filing Date
- 2026-03-23
- Publication Date
- 2026-10-01
Smart Images

Figure CN2026085259_01102026_PF_FP_ABST
Abstract
Description
Page display methods, devices, equipment and media
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510375151.3, filed on March 27, 2025, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The embodiments of this disclosure relate to methods, apparatuses, devices, and media for displaying pages. Background Technology
[0004] With the continuous development and improvement of network technology and digital media technology, digital media such as images, videos, and GIFs are increasingly used in people's lives, providing entertainment services, bringing numerous conveniences, and adding more fun to people's lives. In recent years, due to the application of artificial intelligence technology in the field of digital media, media generation technology has emerged, allowing people to generate new media through media generation clients deployed on terminal devices. Currently, there is a need for a solution to display the media generation page. Summary of the Invention
[0005] The embodiments of this disclosure describe a method, apparatus, device, and medium for displaying a page.
[0006] This disclosure provides a method for displaying a page, the method comprising: displaying page content of a media generation page through a first view; the page content including historical data and a functional interface for generating media; the historical data including conditional data for generating media and the generated media; and, in response to a preset switching operation for the first view, switching the first view to a second view, the second view displaying a thumbnail of the media generated in the historical data and the functional interface.
[0007] This disclosure also provides a page display device, the device comprising: a display unit configured to display page content of a media generation page through a first view; the page content including historical data and a functional interface for generating media; the historical data including conditional data for generating media and the generated media; and a switching unit configured to switch the first view to a second view in response to a preset switching operation for the first view, the second view displaying a thumbnail of the media generated in the historical data and the functional interface.
[0008] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform any of the methods described above.
[0009] This disclosure also provides an electronic device, including a memory and a processor, wherein the memory stores executable code, and the processor executes the executable code to implement any of the methods described above. Attached Figure Description
[0010] Figure 1a is a schematic diagram illustrating a page display interface according to an exemplary embodiment;
[0011] Figure 1b is a schematic diagram illustrating another page display interface according to an exemplary embodiment;
[0012] Figure 1c is a schematic diagram of another page display interface according to an exemplary embodiment;
[0013] Figure 1d is a schematic diagram illustrating another page display interface according to an exemplary embodiment;
[0014] Figure 1e is a schematic diagram of another page display interface according to an exemplary embodiment;
[0015] Figure 1f is a schematic diagram of another page display interface according to an exemplary embodiment;
[0016] Figure 2 is a flowchart illustrating a method for displaying a page according to an exemplary embodiment of this disclosure;
[0017] Figure 3 is a block diagram of a page display device according to an exemplary embodiment of the present disclosure; and
[0018] Figure 4 is a schematic block diagram of an electronic device provided in some embodiments of this disclosure. Detailed Implementation
[0019] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0020] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as electronic devices, applications, servers, or storage media, that perform the operations of the technical solutions disclosed herein, based on the prompt message.
[0021] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0022] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0023] The technical solutions provided in this disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not intended to limit the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0024] With the continuous development and improvement of network technology and digital media technology, digital media such as images, videos, and GIFs are increasingly used in people's lives, providing entertainment services, bringing numerous conveniences, and adding more fun to people's lives. In recent years, due to the application of artificial intelligence technology in the field of digital media, media generation technology has emerged, allowing people to generate new media through media generation clients deployed on terminal devices. However, because the media generation process generates a large amount of data, the content on the media generation client pages becomes complex, resulting in low efficiency in browsing the generated media, causing inconvenience to users and affecting the user experience.
[0025] This disclosure provides a page display scheme that allows a media generation client to display the content of a media generation page through a first view. The page content includes historical data and functional interfaces for generating media. The historical data includes conditional data for media generation and the generated media. In response to a preset switching operation on the first view, the first view is switched to a second view. The second view displays thumbnails of the media generated from the historical data and the functional interfaces for media generation. This enables flexible switching of the media generation page content from comprehensive to simplified, allowing users to easily switch the displayed content according to their needs. Furthermore, both the first and second views include functional interfaces for media generation, enabling users to quickly locate the media generation function and improving the user experience.
[0026] Figures 1a-1f are schematic diagrams illustrating a page display interface according to an exemplary embodiment. The present disclosure will now be described in conjunction with Figures 1a-1f through the following specific application scenarios.
[0027] A specific application scenario for this embodiment is that the user's terminal device has a media generation client installed. First, the user enters the media generation page through the media generation client. For example, after opening the media generation client, the user can directly enter the media generation page, or the user can also enter the media generation page by triggering the media generation button in other applications.
[0028] As shown in Figure 1a, after entering the media generation page, the page content can be displayed through view 101. The page content displayed in view 101 may include historical data 102 and functional interfaces 103 for generating media. The historical data 102 includes conditional data for generating media and the generated media. The conditional data for generating media may include, but is not limited to, text guidance information for generating media, media reference information, and parameters used to constrain media generation.
[0029] For example, in the example shown in Figure 1a, the text "Amidst towering mountains, a tranquil lake, like a giant mirror, quietly reflects the magnificent surrounding scenery" and "A person sits quietly by the lake, gazing into the distance; on the opposite shore, green mountains rise and the azure lake water shimmers with light; the image is in an oil painting style" can be used as textual guidance information for generating media. "Depth of field," "3:4," etc., can be used to constrain some parameters of media generation. Additionally, there can be other conditional data not shown in the example shown in Figure 1a; this embodiment does not limit the specific settings of the conditional data.
[0030] As shown in Figure 1b, function interface 103 can be an interface used to trigger the media generation function. When the user triggers function interface 103 in view 101, the media generation client can provide the user with media generation operation interface 104. The user can input conditional data for generating media through media generation operation interface 104 and trigger the button to start media generation. The user may input reference media for media generation through interface 105. "The lush pine trees and colorful wildflowers by the lake complement each other" can be textual guidance information for media generation. "Flower sea, oil painting style" and "scale 3:4" can be parameters used to constrain media generation. After the user inputs the conditional data, they can click button 106 to trigger the media generation client to generate new media based on the input conditional data.
[0031] As shown in Figure 1c, after a user performs a first preset switching operation on view 101, view 101 can be switched to view 107. This first preset switching operation can be a user clicking button 108 in view 101, or a user performing a preset gesture on the screen. For example, the gesture could be a pinch gesture or a swipe gesture along a preset trajectory. This embodiment does not limit the specific form of the preset gesture. The media generation client can display thumbnails 109 of media generated from historical data and the functional interface 103 for generating media through view 107. The thumbnails 109 of generated media can include multiple media previously generated by the media generation client, but do not include the conditional data used to generate the media. It should be noted that after a user performs a second preset switching operation on view 107, view 107 can be switched back to view 101. The second preset switching operation can be the user clicking the button 108 in view 107, or it can be a specified gesture operation performed by the user on the screen. For example, the specified gesture operation can be a magnification operation corresponding to the pinch operation, or a sliding operation opposite to the direction of the first preset switching operation.
[0032] As shown in Figure 1d, the functional interface 103 in view 107 has the same function as the functional interface 103 in view 101. When the user triggers the functional interface 103 in view 107, the media generation client can also provide the user with the media generation operation interface 104. The user can input the conditional data for generating media through the media generation operation interface 104 and trigger the button to start media generation to generate new media.
[0033] As shown in Figure 1e, view 101 displays a filter button 110. When a user clicks the filter button 110, a filter menu is provided, which can include all content, image content, video content, and favorited content. The user can select any item from the filter menu. If the user clicks on favorited content, view 101 can only display the favorited media and hide content unrelated to the favorited media. For example, in Figure 1e, images 111a and 111b are favorited media. When the user clicks on favorited content, view 101 only displays images 111a and 111b, as well as the conditional data associated with images 111a and 111b in historical data, while hiding media that are not favorited and other content unrelated to the favorited media.
[0034] As shown in Figure 1f, view 107 also displays a filter button 110. When the user clicks the filter button 110 and then clicks "Favorite Content," view 107 can display only the favorited media and hide the unfavorited media. For example, in Figure 1f, images 111c and 111d are favorited media. When the user clicks "Favorite Content," view 107 will only display images 111c and 111d and hide the other unfavorited media.
[0035] The present disclosure will now be described in detail with reference to specific embodiments.
[0036] Figure 2 is a flowchart illustrating a page display method according to an exemplary embodiment. This method can be applied to a media generation client. In this embodiment, the media generation client is installed on a terminal device, which may include, but is not limited to, mobile terminal devices such as smartphones, smart wearable devices, tablets, laptops, and desktop computers. The method may include the following steps:
[0037] As shown in Figure 2, in step 201, the page content of the media generation page is displayed through the first view, and in step 202, in response to the preset switching operation for the first view, the first view is switched to the second view.
[0038] In this embodiment, the media generation client can be a client that generates media using artificial intelligence technology. The media can include, but is not limited to, images, videos, GIFs, and animations. The media generation page can be the main page of the media generation client, through which users can perform media generation operations. In one implementation, after opening the media generation client, the user can directly access the media generation page. In another implementation, the user can also access the media generation page after triggering the media generation button in another application.
[0039] In this embodiment, the media generation page can be displayed in different ways. For example, a first view can display more comprehensive page content, while a second view can display simplified page content. The page content displayed in the first view may include historical data and functional interfaces for generating media. The historical data may include conditional data for generating media and the generated media. The simplified page content displayed in the second view may include thumbnails of the media generated from the historical data and functional interfaces for generating media. The thumbnails of the generated media may be displayed in a grid format.
[0040] Specifically, each time a user generates media using the media generation client, a set of historical data is generated. This set of historical data may include conditional data used to generate the media, as well as at least one generated media. The conditional data may include, but is not limited to, textual guidance information used to generate the media, media reference information, and parameters used to constrain media generation. When displaying the page content in the first view, each set of historical data can be fully displayed so that users can comprehensively view the historical data.
[0041] When a user performs a preset switching operation on the screen for the first view, the first view can be switched to the second view. This preset switching operation can be a user clicking a preset button on the screen, or a user swiping on the screen in a preset manner. For example, the preset switching operation could be a user pinching on the screen, or a user swiping up, down, left, or right on the screen, or a user swiping on the screen along a preset trajectory. It is understood that this embodiment does not limit the specific method of the preset operation. In the second view, only thumbnails of the media generated in each set of historical data can be displayed, without displaying other conditional data used to generate the media. This allows users to more easily find the media they need from the generated media works. Furthermore, after detecting a user switching operation for the second view, the second view can be switched back to the first view.
[0042] It should be noted that both the first and second views need to display the functional interface for generating media. When the user triggers this functional interface, the media generation client can provide the user with a media generation operation interface. The user can input the conditional data for generating media through the media generation operation interface and trigger the button to start media generation. The media generation client can generate at least one media based on the user's input conditional data. Because the functional interface for generating media is displayed before and after switching views, users can quickly locate the media generation function even when viewing simplified page content, improving operational efficiency.
[0043] The following section uses the preset switching action of the user pinching on the screen as an example to explain in detail the switching process from the first view to the second view.
[0044] First, before displaying the page content through the first view, the first view can be added to the root view corresponding to the media generation page, and a pinch gesture can be added to the root view. After displaying the page content through the first view, the user's gesture operations on the screen can be monitored in real time. When a pinch gesture operation is detected, a second view can also be added to the aforementioned root view, making the second view the bottom layer of the first view. Therefore, the second view is covered by the first view, and the first view is still displayed on the screen.
[0045] Next, based on the first view currently displayed on the screen, the target content to be displayed in the second view can be determined. Specifically, a reference point can be obtained from the first view displayed on the current screen. For example, the center point of the first view can be used as the reference point, or the center point of the user's pinch gesture on the screen can be used as the reference point. Then, the first coordinates corresponding to the reference point in the root view are determined, and the first coordinates are transformed according to the coordinate system transformation relationship between the root view and the first view to obtain the second coordinates corresponding to the reference point in the first view. Based on these second coordinates, the target content to be displayed in the second view is then determined.
[0046] Specifically, both the first and second views include media generated from historical data; therefore, they share the same media data source. Each media item displayed in both views can be considered a page element, and each page element corresponds to an element identifier. Thus, the same media items displayed in both views correspond to the same element identifier. For example, if a user generates a media item M at time S, the element identifier for media M in the first view is W, and the element identifier for media M in the second view is also W. Furthermore, the element identifier for each page element displayed in the first view corresponds to a coordinate region within that view. The element identifier corresponding to a point in the first view can be determined based on the coordinates of that point. Each element identifier also corresponds to an index path in the first view, allowing access to the content of the page element corresponding to that element identifier. Similarly, the element identifier for each page element displayed in the second view also corresponds to a coordinate region within that view. The element identifier corresponding to a point in the second view can be determined based on the coordinates of that point. Each element identifier also corresponds to an index path in the second view, allowing access to the content of that page element in the second view. Therefore, in some embodiments, the element identifier of the page element corresponding to the second coordinate in the first view can be obtained. The index path corresponding to the element identifier in the second view is determined, and the page content corresponding to the index path is obtained as the target content to be displayed in the second view.
[0047] Finally, the target content can be positioned in the display area of the screen, and the first view can be removed from the root view to switch the first view to the second view. Specifically, the first view can be gradually removed from the root view using animation. Since the second view is located at the bottom layer of the first view before the first view is removed and is covered by the content displayed by the first view, the content corresponding to the second view is displayed after the first view is removed.
[0048] This disclosure provides a page display method that allows a media generation client to display the content of a media generation page through a first view. The page content includes historical data and functional interfaces for generating media. The historical data includes conditional data for media generation and the generated media. In response to a preset switching operation on the first view, the first view is switched to a second view. The second view displays thumbnails of the media generated from the historical data and the functional interfaces for media generation. This enables flexible switching of the media generation page content from comprehensive to simplified, allowing users to easily switch the displayed content according to their needs. Furthermore, both the first and second views include functional interfaces for media generation, enabling users to quickly locate the media generation function and improving the user experience.
[0049] Furthermore, in some alternative implementations, users can select favorite media from the historical data of the media generation page. When the page content is displayed in the first view, users can perform preset filtering operations, such as clicking a filter button. The favorite media and data associated with the favorite media in the historical data can be obtained as the favorite data to be displayed. This favorite data is displayed in the first view, while data other than the favorite data in the historical data is hidden. The data associated with the favorite media in the historical data may include conditional data such as those used when the favorite media was generated. It should be noted that when the page content is displayed in the second view, users can also perform preset filtering operations to obtain favorite media from the historical data, which is then displayed as the favorite data to be displayed. Media not favorited in the historical data is hidden.
[0050] Because this embodiment can selectively display the collected media, it provides users with a more simplified view, enabling them to view the generated media works purposefully and providing them with greater convenience.
[0051] Furthermore, in some alternative implementations, upon triggering a preset event, a thumbnail selection interface can be output in the second view to determine the target media selected through the thumbnail selection interface and publish the target media. In one implementation, when a user triggers the media publishing interface on a designated page, the second view can be directly displayed, and the thumbnail selection interface can be output in the second view. This allows the user to directly select the target media from previously generated media works through the second view and publish the target media. For example, the designated page can be a social media page with a media publishing interface. When a user triggers the media publishing interface, they can directly enter the second view. In another implementation, when browsing the second view, the user can trigger the media selection button in the second view, causing the thumbnail selection interface to be output in the second view. After selecting the target media through the thumbnail selection interface, the user can click the publish button to publish the target media.
[0052] Because this embodiment allows users to directly select the target media to be published through the second view, it shields users from more redundant data, improves the efficiency of media publishing, and further provides users with more convenience.
[0053] It should be noted that although the operations of the methods of this disclosure embodiment are described in a specific order in the above embodiments, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowcharts may be executed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0054] Corresponding to the aforementioned embodiments of the page display method, this disclosure also provides embodiments of the page display device.
[0055] As shown in FIG3, FIG3 is a block diagram of a page display device according to an exemplary embodiment of the present disclosure. The device may include a display unit 301 and a switching unit 302.
[0056] The display unit 301 is configured to display the page content of the media generation page through a first view. The page content includes historical data and functional interfaces for generating media. The historical data includes conditional data for generating media and the generated media.
[0057] The switching unit 302 is configured to switch the first view to a second view in response to a preset switching operation for the first view. The second view displays thumbnails of media generated in historical data and the aforementioned functional interfaces.
[0058] In some implementations, the aforementioned preset switching operation includes sliding on the screen in a preset manner.
[0059] In other embodiments, the media generated from historical data includes selected and collected media, and the device may further include a determining unit and a filtering unit (not shown in the figure).
[0060] The "determine" unit is configured to respond to a preset filtering operation and determine the collection data to be displayed. The collection data includes the collection media and the data associated with the collection media in the historical data.
[0061] The filter unit is configured to display favorite data in the first view and hide all other data in the historical data except for favorite data.
[0062] In other embodiments, the device may further include an output unit and a publishing unit (not shown in the figure).
[0063] The output unit is configured to output a thumbnail selection interface in the second view when a preset event is triggered.
[0064] The publishing unit is configured to identify the target media selected via the thumbnail selection interface and publish the target media.
[0065] In other implementations, the output unit is configured to: display a second view in response to a publishing interface that triggers media publishing on a specified page, and output a thumbnail selection interface in the second view.
[0066] In other embodiments, the device may also include an adding unit (not shown in the figure).
[0067] The "Add Unit" option is configured to add the first view to the root view corresponding to the media generation page before displaying the page content through the first view.
[0068] The switching unit 302 is configured to: add the second view to the root view at the bottom level of the first view, so that the second view is covered by the first view; determine the target content to be displayed in the second view according to the first view currently displayed on the screen; position the target content in the display area of the screen; and remove the first view from the root view to switch the first view to the second view.
[0069] In other embodiments, the switching unit 302 can determine the target content to be displayed in the second view based on the first view currently displayed on the screen in the following manner: obtain a reference point from the first view currently displayed on the screen, determine the first coordinates corresponding to the reference point in the root view, perform coordinate transformation on the first coordinates to obtain the second coordinates corresponding to the reference point in the first view, and determine the target content to be displayed in the second view based on the second coordinates and the first view.
[0070] In other embodiments, the switching unit 302 can determine the target content to be displayed in the second view based on the second coordinate and the first view in the following way: obtain the element identifier of the page element corresponding to the second coordinate in the first view, determine the index path corresponding to the element identifier in the second view, and obtain the page content corresponding to the index path as the target content.
[0071] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiments of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0072] Referring now to FIG4, FIG4 is a schematic block diagram of an electronic device provided in some embodiments of the present disclosure. This electronic device 920 is, for example, suitable for implementing the page display method provided in the embodiments of the present disclosure. The electronic device 920 can be a terminal device, etc., and can be used to implement a client or server. The electronic device 920 can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable electronic devices, etc., as well as fixed terminals such as digital TVs, desktop computers, smart home devices, etc. It should be noted that the electronic device 920 shown in FIG4 is merely an example and does not impose any limitations on the functionality and scope of use of the embodiments of the present disclosure.
[0073] As shown in Figure 4, the electronic device 920 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 921, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 922 or a program loaded from a storage device 928 into a random access memory (RAM) 923. The RAM 923 also stores various programs and data required for the operation of the electronic device 920. The processing unit 921, ROM 922, and RAM 923 are interconnected via a bus 924. An input / output (I / O) interface 925 is also connected to the bus 924.
[0074] Typically, the following devices can be connected to I / O interface 925: input devices 926 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 927 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 928 including, for example, magnetic tapes, hard disks, etc.; and communication devices 929. Communication device 929 allows electronic device 920 to communicate wirelessly or wiredly with other electronic devices to exchange data. Although Figure 4 shows electronic device 920 with various devices, it should be understood that it is not required to implement or possess all the devices shown, and electronic device 920 may alternatively implement or possess more or fewer devices. Each box shown in Figure 4 may represent one device, or multiple devices may be represented as needed.
[0075] According to embodiments of this disclosure, the page display method described above can be implemented as a computer software program. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the page display method described above. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 929, or installed from a storage device 928, or installed from a ROM 922. When the computer program is executed by a processing device 921, the functions defined in the page display method provided by embodiments of this disclosure can be implemented.
[0076] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the methods provided in this disclosure.
[0077] It should be noted that the computer-readable medium described in the embodiments of this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the embodiments of this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.
[0078] Computer program code for performing the operations of embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0079] The various embodiments in this disclosure are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for storage media and computing devices are basically similar to the method embodiments, so they are described more simply; relevant parts can be referred to the descriptions of the method embodiments.
[0080] Those skilled in the art will recognize that the functions described in the embodiments of this disclosure in one or more of the examples above can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium.
[0081] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the embodiments of this disclosure. It should be understood that the above descriptions are merely specific implementations of the embodiments of this disclosure and are not intended to limit the scope of protection of this invention. Any modifications, equivalent substitutions, improvements, etc., made based on the technical solutions of this disclosure should be included within the scope of protection of this invention.
Claims
1. A method for displaying a page, comprising: The first view displays the content of the media generation page; the page content includes historical data and functional interfaces for generating media. The historical data includes the conditional data used to generate the media and the generated media; In response to a preset switching operation for the first view, the first view is switched to a second view, which displays thumbnails of the media generated in the historical data and the functional interface.
2. The method according to claim 1, wherein, The preset switching operation includes sliding on the screen in a preset manner.
3. The method according to claim 1 or 2, wherein, The media generated from the historical data includes the selected and collected media; When the page content is displayed through the first view, the method further includes: In response to a preset filtering operation, the collection data to be displayed is determined; the collection data includes the collection media and the data associated with the collection media in the historical data; The collection data is displayed in the first view, while other data in the historical data is hidden.
4. The method according to any one of claims 1-3, further comprising: When a preset event is triggered, a thumbnail selection interface is output in the second view; Identify the target media selected through the thumbnail selection interface and publish the target media.
5. The method according to claim 4, wherein, The step of outputting a thumbnail selection interface in the second view upon triggering a preset event includes: In response to the publishing interface that triggers media publishing on the specified page, the second view is displayed, and the thumbnail selection interface is output in the second view.
6. The method according to any one of claims 1-5, wherein, Before displaying the page content through the first view, the method further includes adding the first view to the root view corresponding to the media generation page; The step of switching the first view to the second view includes: Add the second view to the root view at the level below the first view, so that the second view is covered by the first view; Based on the first view currently displayed on the screen, determine the target content to be displayed in the second view; Position the target content to the display area of the screen; Remove the first view from the root view to switch the first view to the second view.
7. The method according to claim 6, wherein, The step of determining the target content to be displayed in the second view based on the first view currently displayed on the screen includes: Obtain a reference point from the first view displayed on the current screen; Determine the first coordinates of the reference point in the root view; Perform coordinate transformation on the first coordinate to obtain the second coordinate corresponding to the reference point in the first view; Based on the second coordinates and the first view, the target content to be displayed in the second view is determined.
8. The method according to claim 7, wherein, The step of determining the target content to be displayed in the second view based on the second coordinates and the first view includes: Obtain the element identifier of the page element in the first view that corresponds to the second coordinate; Determine the index path corresponding to the element identifier in the second view; Obtain the page content corresponding to the index path as the target content.
9. A page display device, comprising: The display unit is configured to display the page content of the media-generated page through a first view; The page content includes historical data and functional interfaces for generating media; The historical data includes the conditional data used to generate the media and the generated media; The switching unit is configured to switch the first view to a second view in response to a preset switching operation for the first view. The second view displays thumbnails of the media generated in the historical data and the functional interface.
10. A computer-readable storage medium storing a computer program, wherein, When the computer program is executed in the computer, the computer is caused to perform the method of any one of claims 1-8.
11. An electronic device comprising a memory and a processor, wherein, The memory stores executable code, and when the processor executes the executable code, it implements the method of any one of claims 1-8.