Information screening method and device, computer device and storage medium

By acquiring and transforming the state of hierarchical filtering objects, and utilizing a tree-like structure and preset identifiers, the problem of low information filtering efficiency in existing technologies is solved, achieving efficient information filtering and business processing.

CN114065028BActive Publication Date: 2026-04-24WUHAN UNITED IMAGING HEALTHCARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN UNITED IMAGING HEALTHCARE CO LTD
Filing Date
2021-11-09
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing information filtering methods suffer from low business processing efficiency and inability to effectively determine the filtering status triggered by the user when the amount of information to be filtered in the database is large, due to the excessive time required for multiple traversals.

Method used

By obtaining information about the hierarchical filtering objects, the system responds to user-triggered operations to determine the target filtering object within the hierarchical filtering objects and changes its filtering state. If a positive processing operation is triggered after the change, the system obtains information about the next level of filtering objects and uses a tree-like data storage structure and preset identifiers to mark the filtering state.

Benefits of technology

It improves information filtering efficiency, clarifies the relationship between user operations and business processing, reduces reliance on keyword information, directly obtains information at the next level, and avoids multiple traversal queries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114065028B_ABST
    Figure CN114065028B_ABST
Patent Text Reader

Abstract

The application relates to a method, device, computer equipment, storage medium and computer program product. The method comprises the following steps: acquiring information of a hierarchical screening object, and outputting and displaying the information of the hierarchical screening object. In response to a trigger operation, a target screening object is determined in the hierarchical screening object, and a screening state of the target screening object is converted; if the screening state of the target screening object after conversion triggers a forward processing operation, information of a next hierarchical screening object corresponding to the target screening object is acquired according to the forward processing operation. The method improves information screening efficiency and shortens interaction time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data analysis technology, and in particular to an information filtering method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the rapid development of the internet, effectively filtering and acquiring information has become a significant challenge. For example, the information filtering process in mini-programs often involves user interaction in addition to information filtering and acquisition. Therefore, determining the user-triggered filtering state (e.g., selected or unselected) and then executing the corresponding filtering operation is crucial.

[0003] In typical information filtering methods, it is impossible to determine the filtering state triggered by the user each time. The method only obtains the corresponding results by requesting the query interface and performing multiple traversal queries on the database based on the user's input of keywords and other information.

[0004] However, when the amount of information to be filtered in the database is large, the information filtering method that involves multiple iterations results in excessively long request times and low business processing efficiency. Summary of the Invention

[0005] Therefore, it is necessary to provide an information filtering method, apparatus, computer equipment, computer-readable storage medium, and computer program product to address the aforementioned technical problems.

[0006] Firstly, this application provides an information filtering method. The method includes:

[0007] Obtain information about the hierarchical filtering objects; the information is used to display the hierarchical filtering objects;

[0008] In response to a trigger operation on the displayed hierarchical filter object, a target filter object is determined in the hierarchical filter object, and the filter state of the target filter object is changed;

[0009] If the filtering status of the target filtering object after conversion triggers the execution of a positive processing operation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the positive processing operation.

[0010] In one embodiment, after obtaining the information of the hierarchical filtering objects, the method further includes:

[0011] Initialize the filtering status of the hierarchical filtering objects recorded in the hierarchical filtering object status record;

[0012] In response to a trigger operation, after determining the target filter object in the hierarchical filter objects and changing the filter state of the target filter object, the method further includes:

[0013] Update the current level's filter object status record based on the transformed filter status of the target filter object.

[0014] In one embodiment, the step of determining a target filter object in the hierarchical filter objects and changing the filter state of the target filter object in response to a trigger operation includes:

[0015] In response to the identification information carried in the triggering operation, a target filtering object with the same identification information is determined among the filtering objects of the current level.

[0016] Based on the status attribute parameters of the target filtering object, the filtering status of the target filtering object is changed from the first filtering status to the second filtering status.

[0017] In one embodiment, the method further includes:

[0018] The second filtering state is marked with a preset identifier, which is at least one of underline, wavy line, highlight, and bold.

[0019] In one embodiment, the method further includes:

[0020] If the filtering status of the target filtering object after conversion triggers the execution of a reverse processing operation, the display modal of all levels of filtering objects corresponding to the target filtering object will be closed according to the reverse processing operation.

[0021] In one embodiment, the information of the hierarchical filtering object is the data object information of the target level in the hierarchical database; the data storage structure in the hierarchical database satisfies a tree-like structure.

