CN114417091A - Data screening method and device, electronic equipment and storage medium - Google Patents

Data screening method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114417091A
CN114417091A CN202210103778.XA CN202210103778A CN114417091A CN 114417091 A CN114417091 A CN 114417091A CN 202210103778 A CN202210103778 A CN 202210103778A CN 114417091 A CN114417091 A CN 114417091A
Authority
CN
China
Prior art keywords
screening
data
instruction
instructions
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210103778.XA
Other languages
Chinese (zh)
Inventor
陈钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202210103778.XA priority Critical patent/CN114417091A/en
Publication of CN114417091A publication Critical patent/CN114417091A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a data screening method, a data screening device, electronic equipment and a readable storage medium, which can be applied to the technical field of data processing. The method comprises the following steps: acquiring M groups of data of a database, wherein each group of data has N attributes; arranging the M groups of data according to the group types and the attributes of the M groups of data to generate a data screening interface, wherein the data screening interface comprises a plurality of screening components; the multiple screening assemblies respond to the input screening instructions, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface containing screening results, wherein the screening instructions comprise single-screening instructions and multi-screening instructions, and the preset screening algorithm comprises the following steps: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component. The method can effectively improve the efficiency and accuracy of data screening.

Description

Data screening method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data screening method and apparatus, an electronic device, and a readable storage medium.
Background
When the computer displays data of a front page of a browser, the data are basically displayed in a table form, when the data are screened, attributes and/or keywords of the data are listed in a table head, and then the related data are displayed in the table line by line according to rules. In the related art, after a user acquires a large amount of data, the acquired data needs to be screened, generally, data of a certain line needs to be selected, if other data needs to be selected, the data needs to be reselected, and the selected content is cancelled, so that the problems of low screening speed and easy error are caused. In addition, when the selected data is screened again, the operation is complicated, and the efficiency is low.
Disclosure of Invention
In view of the above problems, the present disclosure provides a data screening method, an apparatus, an electronic device, and a readable storage medium, which can effectively improve the accuracy and efficiency of screening acquired data by a user.
According to a first aspect of the present disclosure, there is provided a data filtering method applied to a user interface, the method including: acquiring M groups of data of a database, wherein each group of data has N attributes, and M, N is a positive integer; arranging the M groups of data according to the group types and the attributes of the M groups of data to generate a data screening interface, wherein the data screening interface comprises a plurality of screening components; the multiple screening components respond to input screening instructions, screen data in the data screening interface according to a preset screening algorithm, and generate a display interface containing screening results, wherein the screening instructions comprise single-screening instructions and multi-screening instructions, and the preset screening algorithm comprises: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
In some exemplary embodiments of the present disclosure, the plurality of screening components includes at least a group screening component and an attribute screening component; each of the group screening component and the attribute screening component comprises a single-selection screening module and a multi-selection screening module, and the single-selection screening module is used for receiving the single-selection screening instruction; the multi-selection screening module is used for receiving the multi-selection screening instruction.
In some exemplary embodiments of the present disclosure, after the plurality of screening components respond to the input screening instructions, the method further comprises: sending message values to a message queue according to the single-selection screening instruction and the multi-selection screening instruction, wherein the message values comprise a first message value and a second message value; the first message value corresponds to the radio screening instruction; the second message value corresponds to the multiple choice screening instruction.
In some exemplary embodiments of the present disclosure, before the data in the data filtering interface is filtered according to a preset filtering algorithm, the method further includes: and reading the message values in the message queue, and executing a preset screening algorithm according to the read message values, wherein the message queue is provided with a corresponding screening component.
In some exemplary embodiments of the present disclosure, the receiving a radio screening instruction, and excluding other screening instructions within the same screening component includes: and reading a message value in a message queue corresponding to the screening component, if the message value is the first message value, determining a screening item corresponding to the current single-choice screening instruction according to the first message value, and clearing the screening items corresponding to other single-choice screening instructions and multi-choice screening instructions in the same screening component.
In some exemplary embodiments of the present disclosure, the receiving at least one multi-selection screening instruction, and the excluding other single-selection screening instructions of the same screening component includes: and reading the message value in the message queue corresponding to the screening component, if the message value is the second message value, determining the screening item corresponding to the current multi-selection screening instruction according to the second message value, and clearing the screening items corresponding to other single-selection screening instructions in the same screening component.
In some exemplary embodiments of the present disclosure, the generating a display interface containing the screening result includes: acquiring an input screening result generation instruction, arranging the group of the selected data in the data screening interface and the selected attribute of the group, and generating a display interface containing the screening result, wherein the screening result of the display interface has a preset format.
According to a second aspect of the embodiments of the present disclosure, there is provided a data filtering apparatus applied to a user interface, the data filtering apparatus including: the data acquisition module is configured to acquire M groups of data of the database, wherein each group of data has N attributes, and M, N is a positive integer; the data screening interface generation module is configured to arrange the M groups of data according to the group and the attribute of the M groups of data to generate a data screening interface, and the data screening interface comprises a plurality of screening components; the display interface generation module is configured to respond to the input screening instructions by the plurality of screening components, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface containing a screening result, wherein the screening instructions include a single-screening instruction and a multi-screening instruction, and the preset screening algorithm includes: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: one or more processors; a storage device for storing executable instructions that, when executed by the processor, implement the method according to the above.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon executable instructions which, when executed by a processor, implement a method according to the above.
According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements a method according to the above.
According to the embodiment of the disclosure, the data in the data screening interface is screened by adopting the preset screening algorithm to generate the display interface containing the screening result, the operation steps of the user in the screening operation process can be effectively reduced by the preset screening algorithm, and the accuracy and efficiency of screening the acquired data by the user are improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically shows a schematic diagram of a system architecture to which the data screening method of the embodiments of the present disclosure may be applied;
FIG. 2 schematically illustrates a flow diagram of a data screening method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of a data screening interface of a data screening method according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram of a data screening method after a plurality of screening components respond to an input screening instruction in accordance with an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram of a data screening method according to an embodiment of the present disclosure before screening data in a data screening interface according to a preset screening algorithm;
FIG. 6 is a block diagram schematically illustrating the structure of a data filtering apparatus according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of an electronic device suitable for implementing the data screening method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
In order to solve the problems of complex screening operation and easy error in the related art, the present disclosure provides a data screening method, which can be applied to a user interface, and the method includes but is not limited to: acquiring M groups of data of a database, wherein each group of data has N attributes, and M, N is a positive integer; arranging the M groups of data according to the group types and the attributes of the M groups of data to generate a data screening interface, wherein the data screening interface comprises a plurality of screening components; the multiple screening assemblies respond to the input screening instructions, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface containing screening results, wherein the screening instructions comprise single-screening instructions and multi-screening instructions, and the preset screening algorithm comprises the following steps: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
According to the embodiment of the disclosure, the data in the data screening interface is screened by adopting the preset screening algorithm to generate the display interface containing the screening result, the operation steps of the user in the screening operation process can be effectively reduced by the preset screening algorithm, and the accuracy and efficiency of screening the acquired data by the user are improved.
Fig. 1 schematically shows a schematic diagram of a system architecture to which the data screening method of the embodiment of the present disclosure may be applied. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios. It should be noted that the data screening method and the data screening apparatus provided in the embodiments of the present disclosure may be used in the related fields of the data processing technology field and the financial field, and may also be used in any field other than the financial field.
As shown in fig. 1, an exemplary system architecture 100 to which the data screening method may be applied may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the data filtering method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the data filtering apparatus provided by the embodiments of the present disclosure may be generally disposed in the server 105. The data screening method provided by the embodiment of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Correspondingly, the data screening apparatus provided in the embodiments of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The data screening method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 5.
Fig. 2 schematically shows a flow chart of a data screening method according to an embodiment of the present disclosure. The data screening method can be applied to a User Interface (UI for short). As shown in fig. 2, the data screening method 200 of the embodiment of the present disclosure includes operations S210 to S230.
In operation S210, M sets of data of the database, each set of data having N types of attributes, M, N being positive integers, are obtained.
In an embodiment of the present disclosure, the database may be, for example, a data management system storing various data. When a user needs to acquire corresponding data, various data in the database can be acquired by sending a data calling instruction to the database. The database may be a relational database, a non-relational database, a distributed database, and the like.
The acquired data has different groups, and the number of the acquired groups can be determined according to the requirements of users, for example, M groups of data are acquired, which means that M groups of data have M groups. Each set of data has a different attribute, for example, N attributes. The attribute of the data may be, for example, date, number, area, coordinates, location, and the like. M, N is a positive integer.
After the corresponding data is acquired from the database, operation S220 is performed.
In operation S220, the M groups of data are arranged according to their groups and attributes to generate a data filtering interface, where the data filtering interface includes multiple filtering components.
In the embodiment of the disclosure, the acquired M groups of data have different groups and attributes, and before data screening, a data screening interface is first generated, so as to better provide a more intuitive display effect for user selection. The data screening interface can be defined according to the requirements of the user, so that the data can be better screened. For example, the attributes of the data are displayed in accordance with the priorities of the different attributes, and the higher the priority, the more prominent the attributes of the data are set.
In the embodiment of the disclosure, the data screening interface comprises a plurality of screening components, and the plurality of screening components are used for screening data, so that the efficiency and accuracy of data screening can be effectively improved. For example, the plurality of screening components includes at least a group screening component and an attribute screening component. The group screening module is used for screening groups of the M groups of data and screening out data for the required groups. The attribute screening module is used for screening the attributes of the M groups of data, and screening the data of the attributes required by the user for display. And displaying the data which is not selected by the group screening module and the attribute screening module in other areas or not displaying the data.
In other optional embodiments of the present disclosure, the screening component may also include other screening components in addition to the group screening component and the attribute screening component.
In operation S230, the plurality of screening components respond to the input screening instruction, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface including a screening result, where the screening instruction includes a single-screening instruction and a multiple-screening instruction, and the preset screening algorithm includes: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
In the embodiment of the disclosure, after the data screening interface is generated, a user inputs a screening instruction in the screening components according to the screening requirement, for example, the screening instruction may be input in one screening component, or the screening instruction may be input in a plurality of screening components, so as to implement screening of data in the data screening planes. For example, the screening instructions include a single-screening instruction and a multi-screening instruction, where the single-screening instruction only screens a single data, for example, screens a certain group of data, or screens data with a certain attribute; the multiple selection filtering instructions may filter multiple data, such as filtering data of multiple groups, or filtering data of multiple attributes.
In the embodiment of the present disclosure, the screening component responds after receiving the screening instruction input by the user, and screens the data according to the preset screening algorithm, which will be described in detail below in conjunction with the data screening interface.
FIG. 3 schematically shows a schematic diagram of a data screening interface of a data screening method according to an embodiment of the present disclosure.
As shown in fig. 3, a data filtering interface 300 is generated according to the acquired M groups of data in the database. Which includes a plurality of group data 310 arranged horizontally and a plurality of attribute data 320 arranged vertically. Each row arranged horizontally represents a group of data, each column arranged vertically represents the same attribute, and each group of data can have data with multiple attributes. As shown in fig. 3, the area where the group data 310 and the attribute data 320 intersect each other indicates an attribute of the group data, for example, information such as date, number, area, address, and the like.
The data screening interface 300 further includes a plurality of screening components, and the plurality of screening components at least includes a group screening component 330 arranged in a longitudinal direction and an attribute screening module 340 arranged in a transverse direction. The group screening module 330 is used for screening the group data 310, and the attribute screening module 340 is used for screening the attribute data 320.
As shown in fig. 3, each of the group filtering component 330 and the attribute filtering component 340 includes a single-selection filtering module and a multiple-selection filtering module, and the single-selection filtering module is configured to receive a single-selection filtering instruction; the multi-selection screening module is used for receiving a multi-selection screening instruction.
For example, the group screening component 330 includes a single-choice screening module 331 and a multiple-choice screening module 332. The single-selection screening module 331 is configured to receive a single-selection screening instruction and screen a single group of the groups, and the multiple-selection screening module 332 is configured to receive a multiple-selection screening instruction and screen a plurality of groups of the groups.
Also for example, the attribute filter component 340 includes a single-choice filter module 341 and a multiple-choice filter module 342. The single-selection screening module 341 is configured to receive a single-selection screening instruction and screen a single attribute of the attributes, and the multiple-selection screening component 342 is configured to receive a multiple-selection screening instruction and screen multiple attributes of the attributes.
In an embodiment of the present disclosure, the single-choice screening module and the multiple-choice screening module in each screening module are provided in plurality, and specifically, each group and/or each attribute corresponds to one unit screening module and one multiple-choice screening module.
In the embodiment of the present disclosure, the group screening component 330 and the attribute screening component 340 may obtain the screening instructions without setting the order, and may input the screening instructions in the group screening component 330 first, or may input the screening instructions in the attribute screening component 340 first. The order in which the screening instructions are input has no effect on each screening component.
FIG. 4 schematically illustrates a flow diagram of a data screening method after a plurality of screening components respond to an input screening instruction in accordance with an embodiment of the disclosure.
As shown in fig. 4, after the plurality of filtering components respond to the inputted filtering instruction, the data filtering method further includes operation S231.
In operation S231, sending message values to a message queue according to the single-selection screening instruction and the multiple-selection screening instruction, where the message values include a first message value and a second message value; the first message value corresponds to a radio screening instruction; the second message value corresponds to a multiple selection screening instruction.
In the embodiment of the disclosure, in the group screening component and the attribute screening component, after receiving a single-selection screening instruction and a multiple-selection screening instruction input by a user, respectively, a single-selection screening module and a multiple-selection screening module in each component send a message value to a message queue according to the received single-selection screening instruction and/or multiple-selection screening instruction.
For example, if the single-selection screening module in the group screening component is clicked by the user, indicating that the user inputs the single-selection screening instruction, a first message value is sent to the message queue corresponding to the group screening component, for example, the first message value is 1, indicating the single-selection screening instruction input by the user. For another example, if the multi-selection screening module in the group screening component is clicked by the user, indicating that the user inputs the multi-selection screening instruction, the second message value is sent to the message queue corresponding to the group screening component, for example, the second message value is 2.
According to the embodiment of the disclosure, the first message value corresponds to a single-selection screening instruction, the second message value corresponds to a multi-selection screening instruction, and what kind of operation is input by a user can be determined according to different message values in a message queue, so that data can be screened subsequently.
Fig. 5 schematically shows a flow chart of a data screening method according to an embodiment of the present disclosure before screening data in a data screening interface according to a preset screening algorithm.
As shown in fig. 5, before the data in the data filtering interface is filtered according to the preset filtering algorithm, the data filtering method further includes operation S232.
In operation S232, message values in a message queue having corresponding screening components are read, and a preset screening algorithm is executed according to the read message values.
In embodiments of the present disclosure, the message queue has a plurality, each message queue having a corresponding screening component, e.g., the group screening component corresponds to a first message queue and the attribute screening component corresponds to a second message queue. And executing a preset screening algorithm by reading the message values in the first message queue, and screening at least one group of data in the corresponding group. And executing a preset screening algorithm by reading the message values in the second message queue, and screening at least one attribute data in the corresponding attribute.
In the embodiment of the disclosure, after the message value in the message queue corresponding to the screening component is read, the data is screened according to the kind of the screening instruction.
And if the message value read from the message queue is the first message value, determining that the message value is the first message value, and excluding other screening instructions in the same screening component. Specifically, a message value in a message queue corresponding to the screening component is read, if the message value is a first message value, a screening item corresponding to a current single-selection screening instruction is determined according to the first message value, and screening items corresponding to other single-selection screening instructions and multiple-selection screening instructions in the same screening component are eliminated.
For example, in the data screening process, the user selects group 1 through the single-selection screening module in the group screening component, and in the following operation, continues to select group 3 through the single-selection screening module in the group screening component, and after reading the first message value corresponding to group 3 from the message queue, clears the corresponding screening items in the other single-selection screening modules and the other multi-selection screening modules in the group screening component. That is, in the group screening component, the single screening module excludes other screening commands (including the single screening command and the multiple screening command) according to the latest single screening command input by the user, and only the latest single screening command input is retained.
According to the embodiment of the disclosure, in the screening process, the user does not need to remove other screened options but does not need to select, so that the data screening operation steps are reduced, and the efficiency is improved.
And if the message value read from the message queue is the second message value, determining that the multi-selection screening operation instruction is received, and excluding other single-selection screening instructions in the same screening component. Specifically, the message value in the message queue corresponding to the screening component is read, if the message value is the second message value, the screening item corresponding to the current multi-selection screening instruction is determined according to the second message value, and the screening items corresponding to other single-selection screening instructions in the same screening component are eliminated.
For example, during the data screening process, the user selects group 1 through the radio screening module in the group screening component, in the following operation, group 3 is again selected by the multiple selection screening module in the group screening component, then, after reading the second message value corresponding to group 3 from the message queue, the corresponding filter entries in the other singleton filter modules in the group filter component are cleared, while retaining the corresponding filter items in the other multi-choice filter modules in the group filter assembly, and then the user continues to select group 4 through the multi-choice filter module in the group filter assembly, at this time, after the second message value corresponding to group 4 is read from the message queue, the corresponding filter item in the multi-selection filter module in group 3 is retained, and the corresponding filter item in the multi-selection filter module in group 4 is retained.
According to the embodiment of the disclosure, when a user selects data of a plurality of groups and wants to select a single group, the data of other selected groups do not need to be cleared one by one, the data can be selected only by inputting a single-selection screening instruction, the single-selection is not needed to be selected reversely, the screening time is effectively saved, and the data screening efficiency is improved.
In an embodiment of the present disclosure, generating a display interface containing the screening results includes: and acquiring an input screening result generation instruction, arranging the selected data group and the selected attributes of the group in the data screening interface, and generating a display interface containing the screening result, wherein the screening result of the display interface has a preset format.
In the process of generating the display interface, a user is required to input a generation instruction. For example, the data filtering interface may have a generation instruction input component, and the user inputs the filtering result generation instruction through the generation instruction input component. As described above, the user screens through the plurality of screening components a group of data and selected attributes of the group. And arranging the selected data according to the screening result generation instruction to generate a display interface, wherein the display interface comprises the screening result, and in addition, the display result is displayed through a preset format. For example, the preset layout may be a layout set according to the needs of the user, so that the user can better preview the filtered data, for example, the filtered data is shown in a form of a table, a diagram, a flowchart, or the like.
Fig. 6 schematically shows a block diagram of a data filtering apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the data filtering apparatus 600 of the embodiment of the present disclosure includes a data obtaining module 610, a data filtering interface generating module 620, and a display interface generating module 630. The data filtering apparatus 600 may be applied to a user interface.
The data obtaining module 610 is configured to obtain M sets of data of the database, each set of data having N attributes, M, N being positive integers. In an exemplary embodiment, the data obtaining module 610 may be configured to perform the operation S210 described above, and is not described herein again.
The data filtering interface generating module 620 is configured to arrange the M groups of data according to the group and the attribute of the M groups of data, and generate a data filtering interface, where the data filtering interface includes a plurality of filtering components. In an exemplary embodiment, the data filtering interface generating module 620 may be configured to perform the operation S220 described above, which is not described herein again.
The display interface generating module 630 is configured to respond to the input screening instructions by the plurality of screening components, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface containing a screening result, where the screening instruction includes a single-screening instruction and a multiple-screening instruction, and the preset screening algorithm includes: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component. In an exemplary embodiment, the display interface generating module 630 may be configured to perform the operation S230 described above, which is not described herein again.
In the embodiment of the present disclosure, the display interface generating module 630 further includes a first sub-module 631, a second sub-module 632, and a third sub-module 633.
The first sub-module 631 is configured to send message values to the message queue according to the single-selection screening instruction and the multiple-selection screening instruction after the multiple-selection components respond to the input screening instruction, wherein the message values include a first message value and a second message value; the first message value corresponds to the radio screening instruction; the second message value corresponds to the multiple choice screening instruction.
The second sub-module 632 is configured to read the message values in the message queue before the data in the data screening interface is screened according to the preset screening algorithm, and execute the preset screening algorithm according to the read message values, where the message queue has the corresponding screening component.
The third sub-module 633 is configured to obtain an input screening result generation instruction, arrange a group of selected data in the data screening interface and a selected attribute of the group, and generate a display interface containing a screening result, where the screening result of the display interface has a preset format.
In the embodiment of the present disclosure, any multiple modules of the data acquisition module 610, the data filtering interface generation module 620, the display interface generation module 630, the first sub-module 631, the second sub-module 632, and the third sub-module 633 may be combined into one module to be implemented, or any one of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to the embodiment of the present disclosure, at least one of the data acquisition module 610, the data filtering interface generation module 620, the display interface generation module 630, the first sub-module 631, the second sub-module 632, and the third sub-module 633 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementation manners of software, hardware, and firmware, or by a suitable combination of any several of them. Alternatively, at least one of the data acquisition module 610, the data filtering interface generation module 620, the display interface generation module 630, the first sub-module 631, the second sub-module 632, and the third sub-module 633 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
Fig. 7 schematically shows a block diagram of an electronic device suitable for implementing the data screening method according to an embodiment of the present disclosure. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, an electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. The processor 701 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 701 may also include on-board memory for caching purposes. The processor 701 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. The processor 701 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 702 and/or the RAM 703. It is noted that the programs may also be stored in one or more memories other than the ROM 702 and RAM 703. The processor 701 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 700 may also include input/output (I/O) interface 705, which input/output (I/O) interface 705 is also connected to bus 704, according to an embodiment of the present disclosure. The electronic device 700 may also include one or more of the following components connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement a data screening method according to an embodiment of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 702 and/or the RAM 703 and/or one or more memories other than the ROM 702 and the RAM 703 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the data screening method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 701. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via the communication section 709, and/or installed from the removable medium 711. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by the processor 701, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A data screening method is applied to a user interface, and comprises the following steps:
acquiring M groups of data of a database, wherein each group of data has N attributes, and M, N is a positive integer;
arranging the M groups of data according to the group types and the attributes of the M groups of data to generate a data screening interface, wherein the data screening interface comprises a plurality of screening components;
the plurality of screening components respond to the input screening instruction and screen the data in the data screening interface according to a preset screening algorithm to generate a display interface containing screening results,
the screening instructions comprise a single-screening instruction and a multi-screening instruction, and the preset screening algorithm comprises the following steps:
the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
2. The data screening method according to claim 1,
the plurality of screening components at least comprise a group screening component and an attribute screening component;
each of the group screening component and the attribute screening component includes a single-choice screening module and a multiple-choice screening module,
the radio screening module is used for receiving the radio screening instruction;
the multi-selection screening module is used for receiving the multi-selection screening instruction.
3. The data screening method of claim 1, wherein after the plurality of screening components respond to the input screening instructions, the method further comprises:
sending message values to a message queue according to the single-selection screening instruction and the multi-selection screening instruction,
the message values include a first message value and a second message value;
the first message value corresponds to the radio screening instruction;
the second message value corresponds to the multiple choice screening instruction.
4. The data screening method of claim 3, wherein prior to screening the data in the data screening interface according to a preset screening algorithm, the method further comprises:
and reading the message values in the message queue, and executing a preset screening algorithm according to the read message values, wherein the message queue is provided with a corresponding screening component.
5. The data screening method of claim 4, wherein the receiving radio screening instructions, excluding other screening instructions within the same screening component comprises:
and reading a message value in a message queue corresponding to the screening component, if the message value is the first message value, determining a screening item corresponding to the current single-choice screening instruction according to the first message value, and clearing the screening items corresponding to other single-choice screening instructions and multi-choice screening instructions in the same screening component.
6. The data screening method of claim 4, wherein the receiving at least one multi-selection screening instruction, and the excluding other single-selection screening instructions of the same screening component comprises:
and reading the message value in the message queue corresponding to the screening component, if the message value is the second message value, determining the screening item corresponding to the current multi-selection screening instruction according to the second message value, and clearing the screening items corresponding to other single-selection screening instructions in the same screening component.
7. The data screening method of claim 1, wherein the generating a display interface containing the screening results comprises:
acquiring an input screening result generation instruction, arranging the group of the selected data in the data screening interface and the selected attribute of the group, and generating a display interface containing the screening result, wherein the screening result of the display interface has a preset format.
8. A data screening apparatus applied to a user interface, the data screening apparatus comprising:
the data acquisition module is configured to acquire M groups of data of the database, wherein each group of data has N attributes, and M, N is a positive integer;
the data screening interface generation module is configured to arrange the M groups of data according to the group and the attribute of the M groups of data to generate a data screening interface, and the data screening interface comprises a plurality of screening components;
the display interface generation module is configured to respond to the input screening instructions by the plurality of screening components, screen the data in the data screening interface according to a preset screening algorithm, and generate a display interface containing a screening result, wherein the screening instructions include a single-screening instruction and a multi-screening instruction, and the preset screening algorithm includes: the method comprises the steps of receiving a single-selection screening instruction, excluding other screening instructions in the same screening component, receiving at least one multi-selection screening instruction, and excluding other single-selection screening instructions of the same screening component.
9. An electronic device, comprising:
one or more processors;
storage means for storing executable instructions that, when executed by the processor, implement the method of any one of claims 1 to 7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, implement the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202210103778.XA 2022-01-27 2022-01-27 Data screening method and device, electronic equipment and storage medium Pending CN114417091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103778.XA CN114417091A (en) 2022-01-27 2022-01-27 Data screening method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103778.XA CN114417091A (en) 2022-01-27 2022-01-27 Data screening method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114417091A true CN114417091A (en) 2022-04-29

