CN110096501A - Data search method, device, medium and electronic equipment based on label - Google Patents
Data search method, device, medium and electronic equipment based on label Download PDFInfo
- Publication number
- CN110096501A CN110096501A CN201811023726.1A CN201811023726A CN110096501A CN 110096501 A CN110096501 A CN 110096501A CN 201811023726 A CN201811023726 A CN 201811023726A CN 110096501 A CN110096501 A CN 110096501A
- Authority
- CN
- China
- Prior art keywords
- label
- data
- tag combination
- data attribute
- attribute
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012216 screening Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 241001269238 Data Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/221—Column-oriented storage; Management thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present embodiments relate to big data technical field, provide a kind of data search method based on label, device, medium and electronic equipment, should data search method based on label include: receive include at least one label tag combination;According to " data attribute-label " that pre-establishes corresponding table, the corresponding data of the tag combination are filtered out, wherein each label corresponds to a kind of data attribute;Show the target data filtered out.Search efficiency can be improved in the technical solution of the embodiment of the present invention.
Description
Technical field
The present invention relates to big data technical fields, in particular to a kind of data search method based on label, dress
It sets, medium and electronic equipment.
Background technique
With the development of science and technology, every field is required to search for target data with search technique.For example, insurance neck
Domain need to obtain target user by searching target user, and then determine further development side by the data of analysis target user
Case etc..
In the prior art, when searching for target data, firstly, searchers is generally summarized by oneself thinking about target data
The keyword of attribute.Then, above-mentioned keyword is inputted in a search engine to scan for.Finally, search engine is according to input
The docking of corresponding target is showed searchers by keyword.
However, the method for the search target data that the prior art provides, search efficiency need to be further increased.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of data search method based on label, device, medium and electronics
Equipment, so overcome at least to a certain extent the prior art provide search target data method search efficiency need into
The problem of one step improves.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention
Practice and acquistion.
According to a first aspect of the embodiments of the present invention, a kind of data search method based on label is provided, comprising: receive
It include the tag combination of at least one label;According to " data attribute-label " that pre-establishes corresponding table, the mark is filtered out
Label combine corresponding data, wherein each label corresponds to a kind of data attribute;Show the target data filtered out.
In an embodiment of the present invention, according to " data attribute-label " that pre-establishes corresponding table, the mark is screened
Label combine corresponding data, comprising: according to " data attribute-label " corresponding table, determine the corresponding number of label received
According to attribute;The corresponding data of data attribute are obtained, to determine target data.
In an embodiment of the present invention, when the number of labels in the tag combination received is greater than a label,
It is connected between the label of the tag combination by logical relation.
In an embodiment of the present invention, according to " data attribute-label " that pre-establishes corresponding table, the mark is screened
Label combine corresponding data, comprising: it is based on by logical relation between the label, it is right according to " data attribute-label "
Table is answered to determine corresponding data attribute;The corresponding data of data attribute are obtained, to determine target data.
In an embodiment of the present invention, reception include at least one label tag combination before, further includes: system
The frequency of tag combination is counted, the tag combination that the frequency is greater than preset value is recommendatory tag combination;When receiving described push away
When label in the property recommended tag combination, recommend the recommendatory tag combination to searchers.
In an embodiment of the present invention, reception include at least one label tag combination before, further includes: build
Vertical " data attribute-label " corresponding table, " data attribute-label " corresponding table, which includes that label is corresponding with data attribute, to close
System, each corresponding at least one data attribute of the label;Based on " data attribute-label " corresponding table, will acquire
The corresponding data of each data attribute are added respectively under corresponding label.
In an embodiment of the present invention, the label is stored in HBase, screens the corresponding number of the tag combination
According to, comprising: the corresponding data of the tag combination are screened, in HBase by ElasticSearch to determine target data.
According to a second aspect of the embodiments of the present invention, a kind of data serching device based on label is provided, comprising: receive
Module, the receiving module be used for receive include at least one label tag combination;Screening module, the screening module are used
According to " data attribute-label " that pre-establishes corresponding table, the corresponding data of the tag combination are filtered out, wherein each
The corresponding at least one data attribute of the label;Display module, the display module is for showing the data filtered out.
According to a third aspect of the embodiments of the present invention, a kind of computer-readable medium is provided, computer is stored thereon with
Program realizes the data search based on label as described in first aspect in above-described embodiment when described program is executed by processor
Method.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: one or more processors;
Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors
When row, so that one or more of processors realize that the data based on label as described in first aspect in above-described embodiment are searched
Suo Fangfa.
Technical solution provided in an embodiment of the present invention can include the following benefits:
In the technical solution provided by some embodiments of the present invention, table is corresponded to by foundation " data attribute-label ",
Wherein, each label corresponds to a kind of data attribute, i.e., each label corresponds to the multiple keywords for describing this data attribute.Into
And the corresponding data of corresponding data attribute are searched by way of scanning for based on label, that is, search multiple be used for
The corresponding data of keyword for describing this data attribute, to improve search efficiency.Meanwhile the side by receiving tag combination
Formula realizes that one-touch search combines the purpose of corresponding data to corresponding data attribute, to further improve search efficiency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows the flow diagram of the data search method according to an embodiment of the invention based on label;
Fig. 2 shows the corresponding table screening target datas of the basis " data attribute-label " of embodiment according to the present invention
The flow diagram of method;
Fig. 3 shows the flow diagram of the data search method according to another embodiment of the present invention based on label;
Fig. 4 shows the flow diagram of the data search method based on label according to yet another embodiment of the invention;
Fig. 5 shows the structural schematic diagram of the data serching device according to an embodiment of the present invention based on label;
Fig. 6 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
In the prior art, target data attribute can be expressed by the keyword of multiple semantic similarities, thus different
Searchers may summarize target user's attribute different keywords, cause searchers by a keyword search can not
Obtain all target datas.And the keyword of semantic similarity is repeatedly inputted, it searches for several times, causes search efficiency low.Together
When, when the keyword that target data attribute is summarized not at that time, there is also the keyword of input with data attribute is unmatched can
Can, it in turn results in and searches fall short data.
In various embodiments of the present invention, the label is to be established according to mass users data.Based on mass data
The label established is conducive to the accuracy for improving the data search based on label.
Data search method provided in an embodiment of the present invention based on label, overcomes the prior art at least to a certain extent
Present in problem above.
The each embodiment of the present invention is illustrated by taking the search to target user as an example.
Fig. 1 shows the flow diagram of the data search method according to an embodiment of the invention based on label, reference
Fig. 1, the data search method based on label include:
Step S101, reception include the tag combination of at least one label;
It is corresponding to filter out the tag combination according to " data attribute-label " that pre-establishes corresponding table by step S102
Data, wherein each label corresponds to a kind of data attribute;
Step S103 shows the target data filtered out.
In the technical solution for the embodiment that Fig. 1 is provided, pass through foundation " data attribute-label " corresponding table, wherein each
Label corresponds to a kind of data attribute, i.e., each label corresponds to the multiple keywords for describing this data attribute.In turn, by being based on
The mode that label scans for searches the corresponding data of corresponding data attribute, that is, searches multiple for describing this data category
The corresponding data of keyword of property, to improve search efficiency.Meanwhile by way of receiving tag combination, a key is realized
It searches corresponding data attribute and combines the purpose of corresponding data, to further improve search efficiency.
The specific implementation of step each in Fig. 1 is made below and being further described:
In the exemplary embodiment, the label is multidimensional label, such as: upper level label is next including at least one
Grade label.Such as: " label 1 " is first order label, may include " label 11 ", " label 12 " and " label 13 " three second
Grade label, further, second level label " label 13 " may include third level label " label 131 " etc..In step s101,
Reception includes the tag combination of at least one label, wherein each label in the tag combination can be any rank
Label.
In the exemplary embodiment, target data is screened according to " data attribute-label " corresponding table in step s 102,
A kind of its achievable mode is as shown in Figure 2, comprising: step S201 is determined according to " data attribute-label " corresponding table
The corresponding data attribute of the label received;With step S202, the corresponding data of data attribute are obtained, to determine target data.
Such as: if " label 1 and the label 2 " of searchers's input is received, in turn, according to " data attribute-in a trigger process
Label " corresponds to table, determines " label 1 and label 2 " corresponding user property.Then, above-mentioned user property obtains in the database
Corresponding user, these users are provided simultaneously with the corresponding attribute of label 1 and the corresponding attribute of label 2.To filter out target use
Family.Finally, in step s 103, above-mentioned target user is shown.
Fig. 3 shows the flow diagram of the data search method according to another embodiment of the present invention based on label, ginseng
Fig. 3 is examined, the data search method based on label includes step S301- step S304.
In the exemplary embodiment, in step S301, reception includes the tag combination of at least one label, when connecing
When the number of labels in tag combination received is greater than a label, connected between the label of the tag combination by logical relation
It connects.Such as: between the label in same tag combination with or non-logical relation connect.In step s 302, it is based on institute
It states by logical relation between label, corresponding data attribute is determined according to " data attribute-label " corresponding table.In step
In S303, the corresponding data of data attribute are obtained, to determine target data.Finally, in step s 304, by above-mentioned target user
It is shown.
Illustratively, if in a trigger process, " label 1 and the non-label 3 of label 2 " of searchers's input is received,
Corresponding user is then obtained in the database, these users are provided simultaneously with the corresponding attribute of label 1 and the corresponding attribute of label 2,
Do not have the corresponding attribute of label 3 simultaneously.
In the technical solution for the embodiment that Fig. 3 is provided, closed by the way that the logic in same tag combination between label is arranged
System, and be based further on above-mentioned logical relation and corresponding data attribute is determined according to " data attribute-label " corresponding table, thus,
The person of facilitating the search for implements search mission, further improves search efficiency.
Fig. 4 shows the flow diagram of the data search method based on label according to yet another embodiment of the invention, ginseng
Fig. 4 is examined, the data search method based on label includes step S401- step S405.
In the exemplary embodiment, in step S401, " data attribute-label " corresponding table, " the data category are established
Property-label " correspond to the corresponding relationship that table includes label and data attribute, each corresponding at least one data attribute of the label.
Illustratively, searchers summarizes keyword to the attribute of target data, and it is corresponding to search " data attribute-label " by keyword
Table.Wherein, the corresponding label a of A attribute can be obtained by multiple keywords for A attribute.
In the exemplary embodiment, it in step S402, based on " data attribute-label " corresponding table, will acquire
To the corresponding data of each data attribute added under corresponding label respectively.Illustratively, keyword (A1, A2, A3) is
With summary attribute A, then the corresponding data of keyword (A1, A2, A3) are added under the corresponding label a of attribute A.
In the exemplary embodiment, " data attribute-label " corresponding table is to enrich constantly and update.For example, passing through
Uninterruptedly/timing inspection data attribute, it is corresponding for new data attribute setting in time when determining new data attribute
Label, so that being embodied as searchers provides label resources abundant.
In the exemplary embodiment, the data after adding label can be stored in Hbase.HBase is depositing towards column
Storage and permission control, and support independent index, data are only to need minority in inquiry in this way according to certain column storage in table
When several fields, the data volume of reading can be greatly reduced.Add tagged data using HBase storage in the embodiment of the present invention,
Be conducive to the raising of the tag search efficiency of searchers.
In the exemplary embodiment, it when screening the corresponding data of the tag combination, is screened by ElasticSearch
The corresponding data of the tag combination, to determine target data.ElasticSearch can be used to fast as a search engine
The task of the processing retrieval of speed.In embodiments of the present invention, by ElasticSearch to the mark stored in HBase database
Label are operated, such as retrieve corresponding user according to the tag combination comprising " and or non-" logical relation.To into one
Step improves the tag search efficiency of searchers.
In the exemplary embodiment, reception include at least one label tag combination before, further includes: statistics mark
The combined frequency is signed, the tag combination that the frequency is greater than preset value is recommendatory tag combination;It is described recommendatory when receiving
When label in tag combination, recommend the recommendatory tag combination to searchers.
Illustratively, statistics searchers inputs the tag combination that the frequency is greater than the high frequency time of preset value.When searchers inputs
When the relevant label of high frequency time tag combination, the sequence of the frequency occurred according to same label combination from high to low, to searchers
Recommend corresponding high frequency time tag combination.To save the time of searchers's input label combination, further increase search effect
Rate.
In the exemplary embodiment, in the same previous embodiment of specific implementation of step S403- step S405, herein
It repeats no more.
The device of the invention embodiment introduced below can be used for executing the above-mentioned data search based on label of the present invention
Method.
Fig. 5 shows the structural schematic diagram of the data serching device according to an embodiment of the present invention based on label.With reference to figure
5, the data serching device 500 based on label, comprising: receiving module 501, screening module 502 and display module 503.
Wherein, the receiving module 501 be used for receive include at least one label tag combination;The screening module
502 for filtering out the corresponding data of the tag combination according to " data attribute-label " that pre-establishes corresponding table, wherein
Each corresponding at least one data attribute of the label;The display module 503 is for showing the data filtered out.
In the exemplary embodiment, the screening module 502, comprising: the first determination unit and the second determination unit.
Wherein, the first determination unit is used for according to " data attribute-label " and corresponds to table, determines the label pair received
The data attribute answered;Second determination unit is for obtaining the corresponding data of data attribute, to determine target data.
In the exemplary embodiment, described when the number of labels in the tag combination received is greater than a label
It is connected between the label of tag combination by logical relation.
In the exemplary embodiment, the screening module 502, comprising: third determination unit and the 4th determination unit.
Wherein, third determination unit is used for based on logical relation is passed through between the label, according to " the data attribute-
The corresponding table of label " determines corresponding data attribute;4th determination unit is for obtaining the corresponding data of data attribute, to determine mesh
Mark data.
In the exemplary embodiment, the data serching device 500 based on label, further includes: statistical module and recommendation mould
Block.
Wherein, statistical module is used to count the frequency of tag combination, and the tag combination that the frequency is greater than preset value is to push away
The property recommended tag combination;Recommending module is used for when receiving the label in the recommendatory tag combination, recommends institute to searchers
State recommendatory tag combination.
In the exemplary embodiment, the data serching device 500 based on label, further includes: establish module and addition mould
Block.
Wherein, module is established for establishing " data attribute-label " corresponding table, " data attribute-label " corresponding table
Corresponding relationship including label and data attribute, each corresponding at least one data attribute of the label;Adding module is used for base
In " data attribute-label " corresponding table, the multiple data attributes that will acquire add corresponding label.
In the exemplary embodiment, the label is stored in HBase, and screening module 502 is specifically used for: passing through
ElasticSearch screens the corresponding data of the tag combination in HBase, to determine target data.
Each functional module and above-mentioned base due to the data serching device based on label of example embodiments of the present invention
It is corresponded in the step of example embodiment of the data search method of label, therefore for undisclosed in apparatus of the present invention embodiment
Details please refers to the embodiment of the above-mentioned data search method based on label of the present invention.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.The computer system 600 of electronic equipment shown in Fig. 6 is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, it is also stored with various programs and data needed for system operatio.CPU
601, ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus
604。
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment realizes such as the above-mentioned data search method as described in the examples based on label.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110, reception include at least one
The tag combination of label;Step S102 filters out the set of tags according to " data attribute-label " that pre-establishes corresponding table
Close corresponding data, wherein each label corresponds to a kind of data attribute;Step S103 shows the target data filtered out.
For another example, each step as shown in Figure 1 may be implemented in the electronic equipment.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention
Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of data search method based on label characterized by comprising
Reception includes the tag combination of at least one label;
According to " data attribute-label " that pre-establishes corresponding table, the corresponding data of the tag combination are filtered out, wherein every
A label corresponds to a kind of data attribute;
Show the target data filtered out.
2. the method according to claim 1, wherein according to " data attribute-label " that pre-establishes corresponding table,
Screen the corresponding data of the tag combination, comprising:
According to " data attribute-label " corresponding table, the corresponding data attribute of label received is determined;
The corresponding data of data attribute are obtained, to determine target data.
3. the method according to claim 1, wherein when the number of labels in the tag combination received is greater than one
When a label, connected between the label of the tag combination by logical relation.
4. according to the method described in claim 3, it is characterized in that, according to " data attribute-label " that pre-establishes corresponding table,
Screen the corresponding data of the tag combination, comprising:
Based on logical relation is passed through between the label, corresponding data are determined according to " data attribute-label " corresponding table
Attribute;
The corresponding data of data attribute are obtained, to determine target data.
5. the method according to claim 1, wherein receive include at least one label tag combination it
Before, further includes:
The frequency of tag combination is counted, the tag combination that the frequency is greater than preset value is recommendatory tag combination;
When receiving the label in the recommendatory tag combination, recommend the recommendatory tag combination to searchers.
6. method according to any one of claims 1 to 5, which is characterized in that reception includes the mark of at least one label
Before label combination, further includes:
" data attribute-label " corresponding table is established, " data attribute-label " corresponding table includes pair of label and data attribute
It should be related to, each corresponding at least one data attribute of the label;
Based on " data attribute-label " corresponding table, the corresponding data of each data attribute that will acquire are added pair respectively
Under the label answered.
7. according to the method described in claim 6, it is characterized in that, the label is stored in HBase,
Screen the corresponding data of the tag combination, comprising:
The corresponding data of the tag combination are screened, in HBase by ElasticSearch to determine target data.
8. a kind of data serching device based on label characterized by comprising
Receiving module, the receiving module be used for receive include at least one label tag combination;
Screening module, the screening module are used to filter out the mark according to " data attribute-label " that pre-establishes corresponding table
Label combine corresponding data, wherein each corresponding at least one data attribute of the label;
Display module, the display module is for showing the data filtered out.
9. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is executed by processor
Data search method based on label of the Shi Shixian as described in any one of claims 1 to 7.
10. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing
When device executes, so that one or more of processors realize the number based on label as described in any one of claims 1 to 7
According to searching method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811023726.1A CN110096501A (en) | 2018-09-04 | 2018-09-04 | Data search method, device, medium and electronic equipment based on label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811023726.1A CN110096501A (en) | 2018-09-04 | 2018-09-04 | Data search method, device, medium and electronic equipment based on label |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110096501A true CN110096501A (en) | 2019-08-06 |
Family
ID=67443588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811023726.1A Pending CN110096501A (en) | 2018-09-04 | 2018-09-04 | Data search method, device, medium and electronic equipment based on label |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110096501A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258852A (en) * | 2020-01-16 | 2020-06-09 | 深圳鼎盛电脑科技有限公司 | Abnormal data monitoring method and device, electronic equipment and storage medium |
CN113379499A (en) * | 2021-06-18 | 2021-09-10 | 北京沃东天骏信息技术有限公司 | Article screening method and apparatus, electronic device, and storage medium |
CN113626489A (en) * | 2021-08-10 | 2021-11-09 | 深圳市玄羽科技有限公司 | Method, system and computer medium for searching sensor data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729360A (en) * | 2012-10-12 | 2014-04-16 | 腾讯科技(深圳)有限公司 | Interest label recommendation method and system |
US20160103923A1 (en) * | 2014-10-08 | 2016-04-14 | Staples, Inc. | Content Customization |
US20160196310A1 (en) * | 2015-01-06 | 2016-07-07 | International Business Machines Corporation | Cross column searching a relational database table |
WO2017013770A1 (en) * | 2015-07-22 | 2017-01-26 | 楽天株式会社 | Retrieval device, retrieval method, recording medium, and program |
WO2017050149A1 (en) * | 2015-09-22 | 2017-03-30 | 阿里巴巴集团控股有限公司 | Information search method and device |
CN108038192A (en) * | 2017-12-11 | 2018-05-15 | 广东欧珀移动通信有限公司 | Application searches method and apparatus, electronic equipment, computer-readable recording medium |
-
2018
- 2018-09-04 CN CN201811023726.1A patent/CN110096501A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729360A (en) * | 2012-10-12 | 2014-04-16 | 腾讯科技(深圳)有限公司 | Interest label recommendation method and system |
US20160103923A1 (en) * | 2014-10-08 | 2016-04-14 | Staples, Inc. | Content Customization |
US20160196310A1 (en) * | 2015-01-06 | 2016-07-07 | International Business Machines Corporation | Cross column searching a relational database table |
CN105760418A (en) * | 2015-01-06 | 2016-07-13 | 国际商业机器公司 | Method And System For Carrying Out Cross Column Searching On Relational Database Table |
WO2017013770A1 (en) * | 2015-07-22 | 2017-01-26 | 楽天株式会社 | Retrieval device, retrieval method, recording medium, and program |
WO2017050149A1 (en) * | 2015-09-22 | 2017-03-30 | 阿里巴巴集团控股有限公司 | Information search method and device |
CN108038192A (en) * | 2017-12-11 | 2018-05-15 | 广东欧珀移动通信有限公司 | Application searches method and apparatus, electronic equipment, computer-readable recording medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258852A (en) * | 2020-01-16 | 2020-06-09 | 深圳鼎盛电脑科技有限公司 | Abnormal data monitoring method and device, electronic equipment and storage medium |
CN111258852B (en) * | 2020-01-16 | 2024-02-23 | 深圳市乐信信息服务有限公司 | Abnormal data monitoring method, device, electronic equipment and storage medium |
CN113379499A (en) * | 2021-06-18 | 2021-09-10 | 北京沃东天骏信息技术有限公司 | Article screening method and apparatus, electronic device, and storage medium |
CN113626489A (en) * | 2021-08-10 | 2021-11-09 | 深圳市玄羽科技有限公司 | Method, system and computer medium for searching sensor data |
CN113626489B (en) * | 2021-08-10 | 2022-03-01 | 深圳市玄羽科技有限公司 | Method, system and computer medium for searching sensor data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111414498B (en) | Multimedia information recommendation method and device and electronic equipment | |
US20200065303A1 (en) | Addressing memory limits for partition tracking among worker nodes | |
US20190320217A1 (en) | Method and device for pushing a barrage, and electronic device | |
US8667007B2 (en) | Hybrid and iterative keyword and category search technique | |
US20150006514A1 (en) | Method and Computer System for Searching Intended Path | |
CN108932313A (en) | Data processing method, device, electronic equipment and storage medium | |
CN110096501A (en) | Data search method, device, medium and electronic equipment based on label | |
CN109255072A (en) | Information recalls method and device, computer storage medium, electronic equipment | |
CN109344142A (en) | Data processing method, device, electronic equipment and storage medium | |
US10353958B2 (en) | Discriminative clustering | |
CN110096444A (en) | A kind of management system, application method and equipment generating test case based on excel | |
CN109508361A (en) | Method and apparatus for output information | |
CN112328889A (en) | Method and device for determining recommended search terms, readable medium and electronic equipment | |
KR100534493B1 (en) | Method and system for recommending category and computer readable recording medium recording program for implementing the method | |
US11669530B2 (en) | Information push method and apparatus, device, and storage medium | |
CN111400456A (en) | Information recommendation method and device | |
CN109344152A (en) | Data processing method, device, electronic equipment and storage medium | |
CN110390011A (en) | The method and apparatus of data classification | |
CN108959294A (en) | A kind of method and apparatus accessing search engine | |
CN110069604A (en) | Text search method, apparatus and computer readable storage medium | |
CN110045925A (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN110472190A (en) | The method and apparatus for filling ordered sequence | |
CN108256018A (en) | A kind of item recommendation method and device | |
CN103218458A (en) | Recommendation method and recommendation server | |
CN113918801A (en) | Information recommendation method and device |
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 |