Material processing method and device
By using paginated loading technology, the problem of slow loading speed of material resources caused by full loading is solved, improving material editing efficiency and enhancing user experience.
Patent Information
- Application Number
- PCT/CN2025/090639
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-25
- Filing Date
- 2025-04-23
- Publication Date
- 2025-10-30
AI Technical Summary
In existing technologies, the device loads all material resources after startup, resulting in slow loading speed and affecting the user's material editing efficiency.
Using a paginated loading method, the system retrieves and displays the first pagination in response to a request to display the material list, retrieves the second pagination in response to an update operation, and displays multiple paginations on the display interface, loading only the materials required for the current page.
It improves the loading speed of material resources, reduces display lag, and enhances the efficiency of video editing for users.
Smart Images

Figure CN2025090639_30102025_PF_FP_ABST
Abstract
Description
Material processing methods and equipment
[0001] This application claims priority to Chinese Patent Application No. 202410504271.4, filed on April 25, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0002] This disclosure relates to a material processing method and apparatus. Background Technology
[0003] Once the application is launched on the device, the corresponding material resources will be displayed on the device's graphical user interface for users to consume based on their individual needs.
[0004] In the implementation of material resource display, especially in the field of material editing, after the application starts, the device sends a full resource request to the server to pull all the materials to the device, and then loads them onto the graphical user interface on demand based on different material types.
[0005] However, due to the full loading method, when the user selects the type of material to use, the system is still in the stage of fetching all material resources and cannot display the corresponding material resources in a timely manner. In other words, the material resource loading speed is slow, which affects the efficiency of the user's material editing. Summary of the Invention
[0006] This disclosure provides a material processing method and apparatus to avoid situations where slow material resource loading speed leads to low efficiency for users during video editing.
[0007] In a first aspect, embodiments of this disclosure provide a material processing method, including:
[0008] In response to a request to display the material list, the first page of the material list is obtained, wherein the first page contains display information of a first material, and the first material includes at least one material in the material list;
[0009] The first page is displayed in the display interface of the material list;
[0010] In response to a material update operation triggered on the display interface, the second page of the material list is obtained, wherein the second page contains display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials;
[0011] The first page and the second page are displayed in the display interface of the material list;
[0012] In response to a material selection operation triggered on the display interface, the target material corresponding to the material selection operation is imported into the editing draft, and the editing effect based on the target material is displayed.
[0013] Secondly, embodiments of this disclosure provide a material processing apparatus, including:
[0014] The acquisition unit is configured to acquire a first page of the material list in response to a display request of the material list, wherein the first page carries display information of a first material, and the first material includes at least one material in the material list;
[0015] The display unit is used to display the first page in the display interface of the material list;
[0016] The acquisition unit is further configured to, in response to a material update operation triggered on the display interface, acquire a second page of the material list, wherein the second page carries display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials;
[0017] The display unit is also used to display the first page and the second page in the display interface of the material list;
[0018] The display unit is also configured to respond to a material selection operation triggered on the display interface, import the target material corresponding to the material selection operation into the editing draft, and display the editing effect based on the target material.
[0019] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;
[0020] The memory stores computer-executed instructions;
[0021] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the material processing method as described in the first aspect and various possible designs of the first aspect.
[0022] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the material processing method described in the first aspect and various possible designs of the first aspect.
[0023] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the material processing method described in the first aspect and various possible designs of the first aspect. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 is a schematic diagram of a situation where the categories on the device's page are not connected;
[0026] Figure 2 is a schematic diagram showing the interconnected categories on the device's page;
[0027] Figure 3 is a schematic flowchart of the material processing method provided in an embodiment of this disclosure;
[0028] Figure 4 is a schematic diagram of an interface display provided in an embodiment of this disclosure;
[0029] Figure 5 is a schematic diagram of another interface display provided in an embodiment of this disclosure;
[0030] Figure 6 is a schematic diagram of the material processing method provided in the embodiment of this disclosure (II).
[0031] Figure 7 is a schematic diagram of the material processing device provided in an embodiment of this disclosure; and
[0032] Figure 8 is a schematic diagram of the structure of the electronic device provided in the embodiment of this disclosure. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0034] Once the application is launched on the device, the corresponding material resources will be displayed on the device's graphical user interface for users to consume based on their personal needs, such as using the corresponding material resources for video editing.
[0035] In the implementation of material resource display, after the application starts, the device sends a full resource request to the server to pull all materials to the device, and then loads them onto the graphical user interface on demand based on different material types.
[0036] However, due to the full loading method, when the user selects the type of material to use, the system is still in the stage of fetching all material resources and cannot display the corresponding material resources in a timely manner. In other words, the material resource loading speed is slow, which affects the efficiency of the user's material editing.
[0037] In other words, the above solution has the following technical problems:
[0038] 1. Currently, on-demand loading is not possible on the device side under the premise of category integration. The existing full loading affects program performance (e.g., waste of CPU resources, waste of memory resources, etc.) and the usability of the user panel.
[0039] 2. The increased volume of materials in the user panel, the migration of distribution interfaces (increased packaging information), and the integration of recommendation capabilities, coupled with the method of fetching all resources, will increase the overall time consumption and make loading increasingly slower.
[0040] Based on the above technical issues involving category integration and category non-integration, Figure 1 is a schematic diagram of the situation where categories are not integrated on the device's page. As shown in Figure 1, the schematic diagram shows a material library, with multiple materials displayed on the right, such as material A1, material B2, material B3, material C1, material D5, and material D6.
[0041] The types of materials can be environmental protection, humor, instrumental music, children's songs, etc., and no distinction is made in the display interface on the right. After obtaining all material resources from the server, they are loaded directly.
[0042] Figure 2 is a schematic diagram of the category integration on the device's page. As shown in Figure 2, the schematic diagram shows a material library, under which there are corresponding categories, such as environmental protection, funny, instrumental music, and children's songs. For the right side of the interface, the materials under the environmental protection category are currently displayed, for example, material A1, material A2, material A3, material A4, material A5, and material A6.
[0043] To address the aforementioned technical problems, the inventors' technical concept in solving these problems is as follows: If, after opening the application, a pseudo-connection can be implemented within the page displaying all categorized resources—which is actually composed of multiple pages—only the resources of the currently displayed page are retrieved. This means that the resources of the corresponding page can be directly loaded when the user clicks to display it. Subsequently, as the page scrolls down, resources for the next page are continuously loaded. This reduces the unnecessary burden of loading resources and improves the loading speed of resources on the device, thereby increasing the user's efficiency in video editing.
[0044] The material processing method disclosed herein is executed by an electronic device, such as a mobile phone, computer, tablet, or server.
[0045] The following are specific implementation processes of the material processing methods, material processing equipment, and electronic equipment involved in the embodiments of this disclosure. Some examples are merely illustrations and are not intended to limit the scope of the invention.
[0046] Figure 3 is a schematic flowchart of a material processing method provided in this embodiment of the present disclosure. As shown in Figure 3, the material processing method may include:
[0047] Step 31: In response to the request to display the material list, retrieve the first page of the material list;
[0048] The first page contains the display information of the first material, which includes at least one material from the material list;
[0049] In this step, when a user clicks on the relevant control in the material list on the page corresponding to the application, at least one material corresponding to that material list is obtained (denoted as the first material).
[0050] Optionally, the resource list can be a category or a complete collection of resources that combine various types.
[0051] In one possible implementation, the display request for the material list could be: the user operates the device to enter the material panel, which will need to display materials of the default category; or it could be that one category of materials on the current page does not fill the entire page, and other types of materials need to be displayed. In other words, the first page of the material list could be the materials required for one page.
[0052] The materials can be audio, video, images, etc.
[0053] Optionally, this step can be implemented in the following two possible ways:
[0054] Firstly, in response to a request to display the media list, retrieve the first page of the media list from the server;
[0055] In this implementation, when a user enters the media panel in the application, the device sends a request to the server to retrieve the media from the first page of the media list. In response to this request, the server sends the media from the first page of the media list to the device.
[0056] Secondly, in response to the request to display the media list, the first page of the media list is retrieved from local storage. The first page of the media list in local storage is retrieved from the server in advance when the client starts.
[0057] In this implementation, when the application client starts, the media in the first page is pre-fetched from the server and stored in the device's local storage. When the media panel is opened on the client, the first page of the media list is retrieved from the server.
[0058] The material obtained from the server in advance can be obtained when the client corresponding to the currently opened material panel is launched, or it can be obtained when the client was launched previously.
[0059] It should be understood that the choice between the two methods mentioned above can be determined based on the actual situation; for example, when the network conditions are good, it can be obtained directly from the server; when the network conditions are poor, it can be obtained from local storage.
[0060] In some implementations, the materials from multiple pages can be pre-fetched into local storage. When responding to a display request for the material list, the first page is retrieved and displayed first. As the user continues to swipe through the corresponding display requests, the second page, the third page, and so on are retrieved from local storage and rendered in real time.
[0061] Step 32: Display the first page in the material list display interface;
[0062] In this step, the materials obtained from the first page will be displayed in the material list display interface.
[0063] In one possible implementation, taking the first page as an example of a collection of materials, Figure 4 is a schematic diagram of an interface display provided by an embodiment of this disclosure. As shown in Figure 4, the collection of materials includes: material B1, material B2, material B3, material B4, material B5, and material B6.
[0064] The display interface of the material list can be as shown on the right side of Figure 4, displaying material B1, material B2, material B3, material B4, material B5, and material B6. On the left side of the page, multiple different material types can be displayed, such as funny, instrumental music, and children's songs.
[0065] In other possible implementations, the materials in the first page can also include other types. For example, if the current display interface can show 10 materials, it can get all the materials of the first type, such as 6, and then get the first 4 materials of the second type. That is, the first page contains the above 10 materials.
[0066] In other words, the number of materials in the first page can be the maximum number that the display interface can show; in addition, the number of materials in the first page can also be determined according to the layout of the display interface.
[0067] For example, if two types of materials need to be displayed in different rows, the display interface contains 2 (number of columns) * 5 (number of rows) containers. When 5 materials of the first type are obtained, 4 materials of the second type can be obtained, and the above 9 materials are displayed in the display interface.
[0068] For example, if two types of materials can be displayed in the same row, the display interface contains 2*5 containers. When 5 of the first type of materials are obtained, 5 of the second type of materials can be obtained, and the above 10 materials can be displayed in the display interface.
[0069] Step 33: In response to the material update operation triggered on the display interface, retrieve the second page of the material list;
[0070] The second page contains information about the second material, which includes at least one material from the material list. The first material and the second material are different materials.
[0071] Optionally, the material update operation can be: the material update operation is the user scrolling the page to the bottom of the dynamic flow of materials in the first page (i.e., when the user triggers the feed update); or the operation of jumping to the next page.
[0072] In one possible implementation, when a user scrolls down the page in the display interface, at least one material following the last material in the first page is retrieved, i.e., the second page.
[0073] Optionally, the acquisition method may be: based on the identifier of the last material in the first page, determine the location of the identifier of the last material from the server or local storage, and start fetching at least one material from that location.
[0074] If the last material is the last material of the current type, the material can be obtained from the next type of material.
[0075] The number of materials in the second page can be the maximum number that the display interface can display, or it can be determined according to the layout of the display interface; refer to the acquisition of the first page in the above embodiment.
[0076] During the material update process, users may also perform continuous up and down swiping operations. To avoid the application repeatedly executing the corresponding requests, it can also be implemented by (using the pagination offset and category ID as the key to save the ongoing QFuture).
[0077] Optionally, step 33 can be implemented as follows:
[0078] Firstly, in response to a material update operation triggered on the display interface, the second page of the previously loaded material list is retrieved from local storage;
[0079] In this implementation, when the user scrolls down the page, the second page of the previously stored material list is retrieved from local storage. This method allows for fast loading and avoids network interference.
[0080] Secondly, if the second page of the previously loaded material list is not retrieved in local storage, the second page of the material list is retrieved from the server.
[0081] In this implementation, when the user scrolls down the page, if the second page of the previously stored material list is not retrieved from local storage, it will be retrieved directly from the server. This method allows the user to obtain the latest materials from the server side.
[0082] In other words, in one implementation, the above caching strategy could be: when the client starts, it prioritizes using the local disk cache and simultaneously requests a network refresh to flush the disk cache, which takes effect the next time the program starts. Alternatively, it could prioritize using network data and use a cache fallback strategy in case of errors, supporting opening the media panel even when the network is offline.
[0083] Step 34: Display the first and second pages in the material list display interface;
[0084] In this step, as the material update operation changes, such as scrolling down the page, the display interface continuously pushes out the materials from the first page and displays the materials from the second page.
[0085] In one possible implementation, taking the second page containing humorous content as an example, Figure 5 is a schematic diagram of another interface display provided by an embodiment of this disclosure, as shown in Figure 5:
[0086] The materials for the first page have been loaded and displayed on the interface. When you scroll down the display interface controls, you will see funny materials, which will then be displayed, allowing you to access the materials for the second page. The funny materials include: Material E1, Material E2, Material E3, Material E4, Material E5, and Material E6.
[0087] Furthermore, as the page is scrolled up, other materials on the second page can be displayed, or after the content on the second page has been displayed, instrumental music materials can be acquired and displayed on the display interface.
[0088] Step 35: In response to the material selection operation triggered on the display interface, import the target material corresponding to the material selection operation into the editing draft, and display the editing effect based on the target material.
[0089] In this step, various materials are displayed on the interface, and users can trigger the selection operation for the target material based on the corresponding selection controls.
[0090] For example, by selecting Material 1 and Material 3 using the selection control, Material 1 and Material 3 will be used as target materials, and the target materials will be imported into the editing draft. Then, the target materials can be edited to display the corresponding editing effects.
[0091] In addition, in other implementations of this disclosure, materials for a display page of various types of materials can be obtained from the server and stored locally; when the user switches types, the materials can be displayed directly from the local storage.
[0092] For example, when storing data, the material type can be used as the key and the corresponding material of that material type as the value, and stored in local storage. Then, when the user's current page is the material page, the identifiers of multiple material types will be displayed.
[0093] Furthermore, when an identifier for a material type is marked, meaning the page displays a control for a certain type of material, then multiple materials corresponding to that type of material are displayed on the display interface.
[0094] The material processing method provided in this disclosure, in response to a display request for a material list, obtains a first page of the material list, wherein the first page carries display information of a first material, which includes at least one material in the material list; displays the first page in the display interface of the material list; in response to a material update operation triggered on the display interface, obtains a second page of the material list, wherein the second page carries display information of a second material, which includes at least one material in the material list, and the first material and the second material are different materials; displays the first page and the second page in the display interface of the material list; in response to a material selection operation triggered on the display interface, imports the target material corresponding to the material selection operation into the editing draft, and displays the editing effect based on the target material. In this technical solution, only the materials required for the current page are loaded and displayed in the page display area, thereby reducing display lag caused by downloading all materials, improving material loading efficiency, and thus avoiding low efficiency for users during video editing.
[0095] Based on the above embodiments, Figure 6 is a schematic flowchart of the material processing method provided in this disclosure. As shown in Figure 6, when the first page includes multiple target pages, step 32 above can be:
[0096] Step 61: Display the first target page in the material list display interface;
[0097] In this implementation, multiple target pages of materials can be loaded on the first load, and the materials of the first subpage are displayed first.
[0098] Step 62: In response to the user's scrolling action on the page, display the target page after the first target page in the display interface.
[0099] In this step, as the page scrolls, the target pages after the first loaded target page are displayed sequentially according to the layout of the display page.
[0100] This can be implemented by loading multiple target pages into the client's local storage, and updating the display page one by one (which can be triggered by the user scrolling to the bottom of the material feed in the target page), until all target pages loaded into the client's local storage for the first time are updated in the display page.
[0101] The media processing method provided in this disclosure displays the first target page in the media list display interface; in response to the user's scrolling operation on the page, it displays subsequent target pages in the display interface. In this technical solution, the user triggers the update of one page at a time to the interface display by scrolling to the bottom of the media feed, reducing the resource consumption of page rendering and improving the user experience.
[0102] Based on the above method embodiments, Figure 7 is a schematic diagram of the structure of the material processing device provided in this disclosure embodiment. As shown in Figure 7, the material processing device includes:
[0103] The acquisition unit 71 is used to acquire the first page of the material list in response to the display request of the material list, wherein the first page carries the display information of the first material, and the first material includes at least one material in the material list;
[0104] Display unit 72 is used to display the first page in the display interface of the material list;
[0105] The acquisition unit 71 is also used to respond to the material update operation triggered on the display interface to acquire the second page of the material list, wherein the second page carries the display information of the second material, the second material includes at least one material in the material list, and the first material and the second material are different materials;
[0106] Display unit 72 is also used to display the first page and the second page in the display interface of the material list;
[0107] The display unit 72 is also used to respond to a material selection operation triggered on the display interface, import the target material corresponding to the material selection operation into the editing draft, and display the editing effect based on the target material.
[0108] In one or more embodiments of this disclosure, the acquisition unit 71, in response to a display request for the material list, acquires the first page of the material list, specifically for:
[0109] In response to a request to display the media list, retrieve the first page of the media list from the server;
[0110] Alternatively, in response to a request to display the media list, the first page of the media list is retrieved from local storage, which is pre-fetched from the server when the client starts.
[0111] In one or more embodiments of this disclosure, the first page includes: a plurality of target pages;
[0112] Correspondingly, display unit 72 displays the first page in the material list display interface, specifically for:
[0113] Display the first target page in the resource list display interface;
[0114] In response to the user's scrolling action on the page, display the target page after the first target page in the display interface.
[0115] In one or more embodiments of this disclosure, the acquisition unit 71, in response to a material update operation triggered on the display interface, acquires the second page of the material list, specifically for:
[0116] In response to a material update operation triggered on the display interface, retrieve the second page of the previously loaded material list from local storage.
[0117] In one or more embodiments of this disclosure, the acquisition unit 71 is further configured to:
[0118] If the second page of the previously loaded media list is not found in local storage, retrieve the second page of the media list from the server.
[0119] In one or more embodiments of this disclosure, the acquisition unit 71 acquires the second page of the material list, specifically for:
[0120] Get the identifier of the last material in the first page;
[0121] Based on the identifier of the last material, at least one material is retrieved from the location of the last material as material in the second page.
[0122] In one or more embodiments of this disclosure, the material update operation includes at least one of the following: scrolling the page to the bottom of the dynamic flow of materials in the first page and jumping to the next page.
[0123] The material processing device provided in this embodiment has a similar technical solution and effect to those in the above embodiments, and will not be described again here.
[0124] To implement the above embodiments, this disclosure also provides an electronic device. Figure 8 is a schematic diagram of the structure of the electronic device provided in this disclosure. Referring to Figure 8, the electronic device can be a terminal device.
[0125] The terminal devices may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 8 is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0126] As shown in Figure 8, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 81, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 82 or a program loaded from a storage device 88 into a random access memory (RAM) 83. The RAM 83 also stores various programs and data required for the operation of the electronic device. The processing unit 81, ROM 82, and RAM 83 are interconnected via a bus 84. An input / output (I / O) interface 85 is also connected to the bus 84.
[0127] Typically, the following devices can be connected to I / O interface 85: input devices 86 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 87 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 88 including, for example, magnetic tapes, hard disks, etc.; and communication devices 89. Communication device 89 allows the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 shows an electronic device with various devices, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0128] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 89, or installed from a storage device 88, or installed from a ROM 82. When the computer program is executed by a processing device 81, it performs the functions defined in the methods of embodiments of this disclosure.
[0129] It should be noted that the computer-readable medium described in 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 this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In 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 can 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.
[0130] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0131] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
[0132] Computer program code for performing the operations 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).
[0133] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0134] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0135] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0136] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, 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 devices, magnetic storage devices, or any suitable combination of the foregoing.
[0137] In a first aspect, according to one or more embodiments of this disclosure, a material processing method is provided, comprising:
[0138] In response to a request to display the material list, the first page of the material list is obtained, wherein the first page contains display information of a first material, and the first material includes at least one material in the material list;
[0139] The first page is displayed in the display interface of the material list;
[0140] In response to a material update operation triggered on the display interface, the second page of the material list is obtained, wherein the second page contains display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials;
[0141] The first page and the second page are displayed in the display interface of the material list;
[0142] In response to a material selection operation triggered on the display interface, the target material corresponding to the material selection operation is imported into the editing draft, and the editing effect based on the target material is displayed.
[0143] In one or more embodiments of this disclosure, obtaining the first page of the material list in response to a display request of the material list includes:
[0144] In response to a request to display the media list, retrieve the first page of the media list from the server;
[0145] Alternatively, in response to a request to display the media list, the first page of the media list is retrieved from local storage, wherein the first page of the media list in local storage is retrieved from the server in advance when the client starts;
[0146] In one or more embodiments of this disclosure, the first page includes: a plurality of target pages;
[0147] Accordingly, displaying the first page in the display interface of the material list includes:
[0148] The first target page is displayed in the interface of the material list;
[0149] In response to the user's scrolling action on the page, the target page following the first target page is displayed in the display interface.
[0150] In one or more embodiments of this disclosure, obtaining a second page of the material list in response to a material update operation triggered on the display interface includes:
[0151] In response to a material update operation triggered on the display interface, the second page of the previously loaded material list is retrieved from local storage.
[0152] In one or more embodiments of this disclosure, the method further includes:
[0153] If the second page of the previously loaded material list is not found in local storage, retrieve the second page of the material list from the server.
[0154] In one or more embodiments of this disclosure, obtaining the second page of the material list includes:
[0155] Get the identifier of the last material in the first page;
[0156] Based on the identifier of the last material, at least one material is retrieved from the location of the last material as material in the second page.
[0157] In one or more embodiments of this disclosure, the material update operation includes at least one of the following: scrolling the page to the bottom of the dynamic flow of materials in the first page and jumping to the next page.
[0158] Secondly, according to one or more embodiments of this disclosure, a material processing apparatus is provided, comprising:
[0159] The acquisition unit is configured to acquire a first page of the material list in response to a display request of the material list, wherein the first page carries display information of a first material, and the first material includes at least one material in the material list;
[0160] The display unit is used to display the first page in the display interface of the material list;
[0161] The acquisition unit is further configured to, in response to a material update operation triggered on the display interface, acquire a second page of the material list, wherein the second page carries display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials;
[0162] The display unit is also used to display the first page and the second page in the display interface of the material list;
[0163] The display unit is also configured to respond to a material selection operation triggered on the display interface, import the target material corresponding to the material selection operation into the editing draft, and display the editing effect based on the target material.
[0164] In one or more embodiments of this disclosure, the acquisition unit, in response to a display request for the material list, acquires the first page of the material list, specifically for:
[0165] In response to a request to display the media list, retrieve the first page of the media list from the server;
[0166] Alternatively, in response to a request to display the media list, the first page of the media list is retrieved from local storage, wherein the first page of the media list in local storage is retrieved from the server in advance when the client starts;
[0167] In one or more embodiments of this disclosure, the first page includes: a plurality of target pages;
[0168] Accordingly, the display unit displays the first page in the display interface of the material list, specifically for:
[0169] The first target page is displayed in the interface of the material list;
[0170] In response to the user's scrolling action on the page, the target page following the first target page is displayed in the display interface.
[0171] In one or more embodiments of this disclosure, the acquisition unit, in response to a material update operation triggered on the display interface, acquires a second page of the material list, specifically for:
[0172] In response to a material update operation triggered on the display interface, the second page of the previously loaded material list is retrieved from local storage.
[0173] In one or more embodiments of this disclosure, the acquisition unit is further configured to:
[0174] If the second page of the previously loaded material list is not retrieved from local storage, the second page of the material list is retrieved from the server.
[0175] In one or more embodiments of this disclosure, the acquisition unit acquires the second page of the material list, specifically for:
[0176] Get the identifier of the last material in the first page;
[0177] Based on the identifier of the last material, at least one material is retrieved from the location of the last material as material in the second page.
[0178] In one or more embodiments of this disclosure, the material update operation includes at least one of the following: scrolling the page to the bottom of the dynamic flow of materials in the first page and jumping to the next page.
[0179] Thirdly, according to one or more embodiments of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory;
[0180] The memory stores computer-executed instructions;
[0181] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the material processing method as described in the first aspect and various possible designs of the first aspect.
[0182] Fourthly, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein computer-executable instructions are stored therein, and when a processor executes the computer-executable instructions, the material processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0183] Fifthly, according to one or more embodiments of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the material processing method described in the first aspect and various possible designs of the first aspect.
[0184] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0185] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0186] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for processing materials, comprising: In response to a request to display the material list, the first page of the material list is obtained, wherein the first page contains display information of a first material, and the first material includes at least one material in the material list; The first page is displayed in the display interface of the material list; In response to a material update operation triggered on the display interface, the second page of the material list is obtained, wherein the second page contains display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials; The first page and the second page are displayed in the display interface of the material list; In response to a material selection operation triggered on the display interface, the target material corresponding to the material selection operation is imported into the editing draft, and the editing effect based on the target material is displayed.
2. The method according to claim 1, wherein, The step of responding to a request to display the material list and obtaining the first page of the material list includes: In response to a request to display the media list, retrieve the first page of the media list from the server; Alternatively, in response to a request to display the media list, the first page of the media list is retrieved from local storage, wherein the first page of the media list in local storage is retrieved from the server in advance when the client starts.
3. The method according to claim 1 or 2, wherein, The first page includes: multiple target pages; Accordingly, displaying the first page in the display interface of the material list includes: The first target page is displayed in the interface of the material list; In response to the user's scrolling action on the page, the target page following the first target page is displayed in the display interface.
4. The method according to any one of claims 1-3, wherein, The step of retrieving the second page of the material list in response to a material update operation triggered on the display interface includes: In response to a material update operation triggered on the display interface, the second page of the previously loaded material list is retrieved from local storage.
5. The method according to claim 4, further comprising: If the second page of the previously loaded material list is not retrieved from local storage, the second page of the material list is retrieved from the server.
6. The method according to any one of claims 1-3, wherein, The process of obtaining the second page of the material list includes: Get the identifier of the last material in the first page; Based on the identifier of the last material, at least one material is retrieved from the location of the last material as material in the second page.
7. The method according to any one of claims 1-6, wherein, The material update operation includes at least one of the following: scrolling the page to the bottom of the dynamic flow of materials in the first page, or jumping to the next page.
8. A material processing device, comprising: The acquisition unit is configured to acquire a first page of the material list in response to a display request of the material list, wherein the first page carries display information of a first material, and the first material includes at least one material in the material list; The display unit is configured to display the first page in the display interface of the material list; The acquisition unit is further configured to acquire a second page of the material list in response to a material update operation triggered on the display interface, wherein the second page carries display information of a second material, the second material includes at least one material in the material list, and the first material and the second material are different materials; The display unit is further configured to display the first page and the second page in the display interface of the material list; The display unit is also configured to, in response to a material selection operation triggered on the display interface, import the target material corresponding to the material selection operation into the editing draft and display the editing effect based on the target material.
9. An electronic device, comprising: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the material processing method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions, wherein, When the processor executes the computer execution instructions, it implements the material processing method as described in any one of claims 1 to 7.
11. A computer program product comprising a computer program, wherein, When the computer program is executed by the processor, it implements the material processing method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method, system and device for processing to-be-edited object
CN112379805A
Material display method, device and equipment, computer readable storage medium and product
CN115033136A
Friendly finite scrolling for theme data pagination
US20190220182A1