Family

ID=81279228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103778.XA Pending CN114417091A (en) 2022-01-27 2022-01-27 Data screening method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114417091A (en)

Similar Documents

Publication Publication Date Title
AU2013352236B2 (en) System and method for displaying multiple applications
CN110888696A (en) Page display method and system, computer system and computer readable medium
CN113434241A (en) Page skipping method and device
US10951486B2 (en) Terminal device, UI expansion method, and UI expansion program
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN113900834A (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN112965916B (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN110442406B (en) Paging control data processing method, paging control and electronic equipment
WO2020042842A1 (en) Page presentation method and system, computer system, and computer-readable medium
CN115756461A (en) Annotation template generation method, image identification method and device and electronic equipment
CN110888583B (en) Page display method, system and device and electronic equipment
CN114417091A (en) Data screening method and device, electronic equipment and storage medium
CN113986258A (en) Service publishing method, device, equipment and storage medium
CN114510309B (en) Animation effect setting method, device, equipment and medium
CN115329232A (en) Page display method, device, equipment and medium
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph
CN110874253B (en) Display method and display system
CN114035792A (en) Page generation method and device, electronic equipment and storage medium
CN115828019A (en) Page generation method, device, equipment and storage medium
CN114385170A (en) Form generation method, device, equipment, medium and program product
CN117743274A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113656326A (en) Program testing method, program testing device, computer system and storage medium
CN113989052A (en) Information monitoring method and device, electronic equipment and storage medium
CN116560546A (en) Page display method, device, equipment, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination