Content processing method and device and storage medium
By reintegrating hierarchical data and using the display row components to display content items in the content group, the problem that traditional tree structures are difficult to clearly display low-level content items is solved, and the clear display and efficient display of hierarchical data are achieved.
Patent Information
- Application Number
- CN202411960779.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
Traditional tree structures are difficult to clearly display low-level content items in hierarchical data, and are limited by the display screen size, resulting in low-level content items being submerged in complex hierarchical relationships.
By reintegrating the hierarchical data, a content group is formed for each first target content item and the second target content item it belongs to, and a display line is created using the display line component, the content items in the content group are added to the display line, and the display result file is generated for the terminal to display.
It realizes clear display of hierarchical data, and low-level content items can be displayed intuitively in the display row, avoiding being submerged in complex hierarchical relationships, and improving the efficiency and user experience of content display.
Smart Images

Figure CN119884444A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer and Internet technology, and in particular to a content processing method, device and storage medium. Background Art
[0002] Hierarchical data is a data type that contains multiple content items with a hierarchical relationship between the multiple content items. These content items have a bottom-up or top-down hierarchical structure.
[0003] At present, for hierarchical data with a hierarchical structure, the traditional tree structure is usually used to organize, manage and display these hierarchical data. The traditional tree structure displays the content items on each level in the form of "tree bifurcation". Specifically, each level includes one or more content items, and each content item is displayed at its level. However, as the hierarchical relationship deepens, it is limited by the size of the display screen and can only be displayed as follows. Figure 1 The shown image gives priority to displaying the hierarchical structure between content items and higher-level content items, while lower-level content items cannot be clearly displayed. Summary of the invention
[0004] Multiple aspects of the present application provide a content processing method, device and storage medium for clearly displaying hierarchical data.
[0005] In a first aspect, an embodiment of the present application provides a content processing method, applicable to a server, comprising:
[0006] Acquire hierarchical data organized and managed in a tree structure, wherein the hierarchical data includes at least one first content item and at least one second content item subordinate to each first content item;
[0007] Determine at least a portion of the at least one first content item as a first target content item, and determine at least a portion of the at least one second content item subordinate to the first target content item as a second target content item;
[0008] For each first target content item, organizing the first target content item and second target content items subordinate to the first target content item into a content group corresponding to the first target content item;
[0009] Using the display row component, create a display row for each content group, and add the first target content item and the second target content item in each content group to the display row corresponding to each content group;
[0010] Based on the display rows corresponding to each content group, a display result file is generated, so that after the terminal obtains the display result file, the terminal displays the first target content item in the corresponding content group and the second target content item subordinate to the first target content item in the corresponding display row based on the display result file.
[0011] In a second aspect, an embodiment of the present application further provides a content processing method, applicable to a terminal, comprising:
[0012] Sending a display request to the server, wherein the display request points to the display result file;
[0013] receiving the display result file returned by the server, wherein the display result file includes at least one display row, and each display row includes a first target content item and a second target content item subordinate to the first target content item;
[0014] Based on the presentation result file, the corresponding first target content item and the second target content item subordinate to the first target content item are presented in each presentation row.
[0015] In a third aspect, an embodiment of the present application further provides a content processing device, the content processing device comprising a data acquisition module, a content selection module, a result generation module and a content interaction module;
[0016] The data acquisition module is used to acquire hierarchical data organized and managed in a tree structure, wherein the hierarchical data includes at least one first content item and at least one second content item subordinate to each first content item;
[0017] The content selection module is configured to determine at least part of the at least one first content item as a first target content item, and to determine at least part of the at least one second content item subordinate to the first target content item as a second target content item;
[0018] The result generation module is used to organize, for each first target content item, the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item; create a display row for each content group using a display row component, and add the first target content item and the second target content item in each content group to the display row corresponding to each content group; and generate a display result file based on the display row corresponding to each content group;
[0019] The content interaction module is used to send the display result file to the terminal, so that after the terminal obtains the display result file, the terminal displays the first target content item in the corresponding content group and the second target content item subordinate to the first target content item in the corresponding display row based on the display result file.
[0020] In a fourth aspect, an embodiment of the present application further provides a computing device, including a memory, a processor, and a communication component;
[0021] The memory is used to store one or more computer instructions;
[0022] The processor is coupled to the memory and the communication component, and is configured to execute the one or more computer instructions to execute the aforementioned content processing method.
[0023] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, causes the one or more processors to execute the aforementioned content processing method.
[0024] In the embodiment of the present application, hierarchical data organized and managed in a tree structure are reorganized, and for each first target content item in the hierarchical data, the first target content item and the second target content item subordinate to the first target content item are used to form a content group corresponding to the first target content item. A display row component is used to create display rows for each content group, and the first target content item and the second target content item in each content group are added to the display rows corresponding to each content group. Based on the display rows corresponding to each content group, a display result file can be generated, so that the terminal can display the first target content item and the second target content item subordinate to the first target content item in each display row based on the display result file. Accordingly, the hierarchical data is reorganized into a display result file displayed by row, so that the low-level content items can be intuitively displayed in the display row based on the display result file. Through this flatter display method, the second target content item will no longer be submerged in the complex hierarchical relationship, and the hierarchical data can be displayed more clearly. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0026] Figure 1 This is a tree-like display diagram of traditional hierarchical data;
[0027] Figure 2 A flowchart of a content processing method provided for an exemplary embodiment of the present application;
[0028] Figure 3 A tree-like display diagram of a display result file provided by an exemplary embodiment of the present application;
[0029] Figure 4aA schematic diagram of a content item configuration interface provided by an exemplary embodiment of the present application;
[0030] Figure 4b A schematic diagram of a content item input interface provided by an exemplary embodiment of the present application;
[0031] Figure 5 A content item display effect diagram provided by another exemplary embodiment of the present application;
[0032] Figure 6 A flowchart of a content processing method provided for another exemplary embodiment of the present application;
[0033] Figure 7 A structural schematic diagram of a content processing device provided for another exemplary embodiment of the present application;
[0034] Figure 8 A schematic diagram of the structure of a computing device is provided for yet another exemplary embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. 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 making creative work are within the scope of protection of the present application.
[0036] At present, traditional hierarchical data displays content items in the form of tree-like bifurcations. As the hierarchical relationship deepens, due to the limitation of the size of the display screen, only the hierarchical structure between content items and higher-level content items can be displayed first, while low-level content items cannot be clearly displayed.
[0037] To improve this problem, an embodiment of the present application provides a solution, the basic idea of which is to reintegrate the hierarchical data into a display result file displayed in rows, so that based on the display result file, the low-level content items can be intuitively displayed in the display rows. Through this flatter display method, the second target content item will no longer be submerged in the complex hierarchical relationship, and the hierarchical data can be displayed more clearly.
[0038] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0039] Figure 2 The following is a flow chart of a content processing method provided by an exemplary embodiment of the present application. Figure 2 As shown, the method is applicable to the server, and the method includes:
[0040] Step 200, obtaining hierarchical data organized and managed in a tree structure, the hierarchical data including at least one first content item and at least one second content item subordinate to each first content item;
[0041] Step 201, determining at least part of at least one first content item as a first target content item, and determining at least part of at least one second content item subordinate to the first target content item as a second target content item;
[0042] Step 202: for each first target content item, organize the first target content item and the second target content items subordinate to the first target content item into a content group corresponding to the first target content item;
[0043] Step 203, using the display row component, creating display rows for each content group respectively, and adding the first target content item and the second target content item in each content group to the display rows corresponding to each content group;
[0044] Step 204: Generate a display result file based on the display rows corresponding to each content group, so that after the terminal obtains the display result file, it displays the first target content item and the second target content item subordinate to the first target content item in the corresponding content group in each display row based on the display result file.
[0045] The content processing method provided in the embodiment of the present application can be applied to various scenarios where hierarchical data needs to be displayed. For example, the display effect of the display result file can be previewed on the server side, and the display result file generated by the server side can also be displayed on the terminal, and the terminal can be an electronic device such as a smart phone, a laptop, a tablet computer or a smart TV. Among them, the display result file can be used to display the personal information of multiple different types of users, and can also be used to display the hierarchical architecture relationship within the enterprise, and can also be used to display multi-level configuration function options. Of course, these are only exemplary, and the present embodiment is not limited to this.
[0046] In this embodiment, a content processing component may be deployed in the server as the execution subject of this embodiment, wherein the content processing component may be understood as a computer program product capable of executing the method logic in this embodiment.
[0047] In step 200, hierarchical data organized and managed in a tree structure may be obtained, wherein the hierarchical data includes at least one first content item and at least one second content item subordinate to each first content item. A content item may be understood as a data item containing characters, numbers and / or text, for example, a content item may be "001", "user management", etc. Figure 1, the first content item may be a parent node in the hierarchical data, and the second content item is a child node belonging to the parent node.
[0048] In step 201, at least a portion of at least one first content item may be determined as a first target content item, and at least a portion of at least one second content item subordinate to the first target content item may be determined as a second target content item. It is understood that in this embodiment, all content items in the hierarchical data may be reintegrated, or only some content items in the hierarchical data may be reintegrated.
[0049] In step 202 , for each first target content item, the first target content item and second target content items subordinate to the first target content item may be organized into a content group corresponding to the first target content item.
[0050] Optionally, in an exemplary implementation of constructing a content group, the same group tag may be configured for a first target content item and a second target content item subordinate to the first target content item, and different group tags may be configured for different first target content items; and based on the group tag, the first target content item and the second target content item with the same group tag may be divided into the same content group. In other words, the determined first target content item and the second target content item may be classified by means of group tags. The interrelated high-level data and low-level data are divided into the same content group, so as to facilitate the flat display of the hierarchical data according to the content group, especially when the number of levels is large, the hierarchical data of multiple levels can be clearly displayed.
[0051] Of course, the present embodiment is not limited to dividing the content items by using group labels, and other methods such as determining and summarizing the types of content items one by one, or screening according to the types of content items may also be used to construct content groups.
[0052] Continue to refer Figure 2 In step 203, a display row component can be used to create a display row for each content group, and the first target content item and the second target content item in each content group are added to the display row corresponding to each content group. The display row can be used to carry the content items included in the corresponding content group. The display row component is a simple encapsulation of the display method, and the content items can be displayed in a horizontal manner through the internally encapsulated display method. The process of creating a display row for a content group can be simply understood as encapsulating the first target content item and the second target content item in the content group into the corresponding display row.
[0053] An example display line might be:
[0054] {title: 'Data Management',
[0055] children: [{title: 'Database Management'}, {title: 'Form Management'}]}.
[0056] Among them, "title: 'Data Management'" represents the first target content item, and "[{title: 'Database Management'}, {title: 'Form Management'}]" represents the two second target content items. "title" represents a content item, and the text corresponding to the title represents the data content of the content item. "Children" indicates that the subordinate relationship between the first target content item and the second target content item in this example is a parent-child relationship. Of course, the subordinate relationship is not limited to the parent-child relationship, but can also be a grandfather-grandson relationship or other association relationships with superordinate and subordinate concepts.
[0057] In step 204, a display result file may be generated based on the display rows corresponding to each content group, so that after the terminal obtains the display result file, it can display the first target content item and the second target content item belonging to the first target content item in the corresponding content group in each display row based on the display result file.
[0058] The display result file includes at least one display row corresponding to each content group, and each display row includes a first target content item and a second target content item subordinate to the first target content item.
[0059] An exemplary display result file may be:
[0060] [{title: 'Data Management', children: [{title: 'Database Management'}, {title: 'Form Management'}]},
[0061] {title: 'Member Management', children: [{title: 'User Management'}, {title: 'Role Management'}]}].
[0062] The above exemplary display result file contains two display rows. Taking the first display row as an example, the first target content item is "data management", and the second target content item is "database management" and "form management". "Database management" and "form management" belong to "data management".
[0063] When displaying content based on the display result file, different first target content items can be displayed in different display rows according to the display rows contained in the display result file, so as to clearly represent the hierarchical structure in the hierarchical data; and, based on the affiliation between the first target content item and the second target content item, the first target content item and the second target content item with a subordinate relationship are displayed in the same display row, so as to avoid the low-level data being submerged in the high-level data due to too many levels, thereby achieving a clear display of high-level data and low-level data.
[0064] Figure 3 A tree-like display diagram of a display result file provided by an exemplary embodiment of the present application. To facilitate the display difference between the display result file in this embodiment and the display of traditional hierarchical data, refer to Figure 3 Here, the content items in the display result file are displayed in the form of a tree structure, so that the first target content item and the second target content item subordinate to the first target content item are displayed in the same display row.
[0065] Accordingly, in the embodiment of the present application, hierarchical data is displayed in the form of display rows, and content items of multiple levels can be displayed in the same display row, which can be understood as displaying part or all of the content in a branch of traditional tree-like bifurcated structure data in a single display row. Flattening the content items in the hierarchical data in the form of display rows can display the hierarchical structure between the content items in the hierarchical data more intuitively and clearly.
[0066] Furthermore, in this embodiment, the function of generating a display result file based on a content item can be encapsulated as a functional module in the aforementioned components. When the developer needs to highlight the content item later, he only needs to configure the first target content item and the second target content item to automatically generate the corresponding display result file, and provide the display result file to the terminal for display. The developer does not need to repeatedly perform the operation of constructing the display line, which reduces the developer's workload and can effectively improve the efficiency of content display.
[0067] In the above or below embodiments, various implementations may be used to determine the first target content item and the second target content item subordinate to the first target content item.
[0068] In an optional implementation manner, the first target content item and the second target content item subordinate to the first target content item may be determined based on an existing tree structure. Figure 4aThis is a schematic diagram of a content item configuration interface provided by an exemplary embodiment of the present application. The content item configuration interface is an interactive interface provided by the server to the developer. The server can provide an access interface to the developer, and in response to the developer's access to the access interface, display the content item configuration interface to the developer. The access interface can be in other forms such as a page link, a shortcut or a QR code, which is not limited in this embodiment.
[0069] like Figure 4a As shown, the server can display a content item configuration interface to the developer, and the content item configuration interface displays hierarchical data organized and managed in a tree structure. In response to the first content item selection operation occurring on the content item configuration interface for the hierarchical data displayed in a tree structure, the selected first content item can be determined as the first target content item. The number of the first target content items can be one or more, and the first target content item is any one of the first content items contained in the hierarchical data. In this implementation, the content item selection operation occurring on the content configuration interface can be a click operation directly on the tree structure, or can be an input of the identifier of the first content item to be selected on the content configuration interface, which is not limited in this embodiment. In the case where the developer's click behavior is used as the content item selection operation, the first content item clicked by the developer can be used as the first target content item; in the case where the developer's input behavior is used as the content item selection operation, the first content item indexed according to the identifier can be used as the first target content item.
[0070] After determining the first target content item, at least one second target content item belonging to the first target content item can be determined according to the tree structure. In response to the second content item selection operation initiated for at least one second content item on the content item configuration interface, the selected second content item is determined as the second target content item. In addition, the determined first target content item, the second target content item, and the affiliation between the first target content item and the second target content item can be displayed in the "selected content item display area" in the content item configuration interface. In this embodiment, all the child nodes of the first target content item can be directly searched from the tree structure as the second target content item, or some child nodes can be selected from the child nodes of the first target content item as the second target content item, or the grandchild node of the grandchild node, the child node of the grandchild node, or the node at a lower level can also be used as the second target content item. That is, the affiliation between the first target content item and the second target content item can be a parent-child relationship, or a grandfather-grandchild relationship or other affiliations. The selection of the second target content item can be flexibly selected according to the actual display requirements, and this embodiment does not limit the hierarchical distance between the two parties.
[0071] Accordingly, based on the existence of a tree structure, the first target content items and the second target content items belonging to each first target content item can be directly extracted from the tree structure, and the original tree structure can be directly converted into a display structure with a display row style. Developers only need to select the first target content items and the second target content items to achieve automatic conversion of the display effect, which greatly improves the configuration efficiency of the content items.
[0072] In another optional implementation, the first target content item and the second target content item subordinate to the first target content item may be determined in response to manual input by a developer. Figure 4b It is a schematic diagram of a content item input interface provided by an exemplary embodiment of the present application. The content item input interface is also an interactive interface provided by the server to developers. Developers can access the content item input interface through the access interface provided by the server.
[0073] like Figure 4b As shown, a content item input interface can be displayed to developers. In response to an input box creation operation, a first-category input box and at least one second-category input box subordinate to the first-category input box can be created in the content item input interface. The input boxes on the content item input interface are created by users as needed, and the number of first-category input boxes and second-category input boxes can be flexibly set according to actual needs. Of course, a sufficient number of input boxes can also be created in advance, and users can select some of the input boxes as needed.
[0074] In this optional implementation, in response to a content item input operation occurring on the content item configuration interface, the content item input in the first type input box may be determined as the first target content item, and the second content item input in the second type input box belonging to the first type input box may be determined as the second target content item. Furthermore, the determined first target content item, the second target content item, and the subordinate relationship between the first target content item and the second target content item may be displayed in the "selected content item display area" in the content item input interface.
[0075] The affiliation between the first type of input box and the second type of input box may exist when they are created, such as Figure 4b As shown, the developer can directly select appropriate input positions for the first target content item and the second target content item respectively based on the association relationship between the input boxes. Of course, the developer can also manually establish the subordinate relationship between the first type of input box and the second type of input box. For example, the developer can first create a first type of input box and a second type of input box that are independent of each other, and after inputting the first target content item and the second target content item in the first type of input box and the second type of input box respectively, perform a connection operation between the first type of input box and the second type of input box to establish the subordinate relationship between the first input box and the second input box.
[0076] As mentioned above, the first target content item and the second target content item are determined from the hierarchical data organized and managed in a tree structure. Therefore, the developer can perform input box creation operations and content item input operations on the content item input interface based on the hierarchical data. However, the developer does not have to input the content items completely according to the tree structure in the hierarchical data. Instead, the developer can get rid of the limitation of the existing tree structure in the hierarchical data and flexibly configure the first target content item and the second target content item subordinate to the first target content item, so that the subordinate relationship between the content items is more in line with actual needs, thereby further ensuring the accuracy of the content item configuration.
[0077] Of course, this embodiment is not limited to the above two implementation methods, and other methods may be used to determine the first target content item and the second target content item subordinate to the first target content item, which is not limited in this embodiment.
[0078] In the above or below embodiments, the display row component can also be used to generate display configuration parameters for each display row. The display configuration parameters can be used to describe the display requirements of content items, check boxes, display rows, etc. The display configuration parameters include but are not limited to the display order between content items, the row height of the display row, the number of display positions, the fill background color of the display row, the check box state, the display position corresponding to the check box, and the font, font size and font color of the content item and other parameter information.
[0079] Among them, the display order between the content items included in the display configuration parameters can be flexibly configured. In the present embodiment, an implementation method for exemplarily configuring the display order between content items is provided. In this implementation method, the display row component can be used to allocate the end display position in the display row corresponding to each content group to the first target content item in the corresponding content group. The priority order between the second target content items in the content group is determined, and the remaining display positions in the display row are allocated to the second target content items in the content group in turn according to the priority order to generate the display order between the content items in the display row. The determination of the display order can provide a display basis for the display of subsequent content items, making the subsequent display more accurate. In addition, by accurately laying out the display positions of the content items through the display order, the probability of display confusion during the display process can also be reduced, thereby improving the fluency of content display.
[0080] The end display position can be the first display or the last display. Setting a priority for the second target content item can reflect the degree of adaptability between the second target content item and the display requirement through the priority corresponding to the second target content item. The higher the priority, the higher the degree of adaptability between the second target content item and the display requirement. Further limiting the display positions between multiple second target content items through priority can achieve priority display of second target content items that better meet the display requirements, so that users can more intuitively perceive the content items they are interested in.
[0081] Specifically, in the process of allocating display positions for the second target content item according to the priority order, it can be in the order from high to low, or in the order from low to high. In the case where the first position in the display row is used as the display position of the first target content item, the second display position of the display row can be allocated to the second target content item, or the second to Nth display positions can be kept idle, and the second target content item can be allocated from the N+1th display position of the display row to make a more obvious distinction between the first target content item and the second target content item. Similarly, in the case where the last position in the display row is used as the display position of the first target content item, the number of idle display positions between the last second target content item and the first target content item can also be appropriately increased, so as to better distinguish the first target content item from the second target content item. The specific implementation method can refer to the description of the first display of the first target content item, which will not be repeated here. By configuring a suitable number of idle display positions between the first target content item and the second target content item, a more intuitive content impact can be visually brought to the user, so that the user can more intuitively understand the hierarchical structure between the content items.
[0082] Optionally, the display row component can also be used to create check boxes associated with the second target content items for the second target content items in each display row, add the check boxes associated with the second target content items to the display row to which the second target content items belong, and add the display positions corresponding to the check boxes associated with each second target content item to the display configuration parameters corresponding to the corresponding display row. It can be understood that the display row also carries the check boxes associated with each second target content item, so the display configuration parameters corresponding to the display row can also include the display positions corresponding to the check boxes associated with each second target content item. Usually, the initial state of the check boxes configured for each second target content item is unchecked, and the display position of the check box in the display row is adjacent to the second target content item corresponding to it, and can be in front of the second target content item or behind the second target content item. The spacing between the display position of the second target content item and the display position of the check box associated with it can be as small as possible to clearly indicate the association between the two to the terminal user.
[0083] Figure 5 A content item display effect diagram is provided for another exemplary embodiment of the present application. Figure 5 As shown, it is a content display effect related to role permission configuration. Different permission types are displayed in different display rows, which makes it easier for users to understand the specific permissions included in each permission type more intuitively. Each second target content item is associated with its own corresponding check box in the display row. Users can configure different permissions for different roles by selecting the check box in front of the second target content item and save the configuration results.
[0084] In this embodiment, by configuring respective check boxes for each second target content item, the terminal user can be provided with the ability to select the desired second target content item. This can support the terminal user to select some of the displayed second target content items for further highlighting by modifying the selected state of the check boxes associated with the second target content items. It can also support the user to perform corresponding configuration operations through the check boxes and save the configured data results.
[0085] In this embodiment, the server may also receive a data saving request initiated by the terminal, which is triggered by the terminal in response to a selection operation initiated by the user on the check box after the terminal displays the content based on the display result file. In response to the data saving request, the check box data carried in the data saving request may be saved. The selected state of the check box includes two types: "selected" and "unselected". The check box state value corresponding to the selected check box is a true value, and the check box state value of the unselected check box is a false value. The different states of the check box can be expressed by true values and false values. For example, 1 and 0 can be used to represent true values and false values respectively, or "+" and "-" can be used to represent true values and false values respectively. Of course, other values that can express different check box states can also be used, which are not limited here. The selection operation initiated by the terminal user on the check box is essentially a modification of the selected state of the check box. The terminal user can continuously modify the selected states of multiple check boxes. After completing the modification of the last check box state, a data saving request is triggered to be sent to the server.
[0086] The check box data includes a second target content item identifier, and the second target content item identifier points to the second target content item whose check box state value is true. It can be understood that the server and the terminal have the same understanding of the correspondence between the second target content item and the second target content item identifier. It can be understood that the display result file sent by the server to the terminal carries the second target content item identifier.
[0087] Exemplarily, the identifier of the second target content item may be carried in the presentation result file:
[0088] [{title:'Data Management', key: 1,
[0089] children: [{title: 'Database Management', key: 2}, {title: 'Form Management', key: 3}]
[0090] }].
[0091] The "key" in the display result file represents the target content item identifier. If the second target content item identifier contained in the check box data is 2, it indicates that the check box associated with the second target content item "Database Management" corresponding to the second target content item identifier is selected, and the check boxes associated with other second target content items are unselected.
[0092] Based on this, when the server receives the next display request initiated by the terminal for the display result file, the check box data can be directly returned to the terminal, so that the terminal can determine the second target content item pointed to by the second target content item identifier contained in the check box data, and update the selected state of the check box associated with the second target content item to a selected state, and update the selected state of the check box associated with other second target content items to an unselected state, thereby realizing the update of the content display effect. In this way, only the second target content item identifier is used as the transmission object, which reduces the amount of transmission data, shortens the transmission time, and can effectively improve the speed of data transmission, so that the selected state of the check box can be quickly obtained at each display initialization, which improves the fluency of content display and brings a better user experience to users.
[0093] In addition, the server can also receive a query request initiated by the terminal, and according to the second target content item identifier included in the check box data stored for the terminal, restore the check box state value of the second target content item corresponding to the second target content item identifier to a true value, and restore the check state values of other second target content items to a false value. The restored check box state values corresponding to each second target content item can be returned to the terminal, so that the terminal can perform a query operation based on the restored check box state values corresponding to each second target content item.
[0094] In addition to the above-mentioned restoration method, only the check box state value of the second target content item corresponding to the second target content item identifier contained in the check box data can be restored to a true value, and only the second target content item whose check box state value is a true value and the corresponding check box state value can be returned to the terminal, thereby reducing the workload of transmission and further improving the query efficiency.
[0095] It is understandable that in addition to the display function, the terminal also has many other functions such as calculation and query. When the terminal needs to use the second target content item with a selected state of "selected" to perform other functions, it is necessary to first query the selected state of each second target content item. Since other functional modules in the terminal cannot recognize the meaning represented by the second target content item identifier in the check box data, query operations cannot be performed directly based on the check box data. Therefore, the server can restore the check box state value corresponding to each second target content item contained in the display result file based on the check box data and return it to the terminal, so that other functional modules in the terminal can perform fast and accurate query operations based on the received check box state value corresponding to each second target content item, thereby improving the efficiency and accuracy of the query.
[0096] Accordingly, in this embodiment, the traditional tree-like display form is abandoned, and a new display form is provided. The first target content item and the second target content item subordinate to the first target content item that need to be displayed can be selected independently, organized into a content group, and the first target content item and the second target content item in the same content group are added to the same display row. It can achieve a more intuitive display of the second target content item in the corresponding content group in a single display row. Through this flatter display method, the second target content item will no longer be submerged in a complex hierarchical relationship, which allows users to observe the second target content item more efficiently, thereby improving user experience.
[0097] Figure 6 FIG. 1 is a flow chart of a content processing method provided by another exemplary embodiment of the present application. Figure 6 As shown, the method is applicable to a terminal, and the method includes:
[0098] Step 600, sending a display request to the server, where the display request points to the display result file;
[0099] Step 601: receiving a display result file returned by a server, wherein the display result file includes at least one display row, and each display row includes a first target content item and a second target content item subordinate to the first target content item;
[0100] Step 602: Based on the display result file, display the corresponding first target content item and the second target content item subordinate to the first target content item in each display row.
[0101] In this embodiment, display lines can be parsed from the display result file, and content items can be displayed in the form of display lines. The content items can be provided to users in a flat form, making it easier for users to observe the content items more intuitively, which can effectively improve the user's viewing experience.
[0102] In an optional embodiment, the display result file also includes check boxes associated with each second target content item. The method may further include:
[0103] In response to a user selecting a check box, generating check box data including a second target content item identifier, where the second target content item identifier points to a second target content item whose check box state value is true;
[0104] Send a data saving request to the server, so that the server can save the check box data carried in the data saving request;
[0105] Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
[0106] In an optional embodiment, the method may further include:
[0107] In response to the query instruction, a query request is sent to the server, so that the server can restore the check state value of the second target content item corresponding to the second target content item identifier as a true value and restore the check state values of other second target content items as false values according to the second target content item identifier included in the check box data, and return the restored check box state values corresponding to each second target content item to the terminal;
[0108] The check box status values corresponding to the respective second target content items sent by the server are received, so as to perform a query operation based on the check box status values corresponding to the respective second target content items.
[0109] For the technical details in the above content processing method embodiments, please refer to the relevant description of the terminal actions in the above content processing method embodiments. In order to save space, they will not be repeated here, but this should not cause loss of the protection scope of this application.
[0110] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 200 to 203 can be device A; for another example, the execution subject of steps 201 and 202 can be device A, and the execution subject of step 203 can be device B; and so on.
[0111] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 200, 201, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0112] Figure 7 A structural diagram of a content processing device provided by another exemplary embodiment of the present application, the content processing device is applied to a server, such as Figure 7 As shown, the content processing device includes: a data acquisition module 70, a content selection module 71, a result generation module 72 and a content interaction module 73;
[0113] A data acquisition module 70, configured to acquire hierarchical data organized and managed in a tree structure, the hierarchical data including at least one first content item and at least one second content item subordinate to each first content item;
[0114] A content selection module 71, configured to determine at least part of at least one first content item as a first target content item, and to determine at least part of at least one second content item subordinate to the first target content item as a second target content item;
[0115] The result generating module 72 is used to organize, for each first target content item, the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item; create a display row for each content group using a display row component, and add the first target content item and the second target content item in each content group to the display row corresponding to each content group; and generate a display result file based on the display row corresponding to each content group;
[0116] The content interaction module 73 is used to send the display result file to the terminal, so that after the terminal obtains the display result file, it displays the first target content item and the second target content item subordinate to the first target content item in the corresponding content group in the corresponding display row based on the display result file.
[0117] In an optional embodiment, when the content selection module 71 determines at least part of the at least one first content item as the first target content item and determines at least part of the at least one second content item subordinate to the first target content item as the second target content item, it is specifically configured to:
[0118] Displaying a content item configuration interface, on which hierarchical data is displayed;
[0119] In response to a first content item selection operation initiated on the content item configuration interface for the hierarchical data, determining the selected first content item as a first target content item;
[0120] determining at least one second content item subordinate to the first target content item;
[0121] In response to a second content item selection operation initiated on the content item configuration interface for at least one second content item, the selected second content item is determined as a second target content item.
[0122] In an optional embodiment, when the content selection module 71 determines at least part of the at least one first content item as the first target content item and determines at least part of the at least one second content item subordinate to the first target content item as the second target content item, it is specifically configured to:
[0123] Display the content item input interface;
[0124] In response to the input box creation operation, creating a first type of input box and at least one second type of input box subordinate to the first type of input box in the content item input interface;
[0125] In response to a content item input operation occurring on the content item configuration interface, a first content item input into a first type input box is determined as a first target content item, and a second content item input into a second type input box belonging to the first type input box is determined as a second target content item.
[0126] In an optional embodiment, when the result generating module 72 organizes the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item, it is specifically configured to:
[0127] configuring the same group tag for the first target content item and the second target content item subordinate to the first target content item, and configuring different group tags for different first target content items;
[0128] Based on the group label, the first target content item and the second target content item having the same group label are divided into the same content group.
[0129] In an optional embodiment, the result generation module 72 is further used to:
[0130] Using the display row component, creating check boxes associated with the second target content items for the second target content items in each display row;
[0131] Adding a check box associated with the second target content item to the display row to which the second target content item belongs;
[0132] The display positions corresponding to the check boxes associated with the second target content items are added to the display configuration parameters corresponding to the corresponding display rows.
[0133] In an optional embodiment, when the display configuration parameters further include the display order between content items, the result generation module 72 is further configured to:
[0134] Using the display row component, assigning the end display position in the display row corresponding to each content group to the first target content item in the corresponding content group;
[0135] determining a priority order among the second target content items in the content group;
[0136] The remaining placement positions in the presentation row are sequentially allocated to the second target content items in the content group in order of priority, so as to generate a presentation order among the content items in the presentation row.
[0137] In an optional embodiment, the content interaction module 73 is further used to:
[0138] Receiving a data saving request initiated by a terminal, where the data saving request is triggered by the terminal in response to a user selecting a check box after the terminal displays content based on a display result file;
[0139] In response to the data saving request, saving the check box data carried in the data saving request, the check box data including the second target content item identifier, the second target content item identifier pointing to the second target content item whose check box state value is true;
[0140] Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
[0141] In an optional embodiment, the content interaction module 73 is further used to:
[0142] Receiving a query request initiated by a terminal;
[0143] According to the second target content item identifier included in the check box data, restoring the check state value of the second target content item corresponding to the second target content item identifier to a true value, and restoring the check state values of other second target content items to false values;
[0144] The restored check box status values corresponding to the respective second target content items are returned to the terminal.
[0145] It is worth noting that the technical details in the above-mentioned embodiments of the content processing device can refer to the relevant description of the actions of the server in the above-mentioned embodiments of the content processing method. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.
[0146] Figure 8 A schematic diagram of a computing device provided for another exemplary embodiment of the present application. Figure 8 , the computing device can be used as a server, and the server includes: a memory 80 and a processor 81.
[0147] The processor 81 is coupled to the memory 80 and is configured to execute the computer program in the memory 80 to:
[0148] Acquire hierarchical data organized and managed in a tree structure, the hierarchical data including at least one first content item and at least one second content item subordinate to each first content item;
[0149] Determine at least a portion of at least one first content item as a first target content item, and determine at least a portion of at least one second content item subordinate to the first target content item as a second target content item;
[0150] For each first target content item, organizing the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item;
[0151] Using the display row component, create a display row for each content group, and add the first target content item and the second target content item in each content group to the display row corresponding to each content group;
[0152] Based on the display rows corresponding to each content group, a display result file is generated, so that after the terminal obtains the display result file through the communication component 82, the terminal displays the first target content item in the corresponding content group and the second target content item subordinate to the first target content item in each display row based on the display result file.
[0153] In an optional embodiment, in the process of determining at least part of at least one first content item as the first target content item and determining at least part of at least one second content item subordinate to the first target content item as the second target content item, the processor 81 is further configured to:
[0154] Displaying a content item configuration interface, on which hierarchical data is displayed;
[0155] In response to a first content item selection operation initiated on the content item configuration interface for the hierarchical data, determining the selected first content item as a first target content item;
[0156] determining at least one second content item subordinate to the first target content item;
[0157] In response to a second content item selection operation initiated on the content item configuration interface for at least one second content item, the selected second content item is determined as a second target content item.
[0158] In an optional embodiment, in the process of determining at least part of at least one first content item as the first target content item and determining at least part of at least one second content item subordinate to the first target content item as the second target content item, the processor 81 is further configured to:
[0159] Display the content item input interface;
[0160] In response to the input box creation operation, creating a first type of input box and at least one second type of input box subordinate to the first type of input box in the content item input interface;
[0161] In response to a content item input operation occurring on the content item configuration interface, a first content item input into a first type input box is determined as a first target content item, and a second content item input into a second type input box belonging to the first type input box is determined as a second target content item.
[0162] In an optional embodiment, in the process of organizing the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item, the processor 81 is further configured to:
[0163] configuring the same group tag for the first target content item and the second target content item subordinate to the first target content item, and configuring different group tags for different first target content items;
[0164] Based on the group label, the first target content item and the second target content item having the same group label are divided into the same content group.
[0165] In an optional embodiment, the processor 81 is further configured to:
[0166] Using the display row component, creating check boxes associated with the second target content items for the second target content items in each display row;
[0167] Adding a check box associated with the second target content item to the display row to which the second target content item belongs;
[0168] The display positions corresponding to the check boxes associated with the second target content items are added to the display configuration parameters corresponding to the corresponding display rows.
[0169] In an optional embodiment, the display configuration parameters further include a display order between content items, and the processor 81 is further configured to:
[0170] Using the display row component, assigning the end display position in the display row corresponding to each content group to the first target content item in the corresponding content group;
[0171] determining a priority order among the second target content items in the content group;
[0172] The remaining placement positions in the presentation row are sequentially allocated to the second target content items in the content group in order of priority, so as to generate a presentation order among the content items in the presentation row.
[0173] In an optional embodiment, the processor 81 is further configured to:
[0174] Receiving a data saving request initiated by a terminal, where the data saving request is triggered by the terminal in response to a user selecting a check box after the terminal displays content based on a display result file;
[0175] In response to the data saving request, saving the check box data carried in the data saving request, the check box data including the second target content item identifier, the second target content item identifier pointing to the second target content item whose check box state value is true;
[0176] Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
[0177] In an optional embodiment, the processor 81 is further configured to:
[0178] Receiving a query request initiated by a terminal;
[0179] According to the second target content item identifier included in the check box data, restoring the check state value of the second target content item corresponding to the second target content item identifier to a true value, and restoring the check state values of other second target content items to false values;
[0180] The restored check box status values corresponding to the respective second target content items are returned to the terminal.
[0181] It is worth noting that the technical details in the above-mentioned server-side embodiments can refer to the relevant descriptions of the server-side actions in the aforementioned content processing method embodiments. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.
[0182] In other designs, Figure 8 The computing device shown may also be used as a terminal, which includes: a memory 80 , a processor 81 , and a communication component 82 .
[0183] The memory 80 is used to store one or more computer instructions;
[0184] The processor 81 is coupled to the memory 80 and the communication component 82, and is configured to execute one or more computer instructions for:
[0185] Sending a display request to the server via the communication component 82, the display request pointing to the display result file;
[0186] Receiving, through the communication component 82, a display result file returned by the server, the display result file comprising at least one display row, each display row comprising a first target content item and a second target content item subordinate to the first target content item;
[0187] Based on the presentation result file, the corresponding first target content item and the second target content item subordinate to the first target content item are presented in each presentation row.
[0188] In an optional embodiment, the display result file also includes check boxes associated with each second target content item, and the processor 81 is further configured to:
[0189] In response to a user selecting a check box, generating check box data including a second target content item identifier, where the second target content item identifier points to a second target content item whose check box state value is true;
[0190] Send a data saving request to the server, so that the server can save the check box data carried in the data saving request;
[0191] Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
[0192] In an optional embodiment, the processor 81 is further configured to:
[0193] In response to the query instruction, a query request is sent to the server, so that the server can restore the check state value of the second target content item corresponding to the second target content item identifier as a true value and restore the check state values of other second target content items as false values according to the second target content item identifier included in the check box data, and return the restored check box state values corresponding to each second target content item to the terminal;
[0194] The check box status values corresponding to the respective second target content items sent by the server are received, so as to perform a query operation based on the check box status values corresponding to the respective second target content items.
[0195] Further, if Figure 8 As shown, the terminal may also include other components such as a power supply component 83 and a display 84. Figure 8Only some components are shown schematically, which does not mean that the terminal only includes Figure 8 Components shown.
[0196] It is worth noting that the technical details in the above-mentioned terminal embodiments can refer to the relevant description of the terminal actions in the above-mentioned content processing method embodiments. In order to save space, they will not be repeated here, but this should not cause loss of the protection scope of this application.
[0197] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be executed by the server in the above method embodiment.
[0198] Above Figure 8 The memory in the computer is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0199] Above Figure 8 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0200] Above Figure 8 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0201] Above Figure 8The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0202] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0203] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0204] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0205] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0206] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0207] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0208] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0209] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0210] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A content processing method, characterized in that: Applicable to the server, the method includes: Acquire hierarchical data organized and managed in a tree structure, wherein the hierarchical data includes at least one first content item and at least one second content item subordinate to each first content item; Determine at least a portion of the at least one first content item as a first target content item, and determine at least a portion of the at least one second content item subordinate to the first target content item as a second target content item; For each first target content item, organizing the first target content item and second target content items subordinate to the first target content item into a content group corresponding to the first target content item; Using the display row component, create a display row for each content group, and add the first target content item and the second target content item in each content group to the display row corresponding to each content group; Based on the display rows corresponding to each content group, a display result file is generated, so that after the terminal obtains the display result file, the terminal displays the first target content item in the corresponding content group and the second target content item subordinate to the first target content item in each display row based on the display result file.
2. The method according to claim 1, characterized in that Determining at least a portion of the at least one first content item as a first target content item, and determining at least a portion of the at least one second content item subordinate to the first target content item as a second target content item, comprises: Displaying a content item configuration interface, wherein the hierarchical data is displayed on the content item configuration interface; In response to a first content item selection operation initiated on the content item configuration interface for the hierarchical data, determining the selected first content item as a first target content item; determining at least one second content item subordinate to the first target content item; In response to a second content item selection operation initiated on the content item configuration interface for the at least one second content item, the selected second content item is determined as a second target content item.
3. The method according to claim 1, characterized in that: Determining at least a portion of the at least one first content item as a first target content item, and determining at least a portion of the at least one second content item subordinate to the first target content item as a second target content item, comprises: Display the content item input interface; In response to the input box creation operation, creating a first type of input box and at least one second type of input box subordinate to the first type of input box in the content item input interface; In response to a content item input operation occurring on the content item configuration interface, a first content item input into a first type input box is determined as a first target content item, and a second content item input into a second type input box belonging to the first type input box is determined as a second target content item.
4. The method according to claim 1, characterized in that Organizing the first target content item and the second target content item subordinate to the first target content item into a content group corresponding to the first target content item includes: configuring the same group tag for the first target content item and a second target content item subordinate to the first target content item, and configuring different group tags for different first target content items; Based on the group label, the first target content item and the second target content item having the same group label are divided into the same content group.
5. The method according to claim 1, characterized in that Also includes: Using the display row component, creating check boxes associated with the second target content items for the second target content items in each display row; adding a check box associated with the second target content item to the display row to which the second target content item belongs; The display positions corresponding to the check boxes associated with the second target content items are added to the display configuration parameters corresponding to the corresponding display rows.
6. The method according to claim 5, characterized in that The display configuration parameters also include a display order between content items, and the method further includes: Using the display row component, allocating the end display position in the display row corresponding to each content group to the first target content item in the corresponding content group; determining a priority order among the second target content items in the content group; According to the priority order, the remaining placement positions in the presentation row are sequentially allocated to the second target content items in the content group to generate a presentation order among the content items in the presentation row.
7. The method according to claim 6, characterized in that Also includes: receiving a data saving request initiated by the terminal, wherein the data saving request is triggered by the terminal in response to a user selecting a check box after the terminal displays content based on the display result file; In response to the data saving request, saving the check box data carried in the data saving request, the check box data including a second target content item identifier, the second target content item identifier pointing to a second target content item whose check box state value is true; Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
8. The method according to claim 7, characterized in that Also includes: receiving a query request initiated by the terminal; According to the second target content item identifier included in the check box data, restoring the check state value of the second target content item corresponding to the second target content item identifier to a true value, and restoring the check state values of other second target content items to false values; The restored check box status values corresponding to the respective second target content items are returned to the terminal.
9. A content processing method, characterized in that: Applicable to a terminal, the method comprises: Sending a display request to the server, wherein the display request points to the display result file; receiving the display result file returned by the server, wherein the display result file includes at least one display row, and each display row includes a first target content item and a second target content item subordinate to the first target content item; Based on the presentation result file, the corresponding first target content item and the second target content item subordinate to the first target content item are presented in each presentation row.
10. The method according to claim 9, characterized in that The display result file also includes check boxes associated with each second target content item, and the method includes: In response to a user selecting a check box, generating check box data including a second target content item identifier, wherein the second target content item identifier points to a second target content item whose check box state value is true; Sending a data saving request to a server, so that the server can save the check box data carried in the data saving request; Among them, the check box state value corresponding to the selected check box is a true value, and the check box state value corresponding to the unselected check box is a false value.
11. The method according to claim 10, characterized in that The method further comprises: In response to the query instruction, a query request is sent to the server, so that the server restores the check state value of the second target content item corresponding to the second target content item identifier as a true value, restores the check state values of other second target content items as false values, and returns the restored check box state values corresponding to the second target content items to the terminal; The check box status values corresponding to the respective second target content items sent by the server are received, so as to perform a query operation based on the check box status values corresponding to the respective second target content items.
12. A computing device, characterized in that: Includes memory, processor, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component, and is configured to execute the one or more computer instructions so as to execute the content processing method according to any one of claims 1-11.
13. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the content processing method according to any one of claims 1 to 11.