CN114461694A - Label marking method and system, label retrieval method and system - Google Patents

Label marking method and system, label retrieval method and system Download PDF

Info

Publication number
CN114461694A
CN114461694A CN202111577785.5A CN202111577785A CN114461694A CN 114461694 A CN114461694 A CN 114461694A CN 202111577785 A CN202111577785 A CN 202111577785A CN 114461694 A CN114461694 A CN 114461694A
Authority
CN
China
Prior art keywords
label
labels
retrieval
tag
combinations
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
CN202111577785.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.)
Tianyi Cloud Technology Co Ltd
Original Assignee
Tianyi Cloud 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 Tianyi Cloud Technology Co Ltd filed Critical Tianyi Cloud Technology Co Ltd
Priority to CN202111577785.5A priority Critical patent/CN114461694A/en
Publication of CN114461694A publication Critical patent/CN114461694A/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a label labeling method and a system thereof, a label retrieval method and a system thereof, wherein the label labeling method comprises the following steps: acquiring a plurality of labels in a target scene, exhaustively exhausting all label combination modes, and establishing a label database; arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode; acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations; converting the serial number into a corresponding tag value; and respectively labeling the plurality of labels and the plurality of label combinations according to the label values. All the known label combinations are exhausted through sorting and sequencing pretreatment, and the serial numbers are converted into corresponding mark values in a binary position occupying mode to mark the labels and the label combinations. By converting the multiple tags and all combinations thereof into unique coding marks, the storage and retrieval processes of the database are greatly simplified, and the tag retrieval efficiency is improved, so that the faster and more accurate retrieval is realized.

Description

