Material tag recommendation method and electronic equipment

By identifying and processing conflicts between the first and second tag sequences of ad creatives, a third tag sequence is generated, which solves the problem of inaccurate ad tag recommendations and improves the user experience.

CN121505076APending Publication Date: 2026-02-10HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411081691.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In existing technologies, advertising creatives are diverse and complex, leading to inaccurate ad tag recommendations and affecting the user experience.

Method used

By displaying the first and second tag sequences, conflicting tags are identified, and a third tag sequence is generated, including tags at a higher level than the conflicting tags, ensuring that the recommended tags accurately represent the material type.

Benefits of technology

Even with tag conflicts, the quality of tag recommendations can be guaranteed, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121505076A_ABST
    Figure CN121505076A_ABST
Patent Text Reader

Abstract

The invention provides a material tag recommendation method and electronic equipment, relates to the technical field of communication, and can accurately recommend a tag of a material to a user, ensure the tag recommendation quality and improve the use experience of the user. In the method, a first label sequence of a first material can be displayed firstly, a second element input by a user is obtained, and if conflict labels with different alignment exist between a second label sequence determined according to the second element and the first label sequence, a third label sequence of the first material is displayed. Wherein the first tag sequence is determined according to at least one first element of a first material input by a user, and the first tag sequence comprises tags of at least two levels. The second label sequence comprises at least two levels of labels. The third tag sequence comprises at least one tag of which the level is higher than that of the conflicting tag in the first tag sequence, and the conflicting tag is located in other levels except the highest level in the first tag sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method for recommending material tags and an electronic device. Background Technology

[0002] To boost sales, advertisers run ads for their products. Because there are many types of products, there are also many corresponding ad types or ad tags. Ad tags can indicate the product type, express ad content, and so on. Ads can be placed in various applications, such as game apps, video apps, and music apps. For precise ad targeting, high-quality ad tags are needed; these tags can include, for example, "e-commerce," "appliances," "home appliances," and "refrigerator."

[0003] Currently, ad tags are typically obtained by users providing ad creatives, such as videos, images, and text, to ad delivery platforms. The platforms then recommend ad tags based on these creatives. However, ad creatives are diverse and complex, potentially resulting in multiple ad tags. Each tag may fail to accurately identify the product type or convey the ad content, leading to poor-quality ad tags recommended to users and negatively impacting the user experience. Summary of the Invention

[0004] This application provides a method and electronic device for recommending material tags, which can recommend more accurate material tags to users and bring them a better user experience.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, a method for recommending material tags is provided. This method includes: firstly, displaying a first tag sequence of a first material, wherein the first tag sequence is determined based on at least one first element of the first material input by a user, and the first tag sequence includes tags at least two levels, wherein the level of the tags is determined according to the hierarchical relationship between the tags. Then, receiving a second element of the first material input by the user; if there are conflicting tags with different alignments between the second tag sequence determined based on the second element and the first tag sequence, then displaying a third tag sequence of the first material. The second tag sequence includes tags at least two levels, wherein the level of the tags is determined according to the hierarchical relationship between the tags; the third tag sequence includes at least one tag from either the first or second tag sequence whose level is higher than the conflicting tag, and the conflicting tag is located at a level other than the highest level in either the first or second tag sequence.

[0007] In the above method, the higher the level, the larger the range of tags at that level, or the coarser the tag granularity; the lower the level, the smaller the range of tags at that level, or the finer the tag granularity.

[0008] The first tag sequence can be an old tag sequence obtained from the first material based on prior elements. The second element is a newly added element, and the second tag sequence can be a new tag sequence obtained from the first material based on the newly added element. When there are conflicting tags between the new and old tag sequences, a tag sequence with a larger granularity or broader scope than the conflicting tag can be obtained. This tag sequence can be the intersection of the two conflicting tag sequences, and it also represents the complete type of the first material. In this way, even if there are tag conflicts, it will not affect the final tag recommendation, and the recommended tags can accurately represent the type of the first material, ensuring the quality of tag recommendations and improving the user experience.

[0009] In one possible implementation of the first aspect, if there are multiple conflicting tags in the first tag sequence or the second tag sequence, the third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the target conflicting tag, wherein the target conflicting tag has the highest level among the multiple conflicting tags.

[0010] In the above implementation, there may be multiple conflicting tags in the first tag sequence or the second tag sequence. In this case, the conflicting tag with the highest level in the first tag sequence or the second tag sequence can be selected as the conflicting tag to determine the common tag sequence, thereby accurately determining the tag sequence of the first material.

[0011] In one possible implementation of the first aspect, the first label sequence includes N levels, where N is an integer greater than 1; the second label sequence includes M levels, where M is an integer greater than 1; there are conflicting labels with different positions between the second label sequence and the first label sequence, including: the label of the i-th level in the first label sequence is different from the label of the i-th level in the second label sequence, and the labels of the first i-1 levels are the same as the labels of the same level in the first i-1 levels of the second label sequence;

[0012] And, when N = M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N or i ≤ M;

[0013] When N < M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N;

[0014] When N > M, the conflicting label is either the label of the i-th level in the first label sequence or the label of the i-th level in the second label sequence, where i ≤ M.

[0015] In the above implementation, there are several cases where conflicting tags exist at the same level in the first and second tag sequences. In all these cases, the third tag sequence can be determined, thereby recommending the tag sequence to the user, ensuring the quality of tag recommendations, and improving the user experience.

[0016] In one possible implementation of the first aspect, the case where there are conflicting tags with different positions between the second tag sequence and the first tag sequence further includes: N > M, and the tags at N levels in the first tag sequence are the same as the tags at the same level in the second tag sequence; and the conflicting tag is a tag in the first tag sequence that is higher than the Nth level.

[0017] In the above implementation, conflicting tags can also exist at different levels in the first and second tag sequences. That is, the first tag sequence has more levels than the second tag sequence, and the extra tags in the first tag sequence are the conflicting tags. In these cases, a third tag sequence can also be determined, thereby recommending this tag sequence to the user, ensuring the quality of tag recommendations, and improving the user experience.

[0018] In one possible implementation of the first aspect, after receiving the second element of the first material input by the user, the method further includes: if there are no conflicting tags with different alignments between the second tag sequence and the first tag sequence, then displaying the first tag sequence or the second tag sequence of the first material.

[0019] In the above implementation, when there are no conflicting tags between the first tag sequence and the second tag sequence, either one can be displayed to recommend material tags to the user.

[0020] In one possible implementation of the first aspect, the first label sequence includes N levels, where N is an integer greater than 1; the second label sequence includes M levels, where M is an integer greater than 1; there are no conflicting labels with different positions between the second label sequence and the first label sequence, including:

[0021] When N=M, the labels at the N levels in the first label sequence are the same as the labels at the same level in the second label sequence;

[0022] When N < M, the labels of the N levels in the first label sequence are the same as the labels of the same level in the M levels of the second label sequence.

[0023] In the above implementation, there are several cases where there are no conflicting tags between the first tag sequence and the second tag sequence. In all these cases, tag sequences can be recommended to the user, thereby ensuring the quality of tag recommendations and improving the user experience.

[0024] In one possible implementation of the first aspect, displaying a first tag sequence or a second tag sequence of the first material includes: if the number of levels in the first tag sequence is the same as the number of levels in the second tag sequence, then displaying the first tag sequence; if the number of levels in the first tag sequence is less than the number of levels in the second tag sequence, then displaying the second tag sequence with more levels.

