CN115221290A - Label preposed data query method and device, electronic equipment and readable storage medium - Google Patents

Label preposed data query method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115221290A
CN115221290A CN202210929249.5A CN202210929249A CN115221290A CN 115221290 A CN115221290 A CN 115221290A CN 202210929249 A CN202210929249 A CN 202210929249A CN 115221290 A CN115221290 A CN 115221290A
Authority
CN
China
Prior art keywords
data
tag
index
query
index table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210929249.5A
Other languages
Chinese (zh)
Inventor
余辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210929249.5A priority Critical patent/CN115221290A/en
Publication of CN115221290A publication Critical patent/CN115221290A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • 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/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

The application discloses a method and a device for querying tag preposed data, electronic equipment and a readable storage medium, which are applied to the technical field of user portrait, wherein the method for querying the tag preposed data comprises the following steps: acquiring data query information on a tag data query page; determining whether a corresponding tag data index exists according to a query tag corresponding to the data query information; and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag. The technical problem that the production efficiency of the user label is low is solved.

Description

Label preposed data query method and device, electronic equipment and readable storage medium
Technical Field
The application relates to the technical field of user portrait, in particular to a method and a device for inquiring tag preposed data, electronic equipment and a readable storage medium.
Background
With the continuous development of the mobile internet, in order to provide more targeted services for users, user portraits based on a big data technology are widely applied in the industry, wherein the generation of the user portraits has an inseparable relationship with user tags, and the production user tags need to find corresponding data required by production tags through a user portraits system.
Disclosure of Invention
The application mainly aims to provide a label preposed data query method, a label preposed data query device, electronic equipment and a readable storage medium, and aims to solve the technical problem that in the prior art, the production efficiency of a user label is low.
In order to achieve the above object, the present application provides a tag pre-data query method, including:
acquiring data query information on a tag data query page;
determining whether a corresponding tag data index exists according to a query tag corresponding to the data query information;
and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
To achieve the above object, the present application also provides a tag-front data query apparatus, including:
the acquisition module is used for acquiring data query information on the tag data query page;
the determining module is used for determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information;
and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
The present application further provides an electronic device, the electronic device including: a memory, a processor and a program of the tag-preceding data query method stored on the memory and executable on the processor, which program, when executed by the processor, may implement the steps of the tag-preceding data query method as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing the tag-front data query method, which when executed by a processor implements the steps of the tag-front data query method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the tag pre-data query method as described above.
The application provides a method and a device for querying tag preposed data, electronic equipment and a readable storage medium, namely, data query information is obtained on a tag data query page; determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information; and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag. The label data index can accurately index the label preposition data, and then the data query information is obtained on the label data query page, namely the label preposition data corresponding to the label data index can be displayed after the label data index corresponding to the query label is queried, namely, the aim of automatically displaying the label preposition data corresponding to the data query information only through simple human-computer interaction in the label production process is fulfilled, and a consultation data analyst is not required to obtain the label preposition data, so that the user label production is carried out, the technical defect that the communication cost is too large due to the fact that the label preposition data can only be queried by the data analyst in the user label production process is overcome, and therefore, the production efficiency of the user label is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be 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 to obtain other drawings without inventive exercise.
FIG. 1 is a schematic flowchart of a first embodiment of a tag-front data query method according to the present application;
FIG. 2 is a schematic diagram of an overall architecture of tag preamble data according to the tag preamble data query method of the present application;
FIG. 3 is a flowchart illustrating a second embodiment of a tag pre-data query method according to the present application;
FIG. 4 is a schematic diagram of an embodiment of a tag pre-data interrogator of the present application;
fig. 5 is a schematic device structure diagram of a hardware operating environment related to a tag pre-data query method in an embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
Example one
First, it should be understood that a user representation refers to a tagged user model abstracted according to information such as user attributes, user preferences, living habits, and user behaviors, wherein a user tag is used as a core element of the user representation, and the production process thereof is receiving more and more attention, at present, for most user representation systems, the user tag is usually produced in a manual operation manner, and in the production process, if the pre-data for producing the user tag needs to be used or queried, only a way of consulting a data analyst is available, that is, querying the pre-data for producing the user tag has a certain threshold, so that the production process of the user tag has an excessive communication cost, which further results in low production efficiency of the user tag, and therefore, a method for reducing the query limitation of querying the pre-data for producing the user tag is urgently needed.
In a first embodiment of the tag-preposed data query method of the present application, referring to fig. 1, the tag-preposed data query method includes:
step S10, acquiring data query information on a tag data query page;
step S20, determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information;
in this embodiment, it should be noted that the method for querying the tag-located data is applied to an intelligent terminal, where the intelligent terminal may be a computer, a personal PC, a mobile phone, or the like, the tag-located data is located in the leading data generated by a user tag and used for producing the user tag, the user tag is located in a user portrait system, and after being analyzed and refined, a formal word with a difference characteristic is generated, that is, a concrete behavior of the user in a specific scene through a platform is reflected, the user portrait system refines all behavior data of the user to form visual information for supporting service implementation, specifically, the visual information may be "personality", "Buddha system", and "scholarly", and the like.
In addition, the tag prefix Data includes tag index Data for characterizing tag prefix Data corresponding to the tag detail Data for indexing, and tag detail Data for characterizing specific Data required for producing a tag of a User, and the tag detail Data under the Data can be further processed by the tag index Data, wherein the tag detail Data indexed by the same tag index Data has strong subject correlation, for example, if the angles of describing the User image include "region", "age" and "gender", the tag detail Data indexed by the same tag index Data can be "consumption situation of male with age between 18 and 22", and the tag detail Data includes related information such as MAC address, uid (User Identification) and date, the method for querying the tag preposed Data can be used in the practical application fields of digital marketing, DMP (Data Management Platform), advertisement putting and the like, the Data query information is used for querying the tag preposed Data, specifically, the Data query information can be text Data query information or voice Data query information and the like, the tag Data query page is a visual initial page for querying the tag preposed Data, the tag Data query page is used for receiving the Data query information, specifically, keywords input by a User or keywords automatically obtained according to a system task and the like, for example, in an implementable manner, if the practical application field is the OTT industry, the television parameter of a television User, the use Data of the television by the User, the television viewing Data and the like exist in the industry, at this time, if the user representation system has generated a user tag of "VIP purchase times in package year", the user may input data query information on the tag data query page to query the tag prefix data for producing the user tag, where the data query information may specifically be keywords such as "purchase", "VIP", and "package year", where the keywords may be one or more keywords, and when there are multiple keywords, the user may also distinguish through spacers such as commas or spaces, or may not distinguish.
Additionally, it should be noted that the query tag is used to define the data query information, specifically, the information tag of the data query information may be one or more, for example, in an implementable manner, assuming that the data query information is "ABC", the query tag may be "d" corresponding to "ABC" together, or "a" corresponding to "a" and "b" corresponding to "BC", the tag data index is used to index the tag prefix data, and when the tag data index corresponding to the tag prefix data exists, the corresponding tag prefix data may be queried.
As an example, steps S10 to S20 include: acquiring data query information input by a user on two sides of the tag data query; and matching corresponding query tags for the data query information according to a preset tag matching rule, and detecting whether tag data indexes corresponding to the query tags exist or not.
Wherein, the step of determining whether the corresponding tag data index exists according to the query tag corresponding to the data query information includes:
step A10, segmenting the data query information according to a preset segmentation rule to obtain data query segmentation words;
step A20, extracting a query label corresponding to the data query participle;
step A30, according to the query tag, querying whether a corresponding data index table identifier exists in a preset tag index mapping table;
step A40, if yes, determining that a label data index corresponding to the query label exists;
and A50, if not, determining that the label data index corresponding to the query label does not exist.
In this embodiment, it should be noted that, since there may be multiple definitions in the data query information input by the user, and further the query intention of the user may not be accurately reflected by a preset tag matching rule, for example, in an implementable manner, if the data query information input by the user on the tag data query page is "member state details", the user may want to query by "member state", "state details", or "member state details", and further, after obtaining a query tag by a preset tokenization rule, matching is performed on the obtained query tag, and further, all tag data indexes corresponding to tag pre-positioned data that may meet the query intention of the user are queried, the preset tokenization rule may be set by a preset tokenizer, which may be IKAnalyzer, ansj, mmeg 4j, and the like, the preset tag index mapping table is used for storing mapping relationships between the query tag and the data index table identifier, wherein the data index table identifier is a table index for identifying the tag data index table, the operation table for identifying the tag may be used for storing a unique index data, and the data index table is used for storing a data identifier in a manner of a data index table, and the data identifier 500 is set by a data identifier.
In addition, when storing tag detail data, in order to unify the table indexes of the data index table, a unified formatting process is performed on the data index table, that is, a table name, table description information (custom tag), table field information (device ID, tag value, and date), and the like are defined, and when tag prefix data queried by a user is tag detail data, field information corresponding to the tag detail data may be displayed.
As an example, steps a10 to a50 include: segmenting the data query information through a preset segmentation device to obtain the data query segmentation; performing label extraction on the data query participle based on a preset label extraction model to obtain the query label, wherein the preset label extraction model is a deep neural network model obtained through sample data training corresponding to the query label; taking the query tag as an index, and querying whether a data index identifier corresponding to the query tag exists in the preset tag index mapping table; if the data index identification corresponding to the query tag exists in the preset tag index mapping table, determining that a tag data index corresponding to the query tag exists; and if the preset label index mapping table does not exist, determining that the label data index corresponding to the query label does not exist.
In an implementable manner, after a user constructs a data index table, a corresponding query tag is set according to a data index table identifier corresponding to the tag data index table, and a preset tag index mapping table is established according to a corresponding relationship between the data index table identifier and the query tag.
Before the step of querying a page according to the tag data and displaying the tag leading data corresponding to the tag data index, the tag leading data querying method further includes:
step B10, determining a corresponding tag data index table according to the data index table identification;
step B20, according to the index table name of the label data index table, determining label index data corresponding to the query label;
step B30, acquiring label detail data corresponding to the label data index from the label data index table;
and step B40, using the label index data and the label detail data as the label preposition data.
In this embodiment, it should be noted that the tag data index table is a data source table for identifying the tag detail data, tag index data and tag detail data related to tag production of a user can be determined through the tag data index table, that is, tag pre-data is obtained, and then, for a user to input data query information, corresponding tag pre-data can be directly displayed on a tag data query page, and a user image system needs to establish an overall architecture of the tag pre-data.
As an example, steps B10 to B40 include: acquiring a label data index table corresponding to the data index table identifier; taking an index table name of the tag data index table as an index, querying a data index of tag index data corresponding to the index table name in a preset table name index mapping table, and further obtaining tag index data corresponding to the data index of the tag index data, where the preset table name index mapping table is used for storing a mapping relationship between the table name of the tag data index table and the data index of the tag index data, for example, in an implementable manner, if the table name of the tag data index table is "dmp _ db. Auto _ crown _0000", and the data index of the tag data index corresponding to the table name is "0", the tag index data can be indexed according to "0", where the number of the tag index data corresponds to the number of tables of the tag data mapping table; acquiring tag detail data corresponding to the tag data index from the tag data index table, wherein all tag detail data stored in the tag data index table are acquired; and taking the label index data and the label detail data together as the label preposition data.
Wherein, the step of determining the corresponding tag data index table according to the data index table identifier comprises:
step C10, detecting the identification type of the data index table identification;
step C20, if the data index table identifier is an attribute data index table identifier, determining that the tag data index table is a tag attribute data index table;
step C30, if the data index table identifier is a behavior data index table identifier, determining that the tag data index table is a tag behavior data index table;
and step C40, if the data index table identifier is a warehouse data index table identifier, determining that the tag data index table is a tag warehouse data index table.
In this embodiment, it should be noted that, because the data sources of the tag detail data are different, the tag detail data are specifically divided into tag detail data derived from a data warehouse, tag detail data derived from a user and constructed according to a user attribute, and tag detail data derived from a user and constructed according to a user behavior, and further, the tag warehouse data index table is used to represent that the tag detail data stored in the tag data index table are all derived from the data warehouse, the tag behavior data index table is used to represent that the tag detail data stored in the tag data index table are all derived from user behavior data, and the tag attribute data index table is used to represent that the tag detail data stored in the tag data index table are all derived from user attribute data, where the user attribute data is data for producing a user tag and constructed according to a user attribute, the user behavior data is data for producing a user tag and constructed according to a user attribute, for example, in an implementable manner, when a unified formatting process is performed on a data index table, different types of the tag detail data are set, and "1" corresponds to "2" corresponds to "Type of tag data of the index table, and the index table is set for each Type of tag data of the index table.
And S30, if yes, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
As an example, step S30 includes: displaying tag index data corresponding to a tag data index and corresponding tag detail data on the tag data query page, wherein the tag detail data corresponding to the tag index data are sequentially displayed, for example, in an implementable manner, the tag index data includes "M", "N", and "F", wherein the tag detail data corresponding to "M" includes "M 1 "and" m 2 The label detail data corresponding to "" N "" includes "N", and the label detail data corresponding to "F" includes "F 1 ”、“f 2 "and" f 3 ", then, show" M "," M "from top to bottom in turn on the tag data query page 1 ”、“m 2 ”、“N”、“n”、“F”、“f 1 ”、“f 2 "and" f 3 ”。
Before the step of acquiring data query information on the tag data query page, the tag pre-data query method further includes:
step D10, acquiring index configuration information on an index configuration page, and establishing a tag data index table according to the index configuration information;
step D20, detecting whether the tag data index table is established successfully;
step D30, if the tag data index table is successfully established, establishing a tag data index corresponding to the tag data index table, and detecting whether the tag data index is successfully established;
and D40, if the tag data index is successfully established, storing the tag detail data to the tag data index table according to the corresponding relation between the tag data index and the tag detail data.
In this embodiment, it should be noted that the index configuration page is a visual page configured with a data index of the tag prefix data, where the index configuration information is used to configure the data index of the tag prefix data, where the index configuration information includes configuration information configured with a table index of the tag data index table and configuration information configured with the data index of the tag index data, the former specifically includes related information such as a table name, a table description, a table field, and a table type, and the latter specifically includes data field information, data consanguinity information, topic domain information, and the like.
As an example, steps D10 to D40 include: acquiring index configuration information on an index configuration page, and establishing a tag data index table according to the index configuration information; detecting whether the tag data index table is successfully established or not based on first establishment prompt information; if the first establishment prompt information is not received, detecting that the establishment of the tag data index table is successful, further establishing a tag data index corresponding to the tag data index table, and detecting whether the establishment of the tag data index is successful or not based on second establishment prompt information, wherein the first establishment prompt information is used for prompting a user that the establishment of the tag data index table is failed, the second establishment prompt information is used for prompting the user that the establishment of the data index corresponding to the tag index data is failed, and the tag data index is a data index of the tag index data; and if the second establishment prompt message is not received, the tag data index is successfully established, and the tag detail data is stored in the tag data index table according to the corresponding relation between the tag data index and the tag detail data.
The step of establishing a tag data index table according to the index configuration information includes:
step E10, if the index configuration information is the first index configuration information, establishing the tag data index table according to the first index configuration information;
step E20, if the index configuration information is the second index configuration information, acquiring a preset index table name;
and E30, establishing the label data index table according to the preset index table name and the second index configuration information.
In this embodiment, it should be noted that, when creating the tag data index table, the tag attribute data index table and the tag behavior data index table need to be created by the user, and the indication of the tag attribute data index table and the tag behavior data index table is set by the user, and when creating the tag warehouse data index table, the tag attribute data index table and the tag behavior data index table are consistent with the library name and the table name of the data warehouse, so that the efficiency of creating the tag data index table can be improved.
As an example, steps E10 to E30 include: if the index configuration information is the first index configuration information, establishing a tag attribute data index table or a tag behavior data index table according to the first index configuration information input by a user; if the index configuration information is the second index configuration information, acquiring a preset index table name, wherein the preset index table name is used for representing a table name of the preset data warehouse; and establishing the label warehouse data index table according to the second index configuration information input by the user and the preset index table name.
The embodiment of the application provides a tag preposed data query method, namely, data query information is obtained on a tag data query page; determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information; and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag. The label data index can accurately index the label preposition data, and then the data query information is obtained on the label data query page, namely the label preposition data corresponding to the label data index can be displayed after the label data index corresponding to the query label is queried, namely, the aim of automatically displaying the label preposition data corresponding to the data query information only through simple human-computer interaction in the label production process is fulfilled, and a consultation data analyst is not required to obtain the label preposition data, so that the user label production is carried out, the technical defect that the communication cost is too large due to the fact that the label preposition data can only be queried by the data analyst in the user label production process is overcome, and therefore, the production efficiency of the user label is improved.
Example two
Further, referring to fig. 3, in another embodiment of the present application, the same or similar contents as those in the first embodiment may refer to the above description, and are not repeated herein. On this basis, the step of controlling the target device to execute the interface operation corresponding to the interface operation content includes:
step F10, displaying the tag index data on the tag data query page, and detecting whether the tag data query page has a detailed data query instruction;
step F20, if yes, popping up a corresponding detail data query page according to the detail data query instruction;
and F30, displaying the label detail data on the detail data query page.
In this embodiment, it should be noted that, when the tag index data and the tag detail data are both placed on the tag data query page for display, that is, the tag leading data are all displayed on the tag data query page, but for different needs, the tag leading data that a user needs to query are different, for example, the user may only need to query the tag index data or the tag detail data that the user needs to accurately query, if all the tag leading data are displayed on the tag data query page, which is not favorable for the user to perform accurate query, and because of the huge data volume, the query difficulty may be increased for the visual query work of the user, and then the tag index data may only be queried by setting the tag data query page, and then the tag name of the tag data index table corresponding to the tag index data may be jumped to the detail data query page, and the detail data query page is used for displaying the preset number of tag detail data stored in the tag data index table, so that the purpose of improving the query efficiency of the user may be achieved.
As an example, steps F10 to F30 include: displaying the tag index data on the tag data query page, and detecting whether a detailed data query instruction exists on the tag data query page, wherein the detailed data query instruction is a detailed data query instruction which is controlled by a user through voice or a key; if the detailed data query instruction is detected to exist, popping up a detailed data query page corresponding to the detailed data query instruction, wherein in an implementable mode, the detailed data query instruction can be triggered by clicking an index table name of a tag data index table corresponding to tag index data; and displaying the label detail data on the detail data query page.
The embodiment of the application provides a tag preposition data display method, namely, the tag index data is displayed on a tag data query page, and whether a detailed data query instruction exists on the tag data query page is detected; if yes, popping up a corresponding detail data query page according to the detail data query instruction; and displaying the label detail data on the detail data query page. Compared with the mode that the tag preposed data are all displayed on the tag data query page, the tag index data and the tag detail data are separately displayed through different query pages according to the index relation between the tag index data and the tag detail data, so that the aim of simply and accurately displaying the tag preposed data meeting the query requirement of a user can be fulfilled, and the non-user can display all the tag preposed data on the same page when carrying out query work on any tag preposed data, so that the method lays a foundation for improving the generation efficiency of the user tags.
EXAMPLE III
An embodiment of the present application further provides a tag-front data query device, and with reference to fig. 4, the tag-front data query device includes:
an obtaining module 101, configured to obtain data query information on a tag data query page;
a determining module 102, configured to determine whether a corresponding tag data index exists according to a query tag corresponding to the data query information;
and the display module 103 is configured to, if yes, query a page according to the tag data, and display tag pre-set data corresponding to the tag data index, where the tag pre-set data is used to produce a user tag.
Optionally, the determining module 102 is further configured to:
segmenting the data query information according to a preset segmentation rule to obtain data query segmentation words;
extracting a query label corresponding to the data query participle;
according to the query tag, querying whether a corresponding data index table identifier exists in a preset tag index mapping table;
if yes, determining that a label data index corresponding to the query label exists;
if not, determining that the label data index corresponding to the query label does not exist.
Optionally, the tag pre-data query device is further configured to:
determining a corresponding tag data index table according to the data index table identification;
determining label index data corresponding to the query label according to the index table name of the label data index table;
acquiring label detail data corresponding to the label data index from the label data index table;
and taking the label index data and the label detail data together as the label preposition data.
Optionally, the tag pre-data query device is further configured to:
detecting the identification type of the data index table identification;
if the data index table identifier is an attribute data index table identifier, determining that the tag data index table is a tag attribute data index table;
if the data index table identifier is a behavior data index table identifier, determining that the tag data index table is a tag behavior data index table;
and if the data index table identifier is a warehouse data index table identifier, determining that the tag data index table is a tag warehouse data index table.
Optionally, the display module 103 is further configured to:
displaying the tag index data on the tag data query page, and detecting whether a detailed data query instruction exists on the tag data query page;
if yes, popping up a corresponding detail data query page according to the detail data query instruction;
and displaying the label detail data on the detail data query page.
Optionally, the tag pre-data query device is further configured to:
acquiring index configuration information on an index configuration page, and establishing a tag data index table according to the index configuration information;
detecting whether the tag data index table is established successfully;
if the tag data index table is successfully established, establishing a tag data index corresponding to the tag data index table, and detecting whether the tag data index is successfully established;
and if the tag data index is successfully established, storing the tag detail data into the tag data index table according to the corresponding relation between the tag data index and the tag detail data.
Optionally, the index configuration information includes first index configuration information and second index configuration information, and the tag-front-end data query device is further configured to:
if the index configuration information is the first index configuration information, establishing the tag data index table according to the first index configuration information;
if the index configuration information is the second index configuration information, acquiring a preset index table name;
and establishing the label data index table according to the name of the preset index table and the second index configuration information.
According to the tag preposed data query device provided by the invention, the tag preposed data query method in the embodiment is adopted, so that the technical problem of low production efficiency of the user tag is solved. Compared with the prior art, the beneficial effects of the tag preposed data query device provided by the embodiment of the invention are the same as the beneficial effects of the tag preposed data query method provided by the embodiment, and other technical features in the tag preposed data query device are the same as those disclosed by the embodiment method, so that the detailed description is omitted.
Example four
An embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the tag pre-data query method in the first embodiment.
Referring now to FIG. 5, shown is a block diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device may include a processing means 1001 (e.g., a central processing unit, a graphic processor, etc.) which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage means 1003 into a Random Access Memory (RAM) 1004. In the RAM1004, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other via a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus.
Generally, the following systems may be connected to the I/O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, or the like; output devices 1008 including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; a storage device 1003 including, for example, a magnetic tape, a hard disk, or the like; and a communication device 1009. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is understood that implementing or having all of the illustrated systems is not a requirement. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1003, or installed from the ROM 1002. The computer program, when executed by the processing device 1001, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic equipment provided by the invention adopts the label preposed data query method in the embodiment, and the technical problem of low production efficiency of the user label is solved. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the invention are the same as the beneficial effects of the tag preposed data query method provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the embodiment method, which are not described herein again.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having stored thereon computer-readable program instructions for executing the tag pre-data query method in the above-described embodiments.
The computer readable storage medium provided by the embodiments of the present invention may be, for example, a USB flash disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be present alone without being incorporated into the electronic device.
The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining whether a corresponding tag data index exists according to a query tag corresponding to the data query information; and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer-readable storage medium provided by the invention stores the computer-readable program instructions for executing the label pre-data query method, and solves the technical problem of low production efficiency of the user label. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the tag-preamble data query method provided by the above embodiment, and are not described herein again.
EXAMPLE six
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the tag pre-data query method as described above.
The computer program product solves the technical problem that the production efficiency of the user label is low. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the tag pre-data query method provided by the above embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A tag pre-data query method, comprising:
acquiring data query information on a tag data query page;
determining whether a corresponding tag data index exists according to a query tag corresponding to the data query information;
and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
2. The tag-front data query method as claimed in claim 1, wherein the step of determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information includes:
segmenting the data query information according to a preset segmentation rule to obtain data query segmentation words;
extracting a query label corresponding to the data query participle;
according to the query tag, querying whether a corresponding data index table identifier exists in a preset tag index mapping table;
if yes, determining that a label data index corresponding to the query label exists;
if not, determining that the label data index corresponding to the query label does not exist.
3. The method for querying the tag metadata as claimed in claim 2, wherein before the step of querying the page according to the tag data, the step of displaying the tag metadata corresponding to the tag data index, wherein the tag metadata is used for producing the user tag, the method for querying the tag metadata further comprises:
determining a corresponding tag data index table according to the data index table identifier;
determining label index data corresponding to the query label according to the index table name of the label data index table;
acquiring label detail data corresponding to the label data index from the label data index table;
and taking the label index data and the label detail data together as the label preposition data.
4. The method for querying the tag-previous data according to claim 3, wherein the step of determining the corresponding tag data index table according to the data index table identifier comprises:
detecting the identification type of the data index table identification;
if the data index table identifier is an attribute data index table identifier, determining that the tag data index table is a tag attribute data index table;
if the data index table identifier is a behavior data index table identifier, determining that the tag data index table is a tag behavior data index table;
and if the data index table identifier is a warehouse data index table identifier, determining that the tag data index table is a tag warehouse data index table.
5. The tag pre-data query method of claim 1, wherein the tag pre-data includes tag index data and tag detail data,
the step of querying a page according to the tag data and displaying the tag prefix data corresponding to the tag data index comprises:
displaying the tag index data on the tag data query page, and detecting whether a detailed data query instruction exists on the tag data query page;
if yes, popping up a corresponding detail data query page according to the detail data query instruction;
and displaying the label detail data on the detail data query page.
6. The tag pre-data query method as claimed in claim 1, wherein before the step of obtaining data query information at a tag data query page, the tag pre-data query method further comprises:
acquiring index configuration information on an index configuration page, and establishing a tag data index table according to the index configuration information;
detecting whether the tag data index table is established successfully;
if the tag data index table is successfully established, establishing a tag data index corresponding to the tag data index table, and detecting whether the tag data index is successfully established;
and if the tag data index is successfully established, storing the tag detail data to the tag data index table according to the corresponding relation between the tag data index and the tag detail data.
7. The tag pre-data query method of claim 6, wherein the index configuration information includes first index configuration information and second index configuration information,
the step of establishing a tag data index table according to the index configuration information includes:
if the index configuration information is the first index configuration information, establishing the tag data index table according to the first index configuration information;
if the index configuration information is the second index configuration information, acquiring a preset index table name;
and establishing the label data index table according to the name of the preset index table and the second index configuration information.
8. A tag-front data query apparatus, comprising:
the acquisition module is used for acquiring data query information on the tag data query page;
the determining module is used for determining whether a corresponding tag data index exists according to the query tag corresponding to the data query information;
and if so, inquiring a page according to the tag data, and displaying tag preposed data corresponding to the tag data index, wherein the tag preposed data is used for producing a user tag.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the tag pre-data interrogation method of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a program for implementing a tag-front data query method, the program being executed by a processor to implement the steps of the tag-front data query method according to any one of claims 1 to 7.
CN202210929249.5A 2022-08-03 2022-08-03 Label preposed data query method and device, electronic equipment and readable storage medium Pending CN115221290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210929249.5A CN115221290A (en) 2022-08-03 2022-08-03 Label preposed data query method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210929249.5A CN115221290A (en) 2022-08-03 2022-08-03 Label preposed data query method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115221290A true CN115221290A (en) 2022-10-21