[0022] In one embodiment, the tree-like structure includes at least one parent node and multiple child nodes, which are hierarchically distributed according to the relationships of the data they contain. The child nodes at the same level include parallel relationships and associative relationships.

[0023] In one embodiment, obtaining information about the hierarchical filtering objects includes:

[0024] Request the application programming interface (API) to obtain the identification information and address information from the API; based on the identification information and address information, read the information of the corresponding hierarchical filtering object and output and display it in the display modal box;

[0025] The step of responding to a trigger operation for the displayed hierarchical filter objects, determining a target filter object within the hierarchical filter objects, and changing the filter state of the target filter object includes:

[0026] In response to the identification information in the trigger operation for the displayed hierarchical filter object, a target filter object with the same identification information is determined in the hierarchical filter object of the current level, and the filter state of the target filter object is changed from the first filter state to the second filter state according to the state attribute parameter of the target filter object, and the second filter state is marked with a preset identifier.

[0027] If the filtering state of the target filtering object triggers a forward processing operation after the transformation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the forward processing operation, including:

[0028] If the filtering state of the target filtering object after conversion is the second filtering state, a positive processing operation is determined based on the second filtering state to obtain the information of the next-level filtering object corresponding to the target filtering object in the display modal.

[0029] Secondly, this application also provides an information filtering device. The device includes:

[0030] The acquisition module is used to acquire information about the hierarchical filtering objects, and the information is used to display the hierarchical filtering objects;

[0031] A response module is used to respond to a trigger operation on the displayed hierarchical filter object, determine the target filter object in the hierarchical filter object, and change the filter state of the target filter object;

[0032] The processing module is used to execute a forward processing operation if the filtering status of the target filtering object after conversion triggers the forward processing operation, and to obtain the information of the next level filtering object corresponding to the target filtering object according to the forward processing operation.

[0033] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0034] Obtain information about the hierarchical filtering objects; the information is used to display the hierarchical filtering objects;

[0035] In response to a trigger operation on the displayed hierarchical filter object, a target filter object is determined in the hierarchical filter object, and the filter state of the target filter object is changed;

[0036] If the filtering status of the target filtering object after conversion triggers the execution of a positive processing operation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the positive processing operation.

[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0038] Obtain information about the hierarchical filtering objects; the information is used to display the hierarchical filtering objects;

[0039] In response to a trigger operation on the displayed hierarchical filter object, a target filter object is determined in the hierarchical filter object, and the filter state of the target filter object is changed;

[0040] If the filtering status of the target filtering object after conversion triggers the execution of a positive processing operation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the positive processing operation.

[0041] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0042] Obtain information about the hierarchical filtering objects; the information is used to display the hierarchical filtering objects;

[0043] In response to a trigger operation on the displayed hierarchical filter object, a target filter object is determined in the hierarchical filter object, and the filter state of the target filter object is changed;

[0044] If the filtering status of the target filtering object after conversion triggers the execution of a positive processing operation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the positive processing operation.

[0045] The aforementioned information filtering method, apparatus, computer equipment, storage medium, and computer program product involve a computer equipment acquiring information about hierarchical filtering objects. This information is used to display the hierarchical filtering objects. Then, in response to a trigger operation on the displayed hierarchical filtering objects, a target filtering object is determined within the hierarchical filtering objects, and the filtering state of the target filtering object is changed. If the changed filtering state of the target filtering object triggers a forward processing operation, information about the next-level filtering object corresponding to the target filtering object is obtained based on the forward processing operation. Using this method, after acquiring and displaying the hierarchical filtering object information, the user trigger operation is identified based on the recorded filtering state of the hierarchical filtering objects. Furthermore, based on the association between the filtering state and the business processing operation, triggering a change in the filtering state of the current hierarchical filtering object can directly associate it with the target business processing operation, clearly identifying the information of the next-level hierarchical filtering object associated with that target business processing operation. This eliminates the need for setting keyword information in the user's operation instructions for information traversal and filtering, thus improving information filtering efficiency. Attached Figure Description

[0046] Figure 1 This is a flowchart illustrating an information filtering method in one embodiment;

[0047] Figure 2 This is a flowchart of the steps for updating the state attribute parameter record in one embodiment;

[0048] Figure 3 This is a flowchart illustrating the filtering state transition steps in one embodiment;

[0049] Figure 4 This is a schematic diagram of a tree-like structure with a single parent node in one embodiment;