[0025] In the above implementation, when the number of levels in the first tag sequence and the second tag sequence are the same, the electronic device can display either the first tag sequence or the second tag sequence to indicate the specific type of the first material to the user. When the number of levels in the second tag sequence is greater than the number of levels in the first tag sequence, the second tag sequence has finer-grained tags, meaning the classification of the first material is more accurate or detailed. Therefore, displaying the second tag sequence can recommend more accurate material tags to the user.

[0026] In one possible implementation of the first aspect, during the display of the first tag sequence of the first material, a first page is first displayed, wherein the first page includes at least one element input area corresponding to the first material, each element input area is used to obtain at least one element of a type, and each element input area includes at least one first input control. Then, a first operation by the user on the first page is received, wherein the first operation is used to input the first element in each of the at least one first input control. Finally, in response to the first operation, the first tag sequence of the first material is obtained, and the first tag sequence of the first material is displayed.

[0027] It is understandable that if at least two first elements are obtained, at least two first elements must be of the same type or different types;

[0028] In the above implementation, users can input different types of elements. This implementation can determine and display the first tag sequence based on the different types of elements, allowing users to more intuitively understand which elements have been input and the specific content of the tag sequence, thus improving the user experience.

[0029] In one possible implementation of the first aspect, during the display of the first tag sequence of the first material, a second page is first displayed. The second page includes a second input control and at least one first input control corresponding to the first material. The second input control is used to obtain a preset tag sequence, and the first input control is used to obtain elements of the first material. Then, a second operation by the user is received on the second page, whereby the second operation is used to input the preset tag sequence within the second input control. Next, in response to the second operation, the preset tag sequence is displayed with a highlight effect, whereby the highlight effect prompts the user to input a first element in each of the at least one first input control, so that each level of the preset tag sequence has a matching first element among the at least one input first element. If each level of the preset tag sequence has a matching first element among the at least one input first element, then a preset tag sequence without the highlight effect is displayed; the preset tag sequence without the highlight effect is the first tag sequence.

[0030] The above implementation method allows users to pre-select a tag sequence and input the elements of the first material based on the prompts of the tag sequence's highlighting effect, thereby ensuring the integrity of the elements and the consistency between the elements and each tag in the tag sequence.

[0031] In one possible implementation of the first aspect, after displaying the preset tag sequence with a highlighting effect, the method further includes: if a target tag exists in the preset tag sequence, then when displaying the preset tag sequence, maintaining the highlighting effect of the target tag and removing the highlighting effects of other tags in the preset tag sequence besides the target tag, wherein the target tag is a tag in the preset tag sequence that does not have a matching first element among at least one input first element.

[0032] In the above implementation, if the input element has a corresponding label in the pre-selected label sequence, the highlighting effect of the corresponding label is canceled to indicate to the user that the element under the label has been entered, so that the user can intuitively understand the default status of the element and ensure the integrity of the element.

[0033] In one possible implementation of the first aspect, after receiving the second element of the first material input by the user, the method further includes: if there are conflicting tags with different alignments in the first tag sequence and the second tag sequence, then displaying the conflicting tags in the first tag sequence with a highlighting effect.

[0034] In the above implementation, when there are conflicting tags in the first tag sequence, the conflicting tags are highlighted to alert the user of the conflict, providing a more intuitive user experience.

[0035] In one possible implementation of the first aspect, after displaying conflicting tags in the first tag sequence with a highlighting effect, the method further includes: in response to a user's deletion of a second element, removing the highlighting effect of the conflicting tags when displaying the first tag sequence.

[0036] In the above implementation, after the user deletes the second element, the effect of the conflict label is canceled to indicate to the user that there is no conflict, providing a more intuitive experience for the user.

[0037] In one possible implementation of the first aspect, the highlighting effect includes at least one of the following: highlighting, preset background, or preset color. The highlighting effect can make conflicting tags more conspicuous, serving as a prompt to the user; alternatively, the highlighting effect can also prompt the user to input elements, ensuring the integrity of the elements.

[0038] Understandably, the aforementioned material tag recommendation method can be applied to electronic devices. In one possible implementation, the electronic device can send user-input elements to a cloud device, which then determines a first tag sequence, a second tag sequence, a third tag sequence, etc., based on the elements. The cloud device also sends the first tag sequence, the third tag sequence, conflicting tags, etc., back to the electronic device. In another possible implementation, the electronic device can also independently determine the first tag sequence, the second tag sequence, the third tag sequence, conflicting tags, etc., based on the user-input elements.

[0039] Secondly, a method for recommending material tags is provided. This method includes: receiving at least one first element of a first material sent by an electronic device, determining a first tag sequence based on the at least one first element, and sending the first tag sequence to the electronic device. Then, receiving a second element of the first material sent by the electronic device, determining a second tag sequence based on the second element, and determining whether there are conflicting tags with different alignments between the second tag sequence and the third tag sequence. If so, determining a third tag sequence based on at least one tag in the first tag sequence or the second tag sequence that has a higher level than the conflicting tag. The conflicting tag is located at a level other than the highest level in the first tag sequence or the second tag sequence. Finally, the third tag sequence is sent to the electronic device.

[0040] Thirdly, a method for recommending content tags is provided, which is applied to a communication system. The communication system includes an electronic device and a cloud device. In this method, the electronic device sends at least one first element of a first content input by a user to the cloud device; the cloud device determines a first tag sequence based on the received at least one first element and sends the first tag sequence to the electronic device, which receives and displays the first tag sequence. Then, the electronic device receives a second element of the first content input by the user and sends a second content to the cloud device; the cloud device determines a second tag sequence based on the second content, and determines whether there are conflicting tags with different alignments between the second tag sequence and the third tag sequence. If so, a third tag sequence is determined based on at least one tag in the first tag sequence or the second tag sequence that has a higher level than the conflicting tag. The conflicting tag is located at a level other than the highest level in the first tag sequence or the second tag sequence. Finally, the cloud device sends the third tag sequence to the electronic device, which receives and displays the third tag sequence.

[0041] Fourthly, an electronic device is provided, including a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the material tag recommendation method as described in the first aspect and any implementable thereof, or to perform the material tag recommendation method as described in the second aspect and any implementable thereof.

[0042] Fifthly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the material tag recommendation method as described in the first aspect and any implementable thereof, or to perform the material tag recommendation method as described in the second aspect and any implementable thereof.

[0043] Sixthly, a computer program product is provided, which, when run on a computer, causes the computer to execute the material tag recommendation method as described in the first aspect and any of its implementable embodiments, or to execute the material tag recommendation method as described in the second aspect and any of its implementable embodiments.

[0044] The beneficial effects that can be achieved by the material tag recommendation method provided in the second aspect, the material tag recommendation method provided in the third aspect, the electronic device provided in the fourth aspect, the computer-readable storage medium provided in the fifth aspect, and the computer program product provided in the sixth aspect can refer to the beneficial effects that can be achieved by the first aspect and any of its implementation methods, and will not be repeated here. Attached Figure Description

[0045] Figure 1A schematic diagram illustrating the advertising tag recommendations provided in an embodiment of this application is shown;

[0046] Figure 2 A schematic diagram of the communication system provided in an embodiment of this application is shown;

[0047] Figure 3 A schematic diagram illustrating the communication process between the electronic device and the cloud device provided in an embodiment of this application is shown;

[0048] Figure 4 A schematic diagram illustrating the cloud device processing procedure provided in an embodiment of this application is shown;

[0049] Figure 5 The diagram shows a schematic representation of the electronic device and cloud device provided in the embodiments of this application.

[0050] Figure 6 A schematic diagram of the structure of the electronic device provided in the embodiments of this application is shown. Figure 1 ;

[0051] Figure 7 A schematic diagram of the structure of the electronic device provided in the embodiments of this application is shown. Figure 2 ;

