[go: up one dir, main page]

CN113343072A - Label query method, device, equipment and storage medium - Google Patents

Label query method, device, equipment and storage medium Download PDF

Info

Publication number
CN113343072A
CN113343072A CN202110496893.3A CN202110496893A CN113343072A CN 113343072 A CN113343072 A CN 113343072A CN 202110496893 A CN202110496893 A CN 202110496893A CN 113343072 A CN113343072 A CN 113343072A
Authority
CN
China
Prior art keywords
label
service
inquired
tag
data
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.)
Granted
Application number
CN202110496893.3A
Other languages
Chinese (zh)
Other versions
CN113343072B (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.)
Shenzhen Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network Technology Co Ltd
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 Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN202110496893.3A priority Critical patent/CN113343072B/en
Publication of CN113343072A publication Critical patent/CN113343072A/en
Application granted granted Critical
Publication of CN113343072B publication Critical patent/CN113343072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a label query method, a device, equipment and a storage medium, wherein the method comprises the steps of obtaining label data to be queried, wherein the label data to be queried comprises an identifier of a label to be queried or an identifier of a service label table to be queried; determining a target data source table corresponding to the label data to be inquired according to a mapping relation between a label and a data source table which is established in advance; and displaying the incidence relation between the target data source table and the label data to be inquired according to a preset graphic representation mode. Because the mapping relation between the labels and the data source table is pre-established, when label data to be inquired exists, the target data source table corresponding to the label data can be determined according to the mapping relation, and therefore when the labels have problems, the source table of the labels can be quickly positioned.

Description