[0050] Figure 5 This is a schematic diagram of a tree-like structure with multiple parent nodes in one embodiment;

[0051] Figure 6 This is a flowchart illustrating the specific steps of an information filtering method in one embodiment;

[0052] Figure 7 This is a flowchart illustrating an example of an information filtering method in one embodiment;

[0053] Figure 8 This is a structural block diagram of an information filtering device in one embodiment;

[0054] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0056] In one embodiment, such as Figure 1 As shown, an information filtering method is provided. This method can be applied to, but is not limited to, multi-terminal applications such as portable applications (e.g., mini-programs), web pages, and applications requiring installation (e.g., various apps). This embodiment illustrates the application of this method to a computer device (also known as a terminal device) running a portable application (referred to as a mini-program). The method includes the following steps:

[0057] Step 102: Obtain information about the hierarchical filter objects. This information is used to display the hierarchical filter objects.

[0058] In implementation, the mini-program on the computer device has a business hierarchy, and business flows can occur between different business levels. Each business flow involves a data filtering process. Specifically, each level of the mini-program contains filtering objects for that level. Based on the filtering objects and their filtering status, the direction of the business flow or the business processing status can be determined. When the mini-program is used, it can retrieve the information of the filtering objects at the current level (e.g., the first level) according to the hierarchical order. The information of the filtering objects at each level is used to display the filtering objects.

[0059] Step 104: In response to a trigger operation for the displayed hierarchical filter object, determine the target filter object in the hierarchical filter object and change the filter state of the target filter object.

[0060] In implementation, the current level modal of the mini-program running on the computer device displays the current level filter object. The user can trigger any of the level filter objects according to their own needs. The background processing system of the mini-program responds to the trigger operation, determines the target filter object, and changes the filter state of the target filter object. For example, the filter state of the level filter object includes "selected" and "unselected" states. If there are 3 level filter objects in the current level modal, namely level filter object A, level filter object B, and level filter object C, and the user triggers level filter object A as the target filter object, the mini-program can change the filter state of level filter object A from "unselected" to "selected" based on the user's trigger operation.

[0061] Step 106: If the filtering status of the target filtering object after conversion triggers the execution of a forward processing operation, obtain the information of the next level filtering object corresponding to the target filtering object according to the forward processing operation.

[0062] Among them, forward processing operation is the operation of business flow from lower level to higher level based on each business level.

[0063] In implementation, the transition of the filtering state of any filtering object at any level within the mini-program modal can trigger business processing operations. Specifically, if the transition of the target filtering object triggers a forward processing operation, the mini-program obtains information about the next-level filtering object corresponding to the target filtering object based on the hierarchical flow relationship of that forward processing operation. For example, if the forward processing operation corresponding to the triggered target filtering object is a forward open operation, a child window is opened based on the current modal (parent window), and information about each level of filtering objects contained in the child window (i.e., the next level) is obtained for output display.

[0064] In the aforementioned information filtering method, a computer device running a mini-program acquires information about the hierarchical filtering objects. Then, in response to a trigger operation on a displayed hierarchical filtering object, a target filtering object is identified within the hierarchical filtering objects, and its filtering state is changed. If the changed filtering state of the target filtering object triggers a forward processing operation, information about the next-level filtering object corresponding to the target filtering object is obtained based on the forward processing operation. Using this method, after acquiring and displaying the hierarchical filtering object information, the user-triggered operation is identified based on the recorded filtering state of the hierarchical filtering objects. Furthermore, based on the association between the filtering state and the business processing operation, the change of the current hierarchical filtering object's filtering state can be directly associated with the target business processing operation. This clearly identifies the information of the next-level hierarchical filtering object associated with the target business processing operation, eliminating the need for setting keyword information in the user's operation instructions for information traversal and filtering, thus improving information filtering efficiency.

[0065] In one embodiment, such as Figure 2 As shown, in step 102, obtaining the information of the hierarchical filtering object means that when a user enters the current hierarchical level, it is necessary to obtain the business information of the current hierarchical level. Therefore, after step 102, the method further includes the following steps:

[0066] Step 202: Initialize the filtering status of the hierarchical filtering objects in the hierarchical filtering object status record.

[0067] In practice, when a user needs to retrieve the information of the filtered objects at this level, the filtering state of the current level's filtered objects is first initialized.