[0052] Figure 8 A flowchart illustrating the material recommendation method provided in an embodiment of this application is shown;

[0053] Figure 9 A schematic diagram of the first page provided in an embodiment of this application is shown;

[0054] Figure 10 A schematic diagram of the second page provided in an embodiment of this application is shown;

[0055] Figure 11 A schematic diagram of the second element provided in an embodiment of this application is shown;

[0056] Figure 12 This illustration shows a tag sequence provided in an embodiment of this application. Figure 1 ;

[0057] Figure 13 This illustration shows a tag sequence provided in an embodiment of this application. Figure 2 ;

[0058] Figure 14 This illustration shows a tag sequence provided in an embodiment of this application. Figure 3 ;

[0059] Figure 15 A schematic diagram of the structure of the electronic device provided in the embodiments of this application is shown. Figure 3 . Detailed Implementation

[0060] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0061] Furthermore, the business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0062] Precise ad targeting requires high-quality tags. These tags can indicate the type of product in the ad, express the ad content, etc. For example, tags could be "e-commerce," "appliances," or "home appliances." Ad placement platforms can obtain ad tags from ad creatives and then place the ads on different applications or platforms based on these tags.

[0063] In one example, advertisers can freely enter keywords on an ad platform, which then determines the ad tags based on those keywords. However, in some cases, an ad can correspond to multiple levels of tags, such as "e-commerce" - "appliances," etc. The ad platform cannot accurately determine the multiple levels of tags corresponding to an ad based solely on keywords. Furthermore, if the advertiser enters multiple keywords, it is difficult for those keywords to cover all the tags corresponding to the ad.

[0064] In one example, the ad platform can also provide users with candidate tags. Advertisers do not need to fill in keywords; they can simply select the target tag for their ads from the candidate tags. For example... Figure 1 As shown in (a), this avoids the problems of inaccurate ad tag recommendations and low tag coverage caused by the use of keywords. However, the number of candidate tags recommended by ad platforms can reach thousands or more, making it difficult for advertisers to quickly and accurately select suitable tags from the candidate tags.

[0065] In one example, see Figure 1 As shown in (b), advertisers upload ad creatives, such as images, videos, and text, to the ad delivery platform. The platform uses algorithms to determine the corresponding ad tags. This eliminates the need for users to manually select target tags from a large number of candidate tags. However, the ad creatives uploaded by users are diverse and complex, and multiple ad tags may be determined based on the ad creative (e.g., a refrigerator in an image, a television in text). Each ad tag may not accurately indicate the type of product or express the ad content, resulting in poor quality ad tags recommended to users and affecting the user experience.

[0066] Based on the above, this application provides a method for recommending material tags. This method can recommend tags for a specific material to a user. Specifically, during the process of a user uploading material elements, the method continuously displays a tag sequence (i.e., multiple levels of tags) adjusted based on each uploaded element. During tag recommendation, if the tag sequence obtained based on the currently uploaded element conflicts with the previously obtained tag sequence, a tag sequence common to both sequences (i.e., the same tag or the same multi-level tags) is recommended. This ensures that even with tag conflicts, the final tag recommendation is not affected, and that the recommended tags accurately represent the type of material, guaranteeing the quality of tag recommendations and improving the user experience.

[0067] For example, the above method can display the first tag sequence of the first material. Then, the above method can obtain a second element input by the user; if there are conflicting tags with different alignments between the second tag sequence determined based on the second element and the first tag sequence, then the third tag sequence of the first material is displayed.

[0068] The first tag sequence is determined based on at least one first element of the first material input by the user. The first tag sequence includes tags at least two levels, with the level of the tags determined by the hierarchical relationship between them. The second tag sequence includes tags at least two levels, with the level of the tags determined by the hierarchical relationship between them. The third tag sequence includes at least one tag in the first tag sequence that has a higher level than the conflicting tag, as well as conflicting tags located at other levels in the first tag sequence besides the highest level.

[0069] Understandably, the hierarchy of tags in a tag sequence is determined by the hierarchical relationship between tags, meaning that higher-level tags can include lower-level tags. A higher level indicates a wider range of tags or coarser granularity; a lower level indicates a narrower range of tags or finer granularity.

[0070] The first tag sequence mentioned above can be an old tag sequence obtained from the first material based on prior elements. The second element is a newly added element, and the second tag sequence can be a new tag sequence obtained from the first material based on the newly added element. When there are conflicting tags between the new and old tag sequences, a tag sequence with a larger granularity or broader scope than the conflicting tag can be obtained. This tag sequence can be the intersection of the two conflicting tag sequences, and it also represents the complete type of the first material. In this way, even if there are tag conflicts, it will not affect the final tag recommendation, and the recommended tags can accurately represent the type of the first material, ensuring the quality of tag recommendations and improving the user experience.

[0071] The aforementioned primary source material can be advertisements, information, news, etc. Elements of the primary source material can be images, text, video, audio, etc.

[0072] The above method can be applied to communication systems. In some embodiments, see [link to relevant documentation]. Figure 2 As shown, the communication system may include at least one electronic device 100 and a cloud device 200.

[0073] Electronic device 100 can acquire at least one element of a material input by a user and send the at least one element to cloud device 200. Based on the at least one element input by the user, cloud device 200 determines the tag sequence corresponding to the material and sends the tag sequence to electronic device 100. Electronic device 100 displays the tag sequence of the material, thereby achieving the purpose of recommending tag sequences to the user.

[0074] The process of a user inputting elements on electronic device 100 can be continuous. The user can input elements one by one into electronic device 100, and each time electronic device 100 receives an element, it can send that element to cloud device 200. After receiving each element, cloud device 200 can determine a current tag sequence based on the current element. Then, cloud device 200 performs a consistency check between the current tag sequence and the previously determined tag sequence (if a previously determined tag sequence exists) to determine whether there are conflicting tags with different alignments between the two tag sequences.

[0075] If there is a conflicting label between two label sequences, the cloud device 200 determines a new label sequence based on the two label sequences. The new label sequence does not include the conflicting label or any other labels with a lower hierarchy than the conflicting label. The cloud device 200 then sends the new label sequence to the electronic device 100, which displays the new label sequence.

[0076] It is understood that the aforementioned previous tag sequence refers to the tag sequence that was previously determined by the cloud device 200 and previously displayed by the electronic device 100.

[0077] For example, the communication process between the aforementioned electronic device 100 and the cloud device 200 can be found in [reference needed]. Figure 3 As shown. Taking an advertisement as an example, the user can input advertising elements on the electronic device 100, which then uploads the elements to the cloud device 200. The cloud device 200, based on the received advertising elements, obtains multiple granular, range, or level tags corresponding to the advertising material and generates a first advertising tag sequence based on these tags. The cloud device 200 then sends the first advertising tag sequence back to the electronic device 100. The electronic device 100 displays the received first advertising tag sequence.

[0078] The user adds advertising elements to the electronic device 100, which then uploads the added elements to the cloud device 200. The cloud device 200, based on the added advertising elements, obtains tags of multiple granularities, ranges, or levels corresponding to the advertising material, and generates a second advertising tag sequence based on these tags. The cloud device 200 then performs a consistency check between the second advertising tag sequence and the previously generated first advertising tag sequence. If conflicting tags are found, the cloud device 200 generates a third advertising tag sequence and sends it to the electronic device 100. The electronic device 100 displays the received third advertising tag sequence.

