Method, device, equipment and storage medium for processing list content items
The method simplifies list content item processing by using a preset data structure to record selections, allowing simultaneous processing and reducing the need for deselection, thereby enhancing user experience.
Patent Information
- Application Number
- CN202210797658.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-07-07
AI Technical Summary
Current methods for processing list content items require numerous selection and deselection operations, making the process cumbersome and complicated, leading to a poor user experience.
A method involving a target application interface with a content list area and operation option area, where content items are recorded in a preset data structure upon selection, allowing for simultaneous processing based on the data structure, reducing the need for deselection and simplifying operations.
This approach simplifies the operation process by enabling simultaneous processing of multiple content items, improving user experience by minimizing the number of selection and deselection steps.
Smart Images

Figure CN115129200B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for processing list content items. Background Art
[0002] For the content items in the list, in some operation scenarios, it is often necessary to perform single operations on each content item one by one, and multiple operations need to be performed on multiple content items at the same time. For this operation scenario, it is currently necessary to select a content item for operation, deselect the content item after the single operation is completed, and then select the next content item for single operation, and so on; when batch operation is required, because the previous content item has been deselected, it is necessary to select multiple content items again. It can be seen that the current operation method requires many selection operations, which makes the operation process very cumbersome and complicated, resulting in a poor user experience. Summary of the invention
[0003] The present application provides a method, apparatus, device and storage medium for processing list content items to solve the technical problem that the current operation process of list content items is cumbersome and complicated.
[0004] In order to solve the above technical problems, in a first aspect, the present application provides a method for processing list content items, comprising:
[0005] Displaying a target application interface, the target application interface includes a content list area and an operation option area, the content list area includes multiple content items, and the operation option area includes single item processing options;
[0006] In response to a first selection operation on a content item, recording a plurality of content items selected by the first selection operation based on a preset data structure;
[0007] In response to the second selection operation applied to the operation option area, the content items are individually processed according to a preset data structure.
[0008] The present application records the content items selected in the operation option area through a preset data structure, thereby providing feasibility for processing multiple selected content items at the same time; and according to the single processing option selected by the second selection operation, the content items recorded in the preset data structure are processed individually, reducing many operations such as deselection during the operation process, simplifying the operation steps, and improving the user experience.
[0009] In some implementations of the first aspect, the preset data structure stores attribute parameters of a plurality of content items, and in response to the second selection operation acting on the operation option area, performing single item processing on the content item according to the preset data structure includes:
[0010] In response to the second selection operation acting on the single item processing option, the content items corresponding to the attribute parameters in the preset data structure are sequentially processed according to the preset single item processing mode.
[0011] In this implementation, single-item processing is performed according to a preset single-item processing mode to cope with various operation scenarios and improve the applicability of this processing method.
[0012] In some implementations of the first aspect, according to a preset single-item processing mode, the content items corresponding to the attribute parameters in the preset data structure are sequentially processed individually, including:
[0013] In the target application interface, display the first operation container;
[0014] According to the arrangement order of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are processed individually, wherein the first operation container displays one content item at a time.
[0015] In this implementation, the content items are displayed in sequence through the first operation container, so that each selected content item can be processed individually in sequence, simplifying the operation steps.
[0016] In some implementations of the first aspect, the first operation container further includes a confirmation option.
[0017] According to the arrangement order of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are processed individually, including:
[0018] According to the arrangement order, the target content item is displayed in the first operation container, and the attribute parameters corresponding to the target content item in the preset data structure are removed to obtain the latest preset data structure, where the target content item is the content item corresponding to the attribute parameter that is the first or last in the arrangement order;
[0019] In response to a third selection operation acting on the confirmation option, a single item processing is performed on the target content item, and the first operation container is updated to display the new target content item in the first operation container, and the attribute parameter corresponding to the new target content item in the latest preset data structure is removed;
[0020] For each updated first operation container, in response to the third selection operation of the confirmation option acting on the first operation container, until the latest preset data structure is a null value, it is determined that the processing of the target content item is completed.
[0021] In this implementation, the confirmation option is used as a trigger event for processing the next target content item, so that multiple selected target content items can be processed in sequence; at the same time, the attribute parameters in the preset data structure are removed, and there is no need to deselect the target content item after processing, thereby simplifying the operation steps.
[0022] In some implementations of the first aspect, according to a preset single-item processing mode, the content items corresponding to the attribute parameters in the preset data structure are sequentially processed individually, including:
[0023] In the target application interface, display the second operation container;
[0024] Displaying all content items corresponding to the attribute parameters in the preset data structure in the second operation container;
[0025] In response to a fourth selection operation applied to a target content item in the second operation container, a single item processing is performed on the target content item.
[0026] In this implementation, by selecting the target content item in the second operation container, the target content item is processed in the processing order expected by the user, thereby improving the user experience.
[0027] In some implementations of the first aspect, according to a preset single-item processing mode, the content items corresponding to the attribute parameters in the preset data structure are sequentially processed individually, including:
[0028] In the target application interface, display the third operation container;
[0029] Displaying operation options of all target content items in the second operation container, where the target content items are content items corresponding to the attribute parameters in the preset data structure;
[0030] In response to the fifth selection operation acting on the operation option, the same single item processing is performed on the target content items in sequence.
[0031] In this implementation, for multiple content items with the same single item processing, only one fifth selection operation is required to implement the same processing of the multiple content items, thereby simplifying the operation steps.
[0032] In some implementations of the first aspect, the preset data structure is an ordered array, and in response to a first selection operation on a content item, recording multiple content items selected by the first selection operation based on the preset data structure includes:
[0033] In response to a first selection operation on a content item, obtaining attribute parameters of a plurality of content items selected by the first selection operation;
[0034] Store attribute parameters into an ordered array based on a preset sorting strategy.
[0035] In this implementation, attribute parameters are stored in an ordered array to record the selection order of content items, so that content items can be processed individually according to the selection order of content items, thereby improving user experience.
[0036] In some implementations of the first aspect, the processing method further includes:
[0037] In response to a hover operation on a single processing option, a target content item that is the first or last in the sorting order in the content list area is highlighted, and the target content item is a content item corresponding to the attribute parameter in the preset data structure;
[0038] In response to a hover operation on the batch processing option, multiple target content items in the content list area are highlighted.
[0039] In this implementation, highlighting enables the user to intuitively understand the content items currently being processed individually or in batches, thereby improving the user experience.
[0040] In some implementations of the first aspect, the processing method further includes:
[0041] According to the arrangement order of the attribute parameters in the preset data structure, the target content items in the content list area are rearranged, and the target content items are content items corresponding to the attribute parameters in the preset data structure.
[0042] In this implementation, the selected target content items are displayed preferentially through rearrangement, so that content items across pages can be displayed on the same page.
[0043] In some implementations of the first aspect, the operation option area further includes a batch processing option, and the method further includes:
[0044] In response to a sixth selection operation on the batch processing option, batch processing is performed on the multiple content items recorded in the preset data structure.
[0045] This implementation method can continue to perform batch processing according to a preset data structure after single-item processing, thereby reducing the operation of selecting content items again and further simplifying the operation steps.
[0046] In a second aspect, the present application further provides a device for processing list content items, including:
[0047] A display module, used to display the target application interface, the target application interface includes a content list area and an operation option area, the content list area includes multiple content items, and the operation option area includes a single item processing option;
[0048] An adding module, configured to respond to a first selection operation on a content item and record a plurality of content items selected by the first selection operation based on a preset data structure;
[0049] The processing module is used to respond to the second selection operation acting on the operation option area and perform single item processing on the content item according to a preset data structure.
[0050] In a third aspect, the present application further provides a terminal device, including a processor and a memory, the memory being used to store a computer program, and when the computer program is executed by the processor, the method for processing list content items as in the first aspect is implemented.
[0051] In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, which implements the method for processing list content items of the first aspect when the computer program is executed by a processor.
[0052] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to implement the steps of the above-mentioned methods.
[0053] It should be noted that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A flowchart of a method for processing list content items according to an embodiment of the present application is shown;
[0055] Figure 2 This is a flowchart of a method for processing list content items according to another embodiment of the present application;
[0056] Figure 3 A flowchart of a method for processing list content items according to another embodiment of the present application is shown;
[0057] Figure 4 A flowchart of a method for processing list content items according to another embodiment of the present application is shown.
[0058] Figure 5 A schematic diagram of a target application interface shown in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of the structure of a device for processing list content items according to an embodiment of the present application;
[0060] Figure 7 A schematic diagram of the structure of a computer device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0062] As documented in the relevant technology, the current operation method requires many selection operations, which makes the operation process very cumbersome and complicated, resulting in a poor user experience. For example, when reviewing a form, it is necessary to review forms A, B, C, and D and submit them together to process node E. The current operation process is: select form A, review form A, and then unselect form A; continue to select form B, review form B, and then unselect form B, and so on, until the review of form D is completed; finally, reselect forms A, B, and C, and submit forms A, B, C, and D together to process node E. It can be seen that the current operation method has many deselection operations and reselection operations, which makes the operation process very cumbersome and complicated.
[0063] To this end, the embodiment of the present application provides a method for processing list content items, by displaying a target application interface, the target application interface includes a content list area and an operation option area, the content list area includes multiple content items, and the operation option area includes a single item processing option and a batch processing option; in response to a first selection operation acting on the content item, the attribute parameters of the content item are added to a preset data structure, and the preset data structure stores the attribute parameters of multiple content items; in response to a second selection operation acting on the operation option area, the content items corresponding to the attribute parameters are processed individually or in batches according to the preset data structure. The preset data structure is used to record the selected content items, thereby reducing many operations such as canceling selections during the operation process and simplifying the operation steps; at the same time, the present application can continue to perform batch processing according to the preset data structure after single item processing, reducing the operation of selecting content items again, further simplifying the operation steps, and improving the user experience.
[0064] The embodiments of the present application can be applied to various scenarios where list content item processing is required, such as in an Enterprise Resource Planning (ERP) system. The ERP system referred to here includes but is not limited to a production and manufacturing management system, a supply chain system, a personnel system, a financial system, a tax system, and an audit system.
[0065] Please refer to Figure 1 , Figure 1The flowchart of a method for processing list content items provided in an embodiment of the present application is shown below. The method for processing list content items in an embodiment of the present application can be applied to computer terminal devices, including but not limited to smart phones, laptops, tablet computers, and desktop computers. Figure 1 As shown, the method for processing list content items in this embodiment includes steps S101 to S103, which are described in detail as follows:
[0066] Step S101 : displaying a target application interface, wherein the target application interface includes a content list area and an operation option area, wherein the content list area includes a plurality of content items, and the operation option area includes a single processing option.
[0067] In this step, the terminal device is provided with or externally connected to a display unit, which includes but is not limited to a display screen and a projector. The terminal device displays the target application interface on the display unit. The target application page can be an application page loaded based on a browser, or it can be an application interface of an independent application. The content list area is the display area for content items, and the content items are data items to be processed, such as the above-mentioned form. The operation option area is the display area for selecting a single processing option, and the single processing option is used to process a single content item.
[0068] For example, Figure 5 In the schematic diagram of the target application interface shown, "New", "Delete" and "Submit" are single processing options, and "Zhang San - Travel Expense Reimbursement", "Li Si - Travel Expense Reimbursement" and "Wang Wu - Travel Expense Reimbursement" are content items. It should be noted that there can be multiple single processing options in the operation option area.
[0069] Step S102 , in response to a first selection operation on the content item, adding the attribute parameters of the content item to a preset data structure, wherein the preset data structure stores a plurality of attribute parameters of the content item.
[0070] In this step, the first selection operation includes but is not limited to a single-click operation and a multi-click operation (such as a double-click operation and a triple-click operation). The preset data structure is a collection of recorded data elements, which may include but is not limited to an array, a stack, a queue, and a linked list, etc., depending on the software development scenario, wherein an array is a sequence with attribute parameters as data elements, which may be an unordered array or an ordered array. The attribute parameter is an attribute value representing a content item, such as a value.
[0071] Exemplarily, in one possible implementation, in response to the user clicking and selecting content items with a mouse, the terminal device stores the attribute parameters of the selected content items in an array in sequence, and the array arranges the attribute parameters in order according to the order of selection. In another possible implementation, in response to the user clicking and selecting content items with a mouse, the terminal device stores the attribute parameters of the selected content items in an array, and the array arranges the attribute parameters randomly.
[0072] Step S103, in response to a second selection operation on the operation option area, performing single item processing on the content item according to the preset data structure.
[0073] In this step, the second selection operation includes but is not limited to a single-click operation and a multi-click operation. Optionally, in response to the second selection operation acting on the single-item processing option, each content item recorded in the preset data structure is processed individually in turn.
[0074] In some embodiments, Figure 1 Based on the illustrated embodiment, the preset data structure is an ordered array, and the step S102 includes: in response to a first selection operation acting on the content item, obtaining attribute parameters of multiple content items selected by the first selection operation; based on a preset sorting strategy, storing the attribute parameters in the ordered array.
[0075] In this embodiment, the ordered array is an array whose elements are arranged in a certain order, which can be specifically an Array array. The preset arrangement strategy is a strategy for arranging attribute parameters in a certain order, which includes but is not limited to reverse order or sequential arrangement. Optionally, according to the order of selection time of the content items, the attribute parameters of the content items can be arranged in order in the ordered array in this order, that is, the attribute parameters of the content items selected first are arranged in front. The attribute parameters of the content items can also be arranged in reverse order in the ordered array in this order, that is, the attribute parameters of the content items selected first are arranged in the back.
[0076] As an example but not a limitation, when a user clicks to select a content item, in response to the first selection operation on the content item, the attribute acquisition function document.getElementById("A").value is called to obtain the value of the content item; the array storage function unshift is called to store the value into the Array array by adding an element to the beginning of the array. When another content item is clicked again to select it, the attribute parameters are stored in the same way, and finally there are Array.length content items in the Array array.
[0077] This embodiment uses an array with attribute parameters as data elements as a data structure for recording content items, so that only the attribute parameters of the content items need to be obtained, making the recording method of the content items simpler, so as to better enable fast single item processing for a large number of content items selected by the user at one time.
[0078] In some embodiments, Figure 1 Based on the illustrated embodiment, step S103 includes:
[0079] In response to a second selection operation acting on the single-item processing option, single-item processing is sequentially performed on the content items corresponding to the attribute parameters in the preset data structure according to a preset single-item processing mode.
[0080] In this embodiment, the preset single item processing mode includes a manual sequence operation mode, a manual selection operation object mode and an automatic sequence operation mode. The manual sequence operation mode is an operation mode in which different single item processing is performed on each content item displayed automatically, which can be applied to an operation scenario where there is no priority requirement for the processing order of the content items; the manual selection operation object mode is an operation mode in which different single item processing is performed on each content item manually selected for display, which can be applied to an operation scenario where there is a priority requirement for the processing order of the content items; the automatic sequence operation mode is an operation mode in which the same single item processing is performed on each content item displayed automatically, which can be applied to an operation scenario in which the same processing is performed on multiple content items.
[0081] Optionally, the preset single processing mode can be developed based on the operation scenario, and the preset single processing mode of the operation scenario can be used as the default mode of the application. Optionally, the preset single processing mode can also provide a mode change option so that the user can select the corresponding preset single processing mode to operate, thereby being able to cope with a variety of application scenarios.
[0082] It should be noted that the same single item processing in this embodiment means that the processing flow is the same, and each content item is processed separately in turn. Batch processing means that the processing flow is the same, and all content items are processed uniformly.
[0083] In some embodiments, if the preset single-item processing mode is a manual sequence operation mode, the single-item processing process includes:
[0084] In response to a second selection operation acting on the single-item processing, a first operation container is displayed in the target application interface; according to the arrangement order of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are processed individually, wherein the first operation container displays one content item at a time.
[0085] In this embodiment, the first operation container is used to display the content items recorded in the preset data structure and provide the user with operation options, so as to realize the single item processing of each target content item in turn according to the user operation. Optionally, in a possible implementation method, a content item is displayed in the first operation container, and when the content item is processed, the next content item is automatically displayed according to the arrangement order, until the content items corresponding to the attribute parameters recorded in the preset data structure are all processed. It can be understood that the operation container of the embodiment of the present application is a page container (such as a page pop-up window), which belongs to a page component, so as to expand the content displayed on the page.
[0086] Optionally, the first operation container also includes a confirmation option. According to the arrangement order, the target content item is displayed in the first operation container, and the attribute parameters corresponding to the target content item in the preset data structure are removed to obtain the latest preset data structure, and the target content item is the content item corresponding to the attribute parameter that is the frontmost or the backmost in the arrangement order; in response to the third selection operation acting on the confirmation option, the target content item is processed individually, and the first operation container is updated to display the new target content item in the first operation container, and the attribute parameters corresponding to the new target content item in the latest preset data structure are removed; for each updated first operation container, the third selection operation of the confirmation option acting on the first operation container is responded to until the latest preset data structure is an empty value, and it is determined that the processing of the target content item is completed.
[0087] In this optional embodiment, the third selection operation includes but is not limited to a single-click operation and a multi-click operation. The confirmation option is used to confirm the single-item processing of the current content item and display the next content item. Exemplarily, when the user clicks on the single-item processing option, a first operation container is added, the first target content item in the Array array is obtained and displayed in the first operation container, and the value corresponding to the target content item in the Array array is removed, and then a confirmation option named "Continue" is added. When the user clicks "Continue", the next target content item is displayed. When Array.length>0, it means that there are still unprocessed target content items, and the "Continue" confirmation option is displayed; when Array.length=0, it means that the target content items have been processed, and the "Continue" confirmation option is hidden.
[0088] Optionally, the first operation container further includes a sequence number i / s, where i represents the i-th target content item currently being processed, and s represents the total number of target content items in the Array array. When the "Continue" confirmation option is clicked, i is accumulated by 1, and the sequence number is updated: i / s.
[0089] In some embodiments, if the preset single-item processing mode is a manual selection of an operation object mode, the single-item processing process includes: in response to a second selection operation acting on the single-item processing option, displaying a second operation container in the target application interface; displaying all content items corresponding to the attribute parameters in the preset data structure in the second operation container; and in response to a fourth selection operation acting on a target content item in the second operation container, performing single-item processing on the target content item.
[0090] In this embodiment, the fourth selection operation includes but is not limited to a single-click operation and a multi-click operation. The second operation container is used to display all target content items for the user to select a target content item for priority processing. Exemplarily, multiple target content items are selected in the content list area. When the user clicks a single processing option, the second operation container is displayed in response to the second selection operation acting on the single processing option. The second operation container displays all target content items in a drop-down list. When the user clicks a target content item in the drop-down list, the fourth selection operation acting on the target content item is responded to so as to perform single processing on the target content item.
[0091] In some embodiments, if the preset single item processing mode is an automatic sequence operation mode, the single item processing process includes: in response to a second selection operation acting on the single item processing option, displaying a third operation container in the target application interface; displaying operation options for all target content items in the second operation container, wherein the target content items are content items corresponding to the attribute parameters in the preset data structure; in response to a fifth selection operation acting on the operation option, performing the same single item processing on the target content items in sequence.
[0092] In this embodiment, the fifth selection operation includes but is not limited to a single-click operation and a multi-click operation. The third operation container is used to display all target content items and operation options for all target content items. Exemplarily, for forms A, B, C, and D, the stakeholders need to be changed to the same stakeholders. The third operation container displays forms A, B, C, and D and the operation option of "Select Stakeholder". When the user selects "Zhang San" as the stakeholder, in response to the fifth selection operation acting on the operation option, the stakeholders of forms A, B, C, and D are changed to "Zhang San" in turn.
[0093] It should be noted that for the manual selection operation object mode and the automatic sequence operation mode. In some embodiments, after a content item is processed individually, the content item recorded in the preset data structure can be removed, or after all content items recorded in the preset data structure are processed individually, the records in the preset data structure can be removed uniformly; in other embodiments, after the content items are processed individually, the content items recorded in the preset data structure are retained to facilitate the continued batch processing of the content items that have been processed individually.
[0094] In some embodiments, Figure 1 Based on the embodiment shown, Figure 2 A flowchart of a method for processing list content items provided by another embodiment of the present application is shown. Figure 1 The same steps as those in the illustrated embodiment will not be described in detail here. Figure 2 As shown, the processing method also includes:
[0095] Step S201, in response to a hover operation on the single processing option, highlighting the target content item that is at the front or the back of the sorting order in the content list area, the target content item being the content item corresponding to the attribute parameter in the preset data structure;
[0096] Step S202 : In response to a hover operation on the batch processing option, multiple target content items in the content list area are highlighted.
[0097] In this embodiment, the hover operation is an operation of stopping the mouse at a target position, and the target position is the position of the single processing option or the batch processing option. In this embodiment, by highlighting the content item, the user can intuitively understand the object targeted by the single processing option or the batch processing option.
[0098] In some embodiments, Figure 1 Based on the embodiment shown, Figure 3 A flowchart of a method for processing list content items provided by another embodiment of the present application is shown. Figure 1 The same steps as those in the illustrated embodiment will not be described in detail here. Figure 3 As shown, the processing method also includes:
[0099] Step S301 : re-arranging target content items in the content list area according to the arrangement order of the attribute parameters in the preset data structure, wherein the target content items are content items corresponding to the attribute parameters in the preset data structure.
[0100] In this embodiment, since the content list in the content list area may have multiple list pages, the content items selected by the user are distributed on various list pages, and all the selected content items cannot be viewed on the same page. Therefore, this embodiment rearranges the target content items to arrange the target content items continuously, so that the selected multiple content items can be displayed on the same page.
[0101] Optionally, after the target content items are rearranged, the rearranged target content items are displayed starting from the first page in the multiple list pages.
[0102] In some embodiments, Figure 1 Based on the embodiment shown, Figure 4 A flowchart of a method for processing list content items provided by another embodiment of the present application is shown. Figure 1 The same steps as those in the illustrated embodiment will not be described in detail here. Figure 4 As shown, the processing method also includes:
[0103] Step S401, in response to a sixth selection operation acting on the batch processing option, batch processing is performed on a plurality of content items recorded in the preset data structure.
[0104] In this embodiment, the operation option area also includes a batch processing option for processing multiple content items. Figure 5 As shown, "Create", "Delete" and "Submit" can also be selected for batch processing, that is, they can be used as single processing options and / or batch processing options according to actual operation scenarios. For single processing options that are only used for single processing, when the user clicks the single processing option for batch processing, the user will be prompted that the current option is only effective for a single content item.
[0105] Optionally, after each content item has been processed individually, it can respond to the sixth selection operation on the batch processing option and continue to batch process the content items that have been processed individually according to a preset data structure to make single processing and batch processing compatible, thereby reducing the operation of selecting content items again and further simplifying the operation steps.
[0106] In order to execute the method for processing list content items corresponding to the above method embodiment, so as to achieve corresponding functions and technical effects. Figure 6 , Figure 6 The structural block diagram of a device for processing list content items provided by an embodiment of the present application is shown. For ease of description, only the parts related to the present embodiment are shown. The device for processing list content items provided by an embodiment of the present application includes:
[0107] A display module 601 is used to display a target application interface, wherein the target application interface includes a content list area and an operation option area, wherein the content list area includes multiple content items, and the operation option area includes a single processing option;
[0108] An adding module 602 is configured to respond to a first selection operation on the content item and record a plurality of content items selected by the first selection operation based on a preset data structure;
[0109] The processing module 603 is used to respond to the second selection operation acting on the operation option area and perform single item processing on the content item according to the preset data structure.
[0110] In some embodiments, the preset data structure stores a plurality of attribute parameters of the content items, and the processing module 603 includes:
[0111] The single item processing submodule is used to respond to the second selection operation acting on the single item processing option, and perform single item processing on the content items corresponding to the attribute parameters in the preset data structure in turn according to a preset single item processing mode.
[0112] In some embodiments, the single item processing submodule includes:
[0113] A first display unit, configured to display a first operation container in the target application interface in response to a second selection operation acting on the single processing;
[0114] The first processing unit is used to display the content items in the first operation container in sequence according to the arrangement order of the attribute parameters in the preset data structure, and perform single item processing on the content items, wherein the first operation container displays one content item at a time.
[0115] In some embodiments, the first operation container further includes a confirmation option, and the first processing unit includes:
[0116] a processing subunit, configured to display a target content item in the first operation container according to the arrangement order, and remove the attribute parameters corresponding to the target content item in the preset data structure to obtain a latest preset data structure, wherein the target content item is a content item corresponding to the attribute parameter that is at the front or the back of the arrangement order;
[0117] an updating subunit, configured to, in response to a third selection operation acting on the confirmation option, perform single item processing on the target content item, and update the first operation container to display a new target content item in the first operation container, and remove attribute parameters corresponding to the new target content item in the latest preset data structure;
[0118] The determination subunit is used to respond to the third selection operation of the confirmation option on the first operation container for each updated first operation container until the latest preset data structure is a null value, and then determine that the processing of the target content item is completed.
[0119] In some embodiments, the single item processing submodule includes:
[0120] A second display unit, configured to display a second operation container in the target application interface in response to a second selection operation acting on the single processing option;
[0121] A third display unit, configured to display, in the second operation container, all content items corresponding to the attribute parameters in the preset data structure;
[0122] The second processing unit is configured to respond to a fourth selection operation on a target content item in the second operation container and perform single item processing on the target content item.
[0123] In some embodiments, the single item processing submodule includes:
[0124] A fourth display unit, configured to display a third operation container in the target application interface in response to a second selection operation acting on the single processing option;
[0125] a fifth display unit, configured to display operation options of all target content items in the second operation container, wherein the target content items are content items corresponding to the attribute parameters in the preset data structure;
[0126] The third processing unit is used to respond to the fifth selection operation acting on the operation option and perform the same single item processing on the target content item in sequence.
[0127] In some embodiments, the preset data structure is an ordered array, and the adding module 602 includes:
[0128] an acquisition submodule, configured to respond to a first selection operation on the content item and acquire attribute parameters of a plurality of content items selected by the first selection operation;
[0129] The storage submodule is used to store the attribute parameters into the ordered array based on a preset sorting strategy.
[0130] In some embodiments, the processing device further comprises:
[0131] A second display module is used to respond to a hover operation on the single processing option and highlight the target content item that is the first or last in the sorting order in the content list area, wherein the target content item is a content item corresponding to the attribute parameter in the preset data structure;
[0132] The third display module is used to respond to the hover operation on the batch processing option and highlight the multiple target content items in the content list area.
[0133] In some embodiments, the processing device further comprises:
[0134] The rearrangement module is used to rearrange the target content items in the content list area according to the arrangement order of the attribute parameters in the preset data structure, wherein the target content items are content items corresponding to the attribute parameters in the preset data structure.
[0135] In some embodiments, the operation option area further includes a batch processing option, and the device further includes:
[0136] The batch processing module is used to respond to a sixth selection operation acting on the batch processing option and perform batch processing on the multiple content items recorded in the preset data structure.
[0137] The above-mentioned list content item processing device can implement the list content item processing method of the above-mentioned method embodiment. The optional items in the above-mentioned method embodiment are also applicable to this embodiment and will not be described in detail here. The rest of the contents of the embodiment of this application can refer to the contents of the above-mentioned method embodiment, and will not be repeated in this embodiment.
[0138] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 7 As shown, the terminal device 7 of this embodiment includes: at least one processor 70 ( Figure 7 Only one is shown in the figure) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, and when the processor 70 executes the computer program 72, the steps in any of the above method embodiments are implemented.
[0139] The terminal device 7 may be a computing device such as a smart phone, a tablet computer, or a desktop computer. The terminal device may include but is not limited to a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0140] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0141] In some embodiments, the memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or memory of the terminal device 7. In other embodiments, the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 71 may also be used to temporarily store data that has been output or is to be output.
[0142] In addition, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0143] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device implements the steps in the above-mentioned method embodiments when executing the computer program product.
[0144] In several embodiments provided in the present application, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
[0145] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for enabling a terminal device to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0146] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A method for processing list content items, characterized in that: include: Displaying a target application interface, the target application interface including a content list area and an operation option area, the content list area including a plurality of content items, and the operation option area including a single item processing option; In response to a first selection operation on the content item, recording a plurality of content items selected by the first selection operation based on a preset data structure; In response to a second selection operation applied to the operation option area, performing single item processing on the content item according to the preset data structure; The preset data structure stores a plurality of attribute parameters of the content items, and the response to the second selection operation acting on the operation option area performs single item processing on the content items according to the preset data structure, including: In response to a second selection operation acting on the single-item processing option, performing single-item processing on the content items corresponding to the attribute parameters in the preset data structure in sequence according to a preset single-item processing mode; The operation option area also includes a batch processing option, and the method further includes: In response to a sixth selection operation acting on the batch processing option, batch processing is performed on the plurality of content items recorded in the preset data structure; The step of sequentially processing the content items corresponding to the attribute parameters in the preset data structure according to the preset single-item processing mode includes: In the target application interface, displaying a first operation container; According to the arrangement order of the attribute parameters in the preset data structure, the content items are displayed in the first operation container in sequence, and the content items are processed individually, wherein the first operation container displays one content item at a time.
2. The method for processing list content items according to claim 1, characterized in that: The first operation container further includes a confirmation option, wherein the content items are displayed in the first operation container in sequence according to the arrangement order of the attribute parameters in the preset data structure, and the content items are processed individually, including: According to the arrangement order, the target content item is displayed in the first operation container, and the attribute parameter corresponding to the target content item in the preset data structure is removed to obtain the latest preset data structure, wherein the target content item is the content item corresponding to the attribute parameter that is the first or last in the arrangement order; In response to a third selection operation acting on the confirmation option, the target content item is processed individually, and the first operation container is updated to display a new target content item in the first operation container, and attribute parameters corresponding to the new target content item in the latest preset data structure are removed; For each updated first operation container, in response to a third selection operation of a confirmation option on the first operation container, until the latest preset data structure is a null value, it is determined that the processing of the target content item is completed.
3. The method for processing list content items according to claim 1, characterized in that: The step of sequentially processing the content items corresponding to the attribute parameters in the preset data structure according to the preset single-item processing mode includes: In the target application interface, displaying a second operation container; Displaying all content items corresponding to the attribute parameters in the preset data structure in the second operation container; In response to a fourth selection operation applied to a target content item in the second operation container, single item processing is performed on the target content item.
4. The method for processing list content items according to claim 3, characterized in that: The step of sequentially processing the content items corresponding to the attribute parameters in the preset data structure according to the preset single-item processing mode includes: In the target application interface, displaying a third operation container; Displaying operation options of all target content items in the second operation container, where the target content items are content items corresponding to the attribute parameters in the preset data structure; In response to a fifth selection operation applied to the operation option, the target content items are sequentially subjected to the same single-item processing.
5. The method for processing list content items according to any one of claims 1 to 4, characterized in that: The preset data structure is an ordered array, and the response to the first selection operation on the content item records the plurality of content items selected by the first selection operation based on the preset data structure, including: In response to a first selection operation on the content item, obtaining attribute parameters of a plurality of content items selected by the first selection operation; Based on a preset sorting strategy, the attribute parameters are stored in the ordered array.
6. The method for processing list content items according to any one of claims 1 to 4, characterized in that: The processing method also includes: In response to a hover operation on the single processing option, a target content item that is at the front or the back of the sorting order in the content list area is highlighted, and the target content item is a content item corresponding to the attribute parameter in the preset data structure.
7. The method for processing list content items according to any one of claims 1 to 4, characterized in that: The processing method also includes: According to the arrangement order of the attribute parameters in the preset data structure, the target content items in the content list area are rearranged, the target content items being content items corresponding to the attribute parameters in the preset data structure.
8. A device for processing list content items, characterized in that: include: A display module, used to display a target application interface, wherein the target application interface includes a content list area and an operation option area, wherein the content list area includes a plurality of content items, and the operation option area includes a single processing option; an adding module, configured to respond to a first selection operation on the content item and record a plurality of content items selected by the first selection operation based on a preset data structure; A processing module, configured to respond to a second selection operation on the operation option area and perform single item processing on the content item according to the preset data structure; A first display unit, configured to display a first operation container in the target application interface in response to a second selection operation acting on the single processing; A first processing unit, configured to display the content items in the first operation container in sequence according to the arrangement order of the attribute parameters in the preset data structure, and perform single-item processing on the content items, wherein the first operation container displays one content item at a time; The preset data structure stores the attribute parameters of the plurality of content items, and the response to the second selection operation acting on the operation option area performs single item processing on the content item according to the preset data structure, including: In response to a second selection operation acting on the single-item processing option, performing single-item processing on the content items corresponding to the attribute parameters in the preset data structure in sequence according to a preset single-item processing mode; The operation option area also includes a batch processing option, and the device also includes: The batch processing module is used to respond to a sixth selection operation acting on the batch processing option and perform batch processing on the multiple content items recorded in the preset data structure.
9. A terminal device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the method for processing list content items according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the method for processing list content items as claimed in any one of claims 1 to 7.