[0068] Furthermore, regarding the information of the currently selected filter objects after initialization, the user can perform corresponding trigger operations. After the computer device responds to the trigger operation and transforms the filter status information of the target filter object (i.e., after step 104), the method further includes:

[0069] Step 204: Update the current level's level filter object status record based on the filter status of the transformed target filter object.

[0070] In implementation, when the mini-program obtains the display modal box and the corresponding filter object information of each level, it records the filter status information of the filter object of the current level and generates the level filter object status record of the current level. When the user performs a trigger operation, the filter status of the target filter object in the current level is changed, and then the level filter object record of the current level is updated according to the changed target filter status.

[0071] In one embodiment, such as Figure 3 As shown, the filtering status of the filtered object can include a first filtering status and a second filtering status. The specific processing procedure of step 104 includes the following steps:

[0072] Step 302: In response to the identification information carried in the triggering operation, determine the target filtering object with the same identification information among the hierarchical filtering objects in the current level.

[0073] In implementation, the mini-program running on the computer device responds to the user's trigger operation, identifies the identification information carried by the trigger operation, and determines the target filter object with the same identification information among the hierarchical filter objects in the current level. Specifically, if there are hierarchical filter objects A, B, and C in the current level, when the user selects hierarchical filter object C to trigger, the mini-program's backend processing system receives the trigger request carrying the identification information of hierarchical filter object C, identifies the target filter object corresponding to the trigger request identification information, i.e., hierarchical filter object C.

[0074] Step 304: Based on the status attribute parameters of the target filter object, change the filter status of the target filter object from the first filter status to the second filter status.

[0075] In implementation, based on the target filtering object determined by the trigger operation, the mini-program's backend processing system updates the parameter value of the target filtering object's status attribute, changing the target filtering object's filtering status from the first filtering status to the second filtering status. Specifically, if the filtering status attribute parameter of the hierarchical filtering object can be assigned a value of 0 or 1, then when a user's trigger operation is received, upon identifying the target operation object (i.e., the target filtering object) corresponding to the trigger operation, the status attribute parameter value of the target filtering object is updated (from 0 to 1), and the filtering status of the corresponding target filtering object is also changed from the second filtering status (e.g., selected) to the first filtering status (e.g., not selected).

[0076] Optionally, the filtering status of the hierarchical filtering object is not limited to only two types. The hierarchical filtering status can be set to one or more types according to business needs. This application embodiment does not limit this.

[0077] Optionally, in addition to forward and reverse processing operations, there may be other business operations between the display modal boxes of each application. For example, for preset permission control, setting inoperable situations, etc. This application embodiment does not limit the type of business processing operation corresponding to the filtering state transition.

[0078] In one embodiment, the method further includes: marking a second filtering state with a preset identifier, wherein the preset identifier is at least one of underline, wavy line, highlight, and bold.

[0079] In implementation, within each level of the mini-program's display modal, the filtering status of each filtering object is displayed according to a preset method. The second filtering status is displayed by adding a distinguishing identifier to the first filtering status. Specifically, the second filtering status is redrawn and rearranged using CSS (Cascading Style Sheets) based on the first filtering status display. For example, when the mini-program's display modal shows text information, in the first filtering status, each character in the text data is displayed uniformly according to a preset text format. Then, when a further trigger operation changes the filtering status of the target filtering object to the second filtering status, the mini-program running on the computer device redraws and rearranges the text data currently displayed uniformly in the first filtering status, marking the second filtering status of the target filtering object with a preset identifier. This preset identifier can be, but is not limited to, at least one of underscores, wavy lines, highlights, and bolding.

[0080] In one embodiment, during the information filtering process, in addition to the positive information filtering corresponding to the positive processing operation, there is also a negative information filtering corresponding to the negative processing operation. Therefore, the method further includes:

[0081] If the filtering status of the target filtering object after conversion triggers the execution of reverse processing operation, the display modal of all levels of filtering objects corresponding to the target filtering object will be closed according to the reverse processing operation.

[0082] In practice, if the filtering state of the target filtering object triggers a reverse processing operation in the mini-program after conversion, such as a reverse modal closing operation, then the display modals of all levels of filtering objects corresponding to the target filtering object will be closed according to the reverse processing operation.

[0083] Optionally, in addition to closing all display modals at all levels, this reverse information filtering process can also close only the display modal of the current level and return to the previous level. Correspondingly, the user can compare the filtering status information of the current level's filtering object with the filtering status transition record of the target filtering object triggered by the previous level in the level filtering object status record to determine the filtering status of the previous level corresponding to the reverse processing operation, obtain the information of the previous level's filtering object, and return to the display modal of the previous level.