[0079] For example, the first advertising tag sequence may be "e-commerce-3C and electrical appliances-refrigerator", the second advertising tag sequence may be "e-commerce-3C and electrical appliances-television", there are conflicting tags "refrigerator" and "television" with different alignment between the first advertising tag sequence and the second advertising tag sequence, so that the cloud device 200 can generate a third advertising tag sequence "e-commerce-3C and electrical appliances", and the electronic device 100 displays the third advertising tag sequence.

[0080] For another example, the first advertising label sequence may be "e-commerce-3C and electrical appliances-large appliances-refrigerator", the second advertising label sequence may be "e-commerce-3C and electrical appliances-large appliances", the third advertising label sequence is "e-commerce-3C and electrical appliances-large appliances", and the electronic device 100 displays "e-commerce-3C and electrical appliances-large appliances".

[0081] In some possible application scenarios, if the cloud device 200 determines that there are no conflicting tags with different alignments between the current tag sequence and the previous tag sequence (if there is a previously determined tag sequence), the cloud device 200 can instruct the electronic device 100 to display the current tag sequence or the previous tag sequence.

[0082] The cloud device 200 may instruct the electronic device 100 to display the tag sequence in the following ways, including but not limited to:

[0083] First, after determining that there are no conflicting tags between the two tag sequences, the cloud device 200 further determines the tag sequence to be displayed between them and sends the tag sequence to be displayed to the electronic device 100 for display.

[0084] Second, after determining that there are no conflicting tags between the two tag sequences, the cloud device 200 can send the current tag sequence to the electronic device 100, which will then determine the tag sequence to be displayed based on the current tag sequence and the previous tag sequence.

[0085] After the above process, the electronic device 100 can ultimately display either the current tag sequence or the previous tag sequence.

[0086] For example, the first advertising label sequence can be "e-commerce-3C and electrical appliances-large appliances", and the second advertising label sequence can also be "e-commerce-3C and electrical appliances-large appliances". There are no conflicting labels between the two. The electronic device 100 can display either the first advertising label sequence or the second advertising label sequence.

[0087] For example, the first advertising label sequence can be "e-commerce", and the second advertising label sequence can be "e-commerce - 3C and electrical appliances". There are no conflicting labels between the first advertising label sequence and the second advertising label sequence. Since the label granularity of the second label sequence is finer, the electronic device 100 can display the second advertising label sequence.

[0088] In some potential application scenarios, the aforementioned cloud device 200 can also utilize the tag tree to determine the tag sequence corresponding to the material. For example, for a specific material (such as an advertisement), the tag tree can store a large number of comprehensive tags at different levels.

[0089] For example, see Figure 4 As shown, cloud device 200 can determine the coarser-grained "e-commerce" node from the tag tree based on the element "XXX Mall"; then, based on the element "Good quality appliances, low prices across the board", it can determine the next level "3C and appliances" node from the tag tree; next, based on the element "Massive selection of large appliances, all at XXX", it can determine the next level "large appliances" node from the tag tree; finally, based on the element "refrigerator image", it can determine the next level "refrigerator" node from the tag tree. Therefore, the tag sequence that cloud device 200 can obtain is "e-commerce - 3C and appliances - large appliances - refrigerator".

[0090] For another example, if the cloud device 200 can only obtain a tag sequence such as "e-commerce-large appliances-refrigerator" from the tag tree based on multiple elements, then the cloud device 200 can continue to complete the tag sequence based on the tag tree, adding the intermediate level "3C and electrical appliances", thereby obtaining a tag sequence with clearer hierarchy and more accurate classification.

[0091] For another example, the cloud device 200 can also determine finer-grained tags from a tag tree based on an element, and then obtain the tags of the previous level or several levels to which the tag belongs based on the position of the tag in the node tree and the relationship between the upper and lower levels, thereby obtaining the complete tag sequence corresponding to the tag. For example, based on "refrigerator image", the cloud device 200 can determine the "refrigerator" node from the tag tree. Then, according to the tag tree, the "refrigerator" node belongs to the "large appliances" node, the "large appliances" node belongs to the "3C and electrical appliances" node, and the "3C and electrical appliances" node belongs to the "e-commerce" node. Therefore, the tag sequence that the cloud device 200 can obtain is "e-commerce-3C and electrical appliances-large appliances-refrigerator".

[0092] As can be seen, the aforementioned tag tree can not only help generate tag sequences, but also verify tag sequences, thereby ensuring the integrity of the tags.

[0093] It is understandable that the above-mentioned tag tree can be Figure 4 The label tree shown can take other forms in other possible application scenarios, such as storing labels directly as multiple label sequences instead of in a tree structure. In this embodiment, the specific display of the label tree is not limited.

[0094] In some possible application scenarios, to achieve the above functions, see [link to relevant documentation]. Figure 5 As shown, the electronic device 100 and the cloud device 200 may also include the following modules:

[0095] The electronic device 100 includes a display module 501, an information uploading module 502, and an information downloading module 503.

[0096] The cloud device 200 includes a label generation module 504 and a conflict label recognition module 505.

[0097] In the electronic device 100, the display module 501 displays at least two interactive interfaces on the screen of the electronic device 100. One interactive interface can be used for user-uploaded elements, displaying elements, etc.; the other interactive interface can be used to display tag sequences, etc. The information upload module 502 sends the user-uploaded elements to the cloud device 200. The information download module 503 obtains tag sequences, conflicting tags, etc. from the cloud device 200.

[0098] In cloud device 200, tag generation module 504 is used to generate a tag sequence based on elements sent by electronic device 100. Conflict tag identification module 505 is used to determine whether there are conflicting tags between the currently generated tag sequence and the previously generated tag sequence, and to identify the conflicting tags.

[0099] The aforementioned cloud device 200 can be a server, or a server cluster consisting of multiple regions, multiple data centers, and multiple servers.

[0100] Based on the above communication system, the material tag recommendation method in this application embodiment can be implemented. Even if there are conflicting tags in at least two tag sequences determined for the material, it will not affect the final tag recommendation. The recommended tags can accurately represent the type of material, ensuring the quality of tag recommendation and improving the user experience.

[0101] In some embodiments, the above-described material tag generation method can also be applied independently to the electronic device 100. In this case, the electronic device 100 can perform the functions that the electronic device in the above-described communication system can perform, as well as the functions that the cloud device in the above-described communication system can perform, which will not be elaborated here.

[0102] In some embodiments, see Figure 6 As shown, the aforementioned electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a user identification module (SIM) card interface 195, etc.

[0103] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0104] Processor 110 may include one or more processing units (not shown in the figure), such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0105] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0106] The processor 110 may also include a memory for storing instructions and data.

[0107] In some embodiments, the processor 110 may include one or more interfaces (not shown in the figures). Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscribing identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0108] USB interface 130 is an interface that conforms to the USB standard specification, specifically it can be a Mini USB interface, Micro USB interface, USB Type C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and it can also be used for data transfer between electronic device 100 and peripheral devices.

[0109] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger.

[0110] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

[0111] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0112] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0113] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the electronic device 100. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

[0114] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR). The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0115] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering.

[0116] Display screen 194 is used to display images, videos, etc.

[0117] In some potential application scenarios, display screen 194 can show a page for inputting materials and elements. Users can upload or input elements on this page, and the electronic device 100 will then send the elements to the cloud device 200 via mobile communication module 150 or wireless communication module 160. This allows the cloud device 200 to determine the current tag sequence of the materials based on the elements. After receiving the tag sequence from the cloud device 200, the electronic device 100 can also display the tag sequence on display screen 194.

[0118] In other possible application scenarios, the electronic device 100 can also determine the tag sequence of the material based on the elements input by the user, and then display the tag sequence on the display screen 194.

