CN104951477B - Method and apparatus for crossing filter data - Google Patents

Method and apparatus for crossing filter data Download PDF

Info

Publication number
CN104951477B
CN104951477B CN201410126306.1A CN201410126306A CN104951477B CN 104951477 B CN104951477 B CN 104951477B CN 201410126306 A CN201410126306 A CN 201410126306A CN 104951477 B CN104951477 B CN 104951477B
Authority
CN
China
Prior art keywords
data
filter
attribute value
subset
filter controls
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.)
Expired - Fee Related
Application number
CN201410126306.1A
Other languages
Chinese (zh)
Other versions
CN104951477A (en
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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN201410126306.1A priority Critical patent/CN104951477B/en
Publication of CN104951477A publication Critical patent/CN104951477A/en
Application granted granted Critical
Publication of CN104951477B publication Critical patent/CN104951477B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Disclose it is a kind of for filter data method and apparatus, the method includes: associated with the data acquisition system filter controls of display;It is directed to the predefined operation of filter controls in response to user, shows the attribute value that the data item in the data acquisition system has;Receive the filter condition that user is directed at least one attribute value setting selected from shown attribute value;According to the filter condition, filter controls are split into the first filter controls and the second filter controls, wherein, first filter controls are associated with the first data subset, second filter controls are associated with the second data subset, first data subset includes the data item of at least one attribute value selected in data acquisition system, and the second data subset includes remaining data item in data acquisition system.

Description

Method and apparatus for crossing filter data
Technical field
The present invention relates to computer data analysis more particularly to the filterings of search result.
Background technique
User often merely enters simple search condition when retrieving data on the smart machines such as computer, mobile phone.It is general next It says, search condition is simpler, and the data volume of search result is bigger.It, can be with if the user feels that the data volume of search result is big Quadratic search is carried out to search result and reduces the range of search result that is, by inputting new search condition.It can constantly weigh It is multiple to carry out such quadratic search, until user pleases oneself to last search result.This operation for reducing range of search, Also data filtering is made to operate.Data filtering refers to screening out partial data from a data acquisition system, obtains one and do not include The new data acquisition system for the data being screened.
Summary of the invention
It is an object of the present invention to provide a kind of method and apparatus for facilitating user that data filtering is effectively performed.
On the one hand, a kind of method of data filtering is provided, includes: display filtering control associated with a data acquisition system Part;It is directed to the predefined operation of filter controls in response to user, shows the attribute value that the data item in the data acquisition system has;It connects Receive the filter condition that user is directed at least one attribute value setting selected from shown attribute value;With according to the filtering Filter controls are split into the first filter controls and the second filter controls by condition, wherein the first filter controls and the first data Collection is associated, and the second filter controls are associated with the second data subset, and the first data subset includes in data acquisition system with selected The data item at least one attribute value selected, the second data subset include remaining data item in data acquisition system.
On the other hand, provide a kind of device for data filtering, include: module is presented in filter controls, is configured for Show filter controls associated with a data acquisition system;Module is presented in attribute value, is configured for being directed in response to user The predefined operation for filtering control, shows the attribute value that the data item in the data acquisition system has;Filter condition receiving module is matched Set the filter condition for being directed at least one attribute value selected from shown attribute value setting for receiving user;And filtering Module, is configured for according to the filter condition, and filter controls are split into the first filter controls and the second filter controls, In, the first filter controls are associated with the first data subset, and the second filter controls are associated with the second data subset, the first data Subset includes the data item in data acquisition system at least one selected attribute value, and the second data subset includes data acquisition system In remaining data item.
Using the method respectively implemented of the invention, can be done step by step data mistake by human-computer interaction interface guidance user Filter, user's operation are convenient, flexible.
Detailed description of the invention
Disclosure illustrative embodiments are described in more detail in conjunction with the accompanying drawings, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein in disclosure illustrative embodiments, identical reference label Typically represent same parts.
Fig. 1 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention;
Fig. 2 schematically shows the flow chart of the method for being used for filter data according to inventive embodiments;
Fig. 3 schematically shows the screen shape when method operation for being used for filter data according to inventive embodiments State;
Human-computer interaction when Fig. 4 to 6 is schematically shown according to the method operation for crossing filter data for inventing various embodiments Interface;
Fig. 7 schematically shows the simplified block diagram of the device for being used for filter data according to inventive embodiments.
Specific embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and can be by the disclosure Range is completely communicated to those skilled in the art.
Fig. 1 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention. The computer system/server 12 that Fig. 1 is shown is only an example, should not function and use scope to the embodiment of the present invention Bring any restrictions.
As shown in Figure 1, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to: one or more processor or processing unit 16, system storage 28, connection The bus 18 of different system components (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to ISA(Industry Standard Architecture) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and periphery component interconnection (PCI) bus.
Computer system/server 12 typically comprises a variety of computer system readable media.These media, which can be, appoints What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and Immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include other removable Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for Read and write immovable, non-volatile magnetic media (Fig. 1 do not show, commonly referred to as " hard disk drive ").Although not showing in Fig. 1 Out, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to removable The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, Each driver can be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one A program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform The function of various embodiments of the present invention.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould Block 42 usually executes function and/or method in embodiment described in the invention.
Computer system/server 12 can also be with one or more external equipment 14(such as keyboard, sensing equipment, aobvious Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more Letter, and/or with the computer system/server 12 any is set with what one or more of the other calculating equipment was communicated Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined Systems/servers 12 use other hardware and/or software module, including but not limited to: microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
In addition to Fig. 1 shows traditional computer system/server 12, suitable for being used to realize that embodiment of the present invention can be with Including mobile electronic device, including but not limited to mobile phone, PDA, tablet computer etc..Typically, mobile electronic device has Input equipment includes but is not limited to touch input device, such as touch screen, touch tablet.Illustrate first of the invention for data The various embodiments of the method for filtering.For the convenience of narration, below as an example with the mobile phone with touch screen, to illustrate The operation of method of the invention.It should be pointed out that the smart machine that the present invention is applicable in, is not restricted to mobile phone;Equally, The display that the present invention is applicable in, is also not limited only to touch screen.
Method of the invention can carry out data filtering for an original data set.For example, user's mobile phone access one When a electric business website, a simple retrieval condition is inputted.The search engine of electric business website is retrieved from the commodity that electric business is sold Meet the data of the search condition as search result, and it will be shown on the touch screen of mobile phone.If the number of search result Very big according to measuring, user needs to screen search result, to find desired data item.In such a case, it is possible to will search Index holds up the result of return as original data set, starts the method for data filtering of the invention.
Referring to Fig. 2, which indicates the process of the method for data filtering according to one embodiment of the invention Figure.As shown, this method includes:
Step 210, filter controls associated with a data acquisition system are shown;
Step 220, it is directed to the predefined operation of filter controls in response to user, shows the data item tool in the data acquisition system Some attribute values;
Step 230, the filtering that user is directed at least one attribute value setting selected from shown attribute value is received Condition;With
Step 240, according to the filter condition, filter controls are split into the first filter controls and the second filter controls, Wherein, the first filter controls are associated with the first data subset, and the second filter controls are associated with the second data subset, the first number According to the data item that subset includes at least one selected whole attribute value in data acquisition system, the second data subset includes number According to remaining data item in set.
Below with reference to other attached drawings, illustrate the embodiment of each step.Referring initially to Fig. 3, the figure shows according to this hair The screen interface of bright one embodiment.More specifically, the figure shows after the execution step 210 on mobile phone, on handset touch panel The interface of display.
Step 210 shows a filter controls associated with a data acquisition system.In interface shown in Fig. 3, left side is aobvious What is shown is such a filter controls 310, and the data item of a data acquisition system S is shown in right side.
According to one embodiment of the invention, data item in data acquisition system S is to retrieve number with search engine (being not shown) According to and generate search result.
Such as text " Search result of ' Mobile phone ': 10,345All " expression, the current mistake of right hand top Filter the associated data acquisition system S of control, be search engine " Mobilephone " (mobile phone) is retrieved and the retrieval knot that generates Fruit;Data item in search result, a total of 10,345.In current page, the 1st~20 data therein are illustrated only ?.In fact, these data item are that mobile phone user carries out retrieving generated search result with term " Mobile phone ", The search result of the generation of this simple retrieval, data volume is usually very big, and user needs further to be filtered search result, To reduce the scope, until finding the target of retrieval.
Filter controls 310 are the functional components that can be realized by programming, such as can be realized with widget (widget).Institute Belong to those skilled in the art to know, widget refers to the widget for having predetermined function by coding.The present invention " filter controls ", it is also possible that widget, have the function of auxiliary data filtering.
It should be pointed out that in interface shown in Fig. 3, the locating region on the screen of filter controls 310, with data acquisition system Region locating for S is different, to simplify the explanation, the screen area for showing filter controls is known as to " control is shown in the description The screen area for showing data is known as " display field ", however, person of ordinary skill in the field should be understood that by area " Such screen divides, only logicality, is for purposes of the invention not necessary.In practical applications, there can be it Its manifestation mode.For example, region locating for region locating for filter controls 310 and data acquisition system S, can also be overlapped, at this In the case of kind, filter controls 310 can be shown with translucent mode.
Data item in addition to directly displaying data acquisition system S associated with filter controls 310, can in various ways with mistake Filter control 310 displays in association with the related content of data acquisition system S.
As shown, in one embodiment, displaying in association with the data that data acquisition system S includes with filter controls 310 The number " 10345 " of item.In this case, when showing filter controls 310, even if set of displayable data does not close the data item of S Content, be also enough to indicate that filter controls 310 are associated comprising the data acquisition system S of 10345 data item with one.
In one embodiment, the retrieval for retrieving data acquisition system can also be displayed in association with filter controls 310 Formula, such as " Mobile phone ", user is without memory, so that it may understand from display screen associated with filter controls 310 Data acquisition system S is retrieved according to what search condition.
Return to Fig. 2.In step 220, it is directed to the predefined operation of filter controls in response to user, shows data acquisition system S In the attribute value that has of data item.
User is for the predefined operation for the filter controls 310 for touching screen display, e.g. some hand predetermined Gesture, such as two fingers once " are pinched " in filter controls 310, according to prior definition, which indicates that user wants filtering Data.It is of course also possible to otherwise make the operation for filter controls 310, such as mouse is used on common display screen Click filter controls 310.This operation can be captured by the method for the present invention.
In response, the method for the present invention set of displayable data closes the attribute value that the data item in S has.
Those skilled in the art will appreciate that in data processing field, especially in database application system, generally With attribute and attribute value come characterize data item.One feature sides of one attribute representative data item of data item, data item Multiple feature sides are indicated by the attribute (also known as " attribute-name ") of multiple names.For example, indicating the data item of mobile phone, there is attribute Each attribute of entitled " Brand " (brand), " Color " (color), " Price " (price), " Style " (style) etc..Data The attribute value of item refers to the value corresponding to some attribute.For example, " Red " (red), which is one, corresponds to attribute-name " Color " Value, accordingly, it can be said that " Red " is an attribute value.
In illustrative retrieval application, a quilt is indicated as each data item in the data acquisition system S of search result The object being retrieved.For example, each data item indicates a mobile phone, the content of some data item can be " association, it is red, $1500, band camera ... ".
In searching system, according to the data structure of the data item stored in database, can obtain data attribute or Attribute-name, in the index used for search engine, the attribute value containing data item.
Therefore, in one embodiment, data can be obtained from index that is pre-stored, using for search engine The attribute value of item.Attribute value is obtained from the index that described search engine uses
Theoretically, the attribute of the data item in data acquisition system associated with filter controls 310 can be directly displayed Value.For example, the index used according to search engine is it is found that the mobile phone that the data item in data acquisition system S represents, there is 10 kinds of brands (Brand): B1~B10;4 kinds of colors (Color): C1~C4;20 kinds of prices (Price): P1~P20;5 kinds of patterns (Style): St1~St5.In this case, for example, the attribute value B1~B10 that can directly have the data item in data acquisition system S, C1~C4, P1~P20, St1~St5, in an attribute value viewing area being displayed on the screen.
If there are many quantity of attribute value, can in multiple screen pages display attribute value.
The purpose of display attribute value is that user is allowed therefrom to select one or more attribute values, for filter data was arranged Condition indicated the mode of filter data.
Attribute value is selected in order to be more convenient user, in an embodiment of the invention, step 220 can use two sub-steps 220_1 and 220_2 is realized.In sub-step 220_1, set of displayable data closes at least one attribute of the data item in S;In sub-step 220_2, the selection in response to user to an attribute at least one described attribute, shows the corresponding category of selected attribute Property value.
Referring to Fig. 4, the figure shows human-computer interactions circle when running according to the method for crossing filter data of invention one embodiment Face.Fig. 4 illustrates only the filter controls 410 in control viewing area, indicates identical object with the filter controls 310 of Fig. 3.It is suitable Just it points out, in order to protrude main points of the invention, in attached Figures 5 and 6 in attached drawing 4 and hereafter, is omitted in human-computer interaction interface " display field ".
As described above, sub-step 220_1 set of displayable data closes at least one attribute of the data item in S.This sub-steps Shown in the control viewing area indicated such as Fig. 4 left part, in the control viewing area, one is displayed in association with filter controls 410 A list 420, wherein the attribute " Brand " (brand) having comprising the data item in data acquisition system S, " Color " (color), " Price " (price) and " Style " (pattern).
It should be pointed out that four attributes in list 420 are only exemplary, in practical applications, number can be shown The all properties having according to the data item in set S.
In addition, understanding for convenience, it is assumed hereinafter that user wishes that according to " non-red ", " band camera ", brand be " B1 " Or the condition of " B2 ", find selectable mobile phone.
Then, user clicks the attribute " Color " in list 420.
In sub-step 220_2, selection in response to user to an attribute at least one described attribute, selected by display The corresponding attribute value of the attribute selected.
As the middle section Fig. 4 indicate control viewing area shown in, as to user click attribute " Color " response, A list 422 is shown on screen, it is (white comprising attribute value " Red " (red), " Blue " (blue), " White " in list 422 Color) and " Yellow " (yellow).As an example, only there are four the attribute values for corresponding to attribute " Color " in list 420, in reality In the application of border, all properties value corresponding to attribute " Color " that the data item in S has can be closed with set of displayable data.
User can select at least one attribute value from shown attribute value, at least one selected category Property value be arranged filter condition.
In this example, user wants to filter out red mobile phone from search result.Then, user selects attribute value " Red ", And make the movement for being dragged and dropped into the lower part of filter controls 410.According to preparatory definition, user by attribute value (such as " Red ") be dragged and dropped into filter controls 410 lower half movement, indicate the filter condition to be arranged be filter out have it is selected Attribute value (such as " Red ") data item.Obviously, the mobile phone with attribute value " Red " is filtered out, screening is equivalent to and does not have The mobile phone of attribute value " Red ", the i.e. mobile phone of blue, white and yellow.
It can additionally define, if user, which makes, is dragged and dropped into the top of filter controls 410 for attribute value (such as " Red ") Movement, then it represents that the filter condition to be arranged is, screens the data with the selected attribute value of user (such as " Red ") ?.Obviously, screening has the mobile phone of attribute value " Red ", this, which is equivalent to, filters out the mobile phone without attribute value " Red ", i.e., blue The mobile phone of color, white and yellow.
The above description is that users to select an attribute value from shown attribute value, for a selected attribute Value setting filter condition.In the concrete realization, user can also select multiple attribute values from shown attribute value, for institute Filter condition is arranged in multiple attribute values of selection.Such as simultaneous selection attribute value " Red " and " Yellow ", upward drag and drop indicate Screening the mobile phone with attribute value " Red " and the mobile phone with attribute value " Yellow " or downward drag and drop, expression will filter Fall the mobile phone with attribute value " Red " and the mobile phone with attribute value " Yellow ".
User will be captured in step 230 for the operation of attribute value setting filter condition.
In step 230, the mistake that user is directed at least one attribute value setting selected from shown attribute value is received Filter condition.
As described above, the filter condition may include following one of any:
(1) screening has the data item of at least one selected attribute value;Or
(2) data item at least one selected attribute value is filtered out.
In this example, the filter condition of user setting is: filtering out the mobile phone with attribute value " Red ".
In fact, filter condition (1) is equivalent to all data item filtered out without at least one attribute value, and mistake Filter condition (2) is equivalent to data item of the screening without at least one attribute value.Therefore, it filters out with attribute value " Red " Mobile phone, be equivalent to screening do not have attribute value " Red " mobile phone.Allow both filter conditions of user setting, so that user There can be better operating experience.
In step 240, according to the filter condition, filter controls 410 are split into the first filter controls 411 and the second mistake Filter control 412.First filter controls 411 and the second filter controls 412 respectively represent the first data subset S1 and the second data Collecting S2, wherein the first data subset S1 includes the data item at least one selected attribute value in data acquisition system S, Second data subset S2 includes the remainder data item in data acquisition system S.
In this example, the first data subset S1 includes the data item with attribute value " Red ", and the second data subset S2 includes not Data item with attribute value " Red ".
Fig. 4 from left to right, intuitively illustrates that step 220(includes step 220_1 and 220_), 230 and 240 execution Journey, the horizontal dotted line of the centre of filter controls 410 are like a filter screen.Filter controls 410 are according to for attribute value The filter condition of " Red " setting, is filtered data acquisition system S, that is, the value for filtering out attribute " Color " is the data of " Red " ?.As a result, filter controls 410 are " broken apart " into the first filter controls 411 and second as shown in the control viewing area of right part Filter controls 412 have 1243 data item, the second filter controls 412 in the associated data acquisition system S1 of first filter controls 411 There are 9102 data item in associated data acquisition system S2.
The function of first filter controls 411 and the second filter controls 412 is identical as the function of filter controls 410.
According to one embodiment of the invention, after step 230, the inspection for retrieving the first data subset S1 can also be generated Retrieval type cable-styled and for retrieving the second data subset S2.
For example, being similar to < mobile for retrieving the expression-form of retrieval type of the first data subset S1 in this example Phone, COLOR is red>, the retrieval type expression-form for retrieving the second data subset S2 is similar to<mobile phone,COLOR is NOT red>。
In one embodiment, the inspection for retrieving the first data subset can be displayed in association with the first filter controls It is cable-styled, or/and retrieval type for retrieving the second data subset is displayed in association with the second filter controls.Actually answering In can using it is various it is suitable by the way of express and show retrieval type, in this way, user can intuitively understand each filtering The range of the associated data acquisition system of control, in order to further be operated to each filter controls.
In one embodiment, it can store generated for retrieving the retrieval type of the first data subset and for retrieving The retrieval type of second data subset.
In one embodiment, it may also respond to the request that user requires the first data subset of display, with what is stored For retrieving the retrieval type of the first data subset, the data item of the first data subset is retrieved;Display the is required in response to user The request of two data subsets retrieves the second data subset with being stored for retrieving the retrieval type of the second data subset Data item.For example, whenever, user can operate filter controls by gesture or pointing device, indicate request display first The content of data subset by search engine with being stored for retrieving the retrieval type of the first data subset, is retrieved in response First data subset, and show the first retrieved data subset.
Step 220~240 can be repeated for the first filter controls 411, data acquisition system S1 is further filtered Operation, can also be directed to the second filter controls 412, carry out further filter operation to data acquisition system S2.
Referring to Fig. 5, the figure shows the screen interfaces according to one embodiment of the invention.More specifically, the figure shows Control viewing area after performing step 230 in this example, the first filter controls 411 therein and the second filter controls 412 and Fig. 4 Shown in it is identical, they are associated with data subset S1 and S2 respectively.
Assuming that user wants the mobile phone of the searching belt camera from the mobile phone of non-red in next step.User can trigger second Filter controls 412.
In step 220, the second filter controls 412 are triggered in response to user, show that the data item in data subset S2 has Attribute value.
The attribute that the data item in data subset S2 has can be shown with similar step above as shown in connection with fig. 4 Value.Which is not described herein again.
The attribute value of the attribute " Style " shown in Fig. 5, including " Camera " (camera).
The control viewing area of Fig. 5 left part indicates that user selects attribute value " Camera ", makes and being dragged to the second mistake Filter the gesture of 412 upper half of control.According to preparatory definition, this gesture indicates a desire to find or screen have the attribute value Data item in this example, indicates a desire to the mobile phone of searching belt camera.
In step 230, the mistake that user is directed at least one attribute value setting selected from shown attribute value is received Filter condition, it may be assumed that the value of screening attribute " Style " is the mobile phone of " Camera ".
As shown in the control viewing area of Fig. 5 left part, in step 240, according to filter condition, with two filter controls 511 and 512 substitution filter controls 412.The a subset S of filter controls 511 and data acquisition system S2511Association, filter controls 512 With another subset S of data acquisition system S2512Association, wherein data subset S511It is selected comprising having in data acquisition system S2 Attribute value " Camera " data item, data subset S512Comprising the remainder data item in data acquisition system S2, that is, do not have attribute It is worth the data item of " Camera ".
The number 4989 of display associated with filter controls 511 indicates not being mobile phone that is red and having camera Number;The number 4113 of display associated with filter controls 512, expression are not red and without the mobile phones of camera Number.
Determined be not mobile phone red and with camera set S511Afterwards, it is assumed that user further wants to be based on Set S511Search result is filtered according to brand, user can trigger filter controls 511(Fig. 5).
Referring to Fig. 6, the figure shows the control viewing areas in the screen interface according to one embodiment of the invention.
The control viewing area that Fig. 6 left part represents indicates to be directed to filter controls 511(Fig. 5) execute step 220~240 Process.In step 220, filter controls 511 are triggered in response to user, show the attribute that the data item in the data acquisition system has Value, the attribute value " B1 " (brand B1) including attribute " Brand ".
User selects attribute value " B1 ", makes the gesture dragged to the upper half filter controls 511(Fig. 5).The gesture table Show and wants to look for the data item with the attribute value.
In step 230, the mistake that user is directed at least one attribute value setting selected from shown attribute value is received Filter condition, it may be assumed that the value of screening attribute " Brand " is the mobile phone of " B1 ".
Two filter controls 611 and 612 are shown, instead of filter controls 511 according to filter condition in step 240.Filtering Control 611 and filter controls 612 respectively with data acquisition system S511Two subset S611And S612It is associated, wherein subset S511Packet S containing data acquisition system511In the data item with attribute value " B1 ", data subset S612Include data acquisition system S511In do not have The data item of attribute value " B1 ".
The number 2665 displayed in association with filter controls 611, expression be not it is red, with camera, brand be The number of the mobile phone of " B1 ";The number 2324 displayed in association with filter controls 612, expression be not it is red, with camera, Brand is not the number of the mobile phone of " B1 ".
If user also wants to filter search result according to brand, filter controls 612 can be triggered.The middle section Fig. 6 represents Control viewing area, indicate for filter controls 612 execute step 220~240 process.
In step 220, filter controls 612 are triggered in response to user, show the category that the data item in the data acquisition system has Property value, the attribute value " B2 " (brand B2) including attribute " Brand ".
User selects attribute value " B2 ", makes the gesture dragged to the upper half filter controls 612(Fig. 5), indicates a desire to Find the data item with attribute value " Brand B ".
In step 230, the mistake that user is directed at least one attribute value setting selected from shown attribute value is received Filter condition, it may be assumed that the value of screening attribute " Brand " is the mobile phone of " B2 ".
Two filter controls 613 and 614 are shown, instead of filter controls 612 according to filter condition in step 240.Filtering Control 613 and 614 and data acquisition system S612Two subset S613Subset S614It is associated respectively, wherein data subset S613Include Data acquisition system S612In the data item with selected attribute value " Brand B ", data subset S614Include data acquisition system S612 In the data item without attribute value " B2 ".
The number 1305 displayed in association with filter controls 613, representative be not it is red, with camera, brand be The number of the mobile phone of " B2 ";The number 1019 displayed in association with filter controls 614, representative be not it is red, with camera, Brand is neither " B1 " is also not the number of the mobile phone of " B2 ".
Shown in the control viewing area represented such as Fig. 6 right part, by above-mentioned filtration step, display 5 is micro- on the screen Part 611,613,614,512 and 411, the function of widget 611,613,614,512 and previously described widget 410,411,412 Function is identical, can for widget 611,613,614,512 carry out operation also with can be directed to widget 410,411,412 carry out Operation it is similar, which is not described herein again.
User can execute the process of step 220~240 for widget 611,613, continue to zoom out the mobile phone to be found Range.
It is of course also possible to the process of step 220~240 be executed, thus constantly for any filter controls currently shown Ground carries out data filtering.
It should be pointed out that person of ordinary skill in the field should be understood that for from mistake derived from filter controls 410 Control 611,613,614,512 and 411 is filtered, various combination operations can also be carried out, for example, can be by filter controls 512 and 614 It is merged into a new filter controls.It is this to merge the inverse behaviour for filtering that micro- operation is the operation of division filter controls of the invention Make, based on design of the invention, person of ordinary skill in the field, which is not difficult to design, realizes that micro- operation is filtered in this merging Various modes, to meet the greater demand of user.
Front describes each embodiment for realizing method of the invention by reference to attached drawing.Those skilled in the art can be with Understand, the above method can both be realized with software mode, can also be realized in hardware, or pass through software and hardware The mode combined is realized.Also, it will be understood by those skilled in the art that by being combined with software, hardware or software and hardware Mode realize each step in the above method, a kind of dress for data filtering based on identical inventive concept can be provided It sets.Even if the device is identical as general purpose processing device on hardware configuration, the effect of software as included in it, so that should Device shows the characteristic for being different from general purpose processing device, to form the device of each embodiment of the invention.
Based on the same inventive concept, the present invention also proposes a kind of device for data filtering, Fig. 7 schematically show according to The simplified block diagram of the device for being used for filter data of inventive embodiments.
As shown, including according to the device for being used for filter data of one embodiment of the invention: mould is presented in filter controls Module 720, filter condition receiving module 730 and filtering module 740 is presented in block 710, attribute value.
Filter controls are presented module 710 and are configured for display filter controls associated with a data acquisition system;
Attribute value is presented module 720 and is configured for being directed to the predefined operation of filter controls in response to user, and display should The attribute value that data item in data acquisition system has;
Filter condition receiving module 730 is configured for receiving user for selecting at least from shown attribute value The filter condition of one attribute value setting, the filter condition include following one of any:;
Filtering module 740 is configured for according to the filter condition, by filter controls be split into the first filter controls and Second filter controls, wherein the first filter controls are associated with the first data subset, the second filter controls and the second data subset Associated, the first data subset includes the data item with whole attribute value selected by user in data acquisition system, the second data Collection includes remaining data item in data acquisition system.
In one embodiment, the attribute value presentation module 720 includes:
Attribute display module (is not shown), is configured at least one category for the data item that set of displayable data is closed in S Property;With
Attribute value display module (is not shown), is configured in response to user at least one shown attribute An attribute selection, show the attribute value corresponding to selected attribute that the data item in the data acquisition system has.
In one embodiment, the data item in the data acquisition system is the inspection generated with search engine retrieving data Hitch fruit.
In one embodiment, the attribute value is obtained from the index that described search engine uses.
In one embodiment, described device further includes: retrieval type generation module (is not shown), is configured for Generate the retrieval type for retrieving the first data subset and the retrieval type for retrieving the second data subset.
In one embodiment, the filter controls presentation module, which is further configured, is used for: with the first filter controls phase Associatedly display is used to retrieve the retrieval type of the first data subset, and/or displays in association with use with the second filter controls In the retrieval type for retrieving the second data subset.
In one embodiment, described device further includes: retrieval type memory module, is configured for storage for examining The retrieval type of the first data subset of rope and retrieval type for retrieving the second data subset.
In one embodiment, described device further includes: retrieval module, is configured for requiring in response to user aobvious The request for showing the first data subset retrieves the first data with being stored for retrieving the retrieval type of the first data subset The data item of collection;The request that the second data subset of display is required in response to user, it is sub for retrieving the second data with what is stored The retrieval type of collection retrieves the data item of the second data subset.
The embodiment of the device for being used for filter data of the invention is explained above.To the device for crossing filter data In the description of embodiment, be omitted with duplicate content in the description to the method for crossing filter data, or can be from above-mentioned Derived content in description.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random-access memory (ram), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), Static Random Access Memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.

Claims (16)

1. it is a kind of for filter data method, include:
Show filter controls associated with a data acquisition system;
It is directed to the predefined operation of filter controls in response to user, shows the attribute value that the data item in the data acquisition system has;
Receive the filter condition that user is directed at least one attribute value setting selected from shown attribute value;
According to the filter condition, filter controls are split into the first filter controls and the second filter controls, wherein the first filtering Control is associated with the first data subset, and the second filter controls are associated with the second data subset, and the first data subset includes number According to, with the data item of at least one selected attribute value, the second data subset includes remaining number in data acquisition system in set According to item.
2. according to the method for claim 1 wherein the attribute value for showing that the data item in the data acquisition system has includes:
At least one attribute of data item in set of displayable data conjunction;
Selection in response to user to an attribute at least one shown attribute, shows the data in the data acquisition system The attribute value corresponding to selected attribute that item has.
3. according to the method for claims 1 or 2, wherein the data item in the data acquisition system is with search engine retrieving data And the search result generated.
4. according to method for claim 3, wherein the attribute value is obtained from the index that described search engine uses.
5. being further included according to the method for claims 1 or 2:
Generate the retrieval type for retrieving the first data subset and the retrieval type for retrieving the second data subset.
6. being further included at least one of following according to method for claim 5:
The retrieval type for retrieving the first data subset is displayed in association with the first filter controls;
The retrieval type for retrieving the second data subset is displayed in association with the second filter controls.
7. being further included according to method for claim 5:
Retrieval type of the storage for retrieving the retrieval type of the first data subset and for retrieving the second data subset.
8. being further included according to method for claim 7:
The request that the first data subset of display is required in response to user, with the retrieval for being used to retrieve the first data subset stored Formula retrieves the data item of the first data subset;
The request that the second data subset of display is required in response to user, with the retrieval for being used to retrieve the second data subset stored Formula retrieves the data item of the second data subset.
9. it is a kind of for filter data device, include:
Module is presented in filter controls, is configured for display filter controls associated with a data acquisition system;
Module is presented in attribute value, is configured for being directed to the predefined operation of filter controls in response to user, shows the data set The attribute value that data item in conjunction has;
Filter condition receiving module is configured for receiving user at least one category selected from shown attribute value Property value setting filter condition;
Filtering module, is configured for according to the filter condition, and filter controls are split into the first filter controls and the second mistake Filter control, wherein the first filter controls are associated with the first data subset, and the second filter controls are related to the second data subset Connection, the first data subset include the data item in data acquisition system at least one selected attribute value, the second data subset Include remaining data item in data acquisition system.
10. according to the device of claim 9, wherein the attribute value is presented module and includes:
Attribute display module is configured at least one attribute of the data item in set of displayable data conjunction;
Attribute value display module is configured for the choosing in response to user to an attribute at least one shown attribute It selects, shows the attribute value corresponding to selected attribute that the data item in the data acquisition system has.
11. according to the device of claim 9 or 10, wherein the data item in the data acquisition system is with search engine retrieving number According to and generate search result.
12. according to the device of claim 11, wherein the attribute value is obtained from the index that described search engine uses 's.
13. being further included according to the device of claim 9 or 10:
Retrieval type generation module is configured for generating the retrieval type for retrieving the first data subset and for retrieving the second number According to the retrieval type of subset.
14. according to the device of claim 13, wherein the filter controls present module be further configured for it is following at least One of:
The retrieval type for retrieving the first data subset is displayed in association with the first filter controls;
The retrieval type for retrieving the second data subset is displayed in association with the second filter controls.
15. being further included according to the device of claim 13:
Retrieval type memory module is configured for storage for retrieving the retrieval type of the first data subset and for retrieving the second number According to the retrieval type of subset.
16. being further included according to the device of claim 15:
Retrieval module is configured for:
The request that the first data subset of display is required in response to user, with the retrieval for being used to retrieve the first data subset stored Formula retrieves the data item of the first data subset;
The request that the second data subset of display is required in response to user, with the retrieval for being used to retrieve the second data subset stored Formula retrieves the data item of the second data subset.
CN201410126306.1A 2014-03-31 2014-03-31 Method and apparatus for crossing filter data Expired - Fee Related CN104951477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410126306.1A CN104951477B (en) 2014-03-31 2014-03-31 Method and apparatus for crossing filter data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410126306.1A CN104951477B (en) 2014-03-31 2014-03-31 Method and apparatus for crossing filter data

Publications (2)

Publication Number Publication Date
CN104951477A CN104951477A (en) 2015-09-30
CN104951477B true CN104951477B (en) 2019-04-12

Family

ID=54166140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410126306.1A Expired - Fee Related CN104951477B (en) 2014-03-31 2014-03-31 Method and apparatus for crossing filter data

Country Status (1)

Country Link
CN (1) CN104951477B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3472725A1 (en) * 2016-06-17 2019-04-24 Koninklijke Philips N.V. Data-guided filtering
CN106354799B (en) * 2016-08-26 2020-01-14 河海大学 Subject data set multilayer facet filtering method and system based on data quality
CN109543082B (en) * 2018-11-09 2020-11-10 医渡云(北京)技术有限公司 Method, device and medium for searching patient data through graphical display
CN110347910A (en) * 2019-05-28 2019-10-18 成都美美臣科技有限公司 One e-commerce website search result filtering rule

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591972A (en) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 Method and device for providing goods search results

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574434B2 (en) * 2005-02-25 2009-08-11 Sony Corporation Method and system for navigating and selecting media from large data sets
EP1755046A1 (en) * 2005-08-17 2007-02-21 Deutsche Post AG Method and system for providing data from a multiplicity of database systems to at least one client.
CN101295396A (en) * 2008-06-19 2008-10-29 腾讯科技(深圳)有限公司 Electronic commerce platform and its commercial articles attribute comparison method
CN101599087A (en) * 2009-07-02 2009-12-09 金蝶软件(中国)有限公司 Data enquire method and device
CN103106240A (en) * 2012-12-12 2013-05-15 江苏乐买到网络科技有限公司 Method of searching products in online shopping

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591972A (en) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 Method and device for providing goods search results

Also Published As

Publication number Publication date
CN104951477A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
US10261659B2 (en) Orbit visualization for displaying hierarchical data
US10067635B2 (en) Three dimensional conditional formatting
US8996978B2 (en) Methods and systems for performing analytical procedures by interactions with visual representations of datasets
US20190324986A1 (en) In-context event orchestration of physical and cyber resources
US9606705B2 (en) Techniques for capturing and displaying user interaction data
US20180300327A1 (en) Display, visualization, and management of images based on content analytics
US9128595B2 (en) Managing data content on a computing device
US8930851B2 (en) Visually representing a menu structure
US10901612B2 (en) Alternate video summarization
EP3028230A2 (en) Automatic recognition and insights of data
US20140331179A1 (en) Automated Presentation of Visualized Data
KR20160023412A (en) Method for display screen in electronic device and the device thereof
CN104951477B (en) Method and apparatus for crossing filter data
US9619519B1 (en) Determining user interest from non-explicit cues
US20140071134A1 (en) Visualization of user sentiment for product features
US10394423B2 (en) Efficient list traversal
US20140143701A1 (en) Visualizing related business activities in an interactive timeline
US20220269380A1 (en) Method and system for structuring, displaying, and navigating information
US11094096B2 (en) Enhancement layers for data visualization
KR20160136726A (en) Electronic apparatus and the controlling method thereof
US10732794B2 (en) Methods and systems for managing images
US20150058774A1 (en) Gesture-based visualization of financial data
US11194843B2 (en) Methods and systems for visual management of relational data
WO2022116373A1 (en) Interaction method and apparatus for media objects in media library, and electronic device
US8595260B1 (en) Alternating between data-driven and metadata-driven view for dataflow design

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190412

Termination date: 20210331

CF01 Termination of patent right due to non-payment of annual fee