[0084] In one embodiment, regardless of whether it is an installation-free application, a webpage, or an application that requires installation, the information of the hierarchical filtering object displayed in the display modal of each level is the data object information of the target level stored in the hierarchical database. The data storage structure in the hierarchical database conforms to a tree-like structure. The tree-like structure contains at least one parent node and multiple child nodes. The child nodes are hierarchically distributed according to the relationships between the data they contain. Child nodes at the same level include parallel relationships and associative relationships.

[0085] In implementation, taking a mini-program as an example, the data information of the filtering objects at each level within the mini-program is stored in the corresponding level database, and the data storage structure in the level database conforms to a tree-like structure. This tree-like structure contains at least one parent node and multiple child nodes, with child nodes distributed hierarchically according to the relationships between the data they contain. Child nodes at the same level include parallel and associative relationships. Specifically, for example... Figure 4As shown, for example, if the first level contains one level filter object, then the corresponding data storage structure satisfies a single parent node (parent node A) storage structure. This means that the first level's data storage structure stores only the data information of one level filter object, and the first level's display modal also shows only one level filter object. The next level (second level) of parent node A contains two child nodes, child node B and child node C, which are parallel. This indicates that the data storage structure below parent node A contains the data information of two level filter objects (B and C), corresponding to the display modal showing two level filter objects in the second level. Furthermore, the next level of child node B contains three child nodes, child nodes D, E, and F. This means that the next level (third level) of child node B in the data storage structure stores the data information of level filter objects D, E, and F, and the third level's display modal also shows three level filter objects…

[0086] For example Figure 5 As shown, when the first level contains at least two levels of filtering objects, the corresponding data storage structure satisfies the multi-parent node storage structure. That is, the data storage structure of the first level stores the data information of at least two levels of filtering objects, and the display modal of the first level displays at least two levels of filtering objects. In the multi-parent node storage structure, the hierarchical structure under each parent node is the same as the hierarchical structure of a single parent node, and is divided into multiple levels of child nodes. At the same time, the child nodes of the same or different levels of each parent node (e.g., parent node A and parent node B) can be associated. Therefore, the embodiments of this application do not limit the number of levels of the data storage structure, the number of parent nodes and child nodes of each level, the type of parent node, and the type of child node.

[0087] Among them, the above-mentioned tree-like data storage structure The corresponding formula is shown below:

[0088]

[0089]

[0090]

[0091] in, This indicates the number of objects to be filtered at the current level. and Indicates the current level number. This represents the connectivity between levels. This indicates the number of connected cycles between levels, and "| |" represents the absolute value.

[0092] The specific mathematical model formula for constructing the data storage structure is shown below:

[0093]

[0094] in, The weighting function, when dealing with a large amount of information, can be used to count the number of indicators corresponding to each filtering state. The number of records in the filtering state dataset depends on the number of independent filtering information entries in the second layer. express , Indicates the current level. This indicates that the data storage structure contains loops (a type of flow between nodes) or is connected and has a tail. This indicates that the data storage structure contains loops or connections, but also has join items at the same level.

[0095] In one embodiment, such as Figure 6 As shown, the specific processing steps of step 102 include:

[0096] Step 602: Request the application programming interface (API) to obtain the identification and address information from the API. Based on the identification and address information, read the information of the corresponding hierarchical filtering object and output and display it in the modal of the portable application.

[0097] In implementation, taking a portable application as an example, the filtering status information of the current level filtering object in the portable application is initialized. After initialization, auxiliary records (i.e., filtering status records of filtering objects) are set to record the triggering status of products (i.e., level filtering objects). Then, upon entering the current level, the computer device can request the application interface of products (each level filtering object) from the background processing system of the portable application to obtain the identification information (e.g., ID (Identity), name field) and address information of each level filtering object. Based on the identification information and address information, the corresponding level filtering object information is read and displayed in the modal of the portable application. At the same time, the computer device adds a checked parameter to each level filtering object to determine whether the user has triggered it. The default value of checked is false (i.e., not triggered).

[0098] The specific processing steps in step 104 include:

[0099] Step 604: In response to the identification information carried in the trigger operation for the displayed hierarchical filtering object, determine the target filtering object with the same identification information in the hierarchical filtering objects of the current level of the installation-free application, and change the filtering state of the target filtering object from the first filtering state to the second filtering state according to the state attribute parameters of the target filtering object, and mark the second filtering state with a preset identifier.