Family

ID=83615186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210929249.5A Pending CN115221290A (en) 2022-08-03 2022-08-03 Label preposed data query method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115221290A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116342342A (en) * 2023-05-25 2023-06-27 深圳市捷易科技有限公司 Student behavior detection method, electronic device and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116342342A (en) * 2023-05-25 2023-06-27 深圳市捷易科技有限公司 Student behavior detection method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
US11016981B2 (en) Compiling results from different search queries
US20200073903A1 (en) Method and device of tagging links included in a screenshot of webpage
US20140372403A1 (en) Methods and systems for information matching
CN109194714B (en) File pushing method and device, terminal device and storage medium
CN107133263B (en) POI recommendation method, device, equipment and computer readable storage medium
EP3910909A1 (en) Method and device for displaying information
WO2020199749A1 (en) Feedback-based information pushing method and apparatus, and electronic device
CN105704562B (en) Multi-version compatible method and device for network television cloud service platform
CN106681598B (en) Information input method and device
CN109726390B (en) Document processing method, device, electronic equipment and storage medium
CN106886594B (en) Method and device for displaying information
WO2018076269A1 (en) Data processing method, and electronic terminal
US20180357112A1 (en) Data Engine
CN111488097A (en) Method and equipment for providing reading presentation information
CN115221290A (en) Label preposed data query method and device, electronic equipment and readable storage medium
US20240086620A1 (en) Syndication of associations relating data and metadata
KR102151322B1 (en) Information push method and device
CN107357481B (en) Message display method and message display device
CN116594683A (en) Code annotation information generation method, device, equipment and storage medium
CN110088750B (en) Method and system for providing context function in static webpage
CN114238584A (en) Information search method, device and storage medium
CN113282285A (en) Code compiling method and device, electronic equipment and storage medium
CN115686506A (en) Data display method and device, electronic equipment and storage medium
US20210042384A1 (en) Generating Edit Suggestions for Transforming Digital Documents
CN110990528A (en) Question answering method and device and electronic equipment

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