Label query method, device, equipment and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for querying a tag.
Background
With the rise of mobile internet, mobile phones have become indispensable communication tools for human life, and thus, various internet companies desire to represent users with various information such as payment, browsing, and clicking by using mobile phones.
The basic data of the user portrait is user tags, currently, the user tags are researched and developed and managed by service personnel, and when some tags have problems, the source list of the tags cannot be quickly positioned.
Disclosure of Invention
The application provides a label query method, a label query device, label query equipment and a storage medium, which are used for solving the problem that in the related art, when some labels have problems, a source list of the labels cannot be quickly positioned.
In a first aspect, a tag query method is provided, including:
acquiring label data to be inquired, wherein the label data to be inquired comprises an identifier of a label to be inquired or an identifier of a service label table to be inquired;
determining a target data source table corresponding to the label data to be inquired according to a mapping relation between a label and a data source table which is established in advance;
and displaying the association relation between the target data source table and the to-be-inquired label data according to a preset graphic representation mode.
Optionally, the obtaining of the tag data to be queried includes:
obtaining the obtaining way of the label data to be inquired;
when the obtaining way is a label obtaining way, determining the label data to be inquired as the identification of the label to be inquired;
and when the obtaining way is a business label table obtaining way, determining the label data to be inquired as the identification of the business label table to be inquired.
Optionally, determining a target data source table corresponding to the to-be-queried tag data according to a mapping relationship between a pre-established tag and the data source table, where the determining includes:
when the label data to be inquired is the identification of the label to be inquired, acquiring a first mapping relation between a representation label and a service label table and a second mapping relation between the representation service label table and a data source table from the mapping relation;
determining a target service tag table corresponding to the identifier of the tag to be inquired according to the first mapping relation, and determining the target data source table corresponding to the target service tag table according to the second mapping relation;
when the to-be-queried tag data is the identifier of the to-be-queried service tag table, determining that the to-be-queried service tag table is stored according to the identifier of the to-be-queried service tag table, and acquiring the second mapping relation from the mapping relation;
and determining the target data source table corresponding to the service label table to be inquired according to the second mapping relation.
Optionally, before displaying the association relationship between the target data source table and the to-be-queried tag data according to a preset graphical representation manner, the method further includes:
displaying an identifier of the target service tag table and a first consanguineous atlas hyperlink corresponding to the identifier of the target service tag table;
determining that a display request for the first kindred graph hyperlink is received;
or the like, or, alternatively,
displaying the identifier of the service tag table to be inquired and a second blooding margin map hyperlink corresponding to the identifier of the service tag table to be inquired;
determining that a display request for the second kindred graph hyperlink is received.
Optionally, displaying an association relationship between the target data source table and the to-be-queried tag data according to a preset graphical representation manner, including:
when the label data to be inquired is the label of the label to be inquired, acquiring the label of each label corresponding to the target service label table;
displaying the association relationship among the target data source table, the target service label table and each label corresponding to the target service label table by adopting the identification of the target data source table, the identification of the target service label table and the identification of each label corresponding to the target service label table according to the preset graphic identification mode;
when the data to be inquired is the identification of the service label table to be inquired, acquiring the identification of each label corresponding to the service label table to be inquired;
and displaying the association relation among the target data source table, the service label table to be inquired and the labels corresponding to the service label table to be inquired by adopting the identification of the target data source table, the identification of the service label table to be inquired and the identification of the labels corresponding to the service label table to be inquired according to the preset graphic representation mode.
Optionally, before obtaining the tag data to be queried, the method further includes:
obtaining at least one label table and the business type of each label table in the at least one label table;
screening at least two label tables belonging to the same service type from the at least one label table by using the service type of each label table;
generating service label tables corresponding to the at least two label tables;
acquiring a data source table for generating the at least two label tables;
and generating and storing a first mapping relation between the representation label and the service label table and a second mapping relation between the representation service label table and the data source table.
Optionally, generating a service tag table corresponding to the at least two tag tables includes:
searching at least two labels with the same MAC address from the at least two label tables;
generating service data corresponding to the MAC address and the at least two labels;
and obtaining the service label table by using the service data.
In a second aspect, a tag query method is provided, including:
the device comprises an acquisition unit, a query unit and a query unit, wherein the acquisition unit is used for acquiring tag data to be queried, and the tag data to be queried comprises an identifier of a tag to be queried or an identifier of a service tag table to be queried;
the determining unit is used for determining a target data source table corresponding to the to-be-inquired label data according to a mapping relation between a label and a data source table which is established in advance;
and the display unit is used for displaying the association relationship between the target data source table and the to-be-inquired label data according to a preset graphic representation mode.
In a third aspect, an electronic device is provided, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the tag query method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the tag query method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme, the label data to be inquired is obtained, the target data source table corresponding to the label data to be inquired is determined according to the mapping relation between the labels and the data source table which is established in advance, and the association relation between the target data source table and the label data to be inquired is displayed according to the preset graphic representation mode. Because the mapping relation between the labels and the data source table is pre-established, when label data to be inquired exists, the target data source table corresponding to the label data to be inquired can be determined according to the mapping relation, and the incidence relation between the target data source table and the label data to be inquired is displayed in a preset graphic representation mode, so that the source table of the labels can be quickly positioned when the labels have problems.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a tag query method in an embodiment of the present application;
fig. 2 is a schematic flow chart of a tag query method in an embodiment of the present application;
FIG. 3 is a schematic flow chart of a tag query method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating a tag query method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart illustrating a tag query method according to an embodiment of the present application;
FIG. 6 is a schematic flow chart illustrating a tag query method according to an embodiment of the present application;
FIG. 7 is a schematic diagram showing a limbal map of tags in an embodiment of the application;
FIG. 8 is a schematic flow chart illustrating a tag query method according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a tag query device in an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present application, a method embodiment of a tag query method is provided.
Alternatively, in this embodiment, the tag query method may be applied to a tag query system composed of the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, the server 103 is connected to the terminal 101 through a network, which may be used to provide services (such as game services, application services, shopping services, etc.) for the terminal or a client installed on the terminal, and the database 105 may be provided on the server or separately from the server, and may be used to provide data storage services for the server 103, and the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like.
The tag query method according to the embodiment of the present application may be executed by the server 103, or may be executed by both the server 103 and the terminal 101. Fig. 2 is a flowchart of an alternative tag query method according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step 201, obtaining the data of the tag to be queried, where the data of the tag to be queried includes an identifier of the tag to be queried or an identifier of a service tag table to be queried.
The tag identifier is data for uniquely identifying a tag to be queried, and can be preset by a user according to a predetermined rule, for example, the tag identifier can be T010101; the identifier of the service tag table to be queried is used to uniquely identify the service tag table to be queried, for example, the identifier of the service tag table to be queried may be a table name of the service tag table to be queried, and the identifier of the service tag table to be queried may be the device page N. It should be noted that, taking the table name as the identifier of the service tag table is only an optional implementation manner, and this embodiment is not specifically limited to this.
In this embodiment, the service tag table includes, but is not limited to, a payment tag table, an equipment tag table, a family information tag table, a movie tag table, a live broadcast tag table, and the like.
According to different obtaining ways, the data of the tag to be inquired can be divided into two conditions of the identifier of the tag to be inquired and the identifier of the service tag table to be inquired. Specifically, when obtaining the tag data to be queried, as shown in fig. 3, the following steps may be included:
301, obtaining a way for obtaining tag data to be queried;
step 302, when the obtaining way is a label obtaining way, determining the label data to be inquired as the label of the label to be inquired;
and step 303, when the obtaining way is a service tag table obtaining way, determining that the tag data to be inquired is the identifier of the service tag table to be inquired.
In this embodiment, the tag obtaining path may correspond to the first input control, and the obtaining path of the service tag table may correspond to the second input control, so that when the tag obtaining path or the obtaining path of the service tag table is identified, it may be determined that the current obtaining path is the tag obtaining path or the obtaining path of the service tag table by identifying the input control that receives the tag data to be queried.
It should be noted that the obtaining way of identifying the tag data to be queried through the input control is only an optional implementation manner of the embodiment, and the embodiment is not particularly limited to this.
In practical applications, the first input control may correspond to the first input box, and the second input control may correspond to the second input box. The user can input the label data to be inquired from the first input box or the second input box, and when the situation that the first input control or the second input control receives the label data to be inquired is monitored, the obtaining way of the data to be inquired is determined according to the first input control or the second input control, so that the data to be inquired is determined to be the identification of the label to be inquired or the identification of the business label table to be inquired.
Step 202, according to the mapping relation between the labels and the data source table which is established in advance, determining a target data source table corresponding to the label data to be inquired.
In this embodiment, the mapping relationship between the tag and the data source table includes a first mapping relationship between the representation tag and the service tag table and a second mapping relationship between the representation service tag table and the data source table.
In this embodiment, the relationship between the tag, the service tag table, and the data source table is specifically: the service label table comprises at least one label, and any label is extracted from the data source table corresponding to the service label table.
Based on the specific implementation of the tag and the data source table, as shown in fig. 4, determining the target data source table corresponding to the tag data to be queried may include the following steps:
step 401, when the data of the tag to be queried is the identifier of the tag to be queried, acquiring a first mapping relation between the representation tag and the service tag table and a second mapping relation between the representation service tag table and the data source table from the mapping relations;
step 402, determining a target service tag table corresponding to the identifier of the tag to be queried according to the first mapping relation, and determining a target data source table corresponding to the target service tag table according to the second mapping relation;
step 403, when the data of the tag to be queried is the identifier of the service tag table to be queried, determining to store the service tag table to be queried according to the identifier of the service tag table to be queried, and acquiring a second mapping relationship from the mapping relationship;
and step 404, determining a target data source table corresponding to the service label table to be inquired according to the second mapping relation.
In this embodiment, the target data source table includes at least one data source table.
In this embodiment, when it is determined that the service tag table to be queried is stored, the identifier of the service tag table to be queried may be matched with the identifier of the stored at least one service tag table, and when a service tag table identical to the identifier of the service tag table to be queried can be matched from the at least one service tag table, it is determined that the service tag table to be queried is stored.
And 203, displaying the association relationship between the target data source table and the label data to be inquired according to a preset graphic representation mode.
The preset graphic representation mode may be a tree diagram. In other embodiments of the present application, the preset graphical representation may be a manual representation, such as a left-middle-right display.
It should be noted that, both a tree diagram and a manual setting mode are optional embodiments of this embodiment, and this embodiment is not specifically limited to this, and any other graphical representation mode capable of showing an association relationship between a target data source and tag data to be queried is suitable for this embodiment.
In this embodiment, after the target data source table corresponding to the tag data to be queried is determined, the association relationship between the target data source table and the data to be queried may be directly displayed according to a preset graphical representation manner.
Specifically, as shown in fig. 5, displaying the target data source table and the tag data to be queried according to a preset graphical representation manner may include the following steps:
step 501, when the data of the tag to be queried is the identifier of the tag to be queried, acquiring the identifier of each tag corresponding to the target service tag table;
502, displaying an association relation among the target data source table, the target service label table and each label corresponding to the target service label table by adopting the identification of the target data source table, the identification of the target service label table and the identification of each label corresponding to the target service label table according to a preset graphic identification mode;
step 503, when the data to be queried is the identifier of the service tag table to be queried, acquiring the identifier of each tag corresponding to the service tag table to be queried;
and 504, displaying the association relationship among the target data source table, the service label table to be inquired and the labels corresponding to the service label table to be inquired by adopting the identification of the target data source table, the identification of the service label table to be inquired and the identification of each label corresponding to the service label table to be inquired according to a preset graphic representation mode.
Of course, in order to be used for viewing the tag data to be queried, before displaying the association relationship between the target data source table and the tag data to be queried, the related data of the tag data to be queried may also be displayed, specifically, as shown in fig. 6, before displaying the representation of the target data source table and the tag data to be queried according to a preset graphical representation manner, the following steps may also be included:
601, displaying an identifier of a target service tag table and a first bloodborder map hyperlink corresponding to the identifier of the target service tag table;
step 602, determining that a display request for a first kindred graph hyperlink is received;
or the like, or, alternatively,
step 603, displaying the identifier of the service tag table to be queried and a second bloody border map hyperlink corresponding to the identifier of the service tag table to be queried;
step 604, determining that a display request for a hyperlink of the second kindred graph is received.
When a display request for the hyperlink of the first blood relation graph is received, displaying the association relation among the labels corresponding to the target service label table, the target data source table and the target service label table according to a preset graph display mode; and when a display request for the hyperlink of the second blood margin map is received, displaying the association relation among the labels corresponding to the service label table to be inquired, the target data source table and the service label table to be inquired according to a preset graph display mode.
Optionally, when the preset graphic display mode is a left-middle-right display mode, taking displaying the association relationship among the labels corresponding to the target service label table, the target data source table and the target service label table as an example, when displaying the association relationship among the labels corresponding to the target service label table, the target data source table and the target service label table, the identifier of the target data source table may be displayed on the left side, the identifier of the target data source table may be displayed in the middle, the labels corresponding to the target service label table may be displayed on the right side, and the left side portion, the middle portion and the right side portion may be connected by a straight line. Referring to fig. 7, fig. 7 is a blood-border map of the tag according to the present embodiment, wherein the left side portion includes cooaaa _ dim, cooaaa _ area _ new, cooaaa _ dim, dim _ region _ progress _ city, cooaaa _ udt _ cropping _ apk _ version _ history …, dmp _ db, device _ base 1, dmp _ db, price _ base, dwd _ filter _ device _ active _ mac, kylin, base _ home _ 6_ mac, ods, ads _ service, and xlold. base _ all _ mac are identifiers of data source tables in the target data source table, the middle portion includes tags of dmp _ db, device _ tag of the target service table, and the right side portion includes tags of T118, T010t 110, T010t 121, 010t 106, 010t 111, 010t 116, 010t 111, 010t 21, and 010t 111.
According to the technical scheme, the label data to be inquired is obtained, the target data source table corresponding to the label data to be inquired is determined according to the mapping relation between the labels and the data source table which is established in advance, and the association relation between the target data source table and the label data to be inquired is displayed according to the preset graphic representation mode. Because the mapping relation between the labels and the data source table is pre-established, when label data to be inquired exists, the target data source table corresponding to the label data to be inquired can be determined according to the mapping relation, and the incidence relation between the target data source table and the label data to be inquired is displayed in a preset graphic representation mode, so that the source table of the labels can be quickly positioned when the labels have problems.
In another embodiment of the present application, a process for establishing a mapping relationship between a tag and a data source table is further provided, and specifically, as shown in fig. 8, the process may include the following steps:
step 801, obtaining at least one label table and a service type of each label table in the at least one label table;
the service type of the tag table may be determined according to the table name of the tag table, or may be indicated by the user in real time, or may be determined according to a preset binding relationship.
When the service type of the tag table is determined according to the indication name of the tag table, performing word segmentation on the table name to obtain a word segmentation set comprising at least one word, judging whether the word segmentation set comprises a preset keyword, and if the word segmentation set comprises the preset keyword, taking the service type corresponding to the preset keyword as the service type of the tag table.
Step 802, screening at least two label tables belonging to the same service type from at least one label table by using the service type of each label table;
step 803, generating service label tables corresponding to at least two label tables;
alternatively, the service tag table may be generated according to a MAC (Media Access Control Address) Address. Specifically, at least two labels with the same MAC address are searched from at least two label tables; generating service data corresponding to the MAC address and the at least two labels; and obtaining a service label table by using the service data.
When generating the service data corresponding to the MAC address and the at least two tags, the at least two tags may be spliced according to the MAC to obtain the service data.
For example, at least two tags having the same MAC address in the two tag tables are respectively referred to table one and table two:
watch 1
MAC address Label one Label two
1 A C
2 B D
Watch two
MAC address Label III Label four
3 E G
4 F H
The service data obtained based on the table one and the table two is referred to as table three:
watch III
Figure BDA0003054777560000121
Step 804, acquiring a data source table for generating at least two label tables;
step 805, generating and storing a first mapping relation between the representation label and the service label table, and a second mapping relation between the representation service label table and the data source table.
Optionally, in another embodiment of the present application, for convenience of use by a user, after generating the service tag tables corresponding to the at least two tag tables, a tag summary table may be further generated. Specifically, at least two service label tables belonging to different service types are obtained; and generating a label summary table corresponding to at least two service label tables.
In order to facilitate user query, after the tag summary table is generated, a third mapping relation between the tag summary table and at least two service tag tables can be generated.
Based on the same concept, the embodiment of the present application provides a data query device, and the specific implementation of the device may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 9, the device mainly includes:
an obtaining unit 901, configured to obtain tag data to be queried, where the tag data to be queried includes an identifier of a tag to be queried or an identifier of a service tag table to be queried;
a determining unit 902, configured to determine, according to a mapping relationship between a pre-established tag and a data source table, a target data source table corresponding to tag data to be queried;
and the display unit 903 is configured to display an association relationship between the target data source table and the to-be-queried tag data according to a preset graphical representation mode.
Optionally, the obtaining of the tag data to be queried includes:
obtaining the obtaining way of the label data to be inquired;
when the obtaining way is a label obtaining way, determining the label data to be inquired as the identification of the label to be inquired;
and when the obtaining way is a business label table obtaining way, determining the label data to be inquired as the identification of the business label table to be inquired.
Optionally, determining a target data source table corresponding to the tag data to be queried according to a mapping relationship between a pre-established tag and the data source table, where the method includes:
when the label data to be inquired is the identification of the label to be inquired, acquiring a first mapping relation between the representation label and the service label table and a second mapping relation between the representation service label table and the data source table from the mapping relation;
determining the identifier of a target service tag table corresponding to the identifier of the tag to be inquired according to the first mapping relation, and determining a target data source table corresponding to the identifier of the target service tag table according to the second mapping relation;
when the label data to be inquired is the identifier of the service label table to be inquired, determining to store the service label table to be inquired, and acquiring a second mapping relation from the mapping relation;
and determining a target data source table corresponding to the identifier of the service label table to be inquired according to the second mapping relation.
Optionally, before displaying the identifier of the target data source table and the tag data to be queried according to a preset graphical representation manner, the method further includes:
displaying an identifier of a target service tag table and a first consanguineous atlas hyperlink corresponding to the identifier of the target service tag table;
determining that a display request for a first kindred graph hyperlink is received;
or the like, or, alternatively,
displaying the identifier of the service tag table to be inquired and a hyperlink of a second blood relation map corresponding to the identifier of the service tag table to be inquired;
it is determined that a display request for a second kindred hyperlink is received.
Optionally, displaying the target data source table and the tag data to be queried according to a preset graphical representation mode, including:
when the label data to be inquired is the label of the label to be inquired, acquiring the label of each label corresponding to the target service label table;
displaying the association relation among the target data source table, the target service label table and each label corresponding to the target service label table by adopting the identification of the target data source table, the identification of the target service label table and the identification of each label corresponding to the target service label table according to a preset graphic identification mode;
when the data to be inquired is the identification of the service label table to be inquired, acquiring the identification of each label corresponding to the service label table to be inquired;
and displaying the association relation among the target data source table, the service label table to be inquired and each label corresponding to the service label table to be inquired by adopting the identification of the target data source table, the identification of the service label table to be inquired and the identification of each label corresponding to the service label table to be inquired according to a preset graphic representation mode.
Optionally, before obtaining the tag data to be queried, the method further includes:
obtaining at least one label table and the business type of each label table in the at least one label table;
screening at least two label tables belonging to the same service type from at least one label table by using the service type of each label table;
generating service label tables corresponding to at least two label tables;
acquiring a data source table for generating at least two label tables;
and generating and storing a first mapping relation between the representation label and the service label table and a second mapping relation between the representation service label table and the data source table.
Optionally, generating a service tag table corresponding to at least two tag tables includes:
searching at least two labels with the same MAC address from at least two label tables;
generating service data corresponding to the MAC address and the at least two labels;
and obtaining a service label table by using the service data.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 10, the electronic device mainly includes: a processor 1001, a memory 1002, and a communication bus 1003, wherein the processor 1001 and the memory 1002 communicate with each other via the communication bus 1003. The memory 1002 stores a program executable by the processor 1001, and the processor 1001 executes the program stored in the memory 1002, so as to implement the following steps:
acquiring label data to be inquired, wherein the label data to be inquired comprises an identifier of a label to be inquired or an identifier of a service label table to be inquired;
determining a target data source table corresponding to the label data to be inquired according to a mapping relation between a label and a data source table which is established in advance;
and displaying the incidence relation between the target data source table and the label data to be inquired according to a preset graphic representation mode.
The communication bus 1003 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1003 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The Memory 1002 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one storage device located remotely from the aforementioned processor 1001.
The Processor 1001 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program, which, when run on a computer, causes the computer to execute the tag query method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A label query method is characterized by comprising the following steps:
acquiring label data to be inquired, wherein the label data to be inquired comprises an identifier of a label to be inquired or an identifier of a service label table to be inquired;
determining a target data source table corresponding to the label data to be inquired according to a mapping relation between a label and a data source table which is established in advance;
and displaying the association relation between the target data source table and the to-be-inquired label data according to a preset graphic representation mode.
2. The method of claim 1, wherein obtaining tag data to be queried comprises:
obtaining the obtaining way of the label data to be inquired;
when the obtaining way is a label obtaining way, determining the label data to be inquired as the identification of the label to be inquired;
and when the obtaining way is a business label table obtaining way, determining the label data to be inquired as the identification of the business label table to be inquired.
3. The method according to claim 1, wherein determining a target data source table corresponding to the to-be-queried tag data according to a mapping relationship between a pre-established tag and a data source table comprises:
when the label data to be inquired is the identification of the label to be inquired, acquiring a first mapping relation between a representation label and a service label table and a second mapping relation between the representation service label table and a data source table from the mapping relation;
determining a target service tag table corresponding to the identifier of the tag to be inquired according to the first mapping relation, and determining the target data source table corresponding to the target service tag table according to the second mapping relation;
when the to-be-queried tag data is the identifier of the to-be-queried service tag table, determining that the to-be-queried service tag table is stored according to the identifier of the to-be-queried service tag table, and acquiring the second mapping relation from the mapping relation;
and determining the target data source table corresponding to the service label table to be inquired according to the second mapping relation.
4. The method according to claim 3, before displaying the association relationship between the target data source table and the tag data to be queried according to a preset graphical representation manner, further comprising:
displaying an identifier of the target service tag table and a first consanguineous atlas hyperlink corresponding to the identifier of the target service tag table;
determining that a display request for the first kindred graph hyperlink is received;
or the like, or, alternatively,
displaying the identifier of the service tag table to be inquired and a second blooding margin map hyperlink corresponding to the identifier of the service tag table to be inquired;
determining that a display request for the second kindred graph hyperlink is received.
5. The method according to claim 3, wherein the displaying the association relationship between the target data source table and the tag data to be queried according to a preset graphical representation manner comprises:
when the label data to be inquired is the label of the label to be inquired, acquiring the label of each label corresponding to the target service label table;
displaying the association relationship among the target data source table, the target service label table and each label corresponding to the target service label table by adopting the identification of the target data source table, the identification of the target service label table and the identification of each label corresponding to the target service label table according to the preset graphic identification mode;
when the data to be inquired is the identification of the service label table to be inquired, acquiring the identification of each label corresponding to the service label table to be inquired;
and displaying the association relation among the target data source table, the service label table to be inquired and the labels corresponding to the service label table to be inquired by adopting the identification of the target data source table, the identification of the service label table to be inquired and the identification of the labels corresponding to the service label table to be inquired according to the preset graphic representation mode.
6. The method of claim 1, wherein before obtaining the tag data to be queried, the method further comprises:
obtaining at least one label table and the business type of each label table in the at least one label table;
screening at least two label tables belonging to the same service type from the at least one label table by using the service type of each label table;
generating service label tables corresponding to the at least two label tables;
acquiring a data source table for generating the at least two label tables;
and generating and storing a first mapping relation between the representation label and the service label table and a second mapping relation between the representation service label table and the data source table.
7. The method of claim 6, wherein generating the service tag tables corresponding to the at least two tag tables comprises:
searching at least two labels with the same MAC address from the at least two label tables;
generating service data corresponding to the MAC address and the at least two labels;
and obtaining the service label table by using the service data.
8. A label query method is characterized by comprising the following steps:
the device comprises an acquisition unit, a query unit and a query unit, wherein the acquisition unit is used for acquiring tag data to be queried, and the tag data to be queried comprises an identifier of a tag to be queried or an identifier of a service tag table to be queried;
the determining unit is used for determining a target data source table corresponding to the to-be-inquired label data according to a mapping relation between a label and a data source table which is established in advance;
and the display unit is used for displaying the association relationship between the target data source table and the to-be-inquired label data according to a preset graphic representation mode.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the tag query method according to any one of claims 1 to 7.
10. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the tag query method of any one of claims 1-7.
CN202110496893.3A 2021-05-07 2021-05-07 Label query method, device, equipment and storage medium Active CN113343072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110496893.3A CN113343072B (en) 2021-05-07 2021-05-07 Label query method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110496893.3A CN113343072B (en) 2021-05-07 2021-05-07 Label query method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113343072A true CN113343072A (en) 2021-09-03
CN113343072B CN113343072B (en) 2024-06-21