[0100] In practice, when a user performs a trigger operation (e.g., click) on a target filter object displayed in the modal of the application that does not require installation, the computer device responds to the identification information carried in the trigger operation, identifies the target filter object with the same identification information, and changes the parameter value of the state attribute parameter of the target filter object according to the trigger operation. Based on the display of the first filter state with a preset identifier, the display state of the target filter object is redrawn to mark the second filter state in which the target filter object is located.

[0101] Specifically, when there are only two filter states, the filter state can be switched by inverting the boolean value of the corresponding state attribute parameter. This updates the display state of the target filter object; for example, it changes from displaying all filter objects at different levels in the modal to highlighting the target filter object. Additionally, the trigger state parameter corresponding to the target filter object also needs to be updated, specifically the `checked` parameter, changing from `false` to `true`, indicating that the target level filter object has changed from not being triggered to being triggered.

[0102] Optionally, in addition to filtering and triggering the hierarchical filtering objects in each level of the display modal, it is also possible to filter and trigger each level of the display modal. For example, in a forward processing operation, the user can change the parameter value of the corresponding modalities (model, form) parameter by clicking on the current level display modal, thereby changing the display state of the current level display modal from grayscale to highlighted. Simultaneously, the display modal also has a checked parameter (a parameter used to indicate the trigger state), which will change the checked state of the display modal. The parameter d changes from false to true (a boolean parameter; inversion represents two different states), indicating that the current modal is transitioning from a non-triggered state to a triggered state. Similarly, the modal also has a reverse processing operation. This reverse processing operation is similar to the reverse processing operation of the hierarchical filter object. It also requires querying the state transition information of the modal in the hierarchical filter object's state record, and then inverting the parameters of the modal itself and the hierarchical filter object in the modal, thus turning off the second filtering state (highlighted state) of the modal and the hierarchical filter object it contains.

[0103] The specific processing steps in step 106 include:

[0104] Step 606: If the filtering status of the target filtering object after conversion is the second filtering status, determine to perform a positive processing operation based on the second filtering status, and obtain the information of the next level filtering object corresponding to the target filtering object in the display modal.

[0105] In implementation, the display modal and the states of the filtering objects at each level contained within it represent the direction of business processing. For example, when the filtering state of the target filtering object changes from the first filtering state to the second filtering state, it represents a forward processing flow; if the filtering state changes from the second filtering state to the first filtering state, it represents a reverse processing flow. Therefore, if the filtering state of the target filtering object after the change is the second filtering state, the computer device determines to perform a forward processing operation based on this second filtering state, and then obtains the information of the next-level filtering object corresponding to the target filtering object in the modal of the application-free installation.

[0106] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0107] Based on the same inventive concept, this application also provides an apparatus for implementing the information filtering method described above. The solution provided by this information filtering apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more information filtering apparatus embodiments provided below can be found in the limitations of the information filtering method described above, and will not be repeated here.

[0108] In one embodiment, such as Figure 7 As shown, an example method for information filtering is provided, which includes:

[0109] Step 701: Obtain the information of the first-level hierarchical filtering objects, and output and display the hierarchical filtering objects based on the information.

[0110] Step 702: Initialize the filtering status record (also known as the auxiliary record) of the first-level filtering object information.

[0111] Step 703: In response to the user's trigger operation, determine whether the filtered state in the current state attribute parameter record triggers a positive processing operation. If yes, proceed to step 704; otherwise, proceed to step 709.

[0112] Step 704: Obtain information about the next level of filtered objects corresponding to the positive processing operation.

[0113] Step 705: Output and display the information of the next level of filtered objects in the display modal box.

[0114] Step 706: In response to the user's trigger operation, determine whether the current filter status record has triggered a positive processing operation. If yes, proceed to step 707; otherwise, proceed to step 708.

[0115] Step 707: Transform the state attribute parameters of the next-level filtered object based on the forward processing operation.

[0116] Step 708: Transform the state attribute parameters of the next-level filtered object based on the reverse processing operation.

[0117] Step 709: Update the status attribute parameter record according to the status attribute parameters of the converted hierarchical filtering object.

[0118] Step 710: Within the same level, perform operations on the current level's filtered object information.

[0119] Step 711: Update the status attribute parameter record according to the status attribute parameters of the converted hierarchical filtering object.