[0119] In some possible application scenarios, if there are conflicting tags with different alignments between the current tag sequence and the previous tag sequence, the display screen 194 will also display a tag sequence regenerated based on these two tag sequences. If there are no conflicting tags with different alignments between the current tag sequence and the previous tag sequence, the display screen 194 can display either the current tag sequence or the previous tag sequence.

[0120] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0121] The ISP is used to process the data fed back by the camera 193.

[0122] Camera 193 is used to capture still images or videos.

[0123] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.

[0124] Video codecs are used to compress or decompress digital video.

[0125] NPU stands for Neural Network (NN) computing processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0126] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions.

[0127] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121.

[0128] In some possible application scenarios, when the above-mentioned material tag recommendation method is applied alone to the electronic device 100, the processor 110 determines the material tag sequence based on the user-input elements by executing instructions stored in the internal memory 121, and performs a consistency check between the current tag sequence and the previous tag sequence to determine whether there are conflicting tags with different positions between the two tag sequences. Furthermore, if there are conflicting tags between the two tag sequences, the processor 110 determines a new tag sequence based on these two tag sequences by executing instructions stored in the internal memory 121. If there are no conflicting tags between the two tag sequences, the processor 110 determines whether the tag sequence to be displayed is the current tag sequence or the previous tag sequence by executing instructions stored in the internal memory 121.

[0129] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170 and application processor.

[0130] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals.

[0131] Button 190 includes the power button, volume buttons, etc. Button 190 can be a mechanical button or a touch button.

[0132] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback.

[0133] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0134] The SIM card interface 195 is used to connect the SIM card.

[0135] Based on the above Figure 6 The electronic device shown implements the material tag recommendation method in the embodiments of this application. Even if there are conflicting tags in at least two tag sequences determined for a material, it will not affect the final tag recommendation, and the recommended tags can accurately represent the type of material, ensuring the quality of tag recommendation and improving the user experience.

[0136] In some embodiments, the software system of electronic device 100 may adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered Android system as an example to exemplify the software structure of electronic device 100.

[0137] See Figure 7As shown, the layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system libraries, and the kernel layer.

[0138] The application layer can include a series of application packages.

[0139] like Figure 7 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0140] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.

[0141] like Figure 7 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0142] The window manager is used to manage window programs.

[0143] Content providers are used to store and retrieve data, and make that data accessible to applications.

[0144] A view system includes visual controls, such as controls that display text and controls that display images.

[0145] The phone manager is used to provide communication functions for electronic device 100.

[0146] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0147] The notification manager allows applications to display notification information in the status bar. It can be used to convey informational messages and can disappear automatically after a short time without user interaction.

[0148] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), etc.

[0149] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0150] The media library supports playback and recording of various commonly used audio and video formats, as well as still image files.

[0151] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0152] A 2D graphics engine is a graphics engine for 2D drawing.

[0153] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0154] In some possible application scenarios, the display driver can drive the display screen of the electronic device 100 to display the input material, the page of elements, the label sequence of the material, etc.

[0155] In other possible application scenarios, when the display screen of electronic device 100 shows a page for inputting materials and elements, the controls included in the view system can display prompts for the user to input materials and elements.

[0156] Based on the above Figure 7 The electronic device shown implements the material tag recommendation method in the embodiments of this application. Even if there are conflicting tags in at least two tag sequences determined for a material, it will not affect the final tag recommendation, and the recommended tags can accurately represent the type of material, ensuring the quality of tag recommendation and improving the user experience.

[0157] It is understood that the aforementioned electronic devices can be personal computers, mobile phones, tablets, or other devices with displays.

[0158] See Figure 8 As shown, the above material recommendation method may include the following steps S801-S803.

[0159] S801, The electronic device displays the first tag sequence of the first material.

[0160] The first tag sequence is determined based on at least one first element of the first material input by the user. The first tag sequence includes at least two levels of tags, and the level of the tags is determined according to the hierarchical relationship between the tags.

[0161] In some embodiments, before an electronic device displays the first tag sequence of the first material, it may first obtain at least one first element corresponding to the first material, thereby obtaining and displaying the first tag sequence based on at least one first element.

[0162] In one scenario, the electronic device can obtain the first tag sequence from a cloud device. In this case, the electronic device first sends at least one first element to the cloud device, and the cloud device determines the first tag sequence based on the at least one first element and then sends the first tag sequence back to the electronic device. Alternatively, the electronic device can also determine the first tag sequence itself based on at least one first element.

[0163] In some embodiments, the electronic device may display a first page, wherein the first page includes at least one element input area corresponding to a first material, each element input area is used to obtain at least one element of a type, and each element input area includes at least one first input control.

[0164] After viewing the first page, the user can perform a first operation on the first page, such as entering the corresponding first element in at least one first input control. Then, the electronic device receives and responds to the user's first operation, obtains the first tag sequence of the first material, and displays the first tag sequence.

[0165] For example, taking the tag sequence of an advertisement obtained by an electronic device as an example, the aforementioned first page can be found here. Figure 9 As shown, the areas indicated by dashed boxes can represent element input areas of a certain type. For example, dashed box 1 represents the element input area corresponding to the "Merchant Name" type, which can include one input control 911; dashed box 2 represents the element input area corresponding to the "Title" type, which can include five input controls, of which input controls 921 and 922 are displayed on the first page, and other input controls can be displayed by triggering the "Add Title" control; dashed box 3 represents the element input area corresponding to the "Content Description" type, which can include five input controls, of which input controls 931 and 932 are displayed on the first page, and other input controls can be displayed by triggering the "Add Description" control; dashed box 4 represents the element input area corresponding to the "Logo" type, which can include one input control 941; and dashed box 5 represents the element input area corresponding to the "Image" type, which can include one input control 951.

[0166] Users can enter "XXX Mall" in input control 911, "Good quality home appliances, low prices" and "Special offers on home appliances" in input controls 921 and 922 respectively, "Massive selection of large home appliances, all at XXX" in input control 931, and enter a refrigerator image in input control 951, wherein the refrigerator image includes or represents a refrigerator.

[0167] Based on the above content input by the user, the electronic device obtains the tag sequence corresponding to the advertisement as "e-commerce-3C and electrical appliances-large appliances-refrigerator", and displays this tag sequence on the first page.

[0168] Understandably, the aforementioned first input control can be used to input text, images, videos, and other content. Furthermore, for a certain type of element, the user can choose not to input anything, or the user can input one or multiple elements.

[0169] In the above solution, users can input different types of elements, and the electronic device can determine the tag sequence of the material based on these elements. The tags at each level of the tag sequence can match the type of each element, thus the determined tag sequence more accurately represents the type of material. Furthermore, the first page provided in the above solution allows users to more intuitively understand which elements have been input and the specific content of the tag sequence, thereby improving the user experience.

[0170] In other embodiments, before the electronic device displays the first tag sequence of the first material, it may first obtain at least one first element corresponding to the first material. The electronic device may also provide prompts to the user to indicate which elements need to be entered. After the user enters all the elements according to the prompts, the electronic device may display the first tag sequence corresponding to these elements.

[0171] For example, the electronic device displays a second page, wherein the second page includes a second input control and at least one first input control corresponding to the first material, the second input control being used to obtain a preset tag sequence, and the first input control being used to obtain elements of the first material.

[0172] After viewing the second page, the user can perform a second operation on the second page, such as entering a preset tag sequence in a second input control. The electronic device then receives and responds to this second operation by highlighting the preset tag sequence. This highlighting prompts the user to enter a first element in at least one first input control, ensuring that each level of the preset tag sequence has a matching first element among the at least one entered first element.

