Brand identification method and device based on text information
By analyzing the text information category results of identifying items, combined with industry brand recognition algorithms, the problem of low item brand recognition accuracy is solved, automatic extraction of accurate brands and improved recognition efficiency are achieved.
Patent Information
- Application Number
- CN202110644895.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-09
AI Technical Summary
In the existing technology, it is difficult to accurately determine the brand of an item by identifying pictures or text information of the item, especially due to appearance similarity or problems with multiple brands in the text information.
Judgment and analysis are carried out by identifying the text information category results of the items. The matching module and analysis module are combined with the industry brand recognition algorithm to automatically match and analyze the text information to extract the brand results.
The accuracy and efficiency of item brand recognition are improved, and it can accurately determine whether the brand name contained in the text information is the correct brand.
Smart Images

Figure CN113313187B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a brand recognition method and device based on text information. Background Art
[0002] With the rapid development of the Internet, e-commerce has also developed rapidly. Based on the advantages of convenience and time saving, more and more users like to buy the items they need online. Before buying items, users generally like to know the relevant information of the items they need to buy first. To know the relevant information of the items they need to buy, they need to first determine the brand of the items they need to buy. In order to determine the brand of the items they need to buy, users often determine the brand of the items by identifying the pictures of the items they need to buy through their user terminals, or by identifying the text information on the pictures of the items.
[0003] However, practice has found that the method of determining the brand of an item by identifying the image of the item often fails to accurately determine the brand of the item due to the similarity of the appearance of the items; the method of determining the brand of an item by identifying the text information on the image of the item often fails to accurately determine the brand of the item because the text information of the item often contains multiple brands, such as Shiseido Anessa, etc., or the text information of the item may have multiple meanings, such as Xiaomi 10 pounds, etc. Therefore, it is particularly important to propose a solution to improve the recognition accuracy of the brand of an item. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a brand recognition method and device based on text information, which can improve the recognition accuracy of the brand of the object to be recognized.
[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a brand recognition method based on text information, the method comprising:
[0006] When a category result of the object to be identified is identified according to the acquired text information of the object to be identified, determining whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and obtaining a determination result;
[0007] According to the judgment result, the analysis method corresponding to the judgment result is matched, and according to the analysis method corresponding to the judgment result, the text information of the object to be identified is analyzed to obtain the brand result of the object to be identified.
[0008] A second aspect of the present invention discloses a brand identification device based on text information, the device comprising:
[0009] A judgment module, configured to, when a category result of the object to be identified is identified according to the acquired text information of the object to be identified, judge whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and obtain a judgment result;
[0010] A matching module, used for matching an analysis method corresponding to the judgment result according to the judgment result;
[0011] The analysis module is used to analyze the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain the brand result of the object to be identified.
[0012] The third aspect of the present invention discloses another brand identification device based on text information, the device comprising:
[0013] A memory storing executable program code;
[0014] a processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the brand identification method based on text information disclosed in the first aspect of the present invention.
[0016] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the brand identification method based on text information disclosed in the first aspect of the present invention.
[0017] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0018] In an embodiment of the present invention, when the category result of the object to be identified is identified according to the acquired text information of the object to be identified, it is determined whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and a determination result is obtained; according to the determination result matching and the analysis method corresponding to the determination result, the text information of the object to be identified is analyzed according to the analysis method corresponding to the determination result, and the brand result of the object to be identified is obtained. It can be seen that after the category result of the object to be identified is identified, the text information of the object to be identified is analyzed by automatically matching the analysis method corresponding to the determination result matching the category result of the object to be identified, and the brand contained in the text information of the object to be identified can be automatically and accurately extracted, and the accurate brand of the object to be identified can be obtained; and when the determination result indicates that the category of the object to be identified can be identified, by combining the corresponding industry brand recognition algorithm, the efficiency of accurately identifying the brand of the object to be identified can be improved, and it can be accurately determined whether the brand name contained in the text information of the object to be identified is the correct brand of the object to be identified. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 It is a flowchart of a brand identification method based on text information disclosed in an embodiment of the present invention;
[0021] Figure 2 is a flow chart of another brand identification method based on text information disclosed in an embodiment of the present invention;
[0022] Figure 3 It is a structural schematic diagram of a brand identification device based on text information disclosed in an embodiment of the present invention;
[0023] Figure 4 is a schematic structural diagram of another brand identification device based on text information disclosed in an embodiment of the present invention;
[0024] Figure 5 It is a structural schematic diagram of another brand identification device based on text information disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0027] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0028] The present invention discloses a brand recognition method and device based on text information, which can analyze the text information of the object to be identified by automatically matching the analysis method corresponding to the judgment result of the category result of the object to be identified after the category result of the object to be identified is identified, and can automatically and accurately extract the brand contained in the text information of the object to be identified, and obtain the accurate brand of the object to be identified; and when the judgment result indicates that the category of the object to be identified can be identified, by combining the corresponding industry brand recognition algorithm, the efficiency of accurately identifying the brand of the object to be identified can be improved, and it can accurately judge whether the brand name contained in the text information of the object to be identified is the correct brand of the object to be identified. The following is a detailed description.
[0029] Embodiment 1
[0030] See also Figure 1 , Figure 1 : is a flowchart of a brand identification method based on text information disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to a brand recognition device, such as a server, etc., and the embodiment of the present invention does not limit this. Figure 1 As shown, the brand recognition method based on text information may include the following operations:
[0031] 101. When a category result of the object to be identified is identified according to the acquired text information of the object to be identified, it is determined whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and a determination result is obtained.
[0032] In an embodiment of the present invention, the items to be identified include any commodity or non-commodity whose brand needs to be identified. And the text information of the items to be identified includes the text information obtained by identifying the items to be identified and / or the text information of the items to be identified that has been stored. Further, the text information of the items to be identified also includes the brand information of the items to be identified input by the user corresponding to the items to be identified. And the text information of the items to be identified includes the item title of the items to be identified. Further, the text information of the items to be identified also includes but is not limited to the product description (such as: instructions for use) and / or store information (such as: store name) of the items to be identified.
[0033] 102. Match the analysis method corresponding to the judgment result according to the judgment result.
[0034] In the embodiment of the present invention, as an optional implementation mode, matching the analysis method corresponding to the judgment result according to the judgment result includes:
[0035] When the judgment result is used to indicate that the category of the object to be identified is identified, determining the industry brand recognition algorithm corresponding to the category result of the object to be identified as the analysis method corresponding to the judgment result;
[0036] Further, when the judgment result indicates that the category of the object to be identified is not identified, the method of analyzing the text information of the object to be identified and the brand of at least one industry for which brand identification has been developed is determined to be the analysis method corresponding to the judgment result.
[0037] It can be seen that the embodiments of the present invention can also determine the analysis method that matches the judgment result according to different judgment results, and can improve the matching accuracy of the analysis method, so as to analyze the text information of the object to be identified according to different analysis methods, thereby improving the analysis accuracy and efficiency of the text information of the object to be identified, thereby improving the accuracy and efficiency of extracting the brand from the text information of the object to be identified, which is conducive to improving the recognition accuracy and efficiency of the brand of the object.
[0038] 103. Analyze the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain the brand result of the object to be identified.
[0039] In the embodiment of the present invention, optionally, the text information of only one object to be identified may be analyzed at a time, or the text information of multiple objects to be identified may be analyzed simultaneously, or multiple pieces of text information of one object to be identified may be analyzed.
[0040] In the embodiment of the present invention, as an optional implementation mode, according to the analysis method corresponding to the judgment result, the text information of the object to be identified is analyzed to obtain the brand result of the object to be identified, including:
[0041] When the judgment result is used to indicate that the category of the object to be identified is not identified, all industries for which brand identification has been developed are sorted from large to small according to the number of times that brand results are successfully matched, to obtain all industries for which brand identification has been sorted, and starting from the industry for which brand identification has been sorted that is ranked first, the text information of the object to be identified and the brands of all industries for which brand identification has been sorted are analyzed in turn until a brand result is matched, and the matched brand result is determined to be the brand result of the object to be identified; or,
[0042] When the judgment result indicates that the category of the object to be identified is not identified, the text information of the object to be identified is randomly analyzed with the brand of at least one industry for which brand identification has been developed until a brand result is matched, and the matched brand result is determined as the brand result of the object to be identified; or,
[0043] When the judgment result is used to indicate that the category of the object to be identified is not identified, the text information of the object to be identified and the brands of all industries for which brand identification has been developed are analyzed to obtain the brand results that match the object to be identified in all industries for which brand identification has been developed, and it is judged whether the number of matched brand results is equal to 1. When it is judged to be equal to 1, it is determined that the matched brand result is the brand result of the object to be identified.
[0044] In this optional implementation, optionally, when it is determined that the number of matched brand results is greater than 1, the brand result of the object to be identified is determined to be unrecognized, and the brand result of the object to be identified is output, which is a prompt that the brand of the object to be identified is unrecognized.
[0045] In this optional implementation, optionally, all industries that have developed brand recognition have corresponding numbers of successfully matched brand results (i.e., brand matched), and the number of successfully matched brand results is the number of times within a preset time period (for example: a natural month, etc.), wherein the end time of the preset time period can be the moment when the result of determining the category of the object to be identified is used to indicate that the category of the object to be identified has not been identified.
[0046] It can be seen that this optional implementation method can enrich the method of determining the brand result of the object to be identified, improve the probability of determining the brand result of the object to be identified, and enrich the intelligent function of the brand identification device by providing a method of analyzing multiple brand results, starting from the industry of the developed brand identification with the largest number of successfully matched brand results, and analyzing the text information of the object to be identified in sequence with the brand of at least one industry of the developed brand identification, or analyzing the text information of the object to be identified with the brands of all industries of the developed brand identification.
[0047] It can be seen that implementation Figure 1The described method can, after identifying the category result of the object to be identified, analyze the text information of the object to be identified by automatically matching the analysis method that matches the judgment result corresponding to the category result of the object to be identified, and can automatically and accurately extract the brand contained in the text information of the object to be identified, and obtain the accurate brand of the object to be identified; and when the judgment result indicates that the category of the object to be identified can be identified, by combining its corresponding industry brand recognition algorithm, it can improve the efficiency of accurately identifying the brand of the object to be identified, and can accurately judge whether the brand name contained in the text information of the object to be identified is the correct brand of the object to be identified.
[0048] In an optional embodiment, when the above judgment result is used to indicate that the category of the object to be identified is identified, the text information of the object to be identified is analyzed according to the analysis method corresponding to the above judgment result to obtain the brand result of the object to be identified, including:
[0049] Performing multi-mode matching analysis on the text information of the object to be identified and identification information of at least one brand in the industry brand library corresponding to the category result of the object to be identified, to obtain a first brand name set matching the text information of the object to be identified, the first brand name set including at least one brand name;
[0050] Determine whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set;
[0051] When it is determined that there is a brand name matching the brand information of the object to be identified, the brand name matching the brand information of the object to be identified is determined as a brand result of the object to be identified.
[0052] In this optional embodiment, optionally, the industry brand library corresponding to the category result of the to-be-identified object is the industry brand library of the industry to which the to-be-identified object belongs.
[0053] In this optional embodiment, the identification information of each brand in the industry brand library corresponding to the category result of the object to be identified includes the main brand name, parent brand name and sub-brand name of the brand, wherein the main brand name, parent brand name and sub-brand name of each brand include at least one of the Chinese name, English name, alias and brand ID. In this way, the more content included in the industry brand library, the more conducive it is to improve the accuracy, comprehensiveness and efficiency of the brand name extracted from the text information of the object to be identified, thereby helping to improve the accuracy and efficiency of the brand results of the object to be identified. Among them, the main brand name is the final official name of the brand. And further, the main brand name is generally a Chinese name, for example: the Chinese name of the brand is Dafeng Diary, and the English name is Wind Diary. Generally, Dafeng Diary is used as the main brand name of the brand; the parent brand name is the upper brand name of the sub-brand name, such as: Hou Shengtang Anhushai, then Hou Shengtang is the parent brand name, Anhushai is the sub-brand name, and the main brand name of Anhushai is Anbaofu.
[0054] In this optional embodiment, optionally, the brand name that matches the brand information of the object to be identified includes a brand name that is the same as the brand information or a sub-brand name of the brand information or a main brand name of the brand information.
[0055] For example, the brand list in the industry brand library corresponding to the object to be identified = [Hou Shengtang, Anhushai, Anbaofu], and the text title of the object to be identified is "Anbaofu sunscreen 100ml under Hou Shengtang", then the first brand name set of the object to be identified = [Hou Shengtang, Anbaofu]. If the brand information of the object to be identified input by the user is [Anbaofu], then [Anbaofu] is determined as the brand result of the object to be identified.
[0056] It can be seen that this optional embodiment can improve the accuracy and efficiency of extracting brand names from the text information of the object to be identified by performing multi-mode matching analysis on the identification information of the brand in the industry brand library corresponding to the category results of the text information of the object to be identified and its category results, and when there is a brand name matching the brand information of the object to be identified input by the user in the brand name set obtained by the multi-mode matching analysis, the matching brand name is determined as the brand result of the object to be identified, which can further improve the recognition accuracy of the brand result of the object to be identified.
[0057] In another optional embodiment, after performing multi-mode matching analysis on the text information of the object to be identified and the identification information of at least one brand in the industry brand library corresponding to the category result of the object to be identified to obtain a first brand name set matching the text information of the object to be identified, and the first brand name set includes at least one brand name, the method may further include the following operations:
[0058] Determine whether the number of all brand names in the first brand name set is greater than a determined brand name number threshold, and when it is determined that the number of brand names is less than or equal to the brand name number threshold, perform the above operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all brand names in the first brand name set;
[0059] The method may also include the following operations:
[0060] When it is determined that the number of brand names is greater than the threshold, the appearance information of the object to be identified is collected, and the brand name matching the appearance information of the object to be identified is selected from all the brand names in the first brand name set;
[0061] Based on the filtered brand names, all brand names in the first brand name set are updated to obtain the updated first brand name set, and the operation of determining whether there is a brand name in all brand names in the first brand name set that matches the brand information of the item to be identified input by the user is performed.
[0062] In this optional embodiment, the appearance information of the object to be identified includes but is not limited to at least one of the shape of the object to be identified, the color of the object to be identified, the texture of the object to be identified, the pattern of the object to be identified, and the number of components of the object to be identified.
[0063] In this optional embodiment, the brand name quantity threshold may be uniform, or may be determined according to the category results of different objects to be identified, that is, different category results correspond to different brand name thresholds.
[0064] For example, when all the brand names of the first brand name set of the object to be identified are: [Hou Shengtang, Anhushai, Anbaofu, Sunscreen Beauty], and the text information of the object to be identified is: Hou Shengtang series Anhushai, Anbaofu Sunscreen Beauty, the appearance of the collected object to be identified is a red panda, and the brand names corresponding to the red panda are Sunscreen Beauty and Anhushai, then all the brand names of the first brand name set of the object to be identified are: Sunscreen Beauty and Anhushai.
[0065] It can be seen that after the multi-mode matching analysis obtains the brand name set, this optional embodiment further determines whether the number of brand names in the brand name set is large. If not, the subsequent operation of determining the brand results of the object to be identified is directly executed. If so, the brand names that match the object to be identified are first screened according to the appearance information of the object to be identified. This can reduce the amount of brand name data while extracting the accurate brand name, and then determine the brand results of the object to be identified, which can improve the efficiency of identifying the brand results of the object to be identified.
[0066] In yet another optional embodiment, before determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set, the method may further include the following operations:
[0067] Determining whether there is a brand name of the determined brand name type among all the brand names in the first brand name set according to the text information of the object to be identified;
[0068] When it is determined that there is no such brand name, the operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set is performed;
[0069] When it is determined that it exists, the brand name of the existing brand name type is deleted from all brand names in the first brand name set to obtain a second brand name set, and the above-mentioned operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all brand names in the first brand name set is performed, and the second brand name set is the first brand name set.
[0070] In this optional embodiment, the determined brand name type optionally includes at least one of the type of brand name that is included, the type of brand name of the same style, the type of brand name that is a substitute, and the type of brand name of the same style. The more content included in the brand name type, the more conducive it is to improve the accuracy, efficiency, and comprehensiveness of judging whether there are or are not brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis, thereby facilitating the accuracy, efficiency, and comprehensiveness of deleting brand names that do not meet the requirements when it is determined that there are brand names that do not meet the requirements, thereby further improving the accuracy of extracting brand names from the text information of the items to be identified, and further improving the recognition accuracy of the brand results of the items to be identified.
[0071] It can be seen that this optional embodiment first determines whether there are any unmatched brand names in the brand name set obtained by the multi-mode matching analysis before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user. If not, the subsequent brand analysis steps are directly executed. If so, the brand names that do not meet the requirements are first deleted from the brand name set obtained by the multi-mode matching analysis. This can reduce the occurrence of brand result recognition errors of the object to be identified and reduced recognition efficiency of the brand results due to the presence of unmatched brand names in the brand name set obtained by the multi-mode matching analysis but continuing the brand result analysis, which is conducive to further improving the recognition accuracy and efficiency of the brand results of the object to be identified.
[0072] In this optional embodiment, as an optional embodiment mode, judging whether there is a brand name of the determined brand name type among all the brand names in the first brand name set according to the text information of the object to be identified includes:
[0073] Determine whether a word in the determined word set exists in the text information of the to-be-identified object, and when it is determined that a word exists, determine that all brand names in the first brand name set exist brand names of the determined brand name type, and the brand name preceding a word is a brand name of the determined brand name type; or,
[0074] It is determined whether there is an included brand name among all the brand names in the first brand name set based on the text information of the object to be identified. When it is determined that there is an included brand name, it is determined that there is a brand name of the determined brand name type among all the brand names in the first brand name set, and the included brand name is a brand name of the determined brand name type.
[0075] In this optional embodiment, optionally, the word set includes at least one of the same item, a parallel substitute, and a same item replacement.
[0076] In this optional embodiment, when it is determined that a certain word in the determined word set does not exist in the text information of the object to be identified, the following operation of determining whether there is a brand name included in all brand names in the first brand name set based on the text information of the object to be identified can be triggered; or, when it is determined that there is no included brand name, the above operation of determining whether there is a certain word in the determined word set in the text information of the object to be identified can be triggered. It should be noted that a certain word can be understood as at least one word.
[0077] For example, the text information of the item to be identified is: sky fairy water replaces Hanmei lotion at a reasonable price. At this time, sky is not the correct brand name of the item to be identified, and it is necessary to delete the word "affordable" to replace the sky in front; the text information of the item to be identified is: Dafeng Diary Glass Time Lip Glaze. At this time, two brand names, Dafeng Diary and Dafeng, will be identified. At this time, it is necessary to remove the included brand name Dafeng.
[0078] It can be seen that this optional embodiment can also, when it is identified that there are words such as "substitute" and "same style" in the text information of the object to be identified, and / or when there are included brands, determine that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis, and can enrich the method of determining that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis, thereby improving the probability of determining that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis.
[0079] In yet another optional embodiment, before determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set, the method may further include the following operations:
[0080] Determine whether the industry to which the item to be identified belongs is an industry in the determined industry set;
[0081] When it is determined that the industry to which the object to be identified belongs is a certain industry, it is determined whether the text information of the object to be identified matches the content determined to match the certain industry. When it is determined that the text information of the object to be identified matches the content matching the certain industry, the above-mentioned operation of determining whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set is performed.
[0082] In this optional embodiment, all industries in the determined industry set include but are not limited to at least one of the digital home appliance industry, beauty and personal care industry, clothing, shoes and bags industry, maternal and child industry, food and beverage industry and smart home industry.
[0083] For example, the industry to which the item to be identified belongs is the digital home appliance industry, and the item title of the item to be identified is: Dawei mobile phone case and charging cable. At this time, the item title contains digital product peripheral products such as "mobile phone case" and "charging cable". If there is no "mobile phone case" and / or "charging cable" in the corresponding single product list of Dawei, it is determined that "Dawei mobile phone case and charging cable" does not match the content matched by the digital home appliance industry, that is, it is determined that the brand result of the item to be identified is not identified, and the brand result of the item to be identified is not output, that is, the first brand name set returned is empty; if there is "mobile phone case" and / or "charging cable" in the corresponding single product list of Dawei, but because the title "Dawei mobile phone case and charging cable" does not contain "official" and / or "authentic", it is determined that "Dawei mobile phone case and charging cable" does not match the content matched by the digital home appliance industry, that is, it is also determined. It is determined that the brand result of the item to be identified is not identified, that is, the brand result of the item to be identified is not output, and the first brand name set returned is empty; if the title contains "official" and / or "authentic", it is determined that "Dawei mobile phone case and charging cable" matches the content matching the digital home appliance industry, that is, it is determined that the brand result of the item to be identified is identified, that is, the brand result of the item to be identified is "Dawei"; the industry to which the item to be identified belongs is the beauty and personal care industry, and the item title of the item to be identified is: lipstick color number 123cf, and in the corresponding single product list of the beauty and personal care industry, "3cf" is a brand, but the number "12" is also included before "3cf", then it is determined that the brand result of the item to be identified is not identified, and the brand result of the item to be identified is not output, that is, the first brand name set returned is empty, which is convenient for preventing the color number and / or model from being mistakenly identified as a brand.
[0084] In this optional embodiment, optionally, when it is determined that the industry to which the object to be identified belongs is not a certain industry, the above-mentioned operation of determining whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set is performed.
[0085] It can be seen that this optional embodiment first determines whether the industry to which the object to be identified belongs is some special industry before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user. If so, it further automatically searches the text information of the object to be identified to see whether it contains content of these special industries, such as: mobile phone cases in the digital home appliance industry, etc. If not, it continues to perform subsequent brand analysis operations. This can reduce the occurrence of incorrect identification of the brand results of the object to be identified due to the fact that the text information of the object to be identified is used to indicate that the object to be identified is a peripheral product of a special industry or contains only the model number, color number, etc. of the item, which is conducive to further improving the recognition accuracy of the brand results of the object to be identified.
[0086] In yet another optional embodiment, before determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set, the method may further include the following operations:
[0087] Determine whether all target brand names are main brand names, where all target brand names include all brand names in the first brand name set and brand information of the item to be identified input by the user;
[0088] When the judgment result is yes, the operation of judging whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set is performed;
[0089] When the judgment result is no, converting the brand names that are not main brand names among all target brand names into main brand names to obtain a third brand name set of the items to be identified and / or target brand information of the items to be identified, wherein the third brand name set includes at least one main brand name;
[0090] The step of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set includes:
[0091] It is determined whether there is a brand name matching the target brand information of the object to be identified among all the main brand names in the third brand name set.
[0092] In this optional embodiment, when all brand names in the first brand name set are main brand names, the third brand name set is exactly the same as the first brand name set, and when the brand information of the object to be identified input by the user is the main brand name, the target brand information of the object to be identified is exactly the same as the brand information of the object to be identified input by the user.
[0093] For example, the text information of the object to be identified is: Anhushai sunscreen lotion, where the brand of the object to be identified is Anhushai, but Anhushai is an alias of the brand of the object to be identified, and the official name is Anbaofu, that is, the main brand name is Anbaofu. Therefore, the alias Anhushai needs to be converted to the main name Anbaofu.
[0094] It can be seen that this optional embodiment first determines whether the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user are both main brand names before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information input by the user. If so, the subsequent brand analysis operation continues to be performed; if not, the main name conversion is performed first, which can deduplicate the brand names in the brand name set obtained by the multi-mode matching analysis, reduce the amount of calculation, and is conducive to further improving the recognition accuracy and efficiency of the brand results of the object to be identified.
[0095] In yet another optional embodiment, before determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set, the method may further include the following operations:
[0096] Determine whether the brand information of the object to be identified input by the user matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified;
[0097] When a match is determined, the above operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set is performed.
[0098] In this optional embodiment, optionally, when it is determined that the brand information of the object to be identified does not match the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified, it is determined that the brand result of the object to be identified is not identified, and the current process is terminated, or the following operation of determining the brand result of the object to be identified based on the number of all brand names in the first brand name set is triggered.
[0099] It can be seen that, before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user, this optional embodiment automatically determines whether the brand information of the object to be identified matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified. If it matches, it continues to perform subsequent brand analysis operations, which is beneficial to further improve the recognition accuracy and efficiency of the brand results of the object to be identified.
[0100] In yet another optional embodiment, the method may further include the following operations:
[0101] When it is determined that there is no brand name matching the brand information of the object to be identified, adding the brand information of the object to be identified to the first brand name set;
[0102] The brand result of the object to be identified is determined according to the number of all brand names in the first brand name set.
[0103] It can be seen that after determining that there is no brand name matching the brand information of the object to be identified input by the user in the brand name set obtained by the multi-mode matching analysis, this optional embodiment further adds the brand information input by the user to the brand name set obtained by the multi-mode matching analysis, so as to determine the brand result of the object to be identified according to the number of brand names in the brand name set, thereby enriching the method of determining the brand result of the object to be identified, improving the possibility of determining the brand result of the object to be identified, and further enriching the intelligent function of the brand recognition device.
[0104] In yet another optional embodiment, after adding the brand information of the to-be-identified object to the first brand name set and before determining the brand result of the to-be-identified object according to the number of all brand names in the first brand name set, the method may further include the following operations:
[0105] Determine whether there is a brand name matching the determined common word among all the brand names in the first brand name set, and when it is determined that there is a brand name matching the common word, determine whether the brand name matching the common word matches the brand information of the object to be identified;
[0106] When it is determined that the brand name matching the common word matches the brand information of the object to be identified, the operation of determining the brand result of the object to be identified according to the number of all brand names in the first brand name set is performed.
[0107] In this optional embodiment, different industries have corresponding common words. For example, the common words in the beauty and personal care industry are "after", "perfect" and "finish", and the common words in the digital home appliance industry are "line", "shell", etc.
[0108] In this optional embodiment, optionally, the method may further include the following operations:
[0109] When it is determined that there is no brand name matching the common word, a subsequent operation of determining a brand result of the to-be-identified object according to the number of all brand names in the first brand name set is performed.
[0110] It can be seen that this optional embodiment first determines whether there is a brand name that matches the common word in the brand name set of the object to be identified and the brand name matches the brand information input by the user, and then determines the brand result of the object to be identified according to the number of brand names in the brand name set of the object to be identified, which can improve the accuracy of determining the brand result of the object to be identified based on the number of brand names.
[0111] In yet another optional embodiment, the method may further include the following operations:
[0112] When it is determined that the brand name matching the common word does not match the brand information of the object to be identified, the brand name matching the common word is deleted from the first brand name set to obtain a fourth brand name set;
[0113] Wherein, determining the brand result of the object to be identified according to the number of all brand names in the first brand name set includes:
[0114] The brand result of the to-be-identified object is determined according to the number of brand names in the fourth brand name set.
[0115] For example, the text information of the object to be identified is: Ouliya After-Sun Repair Mask, and the two brand names "Ouliya" and "Hou" are identified. The information of the object to be identified input by the user is: Ouliya, then delete the brand name "Hou", and the brand result of the object to be identified is: Ouliya.
[0116] It can be seen that this optional embodiment directly deletes the brand name matching the common word when it is determined that the brand name matching the common word does not match the brand information of the object to be identified, so as to obtain an accurate set of brand names, and then determine the brand results of the object to be identified according to the number of brand names in the brand name set, which can further improve the accuracy of determining the brand results of the object to be identified according to the number of brand names.
[0117] In the above optional embodiment, determining the brand result of the to-be-identified object according to the number of all brand names in the first brand name set includes:
[0118] It is determined whether the number of all brand names in the first brand name set is equal to 1. When it is determined that the number of all brand names in the first brand name set is equal to 1, all brand names in the first brand name set are determined to be brand results of the item to be identified.
[0119] It can be seen that the above optional embodiment can improve the efficiency of determining the brand result of the object to be identified on the basis of obtaining accurate brand results of the object to be identified by directly determining the unique brand name as the brand result of the object to be identified when it is determined that there is only one brand in the brand name set of the object to be identified.
[0120] In yet another optional embodiment, the method may further include the following operations:
[0121] When it is determined that the number of all brand names in the first brand name set is greater than 1, all brand names whose parent brand names are all converted into corresponding sub-brand names, and all parent brand names are deleted from the first brand name set to obtain a fifth brand name set;
[0122] The number of all sub-brand names in the fifth brand name set is calculated, and the brand result of the to-be-identified item is determined according to the number of all sub-brand names in the fifth brand name set.
[0123] For example, if all brand names in the first brand name set include Hou Shengtang and An Hushai, Hou Shengtang is converted to An Hushai, and Hou Shengtang is deleted.
[0124] It can be seen that when this optional embodiment determines that the number of brand names in the brand name set obtained by the multi-mode matching analysis is 1, by converting the parent brand name in the brand name set into a child brand name, deleting the parent brand name, and then determining the brand result of the object to be identified based on the number of brand names in the set, it is able to enrich the method of determining the accurate brand result of the object to be identified and increase the probability of accurately identifying the brand result.
[0125] In the above optional embodiment, optionally, determining the brand result of the to-be-identified item according to the number of all sub-brand names in the fifth brand name set includes:
[0126] Determine whether the number of all sub-brand names in the fifth brand name set is equal to 1, and when it is determined that the number of all sub-brand names in the fifth brand name set is equal to 1, determine that the sub-brand name of the fifth brand name set is the brand result of the item to be identified;
[0127] The method may further include the following steps:
[0128] When it is determined that the number of all sub-brand names in the fifth brand name set is greater than 1, it is determined whether there is a brand name belonging to the determined sales platform among all the sub-brand names in the fifth brand name set. When it is determined that there is a brand name of the sales platform, the brand name belonging to the sales platform is deleted from all the sub-brand names in the fifth brand name set to obtain a sixth brand name set;
[0129] Calculate the number of all sub-brand names in the sixth brand name set, and determine whether the number of all sub-brand names in the sixth brand name set is equal to 1. When it is determined that the number of all sub-brand names in the sixth brand name set is equal to 1, determine that the sub-brand name of the sixth brand name set is the brand result of the item to be identified.
[0130] It can be seen that after deleting the parent brand name in the brand name set, if the number of brand names in the brand name set is equal to 1, the brand result of the brand name to be identified in the brand name set is directly determined; if it is still greater than 1, the brand name belonging to the sales platform in the brand name set is deleted, which can further improve the accuracy of extracting brand names in text information, and then determine the brand result of the object to be identified according to the number of brand names in the set, which can enrich the method of determining the brand result of the accurate object to be identified and improve the probability and accuracy of accurately identifying the brand result.
[0131] In yet another optional embodiment, the method may further include the following operations:
[0132] When it is determined that there is no brand name on the sales platform, or when it is determined that the number of all sub-brand names in the sixth brand name set is greater than 1, target information of each brand name in all brand names in the seventh brand name set within a certain time period is collected, wherein the target information of each brand name includes at least one of the purchase volume, transaction volume, favorable comments and repurchase situation of each brand name within a certain time period (such as within 3 months, etc.), the seventh brand name set is the fifth brand name set or the sixth brand name set, and the end time of the certain time period is the time when it is determined that the number of all sub-brand names in the fifth brand name set is greater than 1;
[0133] The welcome level of each brand name is determined according to the target information corresponding to each brand name in the seventh brand name set, and the brand name corresponding to the highest target welcome level is determined from all the brand names in the seventh brand name set according to all the welcome levels as the brand result of the object to be identified.
[0134] It can be seen that this optional embodiment, when it is determined that the brand set does not include the brand name of the selling platform or the number of brand names in the brand set is still greater than 1 after removing the brand name of the selling platform, can determine the brand result of the item to be identified and increase the probability of determining the brand result of the item to be identified by determining the brand name with the highest popularity level in the brand set as the brand result of the item to be identified.
[0135] In this optional embodiment, optionally, each content included in the target information corresponding to each brand name in the seventh brand name set has a corresponding weight value, and the sum of the weight values of all the content of each brand name is equal to 1. And optionally, determining the popularity level of each brand name according to the target information corresponding to each brand name in the seventh brand name set includes:
[0136] Determine the value corresponding to each content, and calculate the product value of the value corresponding to each content and the weight value of each content;
[0137] The product value of all contents is calculated as the total value of each brand name, and the popularity level of each brand name is determined according to the total value of each brand name.
[0138] It can be seen that this optional embodiment helps to improve the accuracy of determining the popularity level of each brand name by determining the total value of each brand name based on the weight value of each content included in the target information of each brand name and the numerical value of each content, thereby helping to improve the recognition accuracy of the brand results of the items to be identified.
[0139] Embodiment 2
[0140] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another brand identification method based on text information disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to a brand recognition device, such as a server, etc., and the embodiment of the present invention does not limit this. Figure 2 As shown, the brand recognition method based on text information may include the following operations:
[0141] 201. When a category result of the object to be identified is identified according to the acquired text information of the object to be identified, it is determined whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and a determination result is obtained.
[0142] 202. Match the analysis method corresponding to the judgment result according to the judgment result.
[0143] 203. Analyze the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain a brand result of the object to be identified.
[0144] 204. Output the brand result of the object to be identified.
[0145] In the embodiment of the present invention, it should be noted that for the relevant description of steps 201 to 203, please refer to the detailed description of steps 101 to 103 in the first embodiment, which will not be repeated in the embodiment of the present invention.
[0146] In an optional embodiment, before outputting the brand result of the object to be identified, the method may further include the following steps:
[0147] Perform part-of-speech tagging on the text information of the object to be identified to obtain the part-of-speech tagging result of each word in the text information of the object to be identified, determine the part-of-speech tagging result corresponding to the brand result of the object to be identified based on the part-of-speech tagging result of each word in the text information, and judge whether the part-of-speech tagging result corresponding to the brand result of the object to be identified is the same as the part-of-speech tagging result of the determined brand result of the object to be identified. When the judgment result is yes, perform the above-mentioned operation of outputting the brand result of the object to be identified.
[0148] It can be seen that before outputting the brand result of the object to be identified, the embodiment of the present invention first determines whether the part-of-speech tagging of the brand result of the object to be identified in its text information is consistent with the prescribed part-of-speech tagging. If they are consistent, the brand result of the object to be identified is output, which can reduce the occurrence of the brand being used as a verb or common word, further improve the recognition accuracy of the brand result of the object to be identified, and improve the output accuracy of the brand result of the object to be identified.
[0149] In another optional embodiment, before outputting the brand result of the object to be identified, the method may further include the following steps:
[0150] Based on the determined image recognition algorithm, the image of the object to be identified is identified, the brand name of the object to be identified is obtained, and it is determined whether the identified brand name of the object to be identified is the same as the brand result of the object to be identified. When the judgment result is yes, the above-mentioned operation of outputting the brand result of the object to be identified is performed.
[0151] It can be seen that before outputting the brand result of the object to be identified, the embodiment of the present invention first determines whether the brand name obtained by identifying the image of the object to be identified is consistent with the brand result of the object to be identified. If they are consistent, the brand result of the object to be identified is output, which can further improve the recognition accuracy of the brand result of the object to be identified and improve the output accuracy of the brand result of the object to be identified.
[0152] It can be seen that implementation Figure 2The described method can analyze the text information of the object to be identified by automatically matching the analysis method corresponding to the judgment result of the category result of the object to be identified after identifying the category result of the object to be identified, and can automatically and accurately extract the brand contained in the text information of the object to be identified, and obtain the accurate brand of the object to be identified; and when the judgment result indicates that the category of the object to be identified can be identified, by combining its corresponding industry brand recognition algorithm, it can improve the efficiency of accurately identifying the brand of the object to be identified, and can accurately judge whether the brand name contained in the text information of the object to be identified is the correct brand of the object to be identified. In addition, it can also be judged whether the part-of-speech tag in the text information of the brand result of the object to be identified is consistent with the prescribed part-of-speech tag or whether the brand name obtained by identifying the image of the object to be identified is consistent with the brand result of the object to be identified. If they are consistent, the brand result of the object to be identified is output, which can further improve the recognition accuracy of the brand result of the object to be identified and improve the output accuracy of the brand result of the object to be identified.
[0153] In yet another optional embodiment, the method may further include the following operations:
[0154] Performing a formatting operation on the text information of the object to be identified to obtain the formatted text information of the object to be identified, and performing the above-mentioned analysis method corresponding to the judgment result to analyze the text information of the identified object to obtain the brand result of the object to be identified;
[0155] In this optional embodiment, the formatting operation includes removing irregular characters and / or converting text, wherein the irregular characters include: emoticon string, separators such as |, *, @, ¥, &, etc., and the text conversion operation includes converting all English words to lowercase or converting all English words to uppercase.
[0156] In this optional embodiment, optionally, a formatting operation is performed on the text information of the object to be identified by using a regular expression.
[0157] In this optional embodiment, optionally, after obtaining the brand information of the object to be identified input by the user, a formatting operation is also performed on the brand information of the object to be identified, wherein, for the description of performing the formatting operation on the brand information of the object to be identified, please refer to the description of performing the formatting operation on the text information of the object to be identified, which will not be repeated here.
[0158] It can be seen that this optional embodiment can obtain text information that meets the processing requirements by first performing a formatting operation on the text information of the object to be identified, which is beneficial to further improve the accuracy and efficiency of extracting brand names from text information, thereby further improving the recognition accuracy and efficiency of brand results of the object to be identified.
[0159] In yet another optional embodiment, the method may further include the following operations:
[0160] The text information of the object to be identified is obtained, the text information of the object to be identified is input into the determined information category determination model for analysis, and the analysis result output by the information category determination model is obtained as the category result of the object to be identified.
[0161] For the description of the text information of the object to be identified, please refer to the description of the aforementioned related content, which will not be repeated here.
[0162] In this optional embodiment, the information category determination model includes a model based on the fastText algorithm.
[0163] It can be seen that this optional embodiment can quickly and accurately determine the category result of the object to be identified by analyzing the text information of the object to be identified based on the information category determination model, thereby facilitating improving the recognition accuracy and efficiency of the brand of the object to be identified.
[0164] Embodiment 3
[0165] See also Figure 3 , Figure 3 Schematic diagram of a brand identification device based on text information disclosed in an embodiment of the present invention. Figure 3 As shown, the brand identification device based on text information may include:
[0166] The judgment module 301 is used to judge whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified when the category result of the object to be identified is identified according to the acquired text information of the object to be identified, and obtain a judgment result.
[0167] The matching module 302 is used to match the analysis method corresponding to the judgment result according to the judgment result.
[0168] The analysis module 303 is used to analyze the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain the brand result of the object to be identified.
[0169] It can be seen that implementation Figure 3The described brand recognition device can, after identifying the category result of the object to be identified, analyze the text information of the object to be identified by automatically matching the analysis method that matches the judgment result corresponding to the category result of the object to be identified, and can automatically and accurately extract the brand contained in the text information of the object to be identified, and obtain the accurate brand of the object to be identified; and when the judgment result indicates that the category of the object to be identified can be identified, by combining its corresponding industry brand recognition algorithm, it can improve the efficiency of accurately identifying the brand of the object to be identified, and can accurately judge whether the brand name contained in the text information of the object to be identified is the correct brand of the object to be identified.
[0170] In an optional embodiment, if Figure 3 As shown, the matching module 302 matches the analysis method corresponding to the judgment result according to the judgment result in the following specific manner:
[0171] When the judgment result is used to indicate that the category of the object to be identified is identified, determining the industry brand recognition algorithm corresponding to the category result of the object to be identified as the analysis method corresponding to the judgment result;
[0172] When the judgment result indicates that the category of the object to be identified is not identified, the method of analyzing the text information of the object to be identified and the brand of at least one industry for which brand identification has been developed is determined to be the analysis method corresponding to the judgment result.
[0173] It can be seen that implementation Figure 3 The described brand recognition device can also determine the analysis method that matches the judgment result according to different judgment results, and can improve the matching accuracy of the analysis method, so as to analyze the text information of the object to be identified according to different analysis methods, thereby improving the analysis accuracy and efficiency of the text information of the object to be identified, thereby improving the accuracy and efficiency of extracting the brand from the text information of the object to be identified, which is conducive to improving the recognition accuracy and efficiency of the brand of the object.
[0174] In another optional embodiment, Figure 4 As shown, the analysis module 302 includes:
[0175] The matching submodule 3021 is used to perform multi-mode matching analysis on the text information of the object to be identified and the identification information of at least one brand in the industry brand library corresponding to the category result of the object to be identified when the judgment result is used to indicate that the category of the object to be identified is identified, so as to obtain a first brand name set that matches the text information of the object to be identified, and the first brand name set includes at least one brand name.
[0176] A determination submodule 3022, configured to determine whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set;
[0177] The determination submodule 3023 is used to determine that the brand name matching the brand information of the object to be identified is a brand result of the object to be identified when the determination submodule 3022 determines that there is a brand name matching the brand information of the object to be identified.
[0178] It can be seen that implementation Figure 4 The described brand recognition device can improve the accuracy and efficiency of extracting brand names from text information of the object to be recognized by performing multi-mode matching analysis on the identification information of the brand in the industry brand library corresponding to the category result of the text information of the object to be recognized, and when there is a brand name matching the brand information of the object to be recognized input by the user in the brand name set obtained by the multi-mode matching analysis, the matching brand name is determined as the brand result of the object to be recognized, which can further improve the recognition accuracy of the brand result of the object to be recognized.
[0179] In yet another optional embodiment, Figure 4 As shown, the judgment submodule 3022 is further used to judge whether there is a brand name of the determined brand name type among all the brand names in the first brand name set before judging whether there is a brand name matching the brand information of the object to be identified inputted by the user among all the brand names in the first brand name set, according to the text information of the object to be identified, and when it is judged that there is no brand name, perform the above-mentioned operation of judging whether there is a brand name matching the brand information of the object to be identified inputted by the user among all the brand names in the first brand name set;
[0180] And, if Figure 4 As shown, the analysis module 302 also includes:
[0181] The first deletion submodule 3024 is used to delete the brand name of the brand name type from all brand names in the first brand name set when the judgment submodule 3022 determines that a brand name of the brand name type exists, to obtain a second brand name set, and trigger the judgment submodule 3022 to perform the above-mentioned operation of judging whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set, and the second brand name set is the first brand name set.
[0182] It can be seen that implementation Figure 4The described brand identification device can also determine whether there are any unmatched brand names in the brand name set obtained by the multi-mode matching analysis before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user. If not, the subsequent brand analysis steps are directly executed. If so, the brand names that do not meet the requirements are first deleted from the brand name set obtained by the multi-mode matching analysis. This can reduce the occurrence of brand result identification errors of the object to be identified and reduced recognition efficiency of the brand results due to the presence of unmatched brand names in the brand name set obtained by the multi-mode matching analysis but continuing the brand result analysis, which is conducive to further improving the recognition accuracy and efficiency of the brand results of the object to be identified.
[0183] In yet another optional embodiment, Figure 4 As shown, the determination submodule 3022 determines whether there is a brand name of the determined brand name type among all the brand names in the first brand name set according to the text information of the object to be identified in the following specific manner:
[0184] Determine whether a word in the determined word set exists in the text information of the to-be-identified object, and when it is determined that a word exists, determine that all brand names in the first brand name set exist brand names of the determined brand name type, and the brand name preceding a word is a brand name of the determined brand name type; or,
[0185] It is determined whether there is an included brand name among all the brand names in the first brand name set based on the text information of the object to be identified. When it is determined that there is an included brand name, it is determined that there is a brand name of the determined brand name type among all the brand names in the first brand name set, and the included brand name is a brand name of the determined brand name type.
[0186] It can be seen that implementation Figure 4 The described brand identification device can also, when it is identified that words such as "substitute" and "same style" exist in the text information of the object to be identified and / or when there are included brands, determine that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis, and can enrich the method of determining that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis, thereby increasing the probability of determining that there are brand names that do not meet the requirements in the brand name set obtained by multi-mode matching analysis.
[0187] In yet another optional embodiment, Figure 4 As shown, the judgment submodule 3022 is also used to judge whether the industry to which the object to be identified belongs is an industry in the determined industry set before judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set.
[0188] The judgment submodule 3022 is also used to judge whether the text information of the object to be identified matches the content determined to match the certain industry when it is judged that the industry to which the object to be identified belongs is a certain industry. When it is judged that the text information of the object to be identified matches the content matched with the certain industry, perform the above-mentioned operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set.
[0189] It can be seen that implementation Figure 4 The described brand recognition device can also determine whether the industry to which the item to be identified belongs is some special industry before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the item to be identified input by the user. If so, it will further automatically search the text information of the item to be identified to see whether there is content of these special industries, such as: mobile phone cases in the digital home appliance industry, etc. If not, it will continue to perform subsequent brand analysis operations. This can reduce the occurrence of incorrect identification of the brand results of the item to be identified due to the fact that the text information of the item to be identified is used to indicate that the item to be identified is a peripheral product of a special industry or contains only the model number, color number, etc. of the item, which is conducive to further improving the recognition accuracy of the brand results of the item to be identified.
[0190] In yet another optional embodiment, Figure 4 As shown, the judgment submodule 3022 is also used to judge whether all target brand names are main brand names before judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set, and all target brand names include all the brand names in the first brand name set and the brand information of the object to be identified input by the user. When the judgment result is yes, the above-mentioned operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set is performed.
[0191] And, if Figure 4 As shown, the analysis module 302 also includes:
[0192] The first conversion submodule 3025 is used for, when the judgment result of the judgment submodule 3022 is negative, converting the brand names that are not main brand names among all target brand names into main brand names, so as to obtain a third brand name set of the items to be identified and / or target brand information of the items to be identified, wherein the third brand name set includes at least one main brand name;
[0193] The determination submodule 3022 determines whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set in the following manner:
[0194] It is determined whether there is a brand name matching the target brand information of the object to be identified among all the main brand names in the third brand name set.
[0195] It can be seen that implementation Figure 4 The described brand recognition device can also determine whether the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user are both main brand names before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user. If so, continue to perform subsequent brand analysis operations; if not, perform main name conversion first, and can deduplicate brand names in the brand name set obtained by the multi-mode matching analysis, thereby reducing the amount of calculation, which is conducive to further improving the accuracy and efficiency of brand result recognition of the object to be identified.
[0196] In yet another optional embodiment, Figure 4 As shown, the judgment submodule 3022 is also used to judge whether the brand information of the object to be identified input by the user matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified before judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set, and when a match is judged, the above-mentioned operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set is performed.
[0197] It can be seen that implementation Figure 4 The described brand recognition device can also automatically determine whether the brand information of the object to be identified matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified before analyzing the brand name set obtained by the multi-mode matching analysis and the brand information of the object to be identified input by the user. If it matches, it will continue to perform subsequent brand analysis operations, which is conducive to further improving the recognition accuracy and efficiency of the brand results of the object to be identified.
[0198] In yet another optional embodiment, Figure 4 As shown, the analysis module 302 also includes:
[0199] The adding submodule 3026 is configured to add the brand information of the object to be identified to the first brand name set when the determining submodule 3022 determines that there is no brand name matching the brand information of the object to be identified.
[0200] The determination submodule 3023 is further configured to determine the brand result of the to-be-identified object according to the number of all brand names in the first brand name set.
[0201] It can be seen that implementation Figure 4The described brand recognition device, after determining that there is no brand name matching the brand information of the object to be identified input by the user in the brand name set obtained by the multi-mode matching analysis, further adds the brand information input by the user to the brand name set obtained by the multi-mode matching analysis, so as to determine the brand result of the object to be identified according to the number of brand names in the brand name set, thereby enriching the method of determining the brand result of the object to be identified, improving the possibility of determining the brand result of the object to be identified, and further enriching the intelligent function of the brand recognition device.
[0202] In yet another optional embodiment, Figure 4 As shown, the judging submodule 3022 is also used to judge whether there is a brand name matching the determined common word among all the brand names in the first brand name set after the adding submodule adds the brand information of the object to be identified to the first brand name set, and before the determining submodule 3023 determines the brand result of the object to be identified according to the number of all brand names in the first brand name set.
[0203] The judgment submodule 3022 is also used to judge whether the brand name matching the common word matches the brand information of the object to be identified when it is judged that there is a brand name matching the common word. When it is judged that the brand name matching the common word matches the brand information of the object to be identified, the determination submodule 3023 is triggered to perform the above-mentioned operation of determining the brand result of the object to be identified based on the number of all brand names in the first brand name set.
[0204] It can be seen that implementation Figure 4 The described brand recognition device first determines that there is a brand name that matches the common word in the brand name set of the object to be identified and the brand name matches the brand information input by the user, and then determines the brand result of the object to be identified according to the number of brand names in the brand name set of the object to be identified, which can improve the accuracy of determining the brand result of the object to be identified based on the number of brand names.
[0205] In yet another optional embodiment, Figure 4 As shown, the analysis module 302 also includes:
[0206] The second deletion submodule 3027 is used to delete the brand name matching the common word from the first brand name set to obtain a fourth brand name set when the judgment submodule 3022 judges that the brand name matching the common word does not match the brand information of the object to be identified.
[0207] The determination submodule 3023 determines the brand result of the to-be-identified object according to the number of all brand names in the first brand name set in the following manner:
[0208] The brand result of the to-be-identified object is determined according to the number of brand names in the fourth brand name set.
[0209] It can be seen that implementation Figure 4 When the described brand recognition device determines that the brand name matching the common word does not match the brand information of the object to be identified, it directly deletes the brand name matching the common word, thereby obtaining an accurate brand name set, and then determining the brand result of the object to be identified based on the number of brand names in the brand name set, which can further improve the accuracy of determining the brand result of the object to be identified based on the number of brand names.
[0210] In yet another optional embodiment, Figure 4 As shown, the determination submodule 3023 determines the brand result of the to-be-identified object according to the number of all brand names in the first brand name set in the following manner:
[0211] It is determined whether the number of all brand names in the first brand name set is equal to 1. When it is determined that the number of all brand names in the first brand name set is equal to 1, all brand names in the first brand name set are determined to be brand results of the item to be identified.
[0212] It can be seen that implementation Figure 4 The described brand identification device can improve the efficiency of determining the brand result of the object to be identified by directly determining that the unique brand name is the brand result of the object to be identified when it is determined that there is only one brand in the brand name set of the object to be identified. On the basis of obtaining accurate brand results of the object to be identified, the brand identification device can improve the efficiency of determining the brand result of the object to be identified.
[0213] In yet another optional embodiment, Figure 4 As shown, the analysis module 302 also includes:
[0214] The second conversion submodule 3028 is used to convert all brand names of the first brand name set that are parent brand names into corresponding sub-brand names when the judgment submodule 3022 judges that the number of all brand names in the first brand name set is greater than 1.
[0215] The third deleting submodule 3029 is used to delete all parent brand names from the first brand name set to obtain a fifth brand name set.
[0216] The calculation submodule 30210 is used to calculate the number of all sub-brand names in the fifth brand name set.
[0217] The determination submodule 3023 is further configured to determine the brand result of the to-be-identified object according to the number of all sub-brand names in the fifth brand name set.
[0218] It can be seen that implementation Figure 4The described brand recognition device, when determining that the number of brand names in the brand name set obtained by multi-mode matching analysis is 1, converts the parent brand name in the brand name set into a child brand name, deletes the parent brand name, and then determines the brand result of the object to be identified based on the number of brand names in the set. This can enrich the method of determining the accurate brand result of the object to be identified and improve the probability of accurately identifying the brand result.
[0219] In yet another optional embodiment, Figure 4 As shown, the determination submodule 3023 determines the brand result of the to-be-identified item according to the number of all sub-brand names in the fifth brand name set in the following manner:
[0220] Determine whether the number of all sub-brand names in the fifth brand name set is equal to 1, and when it is determined that the number of all sub-brand names in the fifth brand name set is equal to 1, determine that the sub-brand name of the sixth brand name set is the brand result of the item to be identified;
[0221] When it is determined that the number of all sub-brand names in the fifth brand name set is greater than 1, it is determined whether there is a brand name belonging to the determined sales platform among all sub-brand names in the sixth brand name set. When it is determined that there is a brand name of the sales platform, the brand name belonging to the sales platform is deleted from all sub-brand names in the sixth brand name set to obtain a sixth brand name set;
[0222] Calculate the number of all sub-brand names in the sixth brand name set, and determine whether the number of all sub-brand names in the sixth brand name set is equal to 1. When it is determined that the number of all sub-brand names in the sixth brand name set is equal to 1, determine that the sub-brand name of the sixth brand name set is the brand result of the item to be identified.
[0223] It can be seen that implementation Figure 4 After the described brand identification device deletes the parent brand name in the brand name set, if the number of brand names in the brand name set is equal to 1, the brand result of the brand name to be identified in the brand name set is directly determined; if it is still greater than 1, the brand name belonging to the sales platform in the brand name set is deleted, which can further improve the accuracy of extracting brand names in text information, and then determine the brand result of the object to be identified according to the number of brand names in the set, which can enrich the method of determining the brand result of the accurate object to be identified and improve the probability and accuracy of accurately identifying the brand result.
[0224] In yet another optional embodiment, Figure 4 As shown, the brand identification device also includes:
[0225] The output module 304 is used to output the brand result of the object to be identified.
[0226] The tagging module 305 is used to tag the text information of the object to be identified with parts of speech before the output module 304 outputs the brand result of the object to be identified, so as to obtain the part of speech tagging result of each word in the text information of the object to be identified;
[0227] The determination module 306 is used to determine the part-of-speech tagging result corresponding to the brand result of the object to be identified according to the part-of-speech tagging result of each word in the text information.
[0228] The judgment module 301 is further used to judge whether the part-of-speech tagging result corresponding to the brand result of the object to be identified is the same as the part-of-speech tagging result of the determined brand result of the object to be identified. When the judgment result is yes, the output module 304 is triggered to perform the above-mentioned operation of outputting the brand result of the object to be identified; or,
[0229] The determination module 306 is used to identify the image of the object to be identified based on the determined image recognition algorithm to obtain the brand name of the object to be identified.
[0230] The judgment module 301 is further used to judge whether the brand name of the identified object to be identified is the same as the brand result of the object to be identified. When the judgment result is yes, the output module 304 is triggered to perform the above-mentioned operation of outputting the brand result of the object to be identified.
[0231] It can be seen that implementation Figure 4 The described brand recognition device can also first determine whether the part-of-speech tag in the text information of the brand result of the object to be identified is consistent with the specified part-of-speech tag or first determine whether the brand name obtained by identifying the image of the object to be identified is consistent with the brand result of the object to be identified. If they are consistent, the brand result of the object to be identified is output. This can reduce the occurrence of brands being used as verbs or common words, further improve the recognition accuracy of the brand results of the object to be identified, and improve the output accuracy of the brand results of the object to be identified.
[0232] In yet another optional embodiment, Figure 4 As shown, the analysis module 303 analyzes the text information of the object to be identified according to the analysis method corresponding to the judgment result, and obtains the brand result of the object to be identified in the following manner:
[0233] When the judgment result is used to indicate that the category of the object to be identified is not identified, all industries for which brand identification has been developed are sorted from large to small according to the number of times that brand results are successfully matched, to obtain all industries for which brand identification has been sorted, and starting from the industry for which brand identification has been sorted that is ranked first, the text information of the object to be identified and the brands of all industries for which brand identification has been sorted are analyzed in turn until a brand result is matched, and the matched brand result is determined to be the brand result of the object to be identified; or,
[0234] When the judgment result indicates that the category of the object to be identified is not identified, the text information of the object to be identified is randomly analyzed with the brand of at least one industry for which brand identification has been developed until a brand result is matched, and the matched brand result is determined as the brand result of the object to be identified; or,
[0235] When the judgment result is used to indicate that the category of the object to be identified is not identified, the text information of the object to be identified and the brands of all industries for which brand identification has been developed are analyzed to obtain the brand results that match the object to be identified in all industries for which brand identification has been developed, and it is judged whether the number of matched brand results is equal to 1. When it is judged to be equal to 1, it is determined that the matched brand result is the brand result of the object to be identified.
[0236] In this optional implementation, optionally, when it is determined that the number of matched brand results is greater than 1, the brand result of the object to be identified is determined to be unrecognized, and the brand result of the object to be identified is output, which is a prompt that the brand of the object to be identified is unrecognized.
[0237] It can be seen that implementation Figure 4 The described brand identification device can enrich the method of determining the brand result of the object to be identified, improve the probability of determining the brand result of the object to be identified, and enrich the intelligent function of the brand identification device by providing a plurality of brand result analysis methods, such as analyzing the text information of the object to be identified in sequence starting from the industry of the developed brand identification with the largest number of successfully matched brand results, or analyzing the text information of the object to be identified with the brands of at least one industry of the developed brand identification, or analyzing the text information of the object to be identified with the brands of all industries of the developed brand identification.
[0238] Embodiment 4
[0239] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of another brand identification device based on text information disclosed in an embodiment of the present invention. Figure 5 As shown, the device may include:
[0240] A memory 501 storing executable program codes;
[0241] a processor 502 coupled to the memory 501;
[0242] Furthermore, it may also include an input interface 503 and an output interface 504 coupled to the processor 502;
[0243] The processor 502 calls the executable program code stored in the memory 501 to execute the steps of the brand identification method based on text information disclosed in any one of the first embodiment or the second embodiment of the present invention.
[0244] Embodiment 5
[0245] An embodiment of the present invention discloses a computer storage medium storing computer instructions. When the computer instructions are called, they are used to execute the steps of the brand recognition method based on text information disclosed in any one of the first embodiment or the second embodiment of the present invention.
[0246] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0247] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0248] Finally, it should be noted that the brand identification method and device based on text information disclosed in the embodiments of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A brand recognition method based on text information, characterized in that: The method comprises: When a category result of the object to be identified is identified according to the acquired text information of the object to be identified, determining whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and obtaining a determination result; According to the judgment result, the analysis method corresponding to the judgment result is matched, and according to the analysis method corresponding to the judgment result, the text information of the object to be identified is analyzed to obtain the brand result of the object to be identified; When the judgment result is used to indicate that the category of the object to be identified is identified, analyzing the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain the brand result of the object to be identified includes: Performing a multi-mode matching analysis on the text information of the object to be identified and identification information of at least one brand in the industry brand library corresponding to the category result of the object to be identified, to obtain a first brand name set matching the text information of the object to be identified, wherein the first brand name set includes at least one brand name; Determining whether there is a brand name among all the brand names in the first brand name set that matches the brand information of the item to be identified that is obtained and input by the user; When it is determined that there is a brand name that matches the brand information of the object to be identified, determining the brand name that matches the brand information of the object to be identified as a brand result of the object to be identified; Before determining whether there is a brand name matching the brand information of the to-be-identified object input by the user among all the brand names in the first brand name set, the method further includes: Determining whether all target brand names are main brand names, wherein all target brand names include all brand names in the first brand name set and brand information of the to-be-identified item input by the user; When it is determined that all the target brand names are the main brand names, the operation of determining whether there is a brand name matching the brand information of the to-be-identified item input by the user among all the brand names in the first brand name set is performed.
2. The brand recognition method based on text information according to claim 1, characterized in that: The matching of the analysis method corresponding to the judgment result according to the judgment result includes: When the judgment result is used to indicate that the category of the object to be identified is identified, the industry brand recognition algorithm corresponding to the category result of the object to be identified is determined as the analysis method corresponding to the judgment result.
3. The brand recognition method based on text information according to claim 2, characterized in that: The matching of the analysis method corresponding to the judgment result according to the judgment result also includes: When the judgment result indicates that the category of the object to be identified is not identified, the method of analyzing the text information of the object to be identified and the brand of at least one industry for which brand identification has been developed is determined to be an analysis method corresponding to the judgment result.
4. The brand recognition method based on text information according to any one of claims 1 to 3, characterized in that: Before determining whether there is a brand name matching the brand information of the to-be-identified object input by the user among all the brand names in the first brand name set, the method further includes: Determining whether there is a brand name of the determined brand name type among all the brand names in the first brand name set according to the text information of the object to be identified; When it is determined that there is no such brand name, performing the operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set; When it is determined that the brand name exists, the brand name of the brand name type is deleted from all the brand names in the first brand name set to obtain a second brand name set, and the operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set is performed, and the second brand name set is the first brand name set.
5. The brand recognition method based on text information according to claim 4, characterized in that: The step of judging whether there is a brand name of the determined brand name type among all the brand names in the first brand name set according to the text information of the object to be identified includes: Determine whether a word in the determined word set exists in the text information of the to-be-identified object, and when it is determined that a word exists, determine that all the brand names in the first brand name set have a brand name of the determined brand name type, and the brand name preceding the word is a brand name of the determined brand name type; or, It is determined whether there is an included brand name among all the brand names in the first brand name set based on the text information of the object to be identified. When it is determined that there is an included brand name, it is determined that there is a brand name of the determined brand name type among all the brand names in the first brand name set, and the included brand name is a brand name of the determined brand name type.
6. The method for brand recognition based on text information according to claim 1, 2, 3 or 5, characterized in that: Before determining whether there is a brand name matching the brand information of the to-be-identified object input by the user among all the brand names in the first brand name set, the method further includes: Determine whether the industry to which the object to be identified belongs is an industry in the determined industry set; When it is determined that the industry to which the object to be identified belongs is the certain industry, it is determined whether the text information of the object to be identified matches the content determined to match the certain industry. When it is determined that the text information of the object to be identified matches the content matching the certain industry, the operation of determining whether there is a brand name among all the brand names in the first brand name set that matches the brand information of the object to be identified input by the user is performed.
7. The method for brand recognition based on text information according to claim 1, 2, 3 or 5, characterized in that: Before determining whether there is a brand name matching the brand information of the to-be-identified object input by the user among all the brand names in the first brand name set, the method further includes: When it is determined that all the target brand names are not all the main brand names, converting the brand names that are not the main brand names among all the target brand names into main brand names to obtain a third brand name set of the to-be-identified item and / or target brand information of the to-be-identified item, wherein the third brand name set includes at least one main brand name; The step of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set includes: It is determined whether there is a brand name matching the target brand information of the object to be identified among all the main brand names in the third brand name set.
8. The method for brand recognition based on text information according to claim 1, 2, 3 or 5, characterized in that: Before determining whether there is a brand name matching the brand information of the to-be-identified object input by the user among all the brand names in the first brand name set, the method further includes: Determine whether the brand information of the object to be identified input by the user matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified; When a match is determined, the operation of determining whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set is performed.
9. The brand identification method based on text information according to claim 7, characterized in that: The method further comprises: When it is determined that there is no brand name matching the brand information of the object to be identified, adding the brand information of the object to be identified to the first brand name set; The brand result of the to-be-identified object is determined according to the quantity of all the brand names in the first brand name set.
10. The method for brand recognition based on text information according to claim 9, characterized in that: After adding the brand information of the to-be-identified object to the first brand name set and before determining the brand result of the to-be-identified object according to the number of all the brand names in the first brand name set, the method further includes: Determine whether there is a brand name matching the determined common word among all the brand names in the first brand name set, and when it is determined that there is a brand name matching the common word, determine whether the brand name matching the common word matches the brand information of the object to be identified; When it is determined that the brand name matching the common word matches the brand information of the object to be identified, the operation of determining the brand result of the object to be identified according to the number of all the brand names in the first brand name set is performed.
11. The brand recognition method based on text information according to claim 10, characterized in that: The method further comprises: When it is determined that the brand name matching the common word does not match the brand information of the object to be identified, the brand name matching the common word is deleted from the first brand name set to obtain a fourth brand name set; The step of determining the brand result of the object to be identified according to the number of all the brand names in the first brand name set includes: The brand result of the to-be-identified object is determined according to the number of brand names in the fourth brand name set.
12. The method for brand recognition based on text information according to any one of claims 9 to 11, characterized in that: The step of determining the brand result of the to-be-identified object according to the number of all the brand names in the first brand name set includes: Determine whether the number of all the brand names in the first brand name set is equal to 1. When it is determined that the number of all the brand names in the first brand name set is equal to 1, determine that all the brand names in the first brand name set are brand results of the object to be identified.
13. The method for brand recognition based on text information according to claim 12, characterized in that: The method further comprises: When it is determined that the number of all the brand names in the first brand name set is greater than 1, converting all the brand names in the first brand name set whose parent is a brand name into corresponding sub-brand names, and deleting all the parent brand names from the first brand name set to obtain a fifth brand name set; The number of all the sub-brand names in the fifth brand name set is calculated, and the brand result of the to-be-identified object is determined according to the number of all the sub-brand names in the fifth brand name set.
14. The method for brand recognition based on text information according to claim 13, characterized in that: The step of determining the brand result of the to-be-identified object according to the number of all the sub-brand names in the fifth brand name set includes: Determining whether the number of all the sub-brand names in the fifth brand name set is equal to 1, and when it is determined that the number of all the sub-brand names in the fifth brand name set is equal to 1, determining that the sub-brand name in the fifth brand name set is a brand result of the item to be identified; The method further comprises: When it is determined that the number of all the sub-brand names in the fifth brand name set is greater than 1, it is determined whether there is a brand name belonging to the determined sales platform among all the sub-brand names in the fifth brand name set. When it is determined that there is a brand name of the sales platform, the brand name belonging to the sales platform is deleted from all the sub-brand names in the fifth brand name set to obtain a sixth brand name set; Calculate the number of all the sub-brand names in the sixth brand name set, and determine whether the number of all the sub-brand names in the sixth brand name set is equal to 1. When it is determined that the number of all the sub-brand names in the sixth brand name set is equal to 1, determine that the sub-brand name of the sixth brand name set is the brand result of the item to be identified.
15. The method for brand recognition based on text information according to claim 1, 2, 3, 5, 9, 10, 11, 13 or 14, characterized in that: The method further comprises: Outputting the brand result of the object to be identified; Furthermore, before outputting the brand result of the object to be identified, the method further includes: Performing part-of-speech tagging on the text information of the object to be identified to obtain a part-of-speech tagging result for each word in the text information of the object to be identified, determining a part-of-speech tagging result corresponding to the brand result of the object to be identified according to the part-of-speech tagging result of each word in the text information, and judging whether the part-of-speech tagging result corresponding to the brand result of the object to be identified is the same as the determined part-of-speech tagging result of the brand result of the object to be identified, and when the judgment result is yes, performing the operation of outputting the brand result of the object to be identified; or, Based on the determined image recognition algorithm, the image of the object to be identified is identified, the brand name of the object to be identified is obtained, and it is determined whether the identified brand name of the object to be identified is the same as the brand result of the object to be identified. When the judgment result is yes, the operation of outputting the brand result of the object to be identified is performed.
16. The brand identification method based on text information according to claim 1 or 3, characterized in that: When the judgment result indicates that the category of the object to be identified is not identified, analyzing the text information of the object to be identified according to the analysis method corresponding to the judgment result to obtain the brand result of the object to be identified includes: Analyze the text information of the object to be identified and the brand of at least one industry for which brand recognition has been developed, and obtain a brand result that matches the object to be identified in at least one industry for which brand recognition has been developed; Determine whether the number of the matched brand results is equal to 1, and when it is determined to be equal to 1, determine that the matched brand result is the brand result of the object to be identified; or, Analyze the text information of the object to be identified with the brand of at least one industry for which brand identification has been developed until a brand result is matched, and determine that the matched brand result is the brand result of the object to be identified; or All industries for developed brand identification are sorted from large to small according to the number of times that brand results are successfully matched to obtain the sorted industries for developed brand identification, and starting from the industry for developed brand identification ranked first, the text information of the object to be identified and the brands of all industries for developed brand identification after sorting are analyzed in turn until a brand result is matched, and the matched brand result is determined to be the brand result of the object to be identified.
17. A brand identification device based on text information, characterized in that: The device comprises: A judgment module, configured to, when a category result of the object to be identified is identified according to the acquired text information of the object to be identified, judge whether the category result of the object to be identified is used to indicate that the category of the object to be identified is identified, and obtain a judgment result; A matching module, used for matching an analysis method corresponding to the judgment result according to the judgment result; An analysis module, configured to analyze the text information of the object to be identified according to an analysis method corresponding to the judgment result, and obtain a brand result of the object to be identified; The analysis module comprises: a matching submodule, configured to, when the judgment result indicates that the category of the object to be identified is identified, perform multi-mode matching analysis on the text information of the object to be identified and identification information of at least one brand in the industry brand library corresponding to the category result of the object to be identified, to obtain a first brand name set matching the text information of the object to be identified, wherein the first brand name set includes at least one brand name; a determination submodule, configured to determine whether there is a brand name among all the brand names in the first brand name set that matches the brand information of the item to be identified input by the user; a determination submodule, configured to determine, when the determination submodule determines that there is a brand name matching the brand information of the object to be identified, that the brand name matching the brand information of the object to be identified is a brand result of the object to be identified; The judgment submodule is further used to judge whether all target brand names are main brand names before judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set, and all the target brand names include all the brand names in the first brand name set and the brand information of the object to be identified input by the user. When it is judged that all the target brand names are the main brand names, the operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set is performed.
18. The brand identification device based on text information according to claim 17, characterized in that: The judgment submodule is further configured to judge whether there is a brand name of the determined brand name type among all the brand names in the first brand name set before judging whether there is a brand name matching the brand information of the object to be identified inputted by the user among all the brand names in the first brand name set, according to the text information of the object to be identified, and when it is judged that there is no brand name, perform the operation of judging whether there is a brand name matching the brand information of the object to be identified inputted by the user among all the brand names in the first brand name set; And, the analysis module also includes: The first deleting submodule is used for deleting the brand name of the brand name type from all the brand names in the first brand name set when the judging submodule judges that a brand name of the brand name type exists, so as to obtain a second brand name set, and triggering the judging submodule to perform the operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set, and the second brand name set is the first brand name set.
19. The brand identification device based on text information according to claim 17 or 18, characterized in that: The determination submodule is further configured to determine whether the industry to which the object to be identified belongs is an industry in the determined industry set before determining whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set; The judgment submodule is further used to judge the text information of the object to be identified and the determined content matching the certain industry when it is judged that the industry to which the object to be identified belongs is the certain industry, and when it is judged that the text information of the object to be identified and the content matching the certain industry are matched, perform the operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set.
20. The brand identification device based on text information according to claim 17 or 18, characterized in that: The analysis module also includes: A first conversion submodule is used for, before the judgment submodule judges whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set and when the judgment submodule judges that all the target brand names are not all the main brand names, performing main name conversion on the brand names that are not the main brand names among all the target brand names to obtain a third brand name set of the object to be identified and / or the target brand information of the object to be identified, the third brand name set including at least one main brand name; The determination submodule determines whether there is a brand name matching the brand information of the item to be identified input by the user among all the brand names in the first brand name set in a specific manner: It is determined whether there is a brand name matching the target brand information of the object to be identified among all the main brand names in the third brand name set.
21. The brand identification device based on text information according to claim 17 or 18, characterized in that: The judgment submodule is further used to judge whether the brand information of the object to be identified input by the user matches the identification information of a certain brand in the industry brand library corresponding to the category result of the object to be identified before judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set, and when a match is judged, perform the operation of judging whether there is a brand name matching the brand information of the object to be identified input by the user among all the brand names in the first brand name set.
22. A brand identification device based on text information, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the brand recognition method based on text information according to any one of claims 1-16.