[0120] Step 712: In response to the transformation of the state attribute parameter, perform either forward or reverse processing operation.

[0121] Step 713: Determine whether the business processing operation at the current level should continue. If not, end the processing. If yes, proceed to step 710.

[0122] In one embodiment, such as Figure 8 As shown, an information filtering device 800 is provided, including: an acquisition module 801, a response module 802, and a processing module 803, wherein:

[0123] The acquisition module 801 is used to acquire information about the hierarchical filtering objects, and the information is used to display the hierarchical filtering objects;

[0124] The response module 802 is used to respond to a trigger operation on the displayed hierarchical filter object, determine the target filter object in the hierarchical filter object, and change the filter state of the target filter object;

[0125] The processing module 803 is used to execute a forward processing operation if the filtering status of the target filtering object after conversion triggers the forward processing operation, and to obtain the information of the next level filtering object corresponding to the target filtering object based on the forward processing operation.

[0126] In one embodiment, the device 800 further includes:

[0127] The initialization module is used to initialize the filtering status of the hierarchical filtering objects in the hierarchical filtering object status record.

[0128] The update module is used to update the status record of the current level of the filter object based on the filter status of the target filter object after conversion.

[0129] In one embodiment, the response module 802 is specifically used to respond to the identification information carried in the triggering operation and determine the target filtering object with the same identification information among the hierarchical filtering objects at the current level.

[0130] Based on the status attribute parameters of the target object, the filtering status of the target object is changed from the first filtering status to the second filtering status.

[0131] In one embodiment, the device 800 further includes:

[0132] The identifier module is used to mark the second filtering state with a preset identifier, which is at least one of underline, wavy line, highlight, and bold.

[0133] In one embodiment, the device 800 further includes:

[0134] The processing module 803 is also used to perform a reverse processing operation if the filtering status of the target filtering object after conversion triggers the execution of the reverse processing operation, and close the display modal of all levels of filtering objects corresponding to the target filtering object according to the reverse processing operation.

[0135] In one embodiment, the information of the hierarchical filtering object is the data object information of the target level in the hierarchical database; the data storage structure in the hierarchical database satisfies a tree-like structure.

[0136] In one embodiment, the tree-like structure includes at least one parent node and multiple child nodes, with the child nodes distributed hierarchically according to the relationships between the data they contain. Child nodes at the same level include parallel relationships and associative relationships.

[0137] In one embodiment, the acquisition module 801 is specifically used to request the application interface, acquire the identification information and address information in the application interface, and read the information of the corresponding hierarchical filtering object according to the identification information and address information and output and display it in the display modal box.

[0138] The response module 802 is specifically used to respond to the identification information in the trigger operation for the displayed hierarchical filtering object, determine the target filtering object with the same identification information in the hierarchical filtering object of the current level, and change the filtering state of the target filtering object from the first filtering state to the second filtering state according to the state attribute parameters of the target filtering object, and mark the second filtering state with a preset identifier.

[0139] The processing module 803 is specifically used to determine to perform a positive processing operation based on the second filtering state if the filtering state of the target filtering object after conversion is the second filtering state, and to obtain the information of the next level filtering object corresponding to the target filtering object in the display modal box.

[0140] Each module in the aforementioned information filtering device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0141] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an information filtering method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0142] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0143] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0144] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0145] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0146] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0147] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0148] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An information filtering method, characterized in that, The method includes: Obtain information about the hierarchical filtering objects; the information is used to display the hierarchical filtering objects; In response to a trigger operation on the displayed hierarchical filter object, a target filter object is determined in the hierarchical filter object, and the filter state of the target filter object is changed; If the filtering status of the target filtering object after conversion triggers the execution of a forward processing operation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the forward processing operation; the forward processing operation is an operation of business flow from lower level to higher level based on each business level; If the filtering status of the target filtering object after the transformation triggers the execution of a reverse processing operation, according to the reverse processing operation, the display modal of all level filtering objects corresponding to the target filtering object is closed, or the display modal of the current level is closed and the display modal of the previous level is returned; including: based on the filtering status information of the level filtering object of the current level, comparing the filtering status transformation record of the target filtering object triggered by the previous level in the level filtering object status record, determining the filtering status of the previous level corresponding to the reverse processing operation, obtaining the information of the level filtering object of the previous level, and returning the display modal of the previous level; The information of the hierarchical filtering object is the data object information of the target level in the hierarchical database; the data storage structure of the hierarchical database satisfies a tree-like structure; the tree-like data storage structure... The corresponding formula is shown below: in, This indicates the number of objects to be filtered at the current level. and Indicates the current level number. This represents the connectivity between levels. This indicates the number of connected cycles between levels, and "|" represents the absolute value.