[0173] If each level of the label in the preset label sequence has a matching first element in at least one of the input first elements, the electronic device displays the preset label sequence with the highlighting effect removed, wherein the preset label sequence with the highlighting effect removed is the first label sequence.

[0174] If a target tag exists in the preset tag sequence, the target tag will be highlighted while the preset tag sequence is displayed, and the highlighting of other tags in the preset tag sequence will be removed. It can be understood that the target tag is a tag in the preset tag sequence that does not have a matching first element among at least one of the entered first elements.

[0175] For example, the above-mentioned highlighting effect may include at least one of the following: highlighting, preset background, or preset color. For instance, displaying the text corresponding to a preset tag sequence in a preset color, displaying a preset tag sequence with a preset background, or marking a preset tag sequence with a special symbol. This prompts the user that there are default tags, or that there are tags for which no matching elements were found, providing a more intuitive user experience.

[0176] For example, taking the tag sequence of an advertisement obtained by an electronic device as an example, the second page mentioned above can be found here. Figure 10 As shown in (a), the second page includes input control 1011 for obtaining a preset tag sequence, and input controls 1012-1018 for obtaining elements (see above). Figure 9 (Input controls in the text).

[0177] Users can enter "e-commerce-3C and electrical appliances-large appliances-refrigerator" in input control 1011, so that the electronic device can obtain the preset tag sequence and display the tag sequence with a preset background. Each tag in the tag sequence has a preset background, thus prompting the user to fill in the first element that matches each tag in input control 1012-control 1018.

[0178] For example, see Figure 10 As shown in (b), if the user enters "XXX Mall" in the input control 1012, the electronic device determines that the element matches the "e-commerce" label in the label sequence, and then removes the preset background of that label. See then... Figure 10 As shown in (c), if the user enters "Good quality appliances, low prices" in the input control 1013, the electronic device determines that the element matches the "3C and electrical appliances" tag in the tag sequence list, and then removes the preset background of that tag. At this time, only the "large appliances" tag and the "refrigerator" tag in the preset tag sequence do not have corresponding elements, so these two tags still have preset backgrounds. Next, see Figure 10 As shown in (d), if the user enters "Massive selection of large appliances, all at XXXX" in input control 1015, the electronic device determines that the element matches the "Large Appliances" tag in the tag sequence list, and then removes the preset background of that tag. At this point, only the "Refrigerator" tag in the preset tag sequence does not have a corresponding element, so this tag still has a preset background. Finally, see Figure 10 As shown in (e), if the user enters a refrigerator image in the input control 1018, the electronic device determines that the element matches the "refrigerator" label in the label sequence, and then removes the preset background of the label. At this point, all labels in the preset label sequence have their preset backgrounds removed, that is, the preset label sequence has its preset backgrounds removed.

[0179] In this way, the preset label sequence with the preset background removed that is finally displayed by the electronic device is the first label sequence.

[0180] It is understood that the aforementioned second input control can be used to input text to input a preset tag sequence, or it can provide at least one tag sequence for the user to select, and the user can select a preset tag sequence from at least one tag sequence.

[0181] The electronic device can determine whether the element entered by the user in the control matches the label in the preset label sequence. Alternatively, the electronic device can send the preset label sequence entered by the user and the element entered in the control to the cloud device, which will determine whether the element matches the label in the preset label sequence and send the result to the electronic device so that the electronic device can remove the label highlighting effect or maintain the label highlighting effect.

[0182] In other embodiments, if there is a target tag in the preset tag program list that does not have a matching element, the electronic device can not only highlight the target tag, but also display text prompts on the second page to prompt the user to enter the element that matches the target tag.

[0183] In the above scheme, before inputting elements, users can select a preset tag sequence as prompts for the input elements. This makes the input elements more comprehensive and avoids missing or incomplete elements affecting the acquisition or display of the tag sequence. Furthermore, when displaying the preset tag sequence, if there is a target tag with a highlighting effect in the preset tag sequence, the user is prompted that no element matching that tag has been entered yet; if none of the tags in the preset tag sequence have a highlighting effect, the user is prompted that an element matching all tags has been entered. This highlighting effect allows users to intuitively understand the default state of the elements, ensuring the completeness of the elements.

[0184] S802, The electronic device receives the second element of the first material input by the user.

[0185] The second element can be seen as an element added to the source material.

[0186] In some embodiments, the user inputting a second element may include: the user entering a second element into a first input control on the aforementioned first page that has not yet been filled in. For example, see... Figure 11 As shown, the user enters "XX TV" in the input control 932. This element is the second element, which is added by the user after the other elements.

[0187] S803. If there are conflicting tags with different alignments between the second tag sequence determined according to the second element and the first tag sequence, the electronic device displays the third tag sequence of the first material.

[0188] The second tag sequence includes tags at least two levels, with the level of the tags determined by the hierarchical relationship between the tags; the third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the conflicting tag, and the conflicting tag is located in the first tag sequence or the second tag sequence at a level other than the highest level.

[0189] In some embodiments, the electronic device may send the second element to the cloud device, the cloud device may determine the corresponding tag based on the second element, and determine the second tag sequence corresponding to the tag based on the tag's affiliation. Furthermore, the cloud device may determine whether there are conflicting tags with different alignments between the second tag sequence and the first tag sequence. If there are conflicting tags, the cloud device may determine a third tag sequence and send the third tag sequence to the electronic device.

[0190] In other embodiments, the electronic device may also determine the corresponding tag based on the second element, and determine the second tag sequence corresponding to the tag based on the tag's membership relationship. Furthermore, the electronic device may determine whether there are conflicting tags with different alignments between the second tag sequence and the first tag sequence. If there are conflicting tags, the electronic device determines the third tag sequence.

[0191] In some embodiments, the first tag sequence includes N levels, where N is an integer greater than 1; the second tag sequence includes M levels, where M is an integer greater than 1. There are conflicting tags between the first tag sequence and the second tag sequence due to different alignments, including but not limited to the following cases:

[0192] First, the label of the i-th level in the first label sequence is different from the label of the i-th level in the second label sequence, and the labels of the first i-1 levels are the same as the labels of the same level in the first i-1 levels of the second label sequence.

[0193] When N = M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N or i ≤ M.

[0194] For example, see Figure 12 As shown in (a), the first tag sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator", and the second tag sequence can be "e-commerce-3C and electrical appliances-large appliances-television". Since "refrigerator" in the first tag sequence is different from "television" in the second tag sequence, there is a conflicting tag between the two. The conflicting tags are "refrigerator" in the first tag sequence and "television" in the second tag sequence.

[0195] When N < M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N.

[0196] For example, see Figure 12 As shown in (b), the first label sequence can be "e-commerce-3C and electrical appliances-large appliances", and the second label sequence can be "e-commerce-3C and electrical appliances-small appliances-juicers". Since "large appliances" in the first label sequence is different from "small appliances" in the second label sequence, there is a conflict label between the two. The conflict label is "large appliances" in the first label sequence and "small appliances" in the second label sequence.

[0197] When N > M, the conflicting label is either the label of the i-th level in the first label sequence or the label of the i-th level in the second label sequence, where i ≤ M.

[0198] For example, see Figure 12 As shown in (c), the first label sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator", and the second label sequence can be "e-commerce-3C and electrical appliances-small appliances". Since "large appliances" in the first label sequence is different from "small appliances" in the second label sequence, there is a conflict label between the two. The conflict label is "large appliances" in the first label sequence and "small appliances" in the second label sequence.

[0199] In the above scheme, there are several cases where conflicting tags exist at the same level in the first and second tag sequences. In all these cases, the third tag sequence can be determined, thereby recommending the tag sequence to the user, ensuring the quality of tag recommendations, and improving the user experience.

