WO2017107805A1 - 确定商品对象标题文本的方法及装置 - Google Patents
确定商品对象标题文本的方法及装置 Download PDFInfo
- Publication number
- WO2017107805A1 WO2017107805A1 PCT/CN2016/109618 CN2016109618W WO2017107805A1 WO 2017107805 A1 WO2017107805 A1 WO 2017107805A1 CN 2016109618 W CN2016109618 W CN 2016109618W WO 2017107805 A1 WO2017107805 A1 WO 2017107805A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- attribute
- title text
- category
- attribute value
- determining
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Definitions
- the present application relates to the field of product object information processing technology, and in particular, to a method and apparatus for determining a product object title text.
- information about various product objects is usually provided in the client page, including pictures of product objects, title texts, and other text description contents.
- the title text of the product object is very important, and it not only appears in the prominent position such as the first line in the product object detail page, but also displays the summary information of the product object in the product object list page. In the summary information.
- the title text often plays an important role in other related applications. For example, some applications often use the title text of the product object to search, or extract some key attribute information of the product object.
- the title text of the product object is generally provided by the publisher of the product object, and the publisher may input a long string of characters as the title text of the product object in a manner that he likes or uses, and the server saves When the title text of each product object is also saved, a separate character string is also saved. In this way, because it is difficult to regulate the behavior of the publisher, the title text of each product object is expressed in a variety of ways, which is difficult to standardize. In addition, when using the title text for various analysis operations, it can only be based on strings. The operation of word segmentation and semantic recognition is relatively inefficient.
- the present application provides a method and apparatus for determining a title text of a product object, which is advantageous for standardizing the title text of the product object.
- a method of determining the title text of a product object including:
- the attribute values are arranged and combined according to a preset rule to generate a title text of the product object.
- a method of determining the title text of a product object including:
- the client receives a title text attribute editing interface of the target item object provided by the server, where the editing interface includes an identifier of the plurality of attribute fields and a corresponding attribute value editing control, where the attribute field is belonged by the server according to the item object Category determination
- the combination is arranged to generate a title text of the item object.
- a method for determining a relationship between a category and an attribute field including:
- a plurality of attribute fields whose probabilities meet the preset conditions are determined as attribute fields associated with the category and saved.
- a device for determining a title text of a commodity object, applied to a server comprising:
- An attribute field determining unit for targeting the target item object according to the item object a category that determines a plurality of attribute fields associated with the category;
- An attribute field providing unit configured to provide an identifier of the plurality of attribute fields and a corresponding attribute value editing control, so that the client receives the attribute value of each attribute field through the attribute value editing control;
- the attribute value saving unit is configured to receive and save the attribute value corresponding to each attribute field submitted by the client;
- a title text providing unit configured to, when providing the title text of the product object, arrange and combine the attribute values according to a preset rule to generate a title text of the product object.
- a device for determining a title text of a product object, applied to a client comprising:
- the interface receiving unit is configured to receive a title text attribute editing interface of the target product object provided by the server, where the editing interface includes an identifier of the plurality of attribute fields and a corresponding attribute value editing control, where the attribute field is determined by the server according to the The category to which the commodity object belongs is determined;
- An attribute value receiving unit configured to receive an attribute value of each attribute field by using the attribute value editing control
- An attribute value submitting unit configured to submit the attribute value corresponding to each attribute field to a server, so that the server saves the attribute value corresponding to each attribute field, and according to the preset text when providing the title text of the product object
- the rule combines the attribute values to generate a title text of the item object.
- a device for determining a relationship between a category and an attribute field comprising:
- An attribute field determining unit configured to determine an attribute field included in each title text for each commodity object in the same category
- An attribute field holding unit is configured to determine a plurality of attribute fields whose probabilities meet the preset conditions as attribute fields associated with the category and save.
- a method of determining the title text of a product object including:
- the title text is generated using the extracted attribute values.
- An apparatus for determining a title text of a commodity object comprising:
- An attribute information access unit configured to access attribute information of the target item object when the title text of the target item object needs to be provided
- An attribute value extracting unit configured to extract an attribute value on a target attribute field in the attribute information base
- a title text generating unit configured to generate the title text by using the extracted attribute value.
- the present application discloses the following technical effects:
- the title text of the product object can be saved as the attribute value on multiple attribute fields.
- each attribute value is arranged and combined according to a certain rule to generate a title text.
- it is advantageous to standardize the title text of the commodity object, and if it is necessary to perform various analysis operations based on the title text, since the title text has been divided into a plurality of components according to the attribute field, it can be more convenient and efficient, and is also advantageous. Make the results of the analysis more accurate.
- FIG. 1 is a flowchart of a first method provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of an editing interface provided by an embodiment of the present application.
- FIG. 3 is a flowchart of a second method provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a first device according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a second device provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a third device provided by an embodiment of the present application.
- FIG. 9 is a schematic diagram of a fourth apparatus provided by an embodiment of the present application.
- the title text of the product object can be made more standardized, and since the content of the title text includes attribute values on a plurality of attribute fields, it is also saved as each attribute field and its corresponding attribute value when saving, so If you need to get some information by analyzing the content of the title text, you can The analysis of each attribute field and its corresponding attribute value can improve the efficiency and improve the accuracy.
- the specific implementation is described below.
- this embodiment first provides a method for determining the title text of a product object from the perspective of a server, and the method may include the following steps:
- the server determines, according to the category to which the commodity object belongs, a plurality of attribute fields associated with the category object, for the target commodity object;
- the target item object may be an item object that is currently required to be published, or may be an item object that has been published but needs to be edited for the title text information, and the like.
- the specific object category to which the product object is posted is often selected first. Therefore, the item object to be published belongs to the selected category information. Category.
- a plurality of attribute fields to be displayed in the title text may be determined based on the category to which the commodity object to be published belongs. That is, for different product object categories, the attribute fields that need to be displayed in the title text can be different. For example, for a commodity object of a wine category, the attribute fields provided may include: brand name, wine type, grape type, production area, and the like.
- the attribute fields provided may include: brand name, series, taste, packaging method, and the like.
- the attribute fields provided may include: brand name, type of facial tissue, model number, number of draws, and the like.
- the association relationship between the specific product object category and the attribute field may be pre-created, and the specific creation manner may be multiple, for example, may be manually created by a technician according to actual needs, or may be Created by means of big data analysis.
- the title text of each published product object may be analyzed.
- the title text of the published product objects is usually provided in a conventional manner, that is, a title text.
- Corresponds to a long string which may include information such as brand name, product name, and origin. Specifically, it can be the same class
- the title text of each commodity object is analyzed, and each attribute field appearing therein is determined, and then the attribute field whose number of occurrences meets certain conditions is determined as the field associated with the category.
- the title text may first be segmented to obtain a plurality of words/phrases; thereafter, since in the prior art, for the published product objects, various product parameters are usually also provided. Information, which includes attributes and attribute values in multiple dimensions; and the content contained in the title text of the product object may be related to these product parameters, so after segmentation of the title text to get multiple words/phrases, Each word/phrase can be textually or semantically matched to each product parameter, and if it matches one of the parameters, it can be determined that the word/phrase belongs to the attribute dimension corresponding to the parameter.
- the word segmentation result can be: A1 brand / super tough series / soft pack pumping Paper / 3 layers / 130 pumping / 6 packs / paper towels / family pack.
- the product parameters of the paper towel include:
- the attributes appearing in the title text include: brand name, model number, type of facial tissue, number of draws, and specifications.
- the title text can also be segmented according to the above manner, and then the genus corresponding to each segmentation result is determined.
- Sexual dimension the probability of occurrence of each attribute dimension is counted, and the most frequently appearing attribute dimensions are determined as the attribute field to be displayed in the title text of the category commodity object in the embodiment of the present application.
- the title text of a product object under the shampoo category is: B1 brand anti-dandruff shampoo 750ml
- the word segmentation result can be: B1 brand / anti-dandruff shampoo / 750ml
- the product parameters of the product object include:
- the above analysis can be performed on the title text of other commodity objects under the shampoo category, and finally determine several attribute dimensions that often appear in the title text of the shampoo category, and serve as the title text for the shampoo category. Multiple attribute fields to be displayed.
- the saved information can be as shown in Table 1 below:
- the attribute fields associated with each category are counted by the above method, various possible attribute values of the respective attribute fields may also be counted.
- the attribute fields that often appear in the title text include: brand name, facial tissue type, specifications, and the like.
- the probability of occurrence of the three brand names A1, A2, and A3 is the highest, so the common attribute values of the attribute field can be configured as A1, A2, and A3.
- tissue type field common attribute values include: soft pack paper, boxed paper, handkerchief paper, roll paper, wet wipes, so the common attribute values of the attribute field can be configured as the above, etc. Wait.
- the attribute fields to be displayed include: brand name, wine type, grape type, origin, country.
- the common attribute values under each attribute field can be determined.
- the brand name field may include C1, C2, C3, etc.
- common attribute values include: dry red, semi-dry red, sweet red, sweet white, etc.
- in the grape type field common attribute values Including: Cabernet Sauvignon, Cabernet Franc, Merlot, Carignan, etc.
- in the field of origin common attribute values include: Bordeaux, Burgundy, Champagne, South Australia, etc.
- common attribute values include: Italy, France, Spain, Chile, etc.
- the specific form of the database may be various, for example, each category corresponds to a database table for preservation, and the like.
- each category corresponds to a database table for preservation, and the like.
- various common attribute values may be provided as the candidate attribute values, so that the slave attribute values may be used.
- the method of selection determines the attribute value of the currently published product object on an attribute field, and does not need to be input by keyboard typing. Therefore, the efficiency can be improved, and the expression manner of the attribute value on each attribute field is more favorable.
- S102 providing an identifier of the multiple attribute fields and a corresponding attribute value editing control, so that the client receives the attribute value of each attribute field by using the attribute value editing control;
- the client may be provided with the identifier of the multiple attribute fields of the association and the corresponding attribute value editing control.
- the attribute field identifier may refer to the name of the attribute field, for example, the aforementioned “brand name”, “mena type”, “net content”, etc., and the text itself is an identifier of the attribute field. Also available for each The attribute field is an edit control for attribute value editing.
- the specific edit control can be an input control, or it can be a selection control.
- the so-called input control may be an input box or the like, and the editor may input a specific attribute value about the current product object into the corresponding input box according to the prompt of the attribute list identifier.
- the specific attribute values need to be input through a character input tool such as a keyboard, and the efficiency is relatively low.
- different editors may have different expressions for the same attribute value. For example, for the specification of a paper towel, some editors may describe it as “three layers”, and some may describe it as "three layers", etc., this difference in expression will result in different product objects. , not uniform in the title text.
- the edit control of the attribute value may exist in the form of a selection control. That is to say, when providing various attribute field identifiers, various common attribute values under each attribute field may be separately provided as candidates, and selection controls are respectively provided for each candidate, so that the attribute values corresponding to the respective fields are edited. You can choose from the candidates. Obviously, this can improve the efficiency of editing, and also the description of attribute values is more standardized and unified.
- the determination may be made according to the database described in Table 2 introduced in the foregoing step S101.
- the attribute value of the current product object to be published under each attribute field may not be a common attribute value, and does not appear in the attribute value candidate, so it is also possible to provide "other" for each attribute field separately.
- a wine category is taken as an example, and a schematic diagram of a property editing interface provided by the server is given.
- the names of the attribute fields associated with the category in Table 2 are displayed, and the candidates under the respective attribute fields are respectively provided, and the "Other" option is also provided for each attribute field.
- the correspondence between the item object identifier and the attribute value on each field can be saved. That is to say, in the embodiment of the present application, the attribute value of each attribute field may be directly saved instead of being saved as a title text in the form of a string.
- the attribute values are arranged and combined by a certain rule to generate the title text, and then displayed.
- the title information about each commodity object saved in the database can be as shown in Table 3 below:
- each attribute field provided by the server, it is not necessary to edit each attribute field.
- the product object shown in the third row belongs to the wine category.
- the attribute field of the product object does not include the attribute field of "origin".
- some attribute fields can also be set as required/required, and other attribute fields are not mandatory for editing.
- the attribute values may be arranged and combined according to a preset rule to generate a specific title text.
- the preset rules can define each attribute field that needs to be displayed in the title text, and the order between the individual attribute fields.
- the corresponding rules may be set for different categories in advance, wherein the rules corresponding to different categories may be the same or different.
- the category to which the commodity object belongs may be determined first, and then the target preset rule is determined by querying the correspondence between the pre-established category and the preset rule, and then the attribute is selected according to the target preset rule.
- the values are arranged in combination to generate a title text of the item object.
- each category and a specific rule may be pre-stored in the form of Table 4 below.
- the attribute value of each attribute field associated with the title text of the product object may be determined according to Table 3. For example, if the product object ID is 100003, the reading may be read from Table 3. Take the following attribute information:
- the category to which the commodity object belongs is a wine category
- the table 4 can be queried to determine that the title text generation rule corresponding to the category is: [country, origin, brand name, grape type, wine type ].
- the title text of the product object can be generated according to the rule: Italian C1 Cabernet Sauvignon.
- the rules corresponding to the respective categories may be preset according to actual needs.
- the same product object may be displayed on different pages, for example, some may be displayed in the portal page of the client's home page, a certain channel, the entrance of a theme, or the like, or It may be displayed in a search, query, etc. list page, or it may need to be displayed in the details page, and so on.
- Different types of pages correspond to different application scenarios, and there may be different requirements when displaying the title text of the product object. Therefore, in the embodiment of the present application, when the title text generation rule is prepared in advance, different rules may be specified from the page type dimension.
- the same commodity object of the wine category can be used to create different title text generation rules for the client home page, the theme special entrance, and the detail page.
- the current page type can be determined, and then the correspondence between the pre-established category, the page type, and the preset rule is queried.
- the relationship is determined by the target preset rule, and then the attribute values are arranged and combined according to the target preset rule to generate a title text of the product object.
- the title text of the product object can be saved as an attribute value on multiple attribute fields.
- each attribute value is arranged and combined according to a certain rule to generate a title. text.
- the second embodiment is corresponding to the first embodiment.
- a method for determining the title text of the product object is provided from the perspective of the client. Referring to FIG. 3, the method may include the following steps:
- the client receives a title text attribute editing interface of the target item object provided by the server, where the editing interface includes an identifier of the plurality of attribute fields and a corresponding attribute value editing control, where the attribute field is determined by the server according to the product object.
- the category to which it belongs is determined;
- S302 Receive an attribute value of each attribute field by using the attribute value editing control
- S303 Submit the attribute values corresponding to the respective attribute fields to the server, so that the server saves the attribute values corresponding to the respective attribute fields, and when the title text of the product object is provided, the attributes are according to a preset rule. The values are arranged in combination to generate a title text of the item object.
- the second embodiment is corresponding to the first embodiment, and is only different in the description. Therefore, the related specific implementation may be referred to in the first embodiment, and details are not described herein again.
- the third embodiment provides a method for determining a relationship between a category and an attribute field.
- the method may include the following steps:
- S403 Determine a plurality of attribute fields whose probabilities meet the preset conditions as the attribute fields associated with the category and save.
- the title text when determining the attribute field included in each title text, the title text may be subjected to word segmentation processing, and then each word/phrase obtained by the word segmentation and each attribute field included in the parameter information of the corresponding product object and corresponding The attribute values are compared. If a certain word/phrase is successfully matched with an attribute value, it is determined that the title text contains information of the corresponding attribute field.
- the embodiment of the present application further provides an apparatus for determining a title text of a commodity object, which is applied to a server.
- the apparatus may include:
- An attribute field determining unit 501 configured to target the item object, according to the item object The category to which it belongs, determining a plurality of attribute fields associated with the category;
- An attribute field providing unit 502 configured to provide an identifier of the plurality of attribute fields and a corresponding attribute value editing control, so that the client receives the attribute value of each attribute field by using the attribute value editing control;
- the attribute value holding unit 503 is configured to receive and save the attribute value corresponding to each attribute field submitted by the client;
- the title text providing unit 504 is configured to, when providing the title text of the product object, arrange and combine the attribute values according to a preset rule to generate a title text of the product object.
- the attribute value edit control includes an input control to input the attribute value through the control.
- the attribute value editing control includes a selection control, wherein each selection control corresponds to one attribute value candidate.
- the title text providing unit is specifically configured to:
- the preset rule is used to define an attribute field displayed in the title text and an order relationship between the attribute fields.
- the title text providing unit includes:
- a first category determining subunit for determining a category to which the commodity object belongs
- a first query sub-unit configured to determine a target preset rule by querying a correspondence between a pre-established category and a preset rule
- a first generating subunit configured to perform the sorting and combining the attribute values according to the target preset rule to generate a title text of the product object.
- the title text providing unit includes
- a second category determining subunit for determining a category to which the item object belongs, and a page type of the current page
- a second query sub-unit configured to determine a target preset rule by querying a correspondence between a pre-established category, a page type, and a preset rule
- a second generation subunit configured to perform the arrangement and combination of the attribute values according to the target preset rule to generate a title text of the product object.
- the embodiment of the present application further provides an apparatus for determining a title text of a commodity object, which is applied to a client.
- the apparatus may include:
- the interface receiving unit 601 is configured to receive a title text attribute editing interface of the target product object provided by the server, where the editing interface includes an identifier of the plurality of attribute fields and a corresponding attribute value editing control, where the attribute field is determined by the server Determining the category to which the commodity object belongs;
- the attribute value receiving unit 602 is configured to receive the attribute value of each attribute field by using the attribute value editing control
- the attribute value submitting unit 603 is configured to submit the attribute values corresponding to the respective attribute fields to the server, so that the server saves the attribute values corresponding to the respective attribute fields, and according to the preset when providing the title text of the product object
- the rules combine the attribute values to generate a title text of the item object.
- the embodiment of the present application further provides an apparatus for determining a relationship between a category and an attribute field.
- the apparatus may include:
- the attribute field determining unit 701 is configured to determine, according to each commodity object in the same category, an attribute field included in each title text;
- the statistic unit 702 is configured to count the title text of the commodity object of each attribute field under the category Probability of occurrence
- the attribute field holding unit 703 is configured to determine a plurality of attribute fields whose probabilities meet the preset condition as the attribute fields associated with the category and save.
- the comparison sub-unit is configured to compare each word/phrase obtained by the word segment with each attribute field and corresponding attribute value included in parameter information of the corresponding product object, and if a certain word/phrase matches the attribute value successfully, Then determining that the title text includes information corresponding to the attribute field.
- the device may further include:
- the attribute value holding unit is configured to determine, in the title text of the product object under the category, a plurality of attribute values whose occurrence probability on the associated attribute field meets the preset condition, and save.
- the device may further include:
- the rule saving unit is configured to save a title text generating rule corresponding to the category, where the rule is used to define an attribute field displayed in the title text and an order relationship between the attribute fields.
- the same category corresponds to different title text generation rules under different page types.
- the title text of the product object can be saved as the attribute value on multiple attribute fields.
- each attribute value is arranged and combined according to a certain rule to generate a title text.
- it is advantageous to standardize the title text of the commodity object, and if it is necessary to perform various analysis operations based on the title text, since the title text has been divided into a plurality of components according to the attribute field, it can be more convenient and efficient, and is also advantageous. Make the results of the analysis more accurate.
- the value of each field used to construct the title text may be provided by the product object issuer in the manner described above when the product object is published.
- the attribute information list is usually provided by the publisher when the commodity object is issued, and is usually used in the commodity pair.
- the details page of the icon is displayed. Therefore, another method for determining the title text of the product object is provided in the embodiment of the present application. Referring to FIG. 8, the method may include the following steps:
- S801 accessing attribute information of the target commodity object when the title text of the target commodity object needs to be provided;
- the attribute information of the product object is usually stored in the product object information base, and the specific attribute information can be accessed by accessing the product object information base.
- the specific extraction of the attribute values on the attribute fields may be predetermined, and depending on the category of the item to which the item belongs, or the page type of the title text to be displayed, the corresponding attribute field or the order between the fields may also be Different, for details, refer to the introduction in the foregoing embodiment.
- the embodiment of the present application further provides an apparatus for determining a title text of a commodity object.
- the apparatus may include:
- the attribute information access unit 901 is configured to access attribute information of the target item object when the title text of the target item object needs to be provided;
- the attribute value extracting unit 902 is configured to extract an attribute value on the target attribute field in the attribute information base;
- the title text generating unit 903 is configured to generate the title text by using the extracted attribute value.
- the present application can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, diskette, optical disk, etc., comprising instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of the present application. .
- a computer device which may be a personal computer, server, or network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种确定商品对象标题文本的方法及装置,其中,该方法包括:服务器针对目标商品对象,按照所述商品对象所属的类目,确定所述类目关联的多个属性字段(S101);提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值(S102);接收客户端提交的各个属性字段对应的属性值并保存(S103);在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本(S104)。本方法有利于规范商品对象的标题文本。
Description
本申请涉及商品对象信息处理技术领域,特别是涉及确定商品对象标题文本的方法及装置。
在电子商务交易平台中,通常会在客户端页面中提供各种商品对象的相关信息,包括商品对象的图片、标题文本以及其他文本描述内容等等。其中,商品对象的标题文本是很重要的,其不仅会出现在商品对象详情页面的中第一行等醒目位置,在商品对象列表页面中展示商品对象的摘要信息时,标题文本也会出现在该摘要信息中。另外,标题文本在其他的相关应用中往往也会起到重要的作用,例如,一些应用经常会利用商品对象的标题文本进行搜索,或者进行商品对象一些关键属性信息的提取等等。
在现有技术中,商品对象的标题文本一般是由商品对象的发布者提供的,发布者可能会使用其喜欢或者惯用的方式,输入一长串的字符作为商品对象的标题文本,服务器在保存各个商品对象的标题文本时,也都是分别保存一个字符串。这种方式下,由于很难规范发布者的行为,因此,各个商品对象的标题文本表达方式五花八门,难以做到规范化;另外,在利用标题文本进行各种分析操作时,也只能基于字符串进行分词、语义识别等操作,效率比较低。
因此,如何更有效得规范商品对象的标题文本,同时,也使得标题文本中的内容能够更高效得被利用,成为需要本领域技术人员解决的技术问题。
发明内容
本申请提供了确定商品对象标题文本的方法及装置,有利于规范商品对象的标题文本。
本申请提供了如下方案:
一种确定商品对象标题文本的方法,包括:
服务器针对目标商品对象,按照所述商品对象所属的类目,确定所述类目关联的多个属性字段;
提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;
接收客户端提交的各个属性字段对应的属性值并保存;
在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
一种确定商品对象标题文本的方法,包括:
客户端接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;
通过所述属性值编辑控件接收各个属性字段的属性值;
将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
一种确定类目与属性字段关联关系的方法,包括:
针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;
统计各属性字段在该类目下商品对象的标题文本中出现的概率;
将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段并保存。
一种确定商品对象标题文本的装置,应用于服务器,包括:
属性字段确定单元,用于针对目标商品对象,按照所述商品对象所属
的类目,确定所述类目关联的多个属性字段;
属性字段提供单元,用于提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;
属性值保存单元,用于接收客户端提交的各个属性字段对应的属性值并保存;
标题文本提供单元,用于在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
一种确定商品对象标题文本的装置,应用于客户端,包括:
界面接收单元,用于接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;
属性值接收单元,用于通过所述属性值编辑控件接收各个属性字段的属性值;
属性值提交单元,用于将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
一种确定类目与属性字段关联关系的装置,包括:
属性字段确定单元,用于针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;
统计单元,用于统计各属性字段在该类目下商品对象的标题文本中出现的概率;
属性字段保存单元,用于将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段并保存。
一种确定商品对象标题文本的方法,包括:
在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;
提取所述属性信息库中目标属性字段上的属性值;
利用所述提取出的属性值生成所述标题文本。
一种确定商品对象标题文本的装置,包括:
属性信息访问单元,用于在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;
属性值提取单元,用于提取所述属性信息库中目标属性字段上的属性值;
标题文本生成单元,用于利用所述提取出的属性值生成所述标题文本。
根据本申请提供的具体实施例,本申请公开了以下技术效果:
通过本申请实施例,可以将商品对象的标题文本保存为多个属性字段上的属性值,在需要展示商品对象标题文本时,再按照一定的规则将各个属性值进行排列组合,生成标题文本。这样,有利于规范商品对象的标题文本,并且,如果需要基于标题文本进行各种分析操作,则由于已经按照属性字段将标题文本划分成多个组成部分,因此,可以更加方便高效,也有利于使得分析的结果更为准确。
当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的第一方法的流程图;
图2是本申请实施例提供的编辑界面的示意图;
图3是本申请实施例提供的第二方法的流程图;
图4是本申请实施例提供的第三方法的流程图;
图5是本申请实施例提供的第一装置的示意图;
图6是本申请实施例提供的第二装置的示意图;
图7是本申请实施例提供的第三装置的示意图;
图8是本申请实施例提供的第四方法的流程图;
图9是本申请实施例提供的第四装置的示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
在本申请实施例中,为了更好地规范商品对象的标题文本,也便于根据各种不同的需求来对标题文本进行调整,可以根据商品对象的具体类目,提供多个待编辑的属性字段,这样,商家用户或者销售平台中的工作人员在为商品对象提供标题文本时,不再需要自行输入一长串的字符,而是可以分别为各个属性字段提供具体的属性值,服务器可以对保存这些属性值,在提供展示商品对象的标题文本时,再按照一定的规则对各个属性值进行排列组合,即可生成用于展示的标题文本。通过这种方式,可使得商品对象的标题文本更加规范化,并且,由于标题文本的内容包括多个属性字段上的属性值,在保存时也是分别保存为各个属性字段及其对应的属性值,因此,如果需要通过对标题文本内容的分析而获得一些信息时,就可以直
接对各个属性字段及其对应的属性值进行分析,这样可以在提高效率的同时,也提高准确度。下面对具体的实现方式进行介绍。
实施例一
参见图1,该实施例一首先从服务器的角度,提供了一种确定商品对象标题文本的方法,该方法可以包括以下步骤:
S101:服务器针对目标商品对象,按照所述商品对象所属的类目,确定所述类目关联的多个属性字段;
其中,所述目标商品对象可以是当前正在需要被发布的商品对象,或者还可以是已发布但是需要对标题文本信息进行编辑的商品对象,等等。具体实现时,对于已发布或者待发布的商品对象,往往会先选定将该商品对象发布到哪个具体的类目下,因此,就可以根据选定的类目信息确定待发布的商品对象所属的类目。进而,可以基于该待发布的商品对象所属的类目,确定出标题文本中待展示的多个属性字段。也就是说,对于不同的商品对象类目,需要在标题文本中展示的属性字段可以是不同的。例如,对于葡萄酒类目的商品对象,提供的属性字段可以包括:品牌名称、葡萄酒类型、葡萄类型、产区等。又如,对于食品类目的商品对象,提供的属性字段可以包括:品牌名称、系列、口味、包装方式等。再如,对于面巾纸类目的商品对象,提供的属性字段可以包括:品牌名称、面巾纸种类、型号、抽数等。
具体实现时,关于具体商品对象类目与属性字段的关联关系可以是预先创建的,具体的创建方式可以有多种,例如,可以是由技术人员根据实际的需求等手动创建,或者,还可以通过大数据分析的方式进行创建。
其中,在数据分析的方式下,可以是对已发布的各个商品对象的标题文本进行分析,当然,这些已发布的商品对象的标题文本通常还是按照传统的方式提供的,也即,一个标题文本对应一个长的字符串,其中可能包括了品牌名称、商品名、产地等多方面的信息。具体的,可以是对同一类
目下的各个商品对象的标题文本进行分析,确定出其中出现的各个属性字段,然后将出现次数符合一定条件的属性字段确定为该类目关联的字段。
其中,在确定一个标题文本中包含哪些属性字段时,可以有多种实现方式。例如,在其中一种实现方式下,首先可以对标题文本进行分词,得到多个词语/短语;之后,由于在现有技术中,对于已发布的商品对象,通常也会提供其各种产品参数信息,其中就包括多个维度上的属性及属性值;而商品对象的标题文本中包含的内容可能会有与这些产品参数有关,因此,在对标题文本进行分词得到多个词语/短语后,可以将各个词语/短语与各个产品参数进行文本或者语义匹配,如果与其中某个参数相匹配,则可以确定该词语/短语属于该参数对应的属性维度。
例如,假设纸巾类目下某商品对象的标题文本为“A1品牌超韧系列软包抽纸3层130抽6包纸巾家庭装”,分词结果可以为:A1品牌/超韧系列/软包抽纸/3层/130抽/6包/纸巾/家庭装。同时,该纸巾的产品参数包括:
品牌名称:A1
型号:超韧系列
是否量贩装:否
面巾纸种类:软包面巾纸
抽数:130抽
规格:三层133mm×195mm/张6包
然后,将各个分词结果与上述产品参数进行比对,可以确定出各个分词结果与产品参数的对应关系为:
A1品牌(品牌名称)/超韧系列(型号)/软包抽纸(面巾纸种类)/3层(规格)/130抽(抽数)/6包(规格)/纸巾/家庭装
可见,该标题文本中出现的属性包括:品牌名称、型号、面巾纸种类、抽数、规格。类似的,对于其他的同属于面巾纸类目的商品对象,也可以按照上述方式对其标题文本进行分词,然后确定出各个分词结果对应的属
性维度。最后,再对各个属性维度出现的概率进行统计,确定出最常出现的若干个属性维度,作为本申请实施例中该类目商品对象的标题文本中待展示的属性字段。
又如,洗发水类目下某商品对象的标题文本为:B1品牌去屑洗发露750ml,分词结果可以为:B1品牌/去屑洗发露/750ml,该商品对象的产品参数包括:
功效:深度清洁滋润
品牌名称:B1品牌
型号:男士活力运动薄荷型去屑洗发露
是否量贩装:否
净含量:750ml
规格:常规单品
然后,将各个分词结果与上述产品参数进行比对,可以确定出各个分词结果与产品参数的对应关系为:
B1品牌(品牌名称)/去屑洗发露(型号)/750ml(净含量)
同样的,也可以对洗发水类目下其他商品对象的标题文本进行上述分析,并最终确定出洗发水类目的标题文本中常出现的若干个属性维度,并作为该洗发水类目的标题文本中待展示的多个属性字段。
在确定出各个类目的标题文本关联的多个属性字段后,可以在数据库中进行保存,例如,保存的信息可以如以下表1所示:
表1
| 类目标识 | 属性字段 |
| 纸巾 | 品牌名称,面巾纸种类,抽数、规格 |
| 洗发水 | 品牌名称,型号,净含量 |
| 葡萄酒 | 品牌名称,葡萄酒类型、葡萄类型、产地、国家 |
| …… | …… |
另外,在利用上述方式统计出各个类目关联的属性字段的同时,还可以对各个属性字段的各种可能的属性值进行统计。例如,在前述纸巾类目的例子中,常出现在标题文本中的属性字段包括:品牌名称、面巾纸种类、规格等。经过统计发现,在品牌名称字段,以A1、A2、A3等三个品牌名称出现的概率最高,于是,可以将该属性字段的常见属性值配置为A1、A2、A3。类似的,对于面巾纸种类字段,常见的属性值包括:软包抽纸、盒装抽纸、手帕纸、卷纸、湿巾,于是可以将该属性字段的常见属性值配置为上述几种,等等。
又如,对于葡萄酒类目,通过上述方式确定出,该类目的商品对象的标题文本中,待展示的属性字段包括:品牌名称、葡萄酒类型、葡萄类型、产地、国家。而通过已经发布的葡萄酒类目下的各个商品对象,可以确定出各个属性字段下常见的属性值。例如,在品牌名称字段可以包括C1、C2、C3等等;在葡萄酒类型字段,常见的属性值包括:干红、半干红、甜红、甜白等;在葡萄类型字段,常见的属性值包括:赤霞珠、品丽珠、梅鹿辄、佳丽酿等;在产地字段,常见的属性值包括:波尔多、布根地、香槟地区、南澳等;在国家字段,常见的属性值包括:意大利、法国、西班牙、智利等。
在确定出各个类目关联的属性字段,以及各个字段下常见的属性值之后,可以在数据库中进行保存,此时,数据库中保存的信息可以如以下表2所示:
表2
当然,在具体实现时,数据库的具体形式可以有多种,例如,每个类目对应一个数据库表进行保存,等等。总之,在保存了上述常见属性值的情况下,后续步骤S102中在向客户端提供各个属性字段信息时,还可以提供各种常见的属性值作为候选属性值,这样,可以通过从属性值中选择的方式来确定当前发布的商品对象在某属性字段上的属性值,而不需要通过键盘打字的方式输入,因此,可以提高效率,也更有利于规范各属性字段上属性值的表达方式。
S102:提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;
在确定出当前商品对象所属类目关联的属性字段后,可以向客户端提供该关联的多个属性字段的标识及对应的属性值编辑控件。其中,属性字段标识就可以是指属性字段的名称,例如,前述“品牌名称”、“面巾纸种类”、“净含量”等等,这些文本本身是属性字段的标识。另外还提供用于对各个
属性字段进行属性值编辑的编辑控件。
其中,具体的编辑控件可以是输入控件,或者,也可以是选择控件。其中,所谓的输入控件就可以是输入框等,编辑者可以根据属性列表标识的提示,向对应的输入框中输入关于当前商品对象的具体属性值。当然,这种方式下,具体的属性值需要通过键盘等字符输入工具进行输入,效率会比较低,另外,对于同一属性值,不同的编辑者可能会有不同的表达方式。例如,对于某纸巾的规格,有的编辑者可能会描述为“三层”,有的则可能描述为“3层”,等等,这种表达方式的不同,会使得不同的商品对象之间,在标题文本上不够统一。因此,为了提高属性值的编辑效率,也更好地统一同一属性值在标题文本的描述方式,在本申请实施例中,属性值的编辑控件可以是以选择控件的形式存在。也就是说,在提供各个属性字段标识时,还可以分别提供各个属性字段下各种常见的属性值作为候选项,并分别为各个候选项提供选择控件,这样,在编辑各个字段对应的属性值时,就可以从候选项中进行选择。显然,这样可以提高编辑的效率,并且也是的属性值的描述更加规范统一。
其中,在提供属性值候选项时,就可以根据前述步骤S101中所介绍的表2中所述的数据库进行确定。当然,在实际应用中,当前待发布的商品对象在各个属性字段下的属性值可能不是常见的属性值,未出现在属性值候选项中,因此,还可以分别为各个属性字段提供“其他”选项,如果各个属性值候选项中不存在匹配的属性值,则可以通过点击该“其他”选项,给出更多的候选项,或者,直接给出输入控件,由编辑者输入具体的属性值。
如图2所示,在该图中,以葡萄酒类目为例,给出了服务器提供的属性编辑界面示意图。其中,展示出了表2中该类目关联的各个属性字段的名称,并且,分别提供了各个属性字段下的候选项,另外还分别为各个属性字段提供了“其他”选项。
当然,在实际应用中,还可以提供自定义属性字段编辑控件,如果编辑者还需要在标题文本中展示其他自定义的属性信息,则可以通过该控件
进行输入。例如,对于葡萄酒类目,编辑者可能还需要在标题文本中展示“年份”字段,则可以通过该控件输入该字段的名称以及具体的年份属性值,等等。
S103:接收客户端提交的各个属性字段对应的属性值并保存;
在接收到各个属性字段对应的属性值后,就可以保存商品对象标识与各个字段上的属性值之间的对应关系。也就是说,在本申请实施例中,可以直接对各个属性字段的属性值进行保存,而不是保存为一个字符串形式的标题文本。后续在需要展示商品对象的标题文本时,再利用一定的规则对这些属性值进行排列组合,生成标题文本,再进行展示。
具体实现时,在数据库中保存的关于各个商品对象的标题信息可以如以下表3所示:
表3
需要说明的是,在具体对服务器提供的各个属性字段进行属性值编辑时,可以不必对每个属性字段都进行编辑,例如,前述表3中,第三行中示出的商品对象属于葡萄酒类目,但是该商品对象的属性信息中,不包括“产地”这一属性字段。在具体实现时,还可以将部分属性字段置为必填项/必选项,其他的属性字段则不强制进行编辑。
S104:在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
在实际需要提供商品对象标题文本时,例如,需要在前端页面中展示商品对象标题时,就可以按照预置的规则将属性值进行排列组合,生成具体的标题文本。其中,预置规则中就可以定义各个需要在标题文本中展示的属性字段,以及各个属性字段之间的顺序。其中,可以预先为不同的类目设置对应的规则,其中,不同类目对应的规则可以相同,也可以不同。具体实现时,可以首先确定商品对象所属的类目,然后通过查询预先建立的类目与预置规则之间的对应关系,确定目标预置规则,再按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
具体实现时,可以通过以下表4的形式预先保存各个类目与具体规则之间的对应关系。
表4
| 类目标识 | 规则 |
| 纸巾 | [品牌名称,面巾纸种类,抽数,规格] |
| 洗发水 | [品牌名称,型号,净含量)] |
| 葡萄酒 | [国家,产地,品牌名称,葡萄类型,葡萄酒类型] |
| …… | …… |
这样,具体在生成某商品对象的标题文本时,首先可以根据表3确定出该商品对象的标题文本关联的各个属性字段的属性值,例如,商品对象ID为100003,则可以从表3中读取出以下属性信息:
品牌名称:C1,葡萄酒类型:干红,葡萄类型:赤霞珠,国家:意大利
同时,还可以确定出该商品对象所属的类目为葡萄酒类目,然后可以查询表4,确定出该类目对应的标题文本生成规则为:[国家,产地,品牌名称,葡萄类型,葡萄酒类型]。这样,就可以按照该规则将该商品对象的标题文本生成为:意大利C1赤霞珠干红葡萄酒。
其中,关于各个类目对应的规则可以是根据实际的需求来预先设定的。另外,在实际应用中,同一商品对象可能会在不同的页面中被展示,例如,有的可能会在客户端首页、某频道、某主题专场的入口等入口型页面中被展示,或者,还可能在搜索、查询等列表页面中展示,或者还可能需要在详情页面中被展示,等等。不同类型的页面对应着不同的应用场景,在其中展示商品对象的标题文本时可能会有不同的需求。为此,本申请实施例在预先制定标题文本生成规则时,还可以从页面类型维度指定不同的规则。例如,同样是葡萄酒类目的商品对象,可以分别为客户端首页、主题专场入口、详情页面制定不同的标题文本生成规则。这样,在某页面中展示某商品对象时,除了确定该商品对象所属的类目,还可以确定出当前的页面类型,然后通过查询预先建立的类目、页面类型与预置规则之间的对应关系,确定目标预置规则,再按照所述目标预置规则将所述属性值进行排列组合,生成商品对象的标题文本。
例如,对于葡萄酒类目,对应的规则可以通过以下表5的形式保存:
表5
这样,对于同一商品对象,在不同类型的页面中展示时,可以按照不同的规则组合生成不同的标题文本,而不需要预先分别为不同的页面保存不同的标题文本,因此,实现过程更为灵活,也有利于节省存储空间。
总之,通过本申请实施例,可以将商品对象的标题文本保存为多个属性字段上的属性值,在需要展示商品对象标题文本时,再按照一定的规则将各个属性值进行排列组合,生成标题文本。这样,有利于规范商品对象的标题文本,并且,如果需要基于标题文本进行各种分析操作,则由于已经按照属性字段将标题文本划分成多个组成部分,因此,可以更加方便高效,也有利于使得分析的结果更为准确。
实施例二
该实施例二是与实施例一相对应的,从客户端的角度提供了一种确定商品对象标题文本的方法,参见图3,该方法可以包括以下步骤:
S301:客户端接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;
S302:通过所述属性值编辑控件接收各个属性字段的属性值;
S303:将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
该实施例二是与实施例一相对应的,仅是在描述的角度上有所不同,因此,相关的具体实现参见实施例一中的介绍即可,这里不再赘述。
实施例三
该实施例三提供了一种确定类目与属性字段关联关系的方法,参见图4,该方法可以包括以下步骤:
S401:针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;
S402:统计各属性字段在该类目下商品对象的标题文本中出现的概率;
S403:将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段并保存。
其中,具体在确定各标题文本中包含的属性字段时,可以对其标题文本进行分词处理,然后将分词得到的各个词语/短语,与对应商品对象的参数信息中包含的各个属性字段以及对应的属性值进行比对,如果某词语/短语与某属性值匹配成功,则确定所述标题文本中包含对应属性字段的信息。
为了能够提供各个属性字段下的属性值候选项,还可以确定该类目下商品对象的标题文本中,在所述关联的属性字段上的出现概率符合预置条件的多个属性值,并保存。另外,还可以保存该类目对应的标题文本生成规则,所述规则中用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。其中,同一类目在不同页面类型下可以对应不同的标题文本生成规则。
需要说明的是,关于该实施例三中的具体实现,在实施例一中已经进行了相关的介绍,因此,参见实施例一中的记载即可,这里不再赘述。
与实施例一相对应,本申请实施例还提供了一种确定商品对象标题文本的装置,应用于服务器,参见图5,该装置可以包括:
属性字段确定单元501,用于针对目标商品对象,按照所述商品对象
所属的类目,确定所述类目关联的多个属性字段;
属性字段提供单元502,用于提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;
属性值保存单元503,用于接收客户端提交的各个属性字段对应的属性值并保存;
标题文本提供单元504,用于在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
其中,所述属性值编辑控件包括输入控件,以便通过该控件输入所述属性值。
所述属性值编辑控件包括选择控件,其中,每个选择控件对应一个属性值候选项。
在一种实现方式下,所述标题文本提供单元具体用于:
按照预置的规则将所述全部或部分属性字段上的属性值进行排列组合,生成所述商品对象的标题文本
其中,所述预置的规则用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
具体实现是,可以预先为不同的类目分别设置对应的预置规则,所述标题文本提供单元包括:
第一类目确定子单元,用于确定商品对象所属的类目;
第一查询子单元,用于通过查询预先建立的类目与预置规则之间的对应关系,确定目标预置规则;
第一生成子单元,用于按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
另外,还可以预先为不同的类目以及不同的页面类型分别设置对应的
预置规则,此时,所述标题文本提供单元包括
第二类目确定子单元,用于确定商品对象所属的类目,以及当前页面的页面类型;
第二查询子单元,用于通过查询预先建立的类目、页面类型与预置规则之间的对应关系,确定目标预置规则;
第二生成子单元,用于按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
与实施例二相对应,本申请实施例还提供了一种确定商品对象标题文本的装置,应用于客户端,参见图6,该装置可以包括:
界面接收单元601,用于接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;
属性值接收单元602,用于通过所述属性值编辑控件接收各个属性字段的属性值;
属性值提交单元603,用于将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
与实施例二相对应,本申请实施例还提供了一种确定类目与属性字段关联关系的装置,参见图7,该装置可以包括:
属性字段确定单元701,用于针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;
统计单元702,用于统计各属性字段在该类目下商品对象的标题文本
中出现的概率;
属性字段保存单元703,用于将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段并保存。
其中,所述属性字段确定单元包括:
分词子单元,用于对其标题文本进行分词处理;
比对子单元,用于将分词得到的各个词语/短语,与对应商品对象的参数信息中包含的各个属性字段以及对应的属性值进行比对,如果某词语/短语与某属性值匹配成功,则确定所述标题文本中包含对应属性字段的信息。
具体实现时,该装置还可以包括:
属性值保存单元,用于确定该类目下商品对象的标题文本中,在所述关联的属性字段上的出现概率符合预置条件的多个属性值,并保存。
另外,该装置还可以包括:
规则保存单元,用于保存该类目对应的标题文本生成规则,所述规则中用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
其中,同一类目在不同页面类型下对应不同的标题文本生成规则。
通过本申请实施例,可以将商品对象的标题文本保存为多个属性字段上的属性值,在需要展示商品对象标题文本时,再按照一定的规则将各个属性值进行排列组合,生成标题文本。这样,有利于规范商品对象的标题文本,并且,如果需要基于标题文本进行各种分析操作,则由于已经按照属性字段将标题文本划分成多个组成部分,因此,可以更加方便高效,也有利于使得分析的结果更为准确。
以上所述的各种实现方式中,可以是由商品对象发布者在发布商品对象时,按照上述方式提供用于构成标题文本的各字段上的值。或者,在另一种实现方式下,由于各个商品对象通常对应各自的属性信息列表,该属性信息列表通常是由发布者在发布商品对象时提供的,通常用于在商品对
象的详情信息页面中展示。因此,本申请实施例中还提供了另一种确定商品对象标题文本的方法,参见图8,该方法可以包括以下步骤:
S801:在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;
商品对象的属性信息通常是保存在商品对象信息库中,可以通过访问这种商品对象信息库的方式来访问具体的属性信息。
S802:提取所述属性信息库中目标属性字段上的属性值;
具体提取哪些属性字段上的属性值可以是预先确定好的,并且,根据商品对象所属类目的不同,或者待展示标题文本的页面类型的不同,对应的属性字段或者字段间的排序等还可以不同,具体可以参见前述实施例中的介绍。
S803:利用所述提取出的属性值生成所述标题文本。
关于该实施例中与前述实施例相同的部分,这里不再详述,参见前述实施例中的介绍即可。
与该实施例相对应,本申请实施例还提供了一种确定商品对象标题文本的装置,参见图9,该装置可以包括:
属性信息访问单元901,用于在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;
属性值提取单元902,用于提取所述属性信息库中目标属性字段上的属性值;
标题文本生成单元903,用于利用所述提取出的属性值生成所述标题文本。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如
ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上对本申请所提供的确定商品对象标题文本的方法及装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。
Claims (28)
- 一种确定商品对象标题文本的方法,其特征在于,包括:服务器针对目标商品对象,按照所述商品对象所属的类目,确定所述类目关联的多个属性字段;提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;接收客户端提交的各个属性字段对应的属性值并保存;在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 根据权利要求1所述的方法,其特征在于,所述属性值编辑控件包括输入控件,以便通过该控件输入所述属性值。
- 根据权利要求1所述的方法,其特征在于,所述属性值编辑控件包括选择控件,其中,每个选择控件对应一个属性值候选项。
- 根据权利要求1所述的方法,其特征在于,所述按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本,包括:按照预置的规则将所述全部或部分属性字段上的属性值进行排列组合,生成所述商品对象的标题文本。
- 根据权利要求1所述的方法,其特征在于,所述预置的规则用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
- 根据权利要求1所述的方法,其特征在于,预先为不同的类目设置对应的预置规则,所述按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本,包括:确定商品对象所属的类目;通过查询预先建立的类目与预置规则之间的对应关系,确定目标预置规则;按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 根据权利要求1所述的方法,其特征在于,预先为不同的类目以及不同的页面类型分别设置对应的预置规则,所述按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本,包括确定商品对象所属的类目,以及当前页面的页面类型;通过查询预先建立的类目、页面类型与预置规则之间的对应关系,确定目标预置规则;按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 一种确定商品对象标题文本的方法,其特征在于,包括:客户端接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;通过所述属性值编辑控件接收各个属性字段的属性值;将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 一种确定类目与属性字段关联关系的方法,其特征在于,包括:针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;统计各属性字段在该类目下商品对象的标题文本中出现的概率;将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段 并保存。
- 根据权利要求9所述的方法,其特征在于,所述确定各标题文本中包含的属性字段,包括:对其标题文本进行分词处理;将分词得到的各个词语/短语,与对应商品对象的参数信息中包含的各个属性字段以及对应的属性值进行比对,如果某词语/短语与某属性值匹配成功,则确定所述标题文本中包含对应属性字段的信息。
- 根据权利要求9所述的方法,其特征在于,还包括:确定该类目下商品对象的标题文本中,在所述关联的属性字段上的出现概率符合预置条件的多个属性值,并保存。
- 根据权利要求9所述的方法,其特征在于,还包括:保存该类目对应的标题文本生成规则,所述规则中用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
- 根据权利要求12所述的方法,其特征在于,同一类目在不同页面类型下对应不同的标题文本生成规则。
- 一种确定商品对象标题文本的装置,其特征在于,应用于服务器,包括:属性字段确定单元,用于针对目标商品对象,按照所述商品对象所属的类目,确定所述类目关联的多个属性字段;属性字段提供单元,用于提供所述多个属性字段的标识以及对应的属性值编辑控件,以便所述客户端通过所述属性值编辑控件接收各个属性字段的属性值;属性值保存单元,用于接收客户端提交的各个属性字段对应的属性值并保存;标题文本提供单元,用于在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 根据权利要求14所述的装置,其特征在于,所述属性值编辑控件包括输入控件,以便通过该控件输入所述属性值。
- 根据权利要求14所述的装置,其特征在于,所述属性值编辑控件包括选择控件,其中,每个选择控件对应一个属性值候选项。
- 根据权利要求14所述的装置,其特征在于,所述标题文本提供单元具体用于:按照预置的规则将所述全部或部分属性字段上的属性值进行排列组合,生成所述商品对象的标题文本
- 根据权利要求14所述的装置,其特征在于,所述预置的规则用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
- 根据权利要求14所述的装置,其特征在于,预先为不同的类目设置对应的预置规则,所述标题文本提供单元包括:第一类目确定子单元,用于确定商品对象所属的类目;第一查询子单元,用于通过查询预先建立的类目与预置规则之间的对应关系,确定目标预置规则;第一生成子单元,用于按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 根据权利要求14所述的装置,其特征在于,预先为不同的类目以及不同的页面类型分别设置对应的预置规则,所述标题文本提供单元包括第二类目确定子单元,用于确定商品对象所属的类目,以及当前页面的页面类型;第二查询子单元,用于通过查询预先建立的类目、页面类型与预置规则之间的对应关系,确定目标预置规则;第二生成子单元,用于按照所述目标预置规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 一种确定商品对象标题文本的装置,其特征在于,应用于客户端,包括:界面接收单元,用于接收服务器提供的目标商品对象的标题文本属性编辑界面,所述编辑界面中包括多个属性字段的标识以及对应的属性值编辑控件,所述属性字段是由服务器按照所述商品对象所属的类目确定;属性值接收单元,用于通过所述属性值编辑控件接收各个属性字段的属性值;属性值提交单元,用于将所述各个属性字段对应的属性值提交到服务器,以便服务器保存所述各个属性字段对应的属性值,并在提供所述商品对象的标题文本时,按照预置的规则将所述属性值进行排列组合,生成所述商品对象的标题文本。
- 一种确定类目与属性字段关联关系的装置,其特征在于,包括:属性字段确定单元,用于针对同一类目下的各商品对象,确定各标题文本中包含的属性字段;统计单元,用于统计各属性字段在该类目下商品对象的标题文本中出现的概率;属性字段保存单元,用于将概率符合预置条件的多个属性字段确定为与该类目关联的属性字段并保存。
- 根据权利要求22所述的装置,其特征在于,所述属性字段确定单元包括:分词子单元,用于对其标题文本进行分词处理;比对子单元,用于将分词得到的各个词语/短语,与对应商品对象的参数信息中包含的各个属性字段以及对应的属性值进行比对,如果某词语/短语与某属性值匹配成功,则确定所述标题文本中包含对应属性字段的信息。
- 根据权利要求22所述的装置,其特征在于,还包括:属性值保存单元,用于确定该类目下商品对象的标题文本中,在所述关联的属性字段上的出现概率符合预置条件的多个属性值,并保存。
- 根据权利要求22所述的装置,其特征在于,还包括:规则保存单元,用于保存该类目对应的标题文本生成规则,所述规则中用于定义标题文本中展示的属性字段及各个属性字段之间的顺序关系。
- 根据权利要求25所述的装置,其特征在于,同一类目在不同页面类型下对应不同的标题文本生成规则。
- 一种确定商品对象标题文本的方法,其特征在于,包括:在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;提取所述属性信息库中目标属性字段上的属性值;利用所述提取出的属性值生成所述标题文本。
- 一种确定商品对象标题文本的装置,其特征在于,包括:属性信息访问单元,用于在需要提供目标商品对象的标题文本时,访问所述目标商品对象的属性信息;属性值提取单元,用于提取所述属性信息库中目标属性字段上的属性值;标题文本生成单元,用于利用所述提取出的属性值生成所述标题文本。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510993022.7A CN106919543A (zh) | 2015-12-24 | 2015-12-24 | 确定商品对象标题文本的方法及装置 |
| CN201510993022.7 | 2015-12-24 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017107805A1 true WO2017107805A1 (zh) | 2017-06-29 |
Family
ID=59089124
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/109618 Ceased WO2017107805A1 (zh) | 2015-12-24 | 2016-12-13 | 确定商品对象标题文本的方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106919543A (zh) |
| WO (1) | WO2017107805A1 (zh) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109559191A (zh) * | 2018-10-25 | 2019-04-02 | 平安科技(深圳)有限公司 | 网购类商品的销售控制方法、装置、电子设备及存储介质 |
| CN110874534A (zh) * | 2018-08-31 | 2020-03-10 | 阿里巴巴集团控股有限公司 | 数据处理方法和数据处理装置 |
| CN112667871A (zh) * | 2020-12-30 | 2021-04-16 | 新奥数能科技有限公司 | 数据标识方法、装置、计算机可读存储介质及电子设备 |
| CN113393289A (zh) * | 2021-05-27 | 2021-09-14 | 阿里巴巴新加坡控股有限公司 | 商品对象信息处理、标题修改的方法及装置 |
| CN115062625A (zh) * | 2022-06-26 | 2022-09-16 | 上海理想信息产业(集团)有限公司 | 一种基于意图识别的语义拆分信息提取的实现方法 |
| CN115983227A (zh) * | 2022-12-27 | 2023-04-18 | 上海墨百意信息科技有限公司 | 一种文案生成方法、装置、设备及存储介质 |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110059309B (zh) * | 2018-01-18 | 2024-09-20 | 北京京东尚科信息技术有限公司 | 信息对象标题的生成方法和装置 |
| CN108804541B (zh) * | 2018-05-08 | 2020-09-18 | 苏州闻道网络科技股份有限公司 | 电商标题优化系统及优化方法 |
| CN110928983A (zh) * | 2018-09-03 | 2020-03-27 | 北京京东尚科信息技术有限公司 | 自动生成广告标题的方法、装置及计算机可读存储介质 |
| CN111080399A (zh) * | 2019-11-22 | 2020-04-28 | 汉口北进出口服务有限公司 | 一种商品信息处理方法和装置 |
| CN112989154B (zh) * | 2019-12-17 | 2024-10-22 | 北京沃东天骏信息技术有限公司 | 一种短标题生成方法和装置 |
| CN113837820B (zh) * | 2020-06-23 | 2024-11-05 | 阿里巴巴集团控股有限公司 | 数据处理方法、装置及设备 |
| CN112035660A (zh) * | 2020-08-14 | 2020-12-04 | 海尔优家智能科技(北京)有限公司 | 基于网络模型的对象类别确定方法及装置 |
| CN114693378B (zh) * | 2020-12-29 | 2025-07-01 | 阿里巴巴集团控股有限公司 | 输入方法、装置及设备 |
| CN113744020A (zh) * | 2021-01-15 | 2021-12-03 | 北京沃东天骏信息技术有限公司 | 一种商品文案处理方法、装置、电子设备和存储介质 |
| CN113298609B (zh) * | 2021-01-27 | 2025-03-21 | 阿里巴巴集团控股有限公司 | 对象识别码处理方法、对象发布方法、装置、设备及介质 |
| CN113553838A (zh) * | 2021-08-03 | 2021-10-26 | 稿定(厦门)科技有限公司 | 一种商品文案生成方法及装置 |
| CN115730105A (zh) * | 2022-11-25 | 2023-03-03 | 百度在线网络技术(北京)有限公司 | 视频文本生成方法、装置及电子设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110225161A1 (en) * | 2010-03-09 | 2011-09-15 | Alibaba Group Holding Limited | Categorizing products |
| CN103324649A (zh) * | 2012-03-23 | 2013-09-25 | 黄昌盛 | 提供页面排版功能的服务系统 |
| CN103678335A (zh) * | 2012-09-05 | 2014-03-26 | 阿里巴巴集团控股有限公司 | 商品标识标签的方法、装置及商品导航的方法 |
| CN103927309A (zh) * | 2013-01-14 | 2014-07-16 | 阿里巴巴集团控股有限公司 | 一种对业务对象标注信息标签的方法及装置 |
| CN104391983A (zh) * | 2014-12-10 | 2015-03-04 | 郑州悉知信息技术有限公司 | 一种批量发布产品信息的方法及系统 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201300255D0 (en) * | 2013-01-08 | 2013-02-20 | Ibm | Object naming |
-
2015
- 2015-12-24 CN CN201510993022.7A patent/CN106919543A/zh active Pending
-
2016
- 2016-12-13 WO PCT/CN2016/109618 patent/WO2017107805A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110225161A1 (en) * | 2010-03-09 | 2011-09-15 | Alibaba Group Holding Limited | Categorizing products |
| CN103324649A (zh) * | 2012-03-23 | 2013-09-25 | 黄昌盛 | 提供页面排版功能的服务系统 |
| CN103678335A (zh) * | 2012-09-05 | 2014-03-26 | 阿里巴巴集团控股有限公司 | 商品标识标签的方法、装置及商品导航的方法 |
| CN103927309A (zh) * | 2013-01-14 | 2014-07-16 | 阿里巴巴集团控股有限公司 | 一种对业务对象标注信息标签的方法及装置 |
| CN104391983A (zh) * | 2014-12-10 | 2015-03-04 | 郑州悉知信息技术有限公司 | 一种批量发布产品信息的方法及系统 |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110874534A (zh) * | 2018-08-31 | 2020-03-10 | 阿里巴巴集团控股有限公司 | 数据处理方法和数据处理装置 |
| CN110874534B (zh) * | 2018-08-31 | 2023-04-28 | 阿里巴巴集团控股有限公司 | 数据处理方法和数据处理装置 |
| CN109559191A (zh) * | 2018-10-25 | 2019-04-02 | 平安科技(深圳)有限公司 | 网购类商品的销售控制方法、装置、电子设备及存储介质 |
| CN112667871A (zh) * | 2020-12-30 | 2021-04-16 | 新奥数能科技有限公司 | 数据标识方法、装置、计算机可读存储介质及电子设备 |
| CN113393289A (zh) * | 2021-05-27 | 2021-09-14 | 阿里巴巴新加坡控股有限公司 | 商品对象信息处理、标题修改的方法及装置 |
| CN115062625A (zh) * | 2022-06-26 | 2022-09-16 | 上海理想信息产业(集团)有限公司 | 一种基于意图识别的语义拆分信息提取的实现方法 |
| CN115983227A (zh) * | 2022-12-27 | 2023-04-18 | 上海墨百意信息科技有限公司 | 一种文案生成方法、装置、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106919543A (zh) | 2017-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017107805A1 (zh) | 确定商品对象标题文本的方法及装置 | |
| US11663411B2 (en) | Ontology expansion using entity-association rules and abstract relations | |
| CN107704512B (zh) | 基于社交数据的金融产品推荐方法、电子装置及介质 | |
| Liu et al. | Combining user preferences and user opinions for accurate recommendation | |
| CN108388660B (zh) | 一种改进的电商产品痛点分析方法 | |
| US8725717B2 (en) | System and method for identifying topics for short text communications | |
| CN103123624B (zh) | 确定中心词的方法及装置、搜索方法及装置 | |
| US10366117B2 (en) | Computer-implemented systems and methods for taxonomy development | |
| WO2019214236A1 (zh) | 原创内容摘要确定和原创内容推荐 | |
| US9817821B2 (en) | Translation and dictionary selection by context | |
| CN103235818A (zh) | 一种基于网页情感倾向性的信息推送方法和装置 | |
| US9772991B2 (en) | Text extraction | |
| CN108319734A (zh) | 一种基于线性组合器的产品特征结构树自动构建方法 | |
| CN110297880B (zh) | 语料产品的推荐方法、装置、设备及存储介质 | |
| US12517970B2 (en) | Method and system for providing alternative result for an online search previously with no result | |
| Rudniy et al. | Trend tracking tools for the fashion industry: the impact of social media | |
| CN111814481B (zh) | 购物意图识别方法、装置、终端设备及存储介质 | |
| CN106354818A (zh) | 基于社交媒体的动态用户属性提取方法 | |
| WO2014114175A1 (zh) | 一种提供搜索引擎标签的方法和装置 | |
| CN107908749B (zh) | 一种基于搜索引擎的人物检索系统及方法 | |
| CN113392637B (zh) | 基于tf-idf的主题词提取方法、装置、设备及存储介质 | |
| WO2024234953A1 (zh) | 搜索结果展示方法、装置、计算机设备以及存储介质 | |
| WO2026052077A1 (zh) | 短评生成方法、装置、设备及存储介质 | |
| CN115544369A (zh) | 数据搜索方法、装置、计算机设备以及存储介质 | |
| CN113704398A (zh) | 一种关键词提取的方法及设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16877616 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16877616 Country of ref document: EP Kind code of ref document: A1 |