2. The method according to claim 1, characterized in that, After obtaining the information of the hierarchical filtering objects, the method further includes: Initialize the filtering status of the hierarchical filtering objects recorded in the hierarchical filtering object status record; In response to a trigger operation, after determining the target filter object in the hierarchical filter objects and changing the filter state of the target filter object, the method further includes: Update the current level's filter object status record based on the transformed filter status of the target filter object.

3. The method according to claim 1, characterized in that, The step of responding to a trigger operation by determining a target filter object in the hierarchical filter objects and changing the filter state of the target filter object includes: In response to the identification information carried in the triggering operation, a target filtering object with the same identification information is determined among the filtering objects of the current level. Based on the status attribute parameters of the target filtering object, the filtering status of the target filtering object is changed from the first filtering status to the second filtering status.

4. The method according to claim 3, characterized in that, The method further includes: The second filtering state is marked with a preset identifier, which is at least one of underline, wavy line, highlight, and bold.

5. The method according to claim 1, characterized in that, The tree-like structure contains at least one parent node and multiple child nodes. The child nodes are hierarchically distributed according to the relationships between the data they contain. The child nodes at the same level include parallel relationships and associative relationships.

6. The method according to claim 1, characterized in that, The process of obtaining information about the hierarchical filtering objects includes: Request the application programming interface (API) to obtain the identification information and address information from the API; based on the identification information and address information, read the information of the corresponding hierarchical filtering object and output and display it in the display modal box; The step of responding to a trigger operation for the displayed hierarchical filter objects, determining a target filter object within the hierarchical filter objects, and changing the filter state of the target filter object includes: In response to the identification information in the trigger operation for the displayed hierarchical filter object, a target filter object with the same identification information is determined in the hierarchical filter object of the current level, and the filter state of the target filter object is changed from the first filter state to the second filter state according to the state attribute parameter of the target filter object, and the second filter state is marked with a preset identifier. If the filtering state of the target filtering object triggers a forward processing operation after the transformation, the information of the next-level filtering object corresponding to the target filtering object is obtained according to the forward processing operation, including: If the filtering state of the target filtering object after conversion is the second filtering state, a positive processing operation is determined based on the second filtering state to obtain the information of the next-level filtering object corresponding to the target filtering object in the display modal.

7. An information filtering device, characterized in that, The device includes: The acquisition module is used to acquire information about the hierarchical filtering objects, and the information is used to display the hierarchical filtering objects; A response module is used to respond to a trigger operation on the displayed hierarchical filter object, determine the target filter object in the hierarchical filter object, and change the filter state of the target filter object; The processing module is used to execute a forward processing operation if the filtering status of the target filtering object after conversion triggers the forward processing operation, and to obtain the information of the next level filtering object corresponding to the target filtering object according to the forward processing operation; the forward processing operation is a business flow operation based on each business level from the lower level to the higher level; The processing module is also configured to, if the filtering state of the target filtering object after conversion triggers the execution of a reverse processing operation, close the display modal of all levels of filtering objects corresponding to the target filtering object, or close the display modal of the current level and return to the display modal of the previous level according to the reverse processing operation; The processing module is specifically used to compare the filtering status transition record of the target filtering object triggered by the previous level in the filtering status record of the current level filtering object with the filtering status information of the current level filtering object, determine the filtering status of the previous level corresponding to the reverse processing operation, obtain the information of the previous level filtering object, and return the display modal of the previous level. The information of the hierarchical filtering object is the data object information of the target level in the hierarchical database; the data storage structure of the hierarchical database satisfies a tree-like structure; the tree-like data storage structure... The corresponding formula is shown below: in, This indicates the number of objects to be filtered at the current level. and Indicates the current level number. This represents the connectivity between levels. This indicates the number of connected cycles between levels, and "|" represents the absolute value.

8. The apparatus according to claim 7, characterized in that, The response module is specifically used to respond to the identification information carried in the trigger operation, determine the target filtering object with the same identification information among the hierarchical filtering objects in the current level, and change the filtering status of the target filtering object from the first filtering status to the second filtering status according to the status attribute parameters of the target filtering object.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Data display method, data processing device and computer-readable storage medium

    CN107679065A