Label marking method and system, label retrieval method and system
Technical Field
The invention relates to the field of database retrieval, in particular to a label labeling method and a label labeling system, and a label retrieval method and a label retrieval system.
Background
Since the internet, big data, and the explosive development of artificial intelligence technology, various fields have produced various kinds of data. In order to extract the value contained in these data, machine learning has become the most popular data analysis method for summarizing, analyzing and classifying various types of data.
In the real world, data accumulation is often a long collection process, and for an instance, there is usually a set of labels to label. For example, in a computer vision object detection process, a video or an image usually detects a plurality of object labels, such as the presence of pedestrians, automobiles, motorcycles, traffic lights, and the like. As another example, in user representation systems, a highly refined set of feature tags is often used to describe a class of people, age, gender, interest preferences, and the like.
In an information system, data tags are often stored in a classified manner, so that a user can conveniently retrieve the tags of the data and check the tag data. For example, assume that two tags, "pedestrian" and "automobile" are recognized in one snapshot. Since the two tags are written into one field for storage, fuzzy query is carried out through a like statement in SQL during retrieval. The retrieval mode has low efficiency under the condition of large data volume, cannot achieve good retrieval efficiency even if indexes are established, and more importantly, cannot achieve one-time retrieval under the condition of multi-label combined query to obtain a final result.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect of low efficiency of tag retrieval in the prior art, so as to provide a tag labeling method and system, a tag retrieval method and system.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides a label labeling method, including:
acquiring a plurality of labels in a target scene, exhaustively exhausting all label combination modes, and establishing a label database;
arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode;
acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations;
converting the serial number into a corresponding tag value;
and respectively labeling the plurality of labels and the plurality of label combinations according to the marking values.
Optionally, the converting the sequence number into its corresponding tag value includes:
and determining a position serial number which is counted from right to left by 1 in the binary code according to the serial number, setting all other positions to be 0, and determining the binary code as a mark value corresponding to the serial number.
Optionally, the label labeling method further includes: and updating the labels in the label database in real time.
Optionally, when a tag is newly added, accumulating the sequence of the original tag to determine a sequence number corresponding to the newly added tag.
In a second aspect, an embodiment of the present invention provides a label labeling system, including:
the system comprises a permutation and combination module, a database module and a database module, wherein the permutation and combination module is used for acquiring a plurality of labels in a target scene, exhaustively listing all label combination modes and establishing a label database;
the sorting module is used for arranging the plurality of labels and the plurality of label combinations according to a preset sorting mode;
the acquisition module is used for acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations;
the processing module is used for converting the serial number into a corresponding marking value;
and the labeling module is used for labeling the plurality of labels and the plurality of label combinations respectively according to the marking values.
In a third aspect, an embodiment of the present invention provides a tag retrieval method, which is applied to the tag labeling method described in the first aspect of the embodiment of the present invention, where the tag retrieval method includes:
acquiring a label retrieval condition, and converting the label retrieval condition into a corresponding binary code;
and searching and matching the labels and the label combinations in the label database according to the binary codes to obtain a search result.
Optionally, the tag combination retrieval includes multi-tag with query, multi-tag or query.
In a fourth aspect, an embodiment of the present invention provides a tag retrieval system, including:
the conversion module is used for acquiring the label retrieval condition and converting the label retrieval condition into a corresponding binary code;
and the retrieval matching module is used for retrieving and matching the labels and the label combinations in the label database according to the binary codes to obtain retrieval results.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions are configured to cause the computer to execute the tag labeling method according to the first aspect of the embodiment of the present invention or the tag retrieval method according to the third aspect of the embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention provides a computer device, including: the storage and the processor are communicatively connected to each other, the storage stores computer instructions, and the processor executes the computer instructions to perform the tag labeling method according to the first aspect of the embodiment of the present invention or the tag retrieving method according to the third aspect of the embodiment of the present invention.
The technical scheme of the invention has the following advantages:
the invention provides a label labeling method, which comprises the following steps: acquiring a plurality of labels in a target scene, exhaustively exhausting all label combination modes, and establishing a label database; arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode; acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations; converting the serial number into a corresponding tag value; and respectively labeling the plurality of labels and the plurality of label combinations according to the label values. All the known label combinations are exhausted through sorting and sequencing pretreatment, and the serial numbers are converted into corresponding mark values in a binary position occupying mode to mark the labels and the label combinations. By converting the multiple tags and all combinations thereof into unique coding marks, the storage and retrieval processes of the database are greatly simplified, and the tag retrieval efficiency is improved, so that the faster and more accurate retrieval is realized.
The invention provides a label retrieval method, which comprises the following steps: acquiring a label retrieval condition, and converting the label retrieval condition into a corresponding binary code; and searching and matching the labels and the label combinations in the label database according to the binary codes to obtain a search result. In the retrieval stage, the retrieval condition is converted into a unique mark value, and the retrieval condition matching is realized through bit operation, so that the database storage and retrieval processes are greatly simplified, the tag retrieval efficiency is improved, and the faster and more accurate retrieval is realized.
Drawings
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 that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a label labeling method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a specific example of a tagging system in an embodiment of the invention;
FIG. 3 is a flowchart of a specific example of a tag retrieval method according to an embodiment of the present invention;
FIG. 4 is a functional block diagram of a specific example of a tag retrieval system in an embodiment of the present invention;
fig. 5 is a block diagram of a specific example of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present 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.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention provides a label labeling method, as shown in fig. 1, comprising the following steps:
step S11: and acquiring a plurality of labels in the target scene, exhaustively exhausting all label combination modes, and establishing a label database.
In one embodiment, in the real world, data accumulation is often a long collection process, and for an instance, there is usually a set of labels to label, and the set of labels is usually deterministic. For example, in a computer vision object detection process, a video or an image usually detects a plurality of object labels, such as the presence of pedestrians, automobiles, motorcycles, traffic lights, and the like. As another example, in user representation systems, a highly refined set of feature tags is often used to describe a class of people, age, gender, interest preferences, and the like.
Therefore, when labeling, all the single tags in the target scene need to be acquired first. And then, according to all the label combination modes exhausted by the single label, obtaining a multi-label combination. And finally, storing the single label and the multi-label combination to establish a label database.
Step S12: and arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode.
In one embodiment, all of the single-tag and multi-tag combinations are arranged in a predetermined order. In the embodiment of the invention, the preset sorting mode can be determined according to the specific retrieval requirement.
Step S13: and acquiring serial numbers corresponding to the plurality of labels and the plurality of label combinations.
In one embodiment, after all single-tag and multi-tag combinations are sorted, a sequence number is assigned to each tag according to the sorting sequence, and the sequence numbers are natural numbers and accumulated from 1. The ranking order will persist, with subsequent tag combinations stored and retrieved relying on this ranking information.
Step S14: the sequence number is converted to its corresponding tag value.
In one embodiment, converting the serial number to its corresponding tag value comprises the steps of:
step S141: and determining the position serial number of 1 counted from the right to the left in the binary code according to the serial number, setting all other positions to be 0, and determining the binary code as a mark value corresponding to the serial number.
In the embodiment of the present invention, in the step S3, a serial number (serial) has been assigned to each tag (label), the serial number is taken as a serial number of a position counted from right to left in a binary system by 1, and all other positions are set to 0, so that each tag can be correspondingly converted into a binary code (binary code). The conversion formula is as follows:
binaryCode_A=2serial_A
corresponding to each tag having only one bit in the serial number, so that a combination of different tags can also be converted into its unique binary code by a bit-or operation in this manner.
The conversion formula is as follows:
binaryCode_AB...N=2serial_A|2serial_B|...|2serial_N
step S15: and respectively labeling the plurality of labels and the plurality of label combinations according to the label values.
In one embodiment, each tag or combination of tags corresponds to a unique binary code (binary code), so that only one field is needed for tagging the tag information of the instance data. In the embodiment of the invention, the binary code can be converted into the decimal code, and the plurality of labels and the plurality of label combinations are labeled and then stored in the label database.
In one embodiment, taking the target detection result tags in video analysis as an example, three tags are set, namely, pedestrian tags, motor vehicles and non-motor vehicles. In this order, each tag is assigned its serial number, as shown in the following table:
TABLE 1
Label Serial number Serial
Pedestrian 1
Motor vehicle 2
Non-motor vehicle 3
Taking the serial number as the serial number of the position with the number of 1 from right to left in the binary system, and setting 0 in all other positions, so that each label can be correspondingly converted into a binary code, referring to the following table:
TABLE 2
Figure BDA0003425878340000091
The tag information of the instance data only needs one field to be recorded, and the storage into the database can be the decimal code (decimalCode) thereof. For example, if the image target detection result shows pedestrians and motor vehicles at the same time, the tag field corresponding to the instance in the database only needs to store the decimal code which is 3 corresponding to the tag combination.
In one embodiment, the label labeling method further includes the following steps:
step S16: and updating the labels in the label database in real time.
In a specific embodiment, if a new tag is to be added, only the sequence number corresponding to the new tag needs to be accumulated on the original tag sequence. And marking the new data instance according to the steps. The updated label of the existing data instance is updated according to the following formula:
decimalCode=decimalCode|decimalCode_new
if the label is deleted, no matter the label code of the existing data instance or the label of the new data instance, the logic is kept unchanged, and the label retrieval result is not imaged.
In the embodiment of the invention, a new label, such as a traffic light, needs to be added, the highest serial number of the original label is 3, then the number of the new label is accumulated to be 4, and the corresponding code value is 8 according to a calculation formula. The updated label of the existing data instance is updated according to the following formula:
decimalCode=decimalCode|8
if the label is deleted, no matter the label code of the existing data instance or the label of the new data instance, the logic is kept unchanged, and the label retrieval result is influenced. Because the deleted tag only occupies one bit, the associated combinatorial code is simply discarded when retrieved, and the existing data instance is not re-encoded.
By adding or deleting the labels on the existing data instance in the mode, the situation that the whole table structure needs to be changed when the labels are added or reduced every time is avoided, and the label marking method is easy to expand and use.
The invention provides a label labeling method, which comprises the following steps: acquiring a plurality of labels in a target scene, exhaustively exhausting all label combination modes, and establishing a label database; arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode; acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations; converting the serial number into a corresponding tag value; and respectively labeling the plurality of labels and the plurality of label combinations according to the label values. All the known label combinations are exhausted through sorting and sequencing pretreatment, and the serial numbers are converted into corresponding mark values in a binary position occupying mode to mark the labels and the label combinations. By converting the multiple tags and all combinations thereof into unique coding marks, the storage and retrieval processes of the database are greatly simplified, and the tag retrieval efficiency is improved, so that the faster and more accurate retrieval is realized.
An embodiment of the present invention further provides a label labeling system, as shown in fig. 2, including:
and the arrangement and combination module 11 is used for acquiring a plurality of labels in the target scene, exhaustively listing all label combination modes, and establishing a label database. For details, refer to the related description of step S11 in the above embodiment, and are not described herein again.
And the sorting module 12 is configured to sort the plurality of tags and the plurality of tag combinations according to a preset sorting manner. For details, refer to the related description of step S12 in the above embodiment, and are not described herein again.
The obtaining module 13 is configured to obtain serial numbers corresponding to the multiple tags and the multiple tag combinations. For details, refer to the related description of step S13 in the above embodiment, and are not described herein again.
And the processing module 14 is used for converting the serial number into a corresponding mark value. For details, refer to the related description of step S14 in the above embodiment, and are not described herein again.
And the labeling module 15 is configured to label the plurality of labels and the plurality of label combinations according to the label values. For details, refer to the related description of step S15 in the above embodiment, and are not described herein again.
According to the label labeling system provided by the invention, all known label combinations are exhausted through sorting and sequencing pretreatment on all the labels, and the serial numbers are converted into corresponding mark values in a binary position occupying mode to label the labels and the label combinations. By converting the multiple tags and all combinations thereof into unique coding marks, the storage and retrieval processes of the database are greatly simplified, and the tag retrieval efficiency is improved, so that the faster and more accurate retrieval is realized.
An embodiment of the present invention further provides a tag retrieval method, which is applied to the tag labeling method and the tag retrieval method, as shown in fig. 3, and includes the following steps:
step S21: and acquiring a label retrieval condition, and converting the label retrieval condition into a corresponding binary code.
In an embodiment, before the tag retrieval, according to the above tag labeling step, the tag retrieval condition is converted into a binary code corresponding to the tag, which is used as a retrieval code (queryCode). For example, if it is necessary to search for all the results of pedestrians and non-motor vehicles, the corresponding search code should be 5 by referring to the above table or calculation formula.
Step S22: and searching and matching the labels and the label combinations in the label database according to the binary codes to obtain a search result.
In a specific embodiment, in the case of single tag search, for example, all results with pedestrians need to be searched, and only the or operation between all the results and the search code 1 of the pedestrian needs to be performed, which is an example of an SQL query statement: WHERE decimalCode |1 ═ 1. If all the results of pedestrians exist and only pedestrians exist are searched, the results, all the results and the search code 1 of the pedestrians are ANDed, and an example of the SQL query statement is as follows: WHERE decimalCode &1 ═ 1.
In the case of multi-tag combined search, for example, all results of pedestrians and non-motor vehicles need to be searched, the corresponding search code is 5, and all results are and-operated with the search code 5, and the SQL query conditional statement is exemplified as follows: WHERE decimalCode &5 ═ 5. If all the results of the pedestrians or the non-motor vehicles are searched, or operation is carried out on all the results and the search code 5, and the SQL query condition statement example comprises the following steps: WHERE decimalCode |5 ═ 5.
The invention provides a label retrieval method, which comprises the following steps: acquiring a label retrieval condition, and converting the label retrieval condition into a corresponding binary code; and searching and matching the labels and the label combinations in the label database according to the binary codes to obtain a search result. In the retrieval stage, the retrieval condition is converted into a unique mark value, and the retrieval condition matching is realized through bit operation, so that the database storage and retrieval processes are greatly simplified, the tag retrieval efficiency is improved, and the faster and more accurate retrieval is realized.
An embodiment of the present invention further provides a tag retrieval system, as shown in fig. 4, including:
the conversion module 21 is configured to obtain a tag search condition, and convert the tag search condition into a corresponding binary code. For details, refer to the related description of step S21 in the above embodiment, and are not described herein again.
And the retrieval matching module 22 is used for performing retrieval matching on the labels and the label combinations in the label database according to the binary codes to obtain retrieval results. For details, refer to the related description of step S22 in the above embodiment, and are not described herein again.
According to the label retrieval system provided by the invention, in the retrieval stage, the retrieval condition is converted into the unique mark value, and the retrieval condition matching is realized through bit operation, so that the database storage and retrieval processes are greatly simplified, the label retrieval efficiency is improved, and the faster and more accurate retrieval is realized.
An embodiment of the present invention further provides a computer device, as shown in fig. 5, the device may include a processor 61 and a memory 62, where the processor 61 and the memory 62 may be connected by a bus or in another manner, and fig. 5 takes the connection by the bus as an example.
The processor 61 may be a Central Processing Unit (CPU). The Processor 61 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 62, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the corresponding program instructions/modules in embodiments of the present invention. The processor 61 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 62, that is, implements the method in the above-described method embodiment.
The memory 62 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 61, and the like. Further, the memory 62 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 62 may optionally include memory located remotely from the processor 61, and these remote memories may be connected to the processor 61 via a network. Examples of such networks include, but are not limited to, the internet, intranets, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 62 and, when executed by the processor 61, perform the methods of embodiments of the present invention.
The details of the computer device can be understood by referring to the corresponding related descriptions and effects in the embodiments shown in fig. 1 and fig. 3, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the scope of the invention.