[0200] 2. When N > M, and the labels at N levels in the first label sequence are the same as the labels at the same level in the second label sequence, the conflicting label is the label at a higher level than the Nth level in the first label sequence.

[0201] For example, see Figure 12 As shown in (d), the first tag sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator", and the second tag sequence can be "e-commerce-3C and electrical appliances-large appliances". Although the tags at each level in the second tag sequence are the same as the tags at the same level in the first tag sequence, the first tag sequence has more levels than the second tag sequence. Therefore, there are conflicting tags with different alignments between the first tag sequence and the first tag sequence. The conflicting tag is "refrigerator" in the first tag sequence.

[0202] In the above scheme, conflicting tags can also exist at different levels in the first and second tag sequences. That is, the first tag sequence has more levels than the second tag sequence, and the extra tags in the first tag sequence are the conflicting tags. In these cases, a third tag sequence can also be determined, thereby recommending this tag sequence to the user, ensuring the quality of tag recommendations, and improving the user experience.

[0203] It is understood that the aforementioned third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the conflicting tag.

[0204] For example, with Figure 12 For example, in (a) of the example, the third label sequence is "e-commerce-3C and electrical appliances-large appliances"; Figure 12 For example, in (b) of the example, the third tag sequence is "e-commerce - 3C and electronics"; Figure 12 For example, in (c), the third tag sequence is also "e-commerce - 3C and electronics"; Figure 12 For example, in (d), the third label sequence is "e-commerce-3C and electrical appliances-large appliances".

[0205] In some embodiments, if there are multiple conflicting tags in the first tag sequence or the second tag sequence, the third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the target conflicting tag, wherein the target conflicting tag has the highest level among the multiple conflicting tags.

[0206] For example, when N=M, if the first tag sequence is "e-commerce-3C and electrical appliances-large appliances-refrigerator", the second tag sequence is "e-commerce-3C and electrical appliances-small appliances-juicer", then the first tag sequence contains conflicting tags "large appliances" and "refrigerator", the second tag sequence contains conflicting tags "small appliances" and "juicer", and the third tag sequence is "e-commerce-3C and electrical appliances".

[0207] For example, when N < M, if the first label sequence is "e-commerce-3C and electrical appliances-large appliances", the second label sequence is "e-commerce-3C and electrical appliances-small appliances-juicer", then the first label sequence contains the conflicting label "large appliances", the second label sequence contains the conflicting labels "small appliances" and "juicer", and the third label sequence is "e-commerce-3C and electrical appliances".

[0208] For example, when N > M, if the first label sequence is "e-commerce-3C and electrical appliances-large appliances-refrigerator", the second label sequence is "e-commerce-3C and electrical appliances-small appliances", then the first label sequence contains conflicting labels "large appliances" and "refrigerator", the second label sequence contains conflicting label "small appliances", and the third label sequence is "e-commerce-3C and electrical appliances".

[0209] Alternatively, when N > M, if the first label sequence is "e-commerce-3C and electrical appliances-large appliances-refrigerator", the second label sequence is "e-commerce-3C and electrical appliances", then the first label sequence contains conflicting labels "large appliances" and "refrigerator", the second label sequence does not contain conflicting labels, and the third label sequence is "e-commerce-3C and electrical appliances".

[0210] In the above scheme, there may be multiple conflicting tags in the first tag sequence or the second tag sequence. In this case, the electronic device can select the conflicting tag with the highest level in the first tag sequence or the second tag sequence as the conflicting tag to determine the common tag sequence, thereby accurately determining the tag sequence of the first material.

[0211] As described above, the first tag sequence can be an old tag sequence obtained from the first material based on the prior elements, and the second element is a newly added element. The second tag sequence can be a new tag sequence obtained from the first material based on both the prior and newly added elements. When there are conflicting tags between the new and old tag sequences, a tag sequence with a larger granularity or broader scope than the conflicting tag can be obtained. This tag sequence can be the intersection of the two conflicting tag sequences, and it also represents the complete type of the first material. In this way, even if there are tag conflicts, it will not affect the final tag recommendation, and the recommended tags can accurately represent the type of the first material, ensuring the quality of tag recommendations and improving the user experience.

[0212] In some embodiments, after acquiring the second tag sequence of the first material, if there are no conflicting tags with different alignments between the first tag sequence and the second tag sequence, the electronic device displays either the first tag sequence or the second tag sequence of the first material to recommend tags of the material to the user.

[0213] For example, the first label sequence includes N levels, where N is an integer greater than 1; the second label sequence includes M levels, where M is an integer greater than 1. There are no conflicting labels with different positions between the first and second label sequences, including but not limited to the following cases:

[0214] 1. When N = M, the labels of the N levels in the first label sequence are the same as the labels of the same level in the second label sequence.

[0215] For example, see Figure 13 As shown in (a), the first tag sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator" and the second tag sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator". Therefore, there are no conflicting tags with different alignment between the first tag sequence and the second tag sequence.

[0216] 2. When N < M, the labels of the N levels in the first label sequence are the same as the labels of the same level in the M levels of the second label sequence.

[0217] For example, see Figure 13 As shown in (b), the first tag sequence can be "e-commerce-3C and electrical appliances-large appliances", and the second tag sequence can be "e-commerce-3C and electrical appliances-large appliances-refrigerator". Therefore, there are no conflicting tags with different alignment between the first tag sequence and the second tag sequence.

[0218] Furthermore, regarding scenario one, since the first tag sequence and the second tag sequence are the same, the electronic device can display either the first tag sequence or the second tag sequence, thereby prompting the user with the specific type of the first material.

[0219] Regarding scenario two, since the second tag sequence has more granular tags than the first tag sequence, meaning the classification of the first material is more accurate or detailed, displaying the second tag sequence on an electronic device can recommend more accurate material tags to the user.

[0220] It is understandable that the process of user input can be a continuous one, where the first element represents the previous input element and the current input element is the second element. If the electronic device can obtain a finer-grained label after each second element input, then the label sequence displayed by the electronic device each time will have one or more more levels than the previous label sequence.

[0221] In some embodiments, after receiving the second element of the first material input by the user, if there are conflicting tags in the first tag sequence and the second tag sequence that are not aligned, the electronic device can also highlight the conflicting tags in the first tag sequence to prompt the user that there are conflicting tags.

[0222] For example, see Figure 14 As shown in (a), the first tag sequence displayed on the electronic device is "e-commerce-3C and electrical appliances-large appliances-refrigerator". After the user enters "XX TV", if the second tag sequence is "e-commerce-3C and electrical appliances-large appliances-TV", then the conflicting tag in the first tag sequence is "refrigerator". In this case, the tag "refrigerator" in the first tag sequence can be highlighted to prompt the user that a conflicting tag has appeared, or to prompt the user that there is content that conflicts with the first tag sequence in the currently entered element, such as "XX TV", etc., to bring a more intuitive experience to the user.

[0223] In other embodiments, after the electronic device displays conflicting tags in the first tag sequence with a highlighted effect, it may also remove the highlighted effect of the conflicting tags when displaying the first tag sequence in response to a user's deletion of a second element.

[0224] For example, see Figure 14 As shown in (b), if a user enters "XX TV" on the page displayed on the electronic device, the electronic device highlights the "Refrigerator" tag in the current first tag sequence. Then, if the user deletes the "XX TV" element on the electronic device page, the electronic device removes the highlight effect of "Refrigerator" from the first tag sequence. This is to indicate to the user that there are no conflicting tags in the current first tag sequence, or to indicate that there is no content that conflicts with the first tag sequence in the currently entered element, thus providing the user with a more intuitive experience.

