CN112036988A - Label generation method and device, storage medium and electronic equipment - Google Patents

Label generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112036988A
CN112036988A CN202011019951.5A CN202011019951A CN112036988A CN 112036988 A CN112036988 A CN 112036988A CN 202011019951 A CN202011019951 A CN 202011019951A CN 112036988 A CN112036988 A CN 112036988A
Authority
CN
China
Prior art keywords
target
recommended
label
commodity
phrase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011019951.5A
Other languages
Chinese (zh)
Other versions
CN112036988B (en
Inventor
黄楷
方依
梁新敏
陈羲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Second Picket Network Technology Co ltd
Original Assignee
Shanghai Fengzhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Fengzhi Technology Co ltd filed Critical Shanghai Fengzhi Technology Co ltd
Priority to CN202011019951.5A priority Critical patent/CN112036988B/en
Publication of CN112036988A publication Critical patent/CN112036988A/en
Application granted granted Critical
Publication of CN112036988B publication Critical patent/CN112036988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a label generation method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: acquiring a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop; responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with the reference shop, wherein the reference shop and the target shop establish a relationship; acquiring a commodity with a recommended label from a target shop as a target commodity; and displaying a target label of the target commodity in the first recommendation area. The invention solves the technical problem that the content of the display page is single due to the lack of the recommended content.

Description

Label generation method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a label generation method and device, a storage medium and electronic equipment.
Background
With the development of online shopping, in order to display the goods that may be of interest to the user in the currently displayed page, the shopping platform generally detects the user behavior, forms tags for the goods that may be of interest to the user, and displays the tags on the page currently viewed by the user.
In the prior art, the selection of the commodity of interest is usually based on the detection and statistics of user behavior and browsing of the platform commodity. However, in the e-commerce platform of SAAS (software as a service) mode, a user can only see goods of one shop in the platform, and thus, the problem that the user behavior is too little to form interested related recommendations, and a recommendation bar is vacant, and the displayed page content is relatively single may occur.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a tag generation method and device, a storage medium and electronic equipment, which are used for at least solving the technical problem that the content of a display page is single due to the lack of recommended content.
According to an aspect of an embodiment of the present invention, there is provided a tag generation method, including: acquiring a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop; responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and the target shop establish a relationship; acquiring the goods with the recommended labels from the target shops as the target goods; and displaying the target label of the target commodity in the first recommendation area.
According to another aspect of the embodiments of the present invention, there is also provided a tag generation apparatus, including: the system comprises a first obtaining module, a second obtaining module and a display module, wherein the first obtaining module is used for obtaining a display request for requesting to display a first recommendation area matched with a target shop, and the first recommendation area is used for displaying a target label of a target commodity in the target shop; a second obtaining module, configured to respond to the display request, and obtain a recommendation tag displayed in a second recommendation area matched with a reference store, where the reference store and the target store establish a relationship; a third obtaining module, configured to obtain, from the target store, a product with the recommended label as the target product; and a display module, configured to display the target tag of the target product in the first recommended area.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above tag generation method when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the above tag generation method through the computer program.
In the embodiment of the invention, by acquiring the recommended label displayed in the second recommended area by the reference shop related to the target shop, and acquiring the target label corresponding to the target commodity corresponding to the recommended label in the target shop and displaying the target label in the first recommended area, the purpose of determining the target label for recommended display in the target shop is achieved, so that the technical effect of displaying the target label of the target shop in the recommended area is realized, and the technical problem that the content of the displayed page is single due to the lack of the recommended content is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment for an alternative tag generation method according to an embodiment of the present invention;
FIG. 2 is a flow diagram illustrating an alternative label generation method according to an embodiment of the present invention;
FIG. 3 is an exemplary diagram of a display page of an alternative tag generation method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram illustrating yet another alternative label generation method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram illustrating yet another alternative label generation method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart diagram illustrating yet another alternative label generation method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart diagram illustrating yet another alternative label generation method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an alternative label generation apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an alternative electronic device according to an embodiment of the invention;
fig. 10 is a schematic structural diagram of another alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, there is provided a label generation method, optionally, the label generation method may be applied, but not limited to, in an environment as shown in fig. 1. Terminal device 102 interacts with server 112 through network 110.
Alternatively, server 112 may, but is not limited to, running the following steps:
s1, acquiring a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop;
s2, responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and a target shop establish a relationship;
and S3, acquiring the commodity with the recommended label from the target shop as the target commodity.
The server 112 determines the target goods by running the above steps, and generates the corresponding target tags, so that the terminal device 102 displays the target tags in the first recommended area of the display page of the terminal device, so as to achieve the effect of enriching the current display page.
Optionally, in this embodiment of the present application, the terminal device 102 may be a terminal device configured with a target client, and may include but is not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The target client may be a client with web shopping capabilities. The form of the online shopping function can be but is not limited to: web pages, links, applets, owned malls, etc. The network 110 may include, but is not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server 112 may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
As an optional implementation manner, as shown in fig. 2, the tag generation method includes:
s202, a display request for requesting to display a first recommendation area matched with a target shop is obtained, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop;
s204, responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with the reference shop, wherein the reference shop and the target shop establish a relationship;
s206, acquiring the goods with the recommended labels from the target shops as target goods;
and S208, displaying the target label of the target commodity in the first recommendation area.
Alternatively, the target store may be an electronic store that is unable to generate a recommendation bar tag based on its shopping behavior. Alternatively, the reason why the recommendation bar tag cannot be generated based on self-shopping behavior may be, but is not limited to: the shops contain less user behaviors and the current user purchases less.
Optionally, the first recommendation area may be a tag display area for displaying the corresponding goods included in the target store. Optionally, the first recommendation area may be, but is not limited to: a recommendation area in a recommendation page, a recommendation area in a shopping cart page, a recommendation area in an order page, and a recommendation area in a current page. Optionally, the first recommendation region is a region corresponding to a second recommendation region in the reference shop.
Optionally, the target tag may be a display tag corresponding to a corresponding product in the target store, and the display page of the target product may be skipped through the target tag by a click operation or other operation modes, so as to browse the detailed information of the target product.
Alternatively, the reference store may be an electronic store that may filter out the recommended tags based on user behavior detected by the reference store itself. The reference shops contain more user behaviors, so that the commodities which are possibly interested by the user can be selected from the commodities contained in the reference shops based on more user behaviors, and corresponding recommendation labels are formed and displayed in corresponding recommendation areas.
Alternatively, the method of forming the recommendation label in the second recommendation area with reference to the shop may be, but is not limited to: collaborative filtering, network-based recommendation algorithms, and association analysis.
Optionally, the association relationship between the reference store and the target store may be a correspondence relationship bound based on the similarity of the goods contained in the stores. Optionally, one target store has an association relationship with only one reference store, and one reference store has an association relationship with a plurality of target stores. Alternatively, the similarity of the goods may be, but is not limited to: uniform in category (e.g., all garments), uniform in specific category (e.g., all men's garments, all shirts).
Optionally, as shown in fig. 3, taking the currently displayed page as a recommended page in the shop as an example. In the current recommendation page, a shop name, a search bar, a plurality of activity tags, and a recommendation area for displaying a goods tag for recommendation are displayed. It can be known that, a plurality of display spaces for displaying the target tags 304 are currently set in the first recommendation region 302 of the target store, and currently, because the user behaviors in the target store are relatively few, the target tags 304 cannot be generated by screening the target products and displayed in the first recommendation region 302. Acquiring a request that a recommended page of a current target shop displays a target label 304 in a first recommended area 302, determining a reference shop associated with the target shop according to the association relationship after the request is acquired, acquiring a recommended label 314 displayed in a second recommended area 312 in the recommended page of the reference shop, wherein the number of the recommended labels 314 is not limited, acquiring a commodity with the recommended label 314 in a commodity list of the target shop according to the recommended label 314 as a target commodity, and generating the target label 304 so as to display the target label in the first recommended area 302.
In the embodiment of the application, by acquiring the recommended label displayed in the second recommended area by the reference shop associated with the target shop, and acquiring the target label corresponding to the target commodity corresponding to the recommended label in the target shop and displaying the target label in the first recommended area, the purpose of determining the target label for recommended display in the target shop is achieved, so that the technical effect of displaying the target label of the target shop in the recommended area is achieved, and the technical problem that the content of the displayed page is single due to the lack of the recommended content is solved.
As an alternative embodiment, as shown in fig. 4, before obtaining the item with the recommended label from the target store as the target item, the method further includes:
s402, performing word segmentation processing on the recommended labels to obtain a plurality of recommended phrases;
s404, acquiring recommended phrase vectors corresponding to a plurality of recommended phrases;
s406, acquiring the distribution weight of each recommended phrase in the recommended label;
and S408, calculating a recommendation vector corresponding to the recommendation label according to the recommended phrase vector and the distribution weight.
Optionally, the word segmentation process on the recommended label may be, but is not limited to: and performing word segmentation processing by using a word segmentation algorithm. Alternatively, the word segmentation algorithm may be, but is not limited to: jieba, pynlpir, snornlp.
Optionally, the word segmentation processing based on the recommended tags to obtain the recommended word group may include, but is not limited to: and reserving the phrases existing in the database as recommended phrases. Alternatively, the database may be, but is not limited to: a database of word segmentation algorithm and a preset special database.
Alternatively, the recommended phrase vector for obtaining the recommended phrases may be, but is not limited to: and obtaining a recommended phrase vector by using a word vector model. Alternatively, the word vector model may be, but is not limited to: AI Lab word vector model.
Alternatively, the assigned weight of the recommended phrase in the recommended label may be, but is not limited to: the proportion of the word meaning of the recommended word group and the proportion of the word frequency of the recommended word group.
As an optional implementation manner, obtaining the assigned weight of each of the plurality of recommended phrases in the recommended label includes:
determining the occurrence frequency of recommended phrases in a commodity list of a reference shop, and determining the phrase weight of the recommended phrases according to the occurrence frequency of the recommended phrases;
and calculating the distribution weight of the recommended phrases in the recommended labels according to the respective phrase weights of all the recommended phrases in the recommended labels.
Alternatively, the phrase weight of the recommended phrase may be preset. Alternatively, determining the phrase weight of the recommended phrase according to the frequency of occurrence of the recommended phrase in the reference store may be, but is not limited to: the higher the occurrence frequency of the recommended phrases is, the smaller the corresponding weight of the phrases is. For example, if the reference shop is a men's shop, the phrase "men's clothing" appears frequently in the product tag list of the shop, and thus the corresponding phrase weight is small, and if the phrase "men's clothing" appears frequently in the product tag list, it is assumed that the phrase "stamp" is set to 0.01, and the phrase "stamp" appears frequently in the product tag list, it is assumed that the phrase "stamp" is set to 0.05. Therefore, the recommended phrase with the characteristic of the commodity is highlighted in the recommended label, and the corresponding characteristic of the recommended label is determined conveniently.
Alternatively, the assigned weight may be, but is not limited to, the proportion of the phrase weight of the recommended phrase to the sum of the phrase weights of all the recommended phrases of the recommended tags.
As an optional implementation manner, calculating a recommendation vector corresponding to the recommendation label according to the recommended phrase vector and the assigned weight includes:
acquiring a second indication vector of the recommended phrase according to the phrase vector and the distribution weight of the recommended phrase;
acquiring second indication vectors of all recommended phrases;
and taking the average value of all the second indication vectors as a recommendation vector.
Alternatively, the second indication vector may be, but is not limited to: the product of the phrase vector of the recommended phrase and the assigned weight.
In the embodiment of the application, the distribution weight of the recommended phrases in the recommended labels is determined according to the determined phrase vector and the determined phrase weight of the recommended phrases, and the average value of the product of the phrase vectors and the distribution weight of all the recommended phrases is used as the recommended vector, so that the recommended phrases in the recommended labels can be represented by the distribution weight, and the recommended phrases contained in the recommended labels are covered by representing the recommended vectors by the average value, so that the recommended labels can be represented by the recommended vectors, and the recommended labels are digitalized.
As an alternative embodiment, as shown in fig. 5, acquiring the item with the recommended label from the target store as the target item includes:
s502, obtaining a reference vector corresponding to a commodity label of each commodity in a target shop;
s504, sequentially comparing the reference vector with the recommended vector to obtain the vector distance corresponding to each commodity;
s506, taking the commodity with the vector distance smaller than the first threshold value as a candidate commodity;
and S508, selecting the target commodity from the candidate commodities according to the size of the display area of the first recommendation area.
It should be noted that: the vector distance is a distance value obtained by calculation between the corresponding reference vector and the recommended vector. The first threshold is a preset numerical value, and is used for judging whether the distance of the reference vector meets the condition that the corresponding commodity is taken as a candidate commodity.
Optionally, according to the size of the display area of the first recommendation area, the picking of the target product from the candidate products may be determined according to a vector sorting of the candidate products, or determined according to a classification sorting of the candidate products. Alternatively, the classification of the candidate item may be a classification according to a difference of the recommendation labels in the corresponding second recommendation regions. Optionally, the number of recommendation tags displayed in the second recommendation area is not limited. Optionally, a recommendation vector of each recommended label is calculated, the reference vector of the commodity label in the target shop is compared with each recommendation vector respectively, and the reference vectors are sorted according to the vector distance from small to large respectively.
Alternatively, the value of the first threshold may be determined according to the size of the display area of the first recommendation area. Alternatively, the numerical value of the first threshold may have numerical values corresponding to different levels. Optionally, the determination of the numerical level of the first threshold is associated with the size of the display area of the first recommendation area.
Alternatively, when the number of recommended tags matches the number of tags that can be displayed in the first recommended area, the target product is the product located at the first candidate position corresponding to each recommended tag in the candidate products.
Optionally, when the number of the recommended tags is smaller than the number of tags that can be displayed in the first recommended area, the candidate commodities are sorted from small to large according to the vector distance, and the candidate commodities with the number consistent with the number displayed in the first recommended area are taken as the target commodities.
Optionally, under the condition that the number of the recommended labels is smaller than the number of labels that can be displayed in the first recommended area, the candidate commodities are classified according to the corresponding recommended labels, and the candidate commodities with the same number as the number displayed in the first recommended area are sequentially selected as the target commodity in each class of candidate commodities according to the vector distance sorting.
Optionally, when the number of the recommended tags is greater than the number of tags that can be displayed in the first recommended area, the candidate commodities are sorted from small to large according to the vector distance, and the candidate commodities whose number is consistent with the number displayed in the first recommended area are taken as the target commodities.
In the embodiment of the application, candidate commodities are determined according to the reference vector of each commodity in the target shop and the recommendation vector of the recommendation label through comparison, the vector distance between the reference vector and the recommendation vector is determined, and then the target shop is selected according to the size of the display area of the first recommendation area, so that the target label in the first recommendation area is displayed. The target labels in the first recommendation areas corresponding to the target shops are generated by referring to the recommendation labels in the shops, so that the problem that the content of the first recommendation areas is vacant due to lack of data of the target shops is solved.
As an alternative implementation, as shown in fig. 6, the obtaining a reference vector corresponding to a product tag of each product in the target store includes:
s602, acquiring a commodity label of each commodity in a target shop;
s604, performing word segmentation processing on the commodity label to obtain a plurality of reference phrases;
s606, obtaining a reference phrase vector corresponding to each of the plurality of reference phrases;
s608, acquiring the reference weight of each of the plurality of reference phrases in the commodity label;
and S610, calculating a reference vector corresponding to the commodity label according to the reference phrase vector and the reference weight.
Optionally, the word segmentation process performed on the goods label may be, but is not limited to: and performing word segmentation processing by using a word segmentation algorithm. Alternatively, the word segmentation algorithm may be, but is not limited to: jieba, pynlpir, snornlp.
Optionally, the reference phrase obtained by the item label segmentation processing may be, but is not limited to: and reserving the phrases existing in the database as recommended phrases. Alternatively, the database may be, but is not limited to: a database of word segmentation algorithm and a preset special database.
Optionally, a reference phrase vector of the reference phrase is obtained to include but not limited to: and obtaining a recommended phrase vector by using a word vector model. Alternatively, the word vector model may be, but is not limited to: AI Lab word vector model.
Alternatively, the reference weight of the reference phrase in the tag of the article may be, but is not limited to: the proportion of the reference word meaning and the proportion of the reference word frequency.
As an alternative implementation, as shown in fig. 7, the obtaining reference weights of a plurality of reference phrases in a product label, and calculating a reference vector corresponding to the product label according to the reference phrase vector and the reference weights includes:
s702, determining the appearance frequency of the reference phrases in the commodity list of the target shop, and determining the phrase weights of the reference phrases according to the appearance frequency of the reference phrases;
s704, calculating reference weights of the reference phrases in the commodity labels according to the phrase weights of all the reference phrases in the commodity labels;
s706, obtaining a first indication vector of the reference phrase according to the phrase vector of the reference phrase and the reference weight;
s708, acquiring first indication vectors of all reference phrases;
and S710, taking the average value of all the first indication vectors as a reference vector.
Alternatively, the phrase weight of the reference phrase may be preset. Alternatively, determining the phrase weight of the reference phrase according to the frequency of occurrence of the reference phrase in the target store may be, but is not limited to: the higher the frequency of appearance of the reference phrase, the smaller the corresponding weight of the phrase. For example, the reference shop is a women's shop, and the phrase "women's trousers" appears frequently in the product tag list of the reference shop, so the phrase weight corresponding to the phrase "women's trousers" is small, and it is assumed that the phrase weight of the phrase "women's trousers" is set to 0.02. In the product tag list of the reference store, the appearance frequency of the phrase "V-neck" is low, so that the weight of the phrase corresponding to the phrase "V-neck" is high, and it is assumed that the weight of the phrase "V-neck" is set to 0.05. Therefore, the reference phrases with the commodity characteristics are highlighted in the commodity label, and the corresponding characteristics of the commodity label are determined conveniently.
Alternatively, the reference weight may be, but is not limited to, a ratio of the phrase weight of the reference phrase to the sum of the phrase weights of all reference phrases of the item tag.
Alternatively, the first indication vector may be, but is not limited to: the product of the phrase vector of the reference phrase and the reference weight.
In the embodiment of the application, the reference weight of the reference phrase in the commodity label is determined according to the phrase vector and the phrase weight for determining the reference phrase, and the average value of the product of the phrase vector and the reference weight of all the reference phrases is used as the reference vector, so that the characteristic reference phrase in the commodity label can be embodied through the reference weight, and the reference phrase contained in the commodity label is covered through the average value serving as the reference vector, so that the reference vector can represent the commodity label, and the commodity label is digitalized, so that the target label close to the recommended label is selected from the commodity label and displayed in the first recommended area, and the current display page is enriched.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a label generation device for implementing the label generation method is also provided. As shown in fig. 8, the apparatus includes:
a first obtaining module 802, configured to obtain a display request for requesting display of a first recommended area matched with a target store, where the first recommended area is used to display a target tag of a target product in the target store;
a second obtaining module 804, configured to respond to the display request, and obtain a recommendation tag displayed in a second recommendation area matched with the reference store, where the reference store and the target store establish a relationship;
a third obtaining module 806, configured to obtain a product with a recommended label from a target store as a target product;
a display module 808, configured to display a target tag of the target product in the first recommendation area.
In the embodiment of the application, by acquiring the recommended label displayed in the second recommended area by the reference shop associated with the target shop, and acquiring the target label corresponding to the target commodity corresponding to the recommended label in the target shop and displaying the target label in the first recommended area, the purpose of determining the target label for recommended display in the target shop is achieved, so that the technical effect of displaying the target label of the target shop in the recommended area is achieved, and the technical problem that the content of the displayed page is single due to the lack of the recommended content is solved.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above tag generation method, where the electronic device may be the terminal device or the server shown in fig. 1. The present embodiment takes the electronic device as a terminal device as an example for explanation. As shown in fig. 9, the electronic device comprises a memory 902 and a processor 904, the memory 902 having stored therein a computer program, the processor 904 being arranged to perform the steps of any of the above-described method embodiments by means of the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop;
s2, responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and a target shop establish a relationship;
s3, acquiring the commodity with the recommended label from the target shop as the target commodity;
s4, a target label of the target product is displayed in the first recommended area.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 9 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 9 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
The memory 902 may be configured to store software programs and modules, such as program instructions/modules corresponding to the tag generation method and apparatus in the embodiments of the present invention, and the processor 904 executes various functional applications and data processing by running the software programs and modules stored in the memory 902, that is, implementing the tag generation method described above. The memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 902 may further include memory located remotely from the processor 904, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The storage 902 may be specifically, but not limited to, used for storing information such as sample characteristics of the item and the target virtual resource account number. As an example, as shown in fig. 10, the memory 1002 may include, but is not limited to, a first obtaining module 802, a second obtaining module 804, a third obtaining module 806, and a display module 808 of the label generating apparatus. In addition, the label generating apparatus may further include, but is not limited to, other module units in the label generating apparatus, which is not described in this example again.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1008 for displaying the information of the order to be processed; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the label generation method provided in the various alternative implementations of the label generation aspect described above. Wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop;
s2, responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and a target shop establish a relationship;
s3, acquiring the commodity with the recommended label from the target shop as the target commodity;
s4, a target label of the target product is displayed in the first recommended area.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A tag generation method, comprising:
the method comprises the steps of obtaining a display request for requesting to display a first recommendation area matched with a target shop, wherein the first recommendation area is used for displaying a target label of a target commodity in the target shop;
responding to the display request, and acquiring a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and the target shop establish a relationship;
acquiring the goods with the recommended labels from the target shops as the target goods;
displaying the target label of the target commodity in the first recommendation area.
2. The method of claim 1, further comprising, before the obtaining the item with the recommended label from the target store as the target item:
performing word segmentation processing on the recommended labels to obtain a plurality of recommended word groups;
acquiring recommended phrase vectors corresponding to the plurality of recommended phrases;
acquiring the distribution weight of each recommended phrase in the recommended label;
and calculating a recommendation vector corresponding to the recommendation label according to the recommended phrase vector and the distribution weight.
3. The method of claim 2, wherein the obtaining the item having the recommended label from the target store as the target item comprises:
acquiring a reference vector corresponding to a commodity label of each commodity in the target shop;
sequentially comparing the reference vector with the recommended vector to obtain the vector distance corresponding to each commodity;
taking the commodity with the vector distance smaller than a first threshold value as a candidate commodity;
and selecting the target commodity from the candidate commodities according to the size of the display area of the first recommendation area.
4. The method of claim 3, wherein the obtaining the reference vector corresponding to the item tag of each item in the target store comprises:
acquiring the commodity label of each commodity in the target shop;
performing word segmentation processing on the commodity label to obtain a plurality of reference word groups;
acquiring reference phrase vectors corresponding to the plurality of reference phrases;
acquiring the reference weight of each of the plurality of reference phrases in the commodity label;
and calculating a reference vector corresponding to the commodity label according to the reference phrase vector and the reference weight.
5. The method according to claim 4, wherein the obtaining of the reference weight of each of the plurality of reference phrases in the product label, and the calculating of the reference vector corresponding to the product label according to the reference phrase vector and the reference weight comprises:
determining the appearance frequency of the reference phrases in the commodity list of the target shop, and determining the phrase weights of the reference phrases according to the appearance frequency of the reference phrases;
calculating the reference weight of the reference phrase in the commodity label according to the respective phrase weights of all the reference phrases in the commodity label;
acquiring a first indication vector of the reference phrase according to the phrase vector of the reference phrase and the reference weight;
acquiring the first indication vectors of all the reference phrases;
and taking the average value of all the first indication vectors as the reference vector.
6. The method of claim 2, wherein the obtaining the assigned weight of each of the plurality of recommended phrases in the recommended tags comprises:
determining the occurrence frequency of the recommended phrases in the commodity list of the reference shop, and determining the phrase weights of the recommended phrases according to the occurrence frequency of the recommended phrases;
and calculating the distribution weight of the recommended phrases in the recommended labels according to the respective phrase weights of all the recommended phrases in the recommended labels.
7. The method of claim 2, wherein the calculating the recommendation vector corresponding to the recommended tag according to the recommended phrase vector and the assigned weight comprises:
acquiring a second indication vector of the recommended phrase according to the phrase vector of the recommended phrase and the distribution weight;
acquiring the second indication vectors of all the recommended phrases;
and taking the average value of all the second indication vectors as the recommendation vector.
8. A label generation apparatus, comprising:
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a display request for requesting to display a first recommendation area matched with a target shop, and the first recommendation area is used for displaying a target label of a target commodity in the target shop;
the second obtaining module is used for responding to the display request and obtaining a recommendation label displayed in a second recommendation area matched with a reference shop, wherein the reference shop and the target shop establish a relationship;
the third acquisition module is used for acquiring the commodity with the recommended label from the target shop as the target commodity;
a display module, configured to display the target tag of the target product in the first recommendation area.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202011019951.5A 2020-09-24 2020-09-24 Label generation method and device, storage medium and electronic equipment Active CN112036988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011019951.5A CN112036988B (en) 2020-09-24 2020-09-24 Label generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011019951.5A CN112036988B (en) 2020-09-24 2020-09-24 Label generation method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112036988A true CN112036988A (en) 2020-12-04
CN112036988B CN112036988B (en) 2023-04-07

Family

ID=73575300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011019951.5A Active CN112036988B (en) 2020-09-24 2020-09-24 Label generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112036988B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704607A (en) * 2021-08-26 2021-11-26 阿里巴巴(中国)有限公司 Recommendation and display method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955465A (en) * 2014-03-28 2014-07-30 百度在线网络技术(北京)有限公司 Method and device for generating recommended page
CN104599153A (en) * 2014-08-29 2015-05-06 腾讯科技(深圳)有限公司 Commodity recommendation method, commodity recommendation server and commodity recommendation terminal
CN105005582A (en) * 2015-06-17 2015-10-28 深圳市腾讯计算机系统有限公司 Recommendation method and device for multimedia information
CN105740415A (en) * 2016-01-29 2016-07-06 张墨琴 Label position weight and self-learning based tendering and bidding good friend recommendation system
US20180005297A1 (en) * 2014-12-26 2018-01-04 China Unionpay Co., Ltd. Analysis and collection system for user interest data and method therefor
CN109308652A (en) * 2018-10-12 2019-02-05 广州快批信息科技有限公司 Wholesale method, system, terminal device and storage medium on line
CN109961345A (en) * 2017-12-22 2019-07-02 财团法人工业技术研究院 Interactive Method of Commodity Recommendation and non-transitory computer-readable medium
CN110246007A (en) * 2019-05-28 2019-09-17 中国联合网络通信集团有限公司 A kind of Method of Commodity Recommendation and device
CN111008336A (en) * 2019-12-23 2020-04-14 腾讯科技(深圳)有限公司 Content recommendation method, device and equipment and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955465A (en) * 2014-03-28 2014-07-30 百度在线网络技术(北京)有限公司 Method and device for generating recommended page
CN104599153A (en) * 2014-08-29 2015-05-06 腾讯科技(深圳)有限公司 Commodity recommendation method, commodity recommendation server and commodity recommendation terminal
US20180005297A1 (en) * 2014-12-26 2018-01-04 China Unionpay Co., Ltd. Analysis and collection system for user interest data and method therefor
CN105005582A (en) * 2015-06-17 2015-10-28 深圳市腾讯计算机系统有限公司 Recommendation method and device for multimedia information
CN105740415A (en) * 2016-01-29 2016-07-06 张墨琴 Label position weight and self-learning based tendering and bidding good friend recommendation system
CN109961345A (en) * 2017-12-22 2019-07-02 财团法人工业技术研究院 Interactive Method of Commodity Recommendation and non-transitory computer-readable medium
CN109308652A (en) * 2018-10-12 2019-02-05 广州快批信息科技有限公司 Wholesale method, system, terminal device and storage medium on line
CN110246007A (en) * 2019-05-28 2019-09-17 中国联合网络通信集团有限公司 A kind of Method of Commodity Recommendation and device
CN111008336A (en) * 2019-12-23 2020-04-14 腾讯科技(深圳)有限公司 Content recommendation method, device and equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704607A (en) * 2021-08-26 2021-11-26 阿里巴巴(中国)有限公司 Recommendation and display method and device and electronic equipment
CN113704607B (en) * 2021-08-26 2023-10-20 阿里巴巴(中国)有限公司 Recommendation and display method and device and electronic equipment

Also Published As

Publication number Publication date
CN112036988B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
JP5962926B2 (en) Recommender system, recommendation method, and program
CN110380954B (en) Data sharing method and device, storage medium and electronic device
CN108960975A (en) Personalized Precision Marketing Method, server and storage medium based on user's portrait
CN109559208A (en) A kind of information recommendation method, server and computer-readable medium
CN103377193B (en) Information providing method, web page server and web browser
CN107527274B (en) Information recommendation platform, device, system, method and terminal
CN110335123B (en) Commodity recommendation method, system, computer readable medium and device based on social e-commerce platform
CN110781307A (en) Target item keyword and title generation method, search method and related equipment
KR20120119813A (en) Online shopping information providing system, apparatus, cloud computing apparatus, and method for providing shopping information thereof
CN108512674B (en) Method, device and equipment for outputting information
CN112036988B (en) Label generation method and device, storage medium and electronic equipment
CN110020184A (en) Information recommendation method, device, electronic equipment and server
CN111784403A (en) User category analysis method and device based on online shopping mall and computer equipment
CN111339438A (en) Friend relation data processing method, server, terminal device and storage medium
CN106779899A (en) The recognition methods of malice order and device
CN108073609B (en) Page display method and device
CN113327154B (en) E-commerce user message pushing method and system based on big data
CN115409583A (en) Platform account processing method, system, computer equipment and medium
CN117668349A (en) Information recommendation method, electronic equipment and server
CN114385931A (en) Method and device for obtaining recommendation form and electronic equipment
JP2018101245A (en) Selection device, selection method, and selection program
CN113297467A (en) Recommendation method, recommendation device and computer storage medium
US20200177688A1 (en) Weighted digital image object tagging
CN111612026A (en) Method, device and system for obtaining evaluation result of product or class
CN112559897B (en) Matching relation identification method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231127

Address after: Unit 5B03, 5th Floor, Building 2, No. 277 Longlan Road, Xuhui District, Shanghai, 200000

Patentee after: SHANGHAI SECOND PICKET NETWORK TECHNOLOGY CO.,LTD.

Address before: Floors 4, 5 and 6, No. 3, Lane 1473, Zhenguang Road, Putuo District, Shanghai, 200333

Patentee before: Shanghai Fengzhi Technology Co.,Ltd.