Claims (10)

1. A label labeling method is characterized by comprising the following steps:
acquiring a plurality of labels in a target scene, exhaustively exhausting all label combination modes, and establishing a label database;
arranging the plurality of labels and the plurality of label combinations according to a preset sequencing mode;
acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations;
converting the serial number into a corresponding tag value;
and respectively labeling the plurality of labels and the plurality of label combinations according to the marking values.
2. The label labeling method of claim 1, wherein said converting the serial number into its corresponding label value comprises:
and determining a position serial number which is counted from right to left by 1 in the binary code according to the serial number, setting all other positions to be 0, and determining the binary code as a mark value corresponding to the serial number.
3. The label labeling method of claim 1, further comprising: and updating the labels in the label database in real time.
4. The method of claim 3, wherein when a new tag is added, the sequence numbers corresponding to the new tag are determined by accumulating the sequence numbers in the original tag sequence.
5. A label tagging system, comprising:
the system comprises a permutation and combination module, a database module and a database module, wherein the permutation and combination module is used for acquiring a plurality of labels in a target scene, exhaustively listing all label combination modes and establishing a label database;
the sorting module is used for arranging the plurality of labels and the plurality of label combinations according to a preset sorting mode;
the acquisition module is used for acquiring a plurality of labels and serial numbers corresponding to a plurality of label combinations;
the processing module is used for converting the serial number into a corresponding marking value;
and the labeling module is used for labeling the plurality of labels and the plurality of label combinations respectively according to the marking values.
6. A label retrieval method applied to the label labeling method according to any one of claims 1 to 4, the label retrieval method comprising:
acquiring a label retrieval condition, and converting the label retrieval condition into a corresponding binary code;
and searching and matching the labels and the label combinations in the label database according to the binary codes to obtain a search result.
7. The tag retrieval method of claim 6, wherein tag combination retrieval comprises multi-tag and query, multi-tag or query.
8. A tag retrieval system, comprising:
the conversion module is used for acquiring the label retrieval condition and converting the label retrieval condition into a corresponding binary code;
and the retrieval matching module is used for retrieving and matching the labels and the label combinations in the label database according to the binary codes to obtain retrieval results.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the label labeling method of any one of claims 1 to 4 or the label retrieval method of any one of claims 6 to 7.
10. A computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the tag labeling method according to any one of claims 1 to 4 or the tag retrieval method according to any one of claims 6 to 7.
CN202111577785.5A 2021-12-22 2021-12-22 Label marking method and system, label retrieval method and system Pending CN114461694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111577785.5A CN114461694A (en) 2021-12-22 2021-12-22 Label marking method and system, label retrieval method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111577785.5A CN114461694A (en) 2021-12-22 2021-12-22 Label marking method and system, label retrieval method and system