[0225] The material tag recommendation method provided in the above embodiments of this application can recommend corresponding tag sequences based on elements input by the user in real time, thereby achieving the purpose of dynamic recommendation. Furthermore, this method supports conflict detection and can correct conflicts in a timely manner. That is, after a user uploads multiple elements, conflicting tags can be identified, and the common tag sequence corresponding to the multiple elements can be re-determined. This ensures the quality of tag recommendations and improves the user experience.

[0226] In addition, users can pre-select a tag sequence and fill in the corresponding elements in sequence according to the prompts of the tag sequence, thereby ensuring the completeness or integrity of the elements and improving the consistency between the elements and the tags.

[0227] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the processes of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed. Those skilled in the art will conceive of various ways to reorder the operations described in the embodiments of this application. In addition, it should be noted that the process details involved in one embodiment of this application are also applicable to other embodiments in a similar manner, or different embodiments may be combined.

[0228] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.

[0229] Furthermore, the various method embodiments can be implemented individually or in combination.

[0230] It is understood that, in order to achieve the above functions, the aforementioned electronic device includes hardware and / or software modules corresponding to perform each function. Based on the algorithmic steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0231] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0232] This application also provides an electronic device, such as... Figure 15 As shown, the electronic device may include one or more processors 1501, memory 1502 and communication interfaces 1503.

[0233] The memory 1502, communication interface 1503, and processor 1501 are coupled together. For example, the memory 1502, communication interface 1503, and processor 1501 can be coupled together via bus 1504.

[0234] The communication interface 1503 is used for data transmission with other devices. The memory 1502 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1501, cause the electronic device to perform the material tag recommendation method described in this embodiment.

[0235] The processor 1501 may be a processor or controller, such as a CPU, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0236] The bus 1504 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus 1504 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 15 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0237] This application also provides a computer-readable storage medium that includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the relevant method steps described in the above method embodiments.

[0238] This application also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps described in the above method embodiments.

[0239] The electronic devices, computer-readable storage media, or computer program products provided in this application are all used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0240] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0241] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0242] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0243] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0244] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0245] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for recommending material tags, characterized in that, include: Display a first tag sequence of the first material; the first tag sequence is determined based on at least one first element of the first material input by the user, and the first tag sequence includes at least two levels of tags, wherein the level of the tags is determined according to the membership relationship between the tags; Receive the second element of the first material input by the user; If there is a conflicting tag with different alignment between the second tag sequence determined according to the second element and the first tag sequence, then the third tag sequence of the first material is displayed; the second tag sequence includes tags of at least two levels, wherein the level of the tags is determined according to the membership relationship between the tags; the third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the conflicting tag, and the conflicting tag is located in the first tag sequence or the second tag sequence at a level other than the highest level.

2. The method according to claim 1, characterized in that, If there are multiple conflicting tags in the first tag sequence or the second tag sequence, the third tag sequence includes at least one tag in the first tag sequence or the second tag sequence that has a higher level than the target conflicting tag, wherein the target conflicting tag has the highest level among the multiple conflicting tags.

3. The method according to claim 1 or 2, characterized in that, The first label sequence includes N levels, where N is an integer greater than 1; the second label sequence includes M levels, where M is an integer greater than 1; there are conflicting labels between the second label sequence and the first label sequence that are not identical, including: the label of the i-th level in the first label sequence is different from the label of the i-th level in the second label sequence, and the labels of the first i-1 levels are the same as the labels of the same level in the first i-1 levels of the second label sequence; And, when N = M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N or i ≤ M; When N < M, the conflicting label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ N; When N > M, the conflict label is the label of the i-th level in the first label sequence, or the label of the i-th level in the second label sequence, where i ≤ M.

4. The method according to claim 3, characterized in that, The case where there are conflicting tags with different alignments between the second tag sequence and the first tag sequence also includes: N > M, and the labels at the N levels in the first label sequence are the same as the labels at the same level in the second label sequence; and the conflicting label is a label at a level higher than the Nth level in the first label sequence.

5. The method according to claim 1 or 2, characterized in that, After receiving the second element of the first material input by the user, the method further includes: If there are no conflicting tags with different alignments between the second tag sequence and the first tag sequence, then display the first tag sequence or the second tag sequence of the first material.

6. The method according to claim 5, characterized in that, The first tag sequence includes N levels, where N is an integer greater than 1; the second tag sequence includes M levels, where M is an integer greater than 1; there are no conflicting tags with different positions between the second tag sequence and the first tag sequence, including: When N=M, the N levels of labels in the first label sequence are the same as the labels of the same level in the second label sequence; When N < M, the labels of the N levels in the first label sequence are the same as the labels of the same level in the M levels of the second label sequence.

7. The method according to claim 5 or 6, characterized in that, The step of displaying the first tag sequence or the second tag sequence of the first material includes: if the number of levels in the first tag sequence is the same as the number of levels in the second tag sequence, then displaying the first tag sequence; if the number of levels in the first tag sequence is less than the number of levels in the second tag sequence, then displaying the second tag sequence with more levels.

8. The method according to any one of claims 1-7, characterized in that, The first tag sequence for displaying the first material includes: Display a first page; the first page includes at least one element input area corresponding to the first material, each element input area is used to obtain at least one element of a type, and each element input area includes at least one first input control; Receive a first operation from the user on the first page; the first operation is used to input a first element in at least one first input control; In response to the first operation, a first tag sequence of the first material is obtained; wherein, if at least two first elements are obtained, the at least two first elements belong to the same type or different types; Display the first tag sequence of the first material.

9. The method according to any one of claims 1-7, characterized in that, The first tag sequence for displaying the first material includes: Display a second page; the second page includes a second input control and at least one first input control corresponding to the first material, the second input control is used to obtain a preset tag sequence, and the first input control is used to obtain elements of the first material; Receive a second operation from the user on the second page; the second operation is used to input a preset tag sequence in the second input control; In response to the second operation, the preset label sequence is displayed with a highlighting effect; the highlighting effect is used to prompt the user to enter a first element in at least one first input control, so that each level of the preset label sequence has a matching first element in at least one of the entered first elements; If each level of the preset tag sequence has a matching first element in at least one input first element, then the preset tag sequence with the highlighting effect removed is displayed; the preset tag sequence with the highlighting effect removed is the first tag sequence.

10. The method according to claim 9, characterized in that, After highlighting the preset label sequence, the method further includes: If a target tag exists in the preset tag sequence, the highlighting effect of the target tag is maintained when the preset tag sequence is displayed, and the highlighting effect of other tags in the preset tag sequence other than the target tag is removed; the target tag is a tag in the preset tag sequence that does not have a matching first element in at least one of the input first elements.

11. The method according to any one of claims 1-10, characterized in that, After receiving the second element of the first material input by the user, the method further includes: If there are conflicting tags in the first tag sequence and the second tag sequence that are not aligned, then the conflicting tags in the first tag sequence are highlighted.

12. The method according to claim 11, characterized in that, After highlighting the conflicting tags in the first tag sequence, the method further includes: In response to the user's deletion of the second element, the highlighting effect of the conflicting tags is removed when the first tag sequence is displayed.

13. The method according to any one of claims 9-12, characterized in that, The highlighted effect includes at least one of the following: highlighting, preset background, or preset color.

14. An electronic device, characterized in that, The device includes a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the material tag recommendation method as described in any one of claims 1-13.

15. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the material tag recommendation method as described in any one of claims 1-13.

16. A computer program product, characterized in that, When the computer program product is run on a computer, the computer performs the material tag recommendation method as described in any one of claims 1-13.