Family

ID=77469827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110496893.3A Active CN113343072B (en) 2021-05-07 2021-05-07 Label query method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113343072B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114254081A (en) * 2021-12-22 2022-03-29 中冶赛迪重庆信息技术有限公司 Enterprise big data search system and method and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282941A1 (en) * 2010-05-13 2011-11-17 International Business Machines Corporation Sharing form training result utilizing a social network
US20140324497A1 (en) * 2013-04-30 2014-10-30 Nitin Kumar Verma Tracking business processes and instances
US9613086B1 (en) * 2014-08-15 2017-04-04 Tableau Software, Inc. Graphical user interface for generating and displaying data visualizations that use relationships
CN107016001A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 A kind of data query method and device
CN109408746A (en) * 2018-09-26 2019-03-01 平安科技(深圳)有限公司 Portrait information query method, device, computer equipment and storage medium
CN110020086A (en) * 2017-12-22 2019-07-16 中国移动通信集团浙江有限公司 A kind of user draws a portrait querying method and device
CN110197331A (en) * 2019-05-24 2019-09-03 深圳前海微众银行股份有限公司 Business data processing method, device, equipment and computer readable storage medium
CN110674358A (en) * 2019-08-29 2020-01-10 平安科技(深圳)有限公司 Enterprise information comparison analysis method and device, computer equipment and storage medium
CN110929109A (en) * 2019-10-30 2020-03-27 中盈优创资讯科技有限公司 Data query method and device for data center station
US20200133978A1 (en) * 2018-10-26 2020-04-30 Johnson Controls Technology Company Systems and methods for mapping a building schema into a graph data schema
CN111090656A (en) * 2020-03-23 2020-05-01 北京大数元科技发展有限公司 Method and system for dynamically constructing object portrait
CN112000849A (en) * 2020-08-21 2020-11-27 河南中原消费金融股份有限公司 Unified label library management method, device, equipment and storage medium
CN112015754A (en) * 2019-05-30 2020-12-01 阿里巴巴集团控股有限公司 Data query method, device and system
CN112559495A (en) * 2020-12-23 2021-03-26 深圳市中易科技有限责任公司 System for supporting multi-system label mapping to realize unified label management

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110282941A1 (en) * 2010-05-13 2011-11-17 International Business Machines Corporation Sharing form training result utilizing a social network
US20140324497A1 (en) * 2013-04-30 2014-10-30 Nitin Kumar Verma Tracking business processes and instances
US9613086B1 (en) * 2014-08-15 2017-04-04 Tableau Software, Inc. Graphical user interface for generating and displaying data visualizations that use relationships
CN107016001A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 A kind of data query method and device
CN110020086A (en) * 2017-12-22 2019-07-16 中国移动通信集团浙江有限公司 A kind of user draws a portrait querying method and device
CN109408746A (en) * 2018-09-26 2019-03-01 平安科技(深圳)有限公司 Portrait information query method, device, computer equipment and storage medium
US20200133978A1 (en) * 2018-10-26 2020-04-30 Johnson Controls Technology Company Systems and methods for mapping a building schema into a graph data schema
CN110197331A (en) * 2019-05-24 2019-09-03 深圳前海微众银行股份有限公司 Business data processing method, device, equipment and computer readable storage medium
CN112015754A (en) * 2019-05-30 2020-12-01 阿里巴巴集团控股有限公司 Data query method, device and system
CN110674358A (en) * 2019-08-29 2020-01-10 平安科技(深圳)有限公司 Enterprise information comparison analysis method and device, computer equipment and storage medium
CN110929109A (en) * 2019-10-30 2020-03-27 中盈优创资讯科技有限公司 Data query method and device for data center station
CN111090656A (en) * 2020-03-23 2020-05-01 北京大数元科技发展有限公司 Method and system for dynamically constructing object portrait
CN112000849A (en) * 2020-08-21 2020-11-27 河南中原消费金融股份有限公司 Unified label library management method, device, equipment and storage medium
CN112559495A (en) * 2020-12-23 2021-03-26 深圳市中易科技有限责任公司 System for supporting multi-system label mapping to realize unified label management

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
任寅姿;: "面向业务的数据资产建设方法论:标签类目体系", 华东师范大学学报(自然科学版), no. 05 *
李旭风;罗强;: "面向数据字段的血缘关系分析", 中国金融电脑, no. 07 *
胡珈诚;甘克勤;楚昊天;张玳菲;: "商品标签信息加工系统研究", 中国科技资源导刊, no. 02 *
郭超;: "异构数据源集成关键技术研究", 科技信息, no. 16 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114254081A (en) * 2021-12-22 2022-03-29 中冶赛迪重庆信息技术有限公司 Enterprise big data search system and method and electronic equipment
CN114254081B (en) * 2021-12-22 2024-06-04 中冶赛迪信息技术(重庆)有限公司 Enterprise big data search system, method and electronic equipment