Publications (1)

Publication Number Publication Date
CN114461694A true CN114461694A (en) 2022-05-10

Family

ID=81405974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111577785.5A Pending CN114461694A (en) 2021-12-22 2021-12-22 Label marking method and system, label retrieval method and system

Country Status (1)

Country Link
CN (1) CN114461694A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116127180A (en) * 2022-11-09 2023-05-16 乾三(北京)科技有限公司 Label configuration method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116127180A (en) * 2022-11-09 2023-05-16 乾三(北京)科技有限公司 Label configuration method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107251045B (en) Object recognition apparatus, object recognition method, and computer-readable storage medium
CN110428091B (en) Risk identification method based on data analysis and related equipment
JPWO2009133856A1 (en) Object recognition image database creation method, processing apparatus, and processing program
CN110866018B (en) Steam-massage industry data entry and retrieval method based on label and identification analysis
CN108520270B (en) Part matching method, system and terminal
CN115424053B (en) Small sample image recognition method, device, equipment and storage medium
CN111914159A (en) Information recommendation method and terminal
CN114461694A (en) Label marking method and system, label retrieval method and system
CN110956271B (en) Multi-stage classification method and device for mass data
CN110990519A (en) Vehicle fault diagnosis method and device, electronic equipment and storage medium
CN116032741A (en) Equipment identification method and device, electronic equipment and computer storage medium
CN111931721B (en) Method and device for detecting color and number of annual inspection label and electronic equipment
CN113111091A (en) Maintenance information acquisition method and device, computer equipment and storage medium
CN112150814B (en) Information processing method and device based on intelligent traffic and intelligent traffic system
CN111178349A (en) Image identification method, device, equipment and storage medium
CN111475464A (en) Method for automatically discovering and mining fingerprints of Web component
CN108733828B (en) Method and device for extracting company name and computer readable medium
CN113918606B (en) Log query method and device
CN108255888B (en) Data processing method and system
US11386340B2 (en) Method and apparatus for performing block retrieval on block to be processed of urine sediment image
CN112232295B (en) Method and device for confirming newly-added target ship and electronic equipment
CN114676279A (en) Image retrieval method, device, equipment and computer readable storage medium
CN112131215B (en) Bottom-up database information acquisition method and device
CN114416959A (en) Scientific research result pushing and claiming method and system
CN111611278A (en) Remote sensing data retrieval method based on artificial intelligence

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