Also Published As

Publication number Publication date
CN113343072B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN109947788B (en) Data query method and device
US20150046281A1 (en) Product suggestions for related items
CN111008869A (en) Advertisement recommendation method and device, electronic equipment and storage medium
CN103345695A (en) Commodity recommendation method and device
CN113327146B (en) Information tracking method and device
US10901992B2 (en) System and method for efficiently handling queries
US10430211B2 (en) Parameterized user interface for capturing user feedback
CN112015986B (en) Data pushing method, device, electronic equipment and computer readable storage medium
CN108170719A (en) A kind of search method, server and computer readable storage medium
JP2020504879A (en) System and method for collecting data related to malicious content in a networked environment
CN113450172A (en) Commodity recommendation method and device
CN108804452B (en) Multimedia resource cover display method and device
US9589059B2 (en) Personalizing commercial content in requested web pages
CN105808642B (en) Recommendation method and device
CN113343072A (en) Label query method, device, equipment and storage medium
BR112020018198A2 (en) RECOGNITION AND TRACKING OF RECOMMENDATION
CN106599082B (en) Retrieval method, related device and electronic equipment
US20180025359A1 (en) Customer journey optimized pre-fetching
US20200311143A1 (en) Correlating user device attribute groups
CA2881968C (en) Social context for offsite advertisements
US20170330260A1 (en) Information processing device, information processing method, program, and storage medium
KR20160131699A (en) Advertising Method of Mobile Device, the Mobile Device and Program Distributing Server therefor
US20180225590A1 (en) Automatic ground truth seeder
KR20230150565A (en) Method for providing promotion information of item and electronic device using the same
CN114443781A (en) Method and device for generating enterprise guarantee map

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
GR01 Patent grant
GR01 Patent grant