WO2017036347A1 - 对网上交互平台上的物品进行移动的方法和装置 - Google Patents

对网上交互平台上的物品进行移动的方法和装置 Download PDF

Info

Publication number
WO2017036347A1
WO2017036347A1 PCT/CN2016/096789 CN2016096789W WO2017036347A1 WO 2017036347 A1 WO2017036347 A1 WO 2017036347A1 CN 2016096789 W CN2016096789 W CN 2016096789W WO 2017036347 A1 WO2017036347 A1 WO 2017036347A1
Authority
WO
WIPO (PCT)
Prior art keywords
item
category
belongs
rule
attribute
Prior art date
Application number
PCT/CN2016/096789
Other languages
English (en)
French (fr)
Inventor
苏国庆
Original Assignee
阿里巴巴集团控股有限公司
苏国庆
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 阿里巴巴集团控股有限公司, 苏国庆 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017036347A1 publication Critical patent/WO2017036347A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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/951Indexing; Web crawling techniques
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a method and apparatus for performing movement under the framework of a category system on items on an online interactive platform.
  • the category architecture is a framework that represents the relationship between categories and categories.
  • Figure 1 shows a category architecture.
  • the items on the online interactive platform are each attributed to a category under the category system architecture and have attributes of the item under the category.
  • the category "textile users” belongs to a category under the category "platform display items”
  • the category "clothing” is a category belonging to the "textile category”. Head.
  • 3G786B which has four attributes: gender, color, type, and model.
  • the attribute value of gender is “male”, the attribute value of color is “blue”, the attribute value of type is “suit”, and the attribute value of model is “XXL”. ;
  • 5C126H which has four attributes: gender, color, type, and model.
  • the attribute value of the gender is “female”, the attribute value of the color is “female”, the attribute value of the category is “shirt”, and the attribute value of the model is “M”. ;
  • 8Y726C which has four attributes: gender, color, type, and model.
  • the attribute value of gender is “male”
  • the attribute value of color is “white”
  • the attribute value of the category is “trousers”
  • the attribute value of the model is “L”. ".
  • the category architecture of online interactive platforms may sometimes not meet the requirements of online interaction.
  • the items under the “clothing” category become too much, not Conducive to the user to choose to view, it is necessary to further split into two categories of "men's clothing” and “women's clothing” under the category of "clothing”.
  • the movement under the category system architecture is the category to which the item belongs, and Modification of the attributes of the item.
  • the scheme for moving the items under the framework of the category system mainly includes the following two types: (1) querying the information of the items to be moved from the item information database of the online interactive platform, and then performing corresponding update operations ( For example, changing the category, attribute, etc. to which the item belongs. (2) Using the search engine to search for information of items that need to be moved, and then performing corresponding update operations in the item information database.
  • the above-mentioned scheme for moving items mainly has the following disadvantages: due to the massive amount of data (usually billions or billions), it is slow and inefficient to query directly from the item information database or to query the item information that needs to be moved by the search engine. Causes bottlenecks in the item information database, affecting support for normal business.
  • An object of the present application is to provide a solution for moving objects under the category system architecture on an online interactive platform, thereby improving the speed and efficiency of the movement without causing bottlenecks in the item information database.
  • a method for performing movement under a category architecture of an item on a web interaction platform wherein the category system architecture represents a category and a attribution relationship between categories.
  • the framework, the items on the online interactive platform belong to a category under the category system framework, and have attributes of the items under the category, and the movement under the category system architecture is the category to which the items belong And modifying the attributes of the item, the method comprising the steps of: receiving an item movement rule from the online interaction platform, wherein the item movement rule is a specification of a condition that the category and attribute to which the item belongs, and a provision of a manner in which the conditional item modifies the category and attribute to which it belongs; generating an item information search task for searching for information of an item satisfying the condition specified by the item movement rule according to the item movement rule; to distributed computing The platform sends the item information search task; receiving information of an item that is searched by the distributed computing platform and satisfying the condition specified by the item movement rule; and returning the received information of the item to the online interaction
  • a method for performing movement under a category architecture of an item on a web interaction platform wherein the category system architecture represents a category and a attribution relationship between categories.
  • the framework, the items on the online interactive platform belong to a category under the category system framework, and have attributes of the items under the category, and the movement under the category system architecture is the category to which the items belong And a modification of the attribute of the item
  • the method comprising the steps of: generating an item movement rule, wherein the item movement rule is a specification of a condition that the category and attribute to which the item belongs, and an modification of the item that satisfies the condition a specification of the manner of the belonging category and attribute; transmitting the item movement rule to the gateway; receiving, from the gateway, the searched information of the item satisfying the condition specified by the item movement rule; and receiving the information of the item according to the received item And the manner in which the item moves by the item movement rule modifies the category and attribute to which the item belongs, and modifies the category and attribute to which the item
  • an apparatus for performing movement under a category architecture of an item on a web interaction platform wherein the category architecture is a category and a attribution relationship between categories.
  • the framework, the items on the online interactive platform belong to a category under the category system framework, and have attributes of the items under the category, and the movement under the category system architecture is the category to which the items belong And modifying the attribute of the item
  • the apparatus comprising: a rule receiving unit, configured to receive an item movement rule from the online interaction platform, wherein the item movement rule is a specification for a condition that the category and attribute to which the item belongs are And a specification of a manner of modifying the category and attribute to which the item satisfying the condition belongs; the task generating unit configured to generate, according to the item movement rule, information for searching for an item satisfying the condition specified by the item movement rule Item information search task; task sending unit, configured to send the item information search task to a distributed computing platform; first information a receiving unit, configured to receive information of an item that is searched by
  • an apparatus for performing movement under a category architecture of an item on a web interaction platform wherein the category system architecture represents a category and a attribution relationship between categories
  • the framework of the online interactive platform belongs to a category under the category system framework, and has attributes of the item under the category, and the movement under the category system architecture belongs to the category to which the item belongs.
  • the apparatus comprising: a rule generation unit for generating an item movement rule, wherein the item movement rule is a specification for a condition that the category and attribute to which the item belongs, and The item of the condition modifies the manner of the category and the attribute to which the item belongs; the rule sending unit is configured to send the item movement rule to the gateway; and the second information receiving unit is configured to receive the searched item satisfying the item from the gateway.
  • Information of an item of a condition specified by a movement rule; a modification unit configured to specify according to the received information of the item and the item movement rule Modified embodiment belongs to the category and attributes, modifying the item belongs to the category and attributes.
  • the embodiment of the present application receives an item movement rule from a web interaction platform, and generates an item information search task according to the item movement rule, and the distributed computing platform performs an information search for searching for information of an item satisfying the condition specified by the item movement rule. Tasks, this distributed processing greatly improves the speed and efficiency of item movement, does not cause bottlenecks in the item information database, and does not affect the support of the item information database for normal business.
  • Figure 1 is a schematic diagram of a category system architecture
  • Figure 2 shows the movement of an item under the framework of a category system in the case where a split of the category is required
  • Figure 3 shows the movement of an item under the framework of a category system in the case where a merging of categories is required
  • FIG. 4 is a diagram showing contents stored in an item information database of an online interactive platform before moving items in the example system of FIG. 2;
  • FIG. 5 is a view showing contents stored in an item information database of an online interactive platform after the items in the example of FIG. 2 are moved under the category system framework;
  • Figure 6 shows the entire system environment to which the embodiment of the present application is applied
  • FIG. 7 is a flow chart showing a method for the gateway side to perform movement under the category architecture of items on the online interactive platform
  • FIG. 8A shows an example of an item movement rule in the case of performing category splitting
  • FIG. 8B shows an example of an item movement rule in the case of performing category merging
  • FIG. 8C illustrates an example of content stored by a rule database of a web interaction platform
  • FIG. 9A illustrates an interface prompting an administrator to select a split or merge category when the item move rule is generated according to an input on the online interactive platform
  • FIG. 9B illustrates an interface prompting the administrator to input a split target category and a specific attribute in the case where the user selects the splitting purpose
  • FIG. 9C illustrates an interface prompting an administrator to input a merge target class when the user selects a merged class
  • Figure 10 shows an example of identifying categories in the category architecture that certain categories are not redistributable
  • FIG. 11 is a flow chart showing a method for moving the items on the online interactive platform by the online interactive platform side under the category system architecture;
  • FIG. 12 is a structural block diagram of an apparatus for performing a movement under the category architecture of an item on a network interactive platform by a gateway side;
  • FIG. 13 is a structural block diagram of an apparatus for performing mobile under the category architecture of items on the online interactive platform on the online interactive platform side.
  • Computer device also referred to as “computer” in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
  • the computer device includes a user device and a network device.
  • the user equipment includes, but is not limited to, a computer, a smart phone, a PDA, etc.
  • the network device includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud computing based computer Or a cloud composed of a network server, wherein cloud computing is a type of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
  • the computer device can be operated separately to implement the present application, and can also access the network and implement the application through interaction with other computer devices in the network.
  • the network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network equipment, the network, and the like are only examples, and other existing or future computer equipment or networks may be applicable to the present application, and should also be included in the scope of the present application. It is included here by reference.
  • the category system architecture is abstract and invisible in practice.
  • the movement of items under the framework of the category system is actually reflected in the modification of the content stored in the item information database on the online interactive platform.
  • the item information database stores at least the identifier of the item on the online interactive platform, the category to which it belongs, and the attribute.
  • the classification of the categories is shown in Fig. 2.
  • the contents stored in the article information database are as shown in Fig. 4.
  • the three items belonging to 3G786B, 5C126H, and 8Y726C belong to the category of "clothing", and the attribute values of the gender attributes are "male", "female", and "male".
  • the contents stored in the item information database are as shown in FIG. 5.
  • the categories to which the three items 3G786B, 5C126H, and 8Y726C belong are modified into "men's clothing,” “women's clothing,” and “men's clothing,” and the corresponding gender attributes are deleted. It can be seen that the movement of the item under the framework of the category system is actually reflected in the modification of the category and attribute to which the item stored in the item information database belongs.
  • FIG. 6 shows the entire system environment to which the embodiment of the present application is applied.
  • the system environment includes: an online interaction platform 210, for example, an operation online interaction platform of a shopping website; a distributed computing platform 230, including a plurality of distributed computers 231-235 (5 shown in FIG. 6 is merely an example, and may be Other numbers), the distributed computing platform 230, such as a cloud computing platform, the distributed computer includes both traditional computers, such as desktop computers, notebook computers, and intelligent terminals with computing functions, such as PDAs, smart phones, etc.; A gateway 220 between the interactive platform 210 and the distributed computing platform 230.
  • an online interaction platform 210 for example, an operation online interaction platform of a shopping website
  • a distributed computing platform 230 including a plurality of distributed computers 231-235 (5 shown in FIG. 6 is merely an example, and may be Other numbers), the distributed computing platform 230, such as a cloud computing platform, the distributed computer includes both traditional computers, such as desktop computers, notebook computers, and intelligent terminals with computing functions, such as P
  • FIG. 7 is a flow chart showing a method 1 for performing movement under the category architecture of an item on a web interaction platform implemented on the gateway 220 side according to an embodiment of the present application.
  • the category architecture is a framework that represents the relationship between categories and categories.
  • the items on the online interactive platform belong to a category under the category system framework and have attributes of the items under the category.
  • the movement under the framework of the category system is a modification of the category to which the item belongs and the attributes of the item.
  • the item movement rule is a specification of a condition for which the category and attribute to which the item belongs, and a manner of modifying the category and attribute to which the item satisfying the condition belongs.
  • FIG. 8A shows an example of an item movement rule in the case of performing category splitting. It corresponds to the situation of Figure 2. Change the category to which the belonging category is "clothing” and the item whose gender attribute is “male” is changed to "men's clothing”, and delete the gender attribute. Change the category to which the belonging category is "clothing” and the item whose gender attribute is "female” to "women's clothing” and delete the gender attribute.
  • FIG. 8B shows an example of an item movement rule in the case of performing category merging. It corresponds to the situation of Figure 3. Change the category to which the belonging category is "Men's” to “Apparel” and add the gender attribute "Gender: Male” to the item. The category to which the item belonging to the category “women's clothing” belongs is changed to “clothing", and the gender attribute "gender: female” is added to the item.
  • the category to which it belongs: men's clothing is a provision for the conditions in which the category and attribute to which the item belongs, " ⁇ the category to which the item belongs: clothing; increase the gender attribute: male” is to satisfy the The provisions of the manner in which the conditional item modifies the category and attribute to which it belongs; "the category to which it belongs: women's clothing” is a provision for the condition that the category and attribute to which the item belongs, " ⁇ the category to which the item belongs: clothing Adding a gender attribute: a female is a provision for the manner in which the category and attributes to which the item satisfying the condition is modified.
  • the item movement rule is generated in response to a comparison of the number of items under a category of the category system architecture to a predetermined threshold.
  • the predetermined threshold is a first threshold.
  • the category becomes a split target category and the item movement rules are generated.
  • the corresponding category is added according to different attribute values of the specific attribute of the item under the split target category.
  • the item movement rule is: for the item under the split target category, according to different attribute values of the specific attribute, the category to which the item belongs is modified to the corresponding corresponding category, and the specific attribute of the item is deleted. .
  • the first threshold is 80.
  • the "clothing” category becomes a split target category, and an item moving rule is generated for it.
  • each category is preset in advance for a specific attribute that is based on when it needs to be split, for example, the preset "gender” attribute.
  • the preset "gender” attribute is preset in advance for a specific attribute that is based on when it needs to be split.
  • two categories “men's clothing” and “women's clothing” are added according to “gender: male” and “gender: female” respectively.
  • the generated item movement rule is: for the item under the "clothing" category, if the gender attribute is "male”, the item to which the item belongs is modified to "men's clothing”, and if the gender attribute is "female", the item is The category to which it belongs is modified to "women's clothing” and the gender attribute of the item is deleted.
  • the predetermined threshold is a second threshold.
  • the category becomes a merge target category and the item movement rules are generated.
  • the merge target category and other categories under the category to which the merge target category belongs are canceled in the category system architecture.
  • the item movement rule is: modifying the category to which the item belongs to the merged target category and the other category items under the category to which the merge target category belongs.
  • a category to which the target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the “men's” category becomes a merged target category, and an item movement is to be generated for it. rule.
  • the generated item movement rule is: for the item to which the belonging category is "men's clothing” or "women's clothing", the category to which the item belongs is modified to the "service" to which the item belongs. Install the category, and according to the "men's clothing” category and the “women's clothing” category of the purpose of the distinction between the gender attribute "gender: male” or "gender: female".
  • the item movement rules are generated based on input on the online interactive platform.
  • FIG. 9A illustrates an interface prompting an administrator to select a split or merge category when the item move rule is generated based on input on the online interactive platform.
  • the interface of FIG. 9B appears, prompting the administrator to input the split target category and the specific attribute. That is, in this case, the input on the online interactive platform includes the split target category and specific attributes.
  • the corresponding category is added according to different attribute values of the specific attribute of the item under the split target category under the split target category of the category architecture.
  • the item movement rule is: for the item under the split target category, according to different attribute values of the specific attribute, the category to which the item belongs is modified to the corresponding corresponding category, and the specific attribute of the item is deleted. .
  • the split target category entered by the administrator on the interface of FIG. 9B is "clothing"
  • the specific attribute entered is “gender”
  • the “confirm” key is selected.
  • the online interactive platform first increases the corresponding two attribute values “male” or “female” according to the specific attribute "gender” under the "clothing" category in the category system framework saved by the online interactive platform.
  • the categories “men's clothing” and “women's clothing” are shown in Figure 2.
  • the generated item movement rule is: for the item under the "clothing" category, if the gender attribute is "male”, the item to which the item belongs is modified to "men's clothing”, and if the gender attribute is "female", the item is The category to which it belongs is modified to "women's clothing” and the gender attribute of the item is deleted.
  • the interface of FIG. 9C appears, prompting the administrator to enter the merged target category. That is to say, in this case, the input on the online interactive platform includes a merge target category.
  • the merged target category and other categories under the category to which the merged target category belongs are cancelled in the category architecture.
  • the item movement rule is: modifying the category to which the item belongs to the merged target category and the other category items under the category to which the merge target category belongs.
  • the category to which the target category belongs, and according to the merge target category and Other categories distinguish rules, adding attributes corresponding to the distinguishing rules for items.
  • the merge target category entered by the administrator on the interface of FIG. 9C is "Men's” and the “Confirm” button is selected.
  • the online interactive platform first cancels the "men's” category in the category system architecture saved by the online interactive platform, and the other category "women's clothing” under the “clothing” category to which the "men's” category belongs. Category.
  • the generated item movement rule is: for the item whose category belongs to "men's clothing” or “women's clothing”, the category to which the item belongs is modified into “clothing”, and according to the distinction rules of "men's clothing” and “women's clothing”, Add the attribute "gender: male” or “gender: female” corresponding to the distinguishing rule for the item.
  • the online interactive platform saves the category system architecture, it also stores the distinction rules between the categories belonging to a common category in the category system architecture in a distinguishing rule table, such as "men's clothing” and “women's clothing”. ", the corresponding distinguishing rule is "gender.”
  • a distinguishing rule table such as "men's clothing” and "women's clothing”.
  • the corresponding distinguishing rule is "gender.”
  • the category to which the item in the condition specified by the item movement rule belongs is set to a state in which the new item cannot be released, wherein the new item is to be released on the online interactive platform.
  • the item movement rule 1 shown in Fig. 8A is generated.
  • the category "clothing" to which the item in the condition specified in the item movement rule 1 belongs is set to a state in which the new item cannot be released.
  • the categories indicated by the slashes in FIG. 10 are in a state in which new items cannot be released.
  • the advantage of this is that it is possible to prevent a new item from being released in the category to which the item in the condition specified by the item movement rule belongs in the process of moving the item, and the item may be distributed.
  • the calculation platform does not fall into the scope of its search, causing new items to eventually fall into the wrong category.
  • step S110 the item movement rule is received from the online interaction platform, and there are at least two ways:
  • the online interactive platform generates an item movement rule and sends it to the gateway.
  • the item movement rule is generated on the online interactive platform and stored in the rule database of the online interactive platform, and the gateway periodically receives the updated item movement rule from the rule database.
  • Figure 8C shows an example of the content stored by the rules database.
  • the content it stores includes the serial number of the item movement rule, the item movement rule, and the storage time.
  • the storage time represents the time at which the item movement rule of the serial number is stored in the rule database. Since it is post-production storage, the order of storage time represents the order in which these item movement rules are generated.
  • the item movement rules of serial numbers 103, 104, and 105 enter the rule database at 11:47, 12:30, and 13:06 on August 23, 2015, respectively.
  • the gateway is required to receive a rule database generated between 23:00 and 23:00 on the day at 23:00 every day. In this way, the gateway searches in the storage time column of the rule database at 23:00 every day, finds the item movement rule between 23:00 and 23:00 on the previous day, and removes the moving rules of these items.
  • the benefit of setting up a rules database and periodically receiving updated item movement rules is that it is easy to take advantage of the distributed computing platform 230 to implement batch processing. If an item movement rule is generated while sending to the gateway, the distributed computing platform 230 only processes one item movement rule, resulting in wasted resources.
  • S120 Generate an item information search task for searching for information of an item satisfying the condition specified by the item movement rule according to the item movement rule.
  • the item movement rule is that, for the items under the split target category, the category to which the item belongs is modified to the corresponding corresponding category according to different attribute values of the specific attribute. And delete the specific attribute of the item. Therefore, the item satisfying the condition specified by the item movement rule is an item whose category belongs to the split target category.
  • the item satisfying the condition specified by the item movement rule is an item whose category is "clothing”.
  • the generated item information search task is to search for information of the item whose category belongs to “clothing” in the information of the item of the online interactive platform.
  • the information herein includes at least the identification of the item that satisfies the conditions specified by the item movement rule, the category to which it belongs, and the attribute.
  • the item movement rule is that the category to which the belonging belongs is the merging target category, and other categories under the category to which the merging target category belongs.
  • the item, the category to which the item belongs is modified to the category to which the merge target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules. Therefore, the item satisfying the condition specified by the item movement rule is the category to which the category belongs, or the item of the other category under the category to which the merged target category belongs.
  • the item satisfying the condition specified by the item movement rule is an item to which the category is "men's clothing” or "women's clothing".
  • the generated item information search task searches for the information of the item whose category belongs to "men's clothing” and "women's clothing” in the information of the items of the online interactive platform.
  • the information herein includes at least the identification of the item that satisfies the conditions specified by the item movement rule, the category to which it belongs, and the attribute.
  • the item information search task sent to the distributed computing platform may only include the item information search task generated according to an item movement rule, for example, on the Internet.
  • the information of the item of the interactive platform searches for the item whose belonging category is the item of "clothing".
  • the item information search task transmitted to the distributed computing platform may include generating according to a plurality of item movement rules periodically received from the rule database. Multiple item information search tasks.
  • the gateway periodically receives three item movement rules of sequence numbers 103-105 from the rule database, and the item information search task sent to the distributed computing platform may simultaneously include: items of the interactive platform on the network.
  • Searching for information of the item to which the category belongs is "clothing”; searching for information of the item whose category belongs to "ink” in the information of the item of the online interactive platform; in the information of the item of the interactive platform on the Internet
  • the information to which the category to which the search belongs is "men's shoes” and “women's shoes”.
  • S140 Receive information of an item that is searched by the distributed computing platform 230 and meets the conditions specified by the item movement rule.
  • the information of the item searched by the distributed computing platform that satisfies the conditions specified by the item movement rule is searched from the synchronization data of the item information database.
  • the item information database is located on the online interaction platform, and at least the identifier of the item on the online interaction platform, the category to which it belongs, and attributes are stored, as shown in FIG. 4-5.
  • Item information database The data in the data is also synchronized to the distributed computing platform and becomes the synchronous data of the item information database. Therefore, the distributed computing platform also has the identifier of the item on the online interactive platform as shown in FIG. 4-5, and belongs to the Category, attribute, etc. Therefore, the information of the item that it searches for that satisfies the conditions specified by the item movement rule also includes the item identification, the category, attribute, and the like that satisfy the conditions specified by the item movement rule.
  • the advantage of placing the synchronization data of the item information database in the distributed computing platform is that the resources of the item information database are not occupied during the search, and the support of the item information database for the normal business is not affected.
  • the synchronization of the item information database to the distributed computing platform is periodic, such as once every 24 hours.
  • the information of the item herein still includes at least the identification of the item, the category to which it belongs, and the attribute that satisfy the conditions specified by the item movement rule.
  • the category to which the item belongs is modified according to different attribute values of the specific attribute.
  • the corresponding category is added, and the specific attribute of the item is deleted. Therefore, the online interactive platform modifies the category and attribute to which the item belongs, including: the online interactive platform, according to the attribute value of the specific attribute of the item, the item The belonging category is modified to the corresponding corresponding category and the specific attribute of the item is deleted.
  • the category to which the belonging belongs is the merging target category, and other categories under the category to which the merging target category belongs.
  • the item, the category to which the item belongs is modified to the category to which the merge target category belongs, and the attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules. Therefore, the online interactive platform modifies the categories and attributes to which the item belongs: the online interactive platform modifies the category to which the item belongs to the category to which the merged target category belongs, and according to the merged target class And other categories Differentiate the rule to add attributes corresponding to the distinguishing rule for the item.
  • FIG. 11 is a flowchart of a method 3 for performing movement under the category architecture of an item on a web interaction platform implemented on the online interaction platform 210 side according to an embodiment of the present application.
  • the category system architecture is a framework that represents categories and attribution relationships between categories.
  • the items on the online interactive platform belong to a category under the category system framework and have attributes of the items under the category.
  • the movement under the framework of the category system is a modification of the category to which the item belongs and the attributes of the item.
  • the method includes the following steps:
  • the item movement rule is generated in response to a comparison of the number of items under a category of the category system architecture to a predetermined threshold.
  • the manner in which the item moves rules is generated, with the case of category splitting and category merging.
  • the predetermined threshold is a first threshold.
  • Generating the item movement rule in response to the comparison of the number of items under a category of the category architecture to a predetermined threshold comprises:
  • the item movement rule is: for the item under the split target category, according to different attribute values of the specific attribute, the category to which the item belongs is modified to the corresponding corresponding category, and the specific attribute of the item is deleted.
  • the first threshold is 80.
  • the "clothing” category becomes a split target category, and an item moving rule is generated for it.
  • each category is preset in advance for a specific attribute that is based on when it needs to be split, for example, the preset "gender” attribute.
  • the preset "gender” attribute is preset in advance for a specific attribute that is based on when it needs to be split.
  • two categories “men's clothing” and “women's clothing” are added according to “gender: male” and “gender: female” respectively.
  • the resulting item movement rule is: for items under the "clothing" category, if the gender attribute is "male”, then The category to which the item belongs is modified to "men's clothing”. If the gender attribute is "female”, the category to which the item belongs is modified to "women's clothing” and the gender attribute of the item is deleted.
  • the predetermined threshold is a second threshold.
  • the step of generating the item movement rule in response to the comparison of the number of items under a category of the category architecture to a predetermined threshold comprises:
  • the item movement rule is: modifying the category to which the item belongs to the merged target category and the other category items under the category to which the merge target category belongs. A category to which the target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the "men's” category becomes a merged target category, and an item movement is to be generated for it. rule.
  • the generated item movement rule is: for the item whose category belongs to "men's clothing” or "women's clothing", the category to which the item belongs is modified into the "clothing" category to which it belongs together, and according to the "men's clothing” category.
  • the "women's clothing” category distinguishes the rules, adding the gender attribute "gender: male” or "gender: female” to the item.
  • FIG. 9A can also indicate that the administrator is prompted to select an interface for splitting or merging categories in the case where an item movement rule is generated according to an input on the online interactive platform in the embodiment.
  • the interface of FIG. 9B appears, prompting the administrator to input the split target category and the specific attribute. That is, in this case, the input on the online interactive platform includes the split target category and specific attributes.
  • the corresponding category is added according to different attribute values of the specific attribute of the item under the split target category, and the item movement is generated.
  • Rule. According to The input movement rule on the online interactive platform is: for the item under the split target category, the category to which the item belongs is modified to the corresponding corresponding category according to different attribute values of the specific attribute. And delete the specific attribute of the item.
  • the split target category entered by the administrator on the interface of FIG. 9B is "clothing"
  • the specific attribute entered is “gender”
  • the “confirm” key is selected.
  • the online interactive platform first increases the corresponding two attribute values “male” or “female” according to the specific attribute "gender” under the "clothing" category in the category system framework saved by the online interactive platform.
  • the categories “men's clothing” and “women's clothing” are shown in Figure 2.
  • the generated item movement rule is: for the item under the "clothing" category, if the gender attribute is "male”, the item to which the item belongs is modified to "men's clothing”, and if the gender attribute is "female", the item is The category to which it belongs is modified to "women's clothing” and the gender attribute of the item is deleted.
  • the interface of FIG. 9C appears, prompting the administrator to enter the merged target category. That is to say, in this case, the input on the online interactive platform includes a merge target category.
  • the merged target category and other categories under the category to which the merged target category belongs are cancelled in the category architecture, and an item movement rule is generated.
  • the generated item movement rule is: for the category to which the belonging category is the merged target category, and other categories of items under the category to which the merged target category belongs, The category to which the item belongs is modified into the category to which the merge target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the merge target category entered by the administrator on the interface of FIG. 9C is "Men's” and the “Confirm” button is selected.
  • the online interactive platform first cancels the "men's” category in the category system architecture saved by the online interactive platform, and the other category "women's clothing” under the “clothing” category to which the "men's” category belongs. Category.
  • the generated item movement rule is: for the item whose category belongs to "men's clothing” or “women's clothing”, the category to which the item belongs is modified into “clothing”, and according to the distinction rules of "men's clothing” and “women's clothing”, Add the attribute "gender: male” or “gender: female” corresponding to the distinguishing rule for the item.
  • the online interactive platform saves the category system architecture, it also stores the distinction rules between the categories belonging to a common category in the category system architecture in a distinguishing rule table, such as "men's clothing” and “women's clothing”. ", the corresponding distinguishing rule is "gender.”
  • a distinguishing rule table such as "men's clothing” and "women's clothing”. ", the corresponding distinguishing rule is "gender.”
  • the category to which the item in the condition specified by the item movement rule belongs is set to a state in which the new item cannot be released, wherein in the case where a new item is to be released on the online interactive platform, First, check whether the category to which the new item belongs is in a state in which the new item cannot be released. If the new item cannot be released, the new item cannot be released.
  • the item movement rule 1 shown in Fig. 8A is generated.
  • the category "clothing" to which the item in the condition specified in the item movement rule 1 belongs is set to a state in which the new item cannot be released.
  • the categories indicated by the slashes in FIG. 10 are in a state in which new items cannot be released.
  • the advantage of this is that it is possible to prevent a new item from being released in the category to which the item in the condition specified by the item movement rule belongs in the process of moving the item, and the item may be distributed.
  • the calculation platform does not fall into the scope of its search, causing new items to eventually fall into the wrong category.
  • Sending the item movement rule to the gateway includes at least the following two methods:
  • an item movement rule is generated and sent to the gateway.
  • Figure 8C shows an example of the content stored by the rules database.
  • the content it stores includes the serial number of the item movement rule, the item movement rule, and the storage time.
  • the storage time represents the time at which the item movement rule of the serial number is stored in the rule database. Since it is post-production storage, the order of storage time represents the order in which these item movement rules are generated.
  • the item movement rules of serial numbers 103, 104, and 105 enter the rule database at 11:47, 12:30, and 13:06 on August 23, 2015, respectively.
  • the item movement rule generated between the previous day 23:00 and the day 23:00 is sent to the gateway at 23:00 every day. In this way, at 23:00 every day, look up from the storage time column of the rule database, find the item movement rule between 23:00 and 23:00 on the previous day, and send these item movement rules to the gateway.
  • the advantage of setting up a rule database and periodically sending item movement rules to the gateway is that it is easy to take advantage of the distributed computing platform 230 to implement batch processing. If an item movement rule is generated while sending to the gateway, the distributed computing platform 230 only processes one item movement rule, resulting in wasted resources.
  • the gateway receives the item movement rule, and first generates an item information search task for searching for information of an item satisfying the condition specified by the item movement rule according to the received item movement rule.
  • the item movement rule is that, for the items under the split target category, the category to which the item belongs is modified to the corresponding corresponding category according to different attribute values of the specific attribute. And delete the specific attribute of the item. Therefore, the item satisfying the condition specified by the item movement rule is an item whose category belongs to the split target category.
  • the item satisfying the condition specified by the item movement rule is an item whose category is "clothing”.
  • the item information search task generated by the gateway searches for the information of the item whose category belongs to “clothing” in the information of the item of the online interactive platform.
  • the information herein includes at least the identification of the item that satisfies the conditions specified by the item movement rule, the category to which it belongs, and the attribute.
  • the item movement rule is that for the category to which the belonging category is the merged target category and the other category items under the category to which the merged target category belongs, the item is The belonging category is modified into the category to which the merge target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules. Therefore, the item satisfying the condition specified by the item movement rule is the category to which the category belongs, or the item of the other category under the category to which the merged target category belongs. For example, in the example of FIG. 3, the item satisfying the condition specified by the item movement rule is an item to which the category is "men's clothing" or "women's clothing".
  • the generated item information search task searches for the information of the item whose category belongs to "men's clothing” and "women's clothing” in the information of the items of the online interactive platform.
  • the information herein includes at least the identification of the item that satisfies the conditions specified by the item movement rule, the category to which it belongs, and the attribute.
  • the gateway sends the item information search task to the distributed computing platform, and receives information of the item that the distributed computing platform searches for according to the item information search task that meets the conditions specified by the item movement rule.
  • the gateway returns, to the online interaction platform, the information that the distributed computing platform searches for the item that meets the conditions specified by the item movement rule according to the item information search task, that is, the online interaction platform receives the searched item that satisfies the item from the gateway.
  • the information of the item of the condition specified by the movement rule is not limited to the item movement rule.
  • S340 Modify the category and attribute to which the item belongs according to the received information of the item and the manner in which the category and attribute to which the item movement rule is modified.
  • the information of the item herein still includes at least the identification of the item, the category to which it belongs, and the attribute that satisfy the conditions specified by the item movement rule.
  • modifying the category and attribute to which the item belongs includes: modifying the category to which the item belongs according to the attribute value of the specific attribute of the item. Increase the corresponding category and delete the specific attribute of the item.
  • modifying the category and attribute to which the item belongs includes: modifying a category to which the item belongs to a category to which the merged target category belongs, and according to the merged target category and the other category
  • the purpose is to distinguish rules and add attributes corresponding to the distinguishing rules for the items.
  • the present application also provides an apparatus for performing movement under the category system framework of items on the online interactive platform.
  • the category system architecture is a framework that represents categories and attribution relationships between categories.
  • the items on the online interactive platform belong to the category system architecture The next category, and has the attributes of the item under the category.
  • the movement under the framework of the category system is a modification of the category to which the item belongs and the attributes of the item.
  • FIG. 12 is a structural block diagram of an apparatus 4 for performing movement under a category architecture of an item on a web interaction platform according to an embodiment of the present application, the apparatus comprising:
  • the rule receiving unit 410 is configured to receive an item movement rule from the online interaction platform, wherein the item movement rule is a specification for a condition that the category and attribute to which the item belongs, and a modification to the item that satisfies the condition Provisions for the manner in which categories and attributes are;
  • a task generating unit 420 configured to generate, according to the item movement rule, an item information search task for searching for information of an item satisfying a condition specified by the item movement rule;
  • the task sending unit 430 is configured to send the item information search task to the distributed computing platform
  • the first information receiving unit 440 is configured to receive information about an item that is searched by the distributed computing platform and meets the conditions specified by the item movement rule;
  • the information returning unit 450 is configured to return the received information of the item to the online interactive platform, so that the online interactive platform belongs according to the received information of the item and the modification specified by the item moving rule The way the categories and attributes modify the categories and attributes to which the item belongs.
  • the item movement rule is generated in response to a comparison of the number of items under a category of the category architecture framework with a predetermined threshold.
  • the predetermined threshold is a first threshold, and in response to the number of items in a category of the category architecture exceeds a first threshold, the category becomes a split target category, and the item moves a rule that, under the split target category of the category architecture, adds a corresponding category according to different attribute values of a specific attribute of the item under the split target category, wherein
  • the item movement rule is: for the item under the split target category, according to different attribute values of the specific attribute, the category to which the item belongs is modified to the corresponding corresponding category, and the specific attribute of the item is deleted. .
  • the predetermined threshold is a second threshold, and in response to the number of items in a category of the category architecture is lower than a second threshold, the category becomes a merge target category, and the item movement is generated.
  • a rule that cancels the merge target category and the merge target category in the category system architecture Other categories under the category to which they belong,
  • the item movement rule is: modifying the category to which the item belongs to the merged target category and the other category items under the category to which the merge target category belongs. A category to which the target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the item movement rule is generated according to an input on an online interactive platform.
  • the input on the online interactive platform includes splitting the target category and the specific attribute, and responding to the split target category of the category architecture according to the input on the online interactive platform according to the split target category
  • the different attribute values of the specific attributes of the item under the target category are added to the corresponding category, where
  • the item movement rule is: for the item under the split target category, according to different attribute values of the specific attribute, the category to which the item belongs is modified to the corresponding corresponding category, and the specific attribute of the item is deleted. .
  • the input on the online interaction platform includes a merge target category, and in response to the input on the online interaction platform, canceling the merge target category and the merge target category in the category architecture Other categories under the category of attribution,
  • the item movement rule is: modifying the category to which the item belongs to the merged target category and the other category items under the category to which the merge target category belongs. A category to which the target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the rule receiving unit 410 is further configured to: when the item movement rule is generated on the online interaction platform, receive the item movement rule from the online interaction platform.
  • the item movement rule is generated in the rule database after being generated on the online interaction platform, and the rule receiving unit 410 is further configured to: periodically receive the updated item movement rule from the rule database.
  • the item satisfying the condition specified by the item movement rule is an item whose belonging category is the split target category.
  • the item satisfying the condition specified by the item movement rule is an item belonging to the category of the merge target category or other category category under the category to which the merge target category belongs.
  • the information of the item that satisfies the condition specified by the item movement rule includes at least the identifier, the category, and the attribute of the item that satisfy the condition specified by the item movement rule.
  • the information of the item that is searched by the distributed computing platform and meets the conditions specified by the item movement rule is searched from the synchronization data of the item information database, where the item information database is located on the online interaction.
  • the platform stores at least the identifier of the item on the online interactive platform, the category to which it belongs, and attributes, and synchronizes to the distributed computing platform to become the synchronized data of the item information database.
  • the synchronization of the item information database to the distributed computing platform is periodic.
  • modifying the category and attribute to which the item belongs includes: modifying the category to which the item belongs to the added corresponding category according to the attribute value of the specific attribute of the item, and deleting the specific item Attributes.
  • modifying the category and attribute to which the item belongs includes: modifying a category to which the item belongs to a category to which the merged target category belongs, and according to the merged target category and the other
  • the classification rule of the category adds attributes corresponding to the distinguishing rule for the item.
  • the present application also provides an apparatus for performing movement under the category system framework of items on the online interactive platform.
  • the category system architecture is a framework that represents categories and attribution relationships between categories.
  • the items on the online interactive platform belong to a category under the category system framework and have attributes of the items under the category.
  • the movement under the framework of the category system is a modification of the category to which the item belongs and the attributes of the item.
  • FIG. 13 is a structural block diagram of an apparatus 5 for performing movement under a category architecture of an item on a web interaction platform according to an embodiment of the present application, the apparatus comprising:
  • the rule generation unit 510 is configured to generate an item movement rule, wherein the item movement rule is a specification of a condition that the category and the attribute to which the item belongs, and a category and an attribute to which the item that satisfies the condition is modified. Provision of the way;
  • the rule sending unit 520 is configured to send the item movement rule to the gateway;
  • the second information receiving unit 530 is configured to receive, by the gateway, information about the searched item that meets the condition specified by the item movement rule;
  • the modifying unit 540 is configured to modify the category and attribute to which the item belongs according to the received information of the item and the manner and attribute of the item to which the item movement rule is modified.
  • the rule generating unit 510 is further configured to generate the item moving rule in response to comparing a number of items under a category of the category architecture to a predetermined threshold.
  • the predetermined threshold is a first threshold
  • the rule generating unit 510 is further configured to:
  • the corresponding category is added according to different attribute values of the specific attribute of the item under the split target category;
  • the item movement rule is: for the item under the split target category, modifying the category to which the item belongs to the corresponding corresponding category according to different attribute values of the specific attribute, And delete this particular attribute of the item.
  • the predetermined threshold is a second threshold
  • the rule generating unit 510 is further configured to:
  • the item movement rule is: belonging to the item to which the category belongs, and the item of the other category under the category to which the item of the merge target belongs
  • the category is modified to the category to which the merge target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the rule generating unit 510 is further configured to: generate the item movement rule according to an input on the online interaction platform.
  • the input on the online interaction platform includes a split target category and a specific attribute
  • the rule generating unit 510 is further configured to:
  • the item movement rule is: for the item under the split target category, modifying the category to which the item belongs to the corresponding corresponding category according to different attribute values of the specific attribute, and deleting This particular attribute of the item.
  • the input on the online interactive platform includes a merge target category
  • the rule generating unit 510 is further configured to:
  • the item movement rule is: for the category to which the belonging category is the merged target category, and other categories of items under the category to which the merged target category belongs, the category to which the item belongs.
  • the object is modified into a category to which the merge target category belongs, and an attribute corresponding to the distinguishing rule is added to the item according to the merge target category and the other category classification rules.
  • the rule sending unit 520 is further configured to: when the item moving rule is generated, send the item moving rule to the gateway.
  • the item movement rule is generated and stored in the rule database, and the rule sending unit 520 is further configured to: periodically send the updated item movement rule from the rule database to the gateway.
  • the item satisfying the condition specified by the item movement rule is an item whose belonging category is the split target category.
  • the item satisfying the condition specified by the item movement rule is an item belonging to the category of the merge target category or other category category under the category to which the merge target category belongs.
  • the modifying unit 540 is further configured to: modify the category to which the item belongs to the added corresponding category according to the attribute value of the specific attribute of the item, and delete the specific attribute of the item.
  • the modifying unit 540 is further configured to: modify a category to which the item belongs to a category to which the merged target category belongs, and distinguish according to the merged target category and the other categories. A rule that adds an attribute to the item that corresponds to the distinguishing rule.
  • the rule generating unit 510 is further configured to: set a category to which the item in the condition specified by the item movement rule belongs to a state in which the new item cannot be released, where the online payment is performed In the case where a new item is to be released on the inter-platform, it is necessary to first check whether the category to which the new item belongs is a state in which the new item cannot be released.
  • the present application can be implemented in software and/or a combination of software and hardware.
  • the various devices of the present application can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device.
  • the software program of the present application can be executed by a processor to implement the steps or functions described above.
  • the software programs (including related data structures) of the present application can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请提供一种对网上交互平台上的物品进行类目体系构架下的移动的方法和装置,其方法包括:从网上交互平台接收物品移动规则;根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;向分布式计算平台发送所述物品信息搜索任务;接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。根据本申请的技术方案,提高了物品移动的速度和效率,不会影响物品信息数据库对正常业务的支持。

Description

对网上交互平台上的物品进行移动的方法和装置 技术领域
本申请涉及互联网技术领域,尤其涉及一种对网上交互平台上的物品进行类目体系构架下的移动的方法和装置。
背景技术
随着互联网的发展,基于物品进行在线交互的网上交互平台越来越受用户青睐。为适应用户在网上交互平台有针对性地选择各种各样的物品,需要对物品做出归类,形成物品类目体系,以便用户快速定位所需要的物品。类目体系构架是表示类目以及类目之间的归属关系的构架。图1示出了一个类目体系构架。网上交互平台上的物品各自归属于类目体系构架下的一个类目,并在该类目下具有物品的属性。如图1所示,“纺织用户”这个类目是归属于“平台展示物品”这个类目下的一个类目,而“服装”这个类目又是归属于“纺织用品类目”的一个类目。在图1中,目前在“服装”这个类目下有3个物品,分别是:
3G786B,其具有性别、颜色、种类、型号四个属性,性别的属性值为“男”,颜色的属性值为“蓝”、种类的属性值为“西装”、型号的属性值为“XXL”;
5C126H,其具有性别、颜色、种类、型号四个属性,性别的属性值为“女”,颜色的属性值为“女”、种类的属性值为“衬衫”、型号的属性值为“M”;
8Y726C,其具有性别、颜色、种类、型号四个属性,性别的属性值为“男”,颜色的属性值为“白”、种类的属性值为“西裤”、型号的属性值为“L”。
随着季节变化而导致的交互需求的变化或者新物品的出现,网上交互平台的类目体系构架有时可能就不能满足在线交互需求了,例如“服装”类目下的物品变得太多,不利于用户选择查看,就需要在“服装”这个类目下进一步拆成“男装”和“女装”两个类目。这时,就需要进行物品在类目体系构架下的移动。类目体系构架下的移动是对物品所归属的类目、以及 物品的属性的修改。在“服装”类目下进一步拆分成“男装”和“女装”的例子中,这种移动就是对于原来“服装”这个类目下的所有物品,逐一按其性别属性是男还是女,将其所归属的类目变成“男装”或“女装”,并将性别属性删除。图2示出了一个类目拆分的例子。在图2中,“服装”类目下的3个物品分别按照其性别属性是男还是女,被重新归属到“男装”类目或“女装”类目下,并将它们的性别属性删除。
现有技术中,进行物品在类目体系构架下的移动的方案主要包括以下两种:(1)从网上交互平台的物品信息数据库中查询需要移动的物品的信息,再进行相应的更新操作(例如,改变物品所归属的类目、属性等)。(2)利用搜索引擎搜索需要移动的物品的信息,再在物品信息数据库中执行相应的更新操作。
上述进行物品移动的方案主要存在以下缺点:由于数据的海量(通常是亿级或十亿级),直接从物品信息数据库中查询或由搜索引擎查询需要移动的物品信息,速度慢,效率低,造成物品信息数据库瓶颈,影响对正常业务的支持。
发明内容
本申请的一个目的是,提供一种对网上交互平台上的物品进行类目体系构架下的移动的方案,提高移动的速度和效率,不会造成物品信息数据库瓶颈。
根据本申请的一方面,提供了一种对网上交互平台上的物品进行类目体系构架下的移动的方法,其中,所述类目体系构架是表示类目以及类目之间的归属关系的构架,所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性,所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改,该方法包括以下步骤:从网上交互平台接收物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;向分布式计算 平台发送所述物品信息搜索任务;接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
根据本申请的另一方面,提供一种对网上交互平台上的物品进行类目体系构架下的移动的方法,其中,所述类目体系构架是表示类目以及类目之间的归属关系的构架,所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性,所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改,该方法包括以下步骤:产生物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;向网关发送所述物品移动规则;从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信息;根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
根据本申请的一方面,还提供一种对网上交互平台上的物品进行类目体系构架下的移动的装置,其中,所述类目体系构架是表示类目以及类目之间的归属关系的构架,所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性,所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改,该装置包括:规则接收单元,用于从网上交互平台接收物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;任务生成单元,用于根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;任务发送单元,用于向分布式计算平台发送所述物品信息搜索任务;第一信息接收单元,用于接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;信息返回单元,用于向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交 互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
根据本申请的另一方面,还提供一种对网上交互平台上的物品进行类目体系构架下的移动的装置,其中,所述类目体系构架是表示类目以及类目之间的归属关系的构架,所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性,所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改,该装置包括:规则产生单元,用于产生物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;规则发送单元,用于向网关发送所述物品移动规则;第二信息接收单元,用于从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信息;修改单元,用于根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
与现有技术相比,本申请的实施例具有以下优点:
本申请实施例从网上交互平台接收物品移动规则,并根据所述物品移动规则生成物品信息搜索任务,由分布式计算平台来执行搜索满足所述物品移动规则规定的条件的物品的信息的信息搜索任务,这种分布式的处理大大提高物品移动的速度和效率,不会造成物品信息数据库瓶颈,不会影响物品信息数据库对正常业务的支持。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1是一个类目体系构架的示意图;
图2示出了在需要进行类目的拆分的情况下物品在类目体系构架下的移动;
图3示出了在需要进行类目的合并的情况下物品在类目体系构架下的移动;
图4示出了图2的例子中物品在类目体系构架下移动前网上交互平台的物品信息数据库中存储的内容;
图5示出了图2的例子中物品在类目体系构架下移动后网上交互平台的物品信息数据库中存储的内容;
图6示出了本申请实施例所应用的整个系统环境;
图7示出了网关侧对网上交互平台上的物品进行类目体系构架下的移动的方法的流程图;
图8A示出了在进行类目拆分的情况下的一个物品移动规则的示例;
图8B示出了在进行类目合并的情况下的一个物品移动规则的示例;
图8C示出了网上交互平台的规则数据库存储的内容的示例;
图9A示出了在物品移动规则根据网上交互平台上的输入产生的情况下提示管理员选择拆分类目还是合并类目的界面;
图9B示出了在用户选择拆分类目的情况下提示管理员输入拆分目标类目和特定属性的界面;
图9C示出了在用户选择合并类目的情况下提示管理员输入合并目标类目的界面;
图10示出了在类目体系构架中标识某些类目是不可发布新物品的类目的示例;
图11示出了网上交互平台侧对网上交互平台上的物品进行类目体系构架下的移动的方法的流程图;
图12示出了网关侧对网上交互平台上的物品进行类目体系构架下的移动的装置的结构框图;
图13示出了网上交互平台侧对网上交互平台上的物品进行类目体系构架下的移动的装置的结构框图。
附图中相同或相似的附图标记代表相同或相似的部件。
具体实施方式
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描 述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。
所述计算机设备包括用户设备与网络设备。其中,所述用户设备包括但不限于电脑、智能手机、PDA等;所述网络设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述计算机设备可单独运行来实现本申请,也可接入网络并通过与网络中的其他计算机设备的交互操作来实现本申请。其中,所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。
需要说明的是,所述用户设备、网络设备和网络等仅为举例,其他现有的或今后可能出现的计算机设备或网络如可适用于本申请,也应包含在本申请保护范围以内,并以引用方式包含于此。
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本申请的示例性实施例的目的。但是本申请可以通过许多替换形式来 具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而非限制于示例性的实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本申请作进一步详细描述。
在背景技术中已经结合图1和图2对类目体系构架以及物品在类目体系构架下的移动进行了描述。在两种情况下,物品需要在类目体系构架下进行移动。一种是需要进行类目拆分的情况,例如,在背景技术中结合图2所述,某一类目下的物品增多,不利于用户选择查看,就需要在该类目下进一步拆成进一步类目,从而降低每个类目下的物品数量。另一种是需要进行类目合并的情况,例如,某一类目下的物品变少,此类目继续存在会使类目体系构架变得庞大,降低查找效率,就需要将该类目、以及与其共同归属于同一个上一级类目的其它类目取消,即此时也需要进行物品在类目体系构架下的移动。这种情况下的移动如图3所示。
在图3的例子中,在“男装”类目下的物品太少,让“男装”类目单独存 在浪费系统资源的情况下,找到类目体系构架中“男装”所归属的类目“服装”,发现“服装”下除了“男装”类目外,还有“女装”类目。于是,对于“男装”类目和“女装”类目下的所有物品,逐一将其所归属的类目变成“服装”。由于“男装”类目和“女装”类目的区分规则在于性别,因此,为所有这些物品,按照其原来属于“男装”类目还是“女装”类目,增加对应的性别属性“性别:男”或“性别:女”。
类目体系构架是抽象的,在实际中是看不见的。物品在类目体系构架下的移动实际上体现为网上交互平台上的物品信息数据库存储的内容的修改。物品信息数据库至少存储有所述网上交互平台上的物品的标识、所归属的类目、属性。以图2进行类目拆分为例,在图2中进行物品的移动前,物品信息数据库存储的内容如图4所示。在图4中,3G786B、5C126H、8Y726C这三件物品所归属的类目都是“服装”,性别属性的属性值分别是“男”、“女”、“男”。进行物品的移动后,物品信息数据库存储的内容如图5所示。3G786B、5C126H、8Y726C这三件物品所归属的类目分别被修改成“男装”、“女装”、“男装”,而相应的性别属性都被删除。由此可见,物品在类目体系构架下的移动实际体现为物品信息数据库存储的物品所归属的类目、属性的修改。
图6示出了本申请实施例所应用的整个系统环境。该系统环境包括:网上交互平台210,例如,购物网站的运营网上交互平台;分布式计算平台230,包括多台分布式计算机231-235(图6中示出5台,仅仅是例示,可以是其它数目),分布式计算平台230例如云计算平台,分布式计算机既包括传统意义上的计算机,如桌面电脑、笔记本电脑,也包括带有计算功能的智能终端,如PDA、智能手机等;网上交互平台210和分布式计算平台230之间的网关220。
图7示出了根据本申请一个实施例的在网关220侧实现的对网上交互平台上的物品进行类目体系构架下的移动的方法1的流程图。类目体系构架是表示类目以及类目之间的归属关系的构架。所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性。所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改。该方法 包括以下步骤:
S110、从网上交互平台210接收物品移动规则。
所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定。
图8A示出了在进行类目拆分的情况下的一个物品移动规则的示例。它对应于图2的情形。将所归属的类目为“服装”、性别属性为“男”的物品所归属的类目改成“男装”,并删除性别属性。将所归属的类目为“服装”、性别属性为“女”的物品所归属的类目改成“女装”,并删除性别属性。
在这个例子中,“所归属的类目:服装;性别属性:男”是对物品所归属的类目和属性满足的条件的规定,“→所归属的类目:男装;删除性别属性”是对满足该条件的物品修改所归属的类目和属性的方式的规定;“所归属的类目:服装;性别属性:女”是对物品所归属的类目和属性满足的条件的规定,“→所归属的类目:女装;删除性别属性”是对满足该条件的物品修改所归属的类目和属性的方式的规定。
图8B示出了在进行类目合并的情况下的一个物品移动规则的示例。它对应于图3的情形。将所归属的类目为“男装”的物品的所归属的类目改成“服装”,并为该物品增加性别属性“性别:男”。将所归属的类目为“女装”的物品的所归属的类目改成“服装”,并为该物品增加性别属性“性别:女”。
在这个例子中,“所归属的类目:男装”是对物品所归属的类目和属性满足的条件的规定,“→所归属的类目:服装;增加性别属性:男”是对满足该条件的物品修改所归属的类目和属性的方式的规定;“所归属的类目:女装”是对物品所归属的类目和属性满足的条件的规定,“→所归属的类目:服装;增加性别属性:女”是对满足该条件的物品修改所归属的类目和属性的方式的规定。
先讨论下物品移动规则在网上交互平台的产生。物品移动规则在网上交互平台的产生至少有以下两种方式:
1)物品移动规则响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较而产生。
对于物品移动规则响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较而产生的方式,有类目拆分和类目合并的情形。
在类目拆分的情形下,所述预定阈值是第一阈值。响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,该类目成为拆分目标类目,并产生所述物品移动规则。在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目。所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
例如,规定第一阈值是80,当某一类目,例如图2中的“服装”下的物品数目超出80时,“服装”类目成为拆分目标类目,要为其产生物品移动规则。在网上交互平台上,事先为每个类目预设一旦需要拆分它时作为依据的特定属性,例如预设的是“性别”属性。这时,首先,在类目体系构架中“服装”类目之下按照“性别:男”和“性别:女”分别增加两个类目“男装”和“女装”。产生的物品移动规则是:对于“服装”类目下的物品,如果其性别属性为“男”就将物品所归属的类目修改成“男装”,如果其性别属性为“女”就将物品所归属的类目修改成“女装”,并删除物品的性别属性。
在类目合并的情形下,所述预定阈值是第二阈值。响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,该类目成为合并目标类目,并产生所述物品移动规则。在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目。所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
例如,规定第二阈值是20,当某一类目,例如图3中的“男装”下的物品的数目低于20时,“男装”类目成为合并目标类目,要为其产生物品移动规则。在所述类目体系构架中取消“男装”类目以及该“男装”类目所归属的类目“服装”下的其它类目“女装”类目。产生的物品移动规则是:对于所归属的类目是“男装”或“女装”的物品,将物品所归属的类目修改成其共同归属的“服 装”类目,并根据“男装”类目和“女装”类目的区分规则,为物品分别增加性别属性“性别:男”或“性别:女”。
2)物品移动规则根据网上交互平台上的输入产生。
对于物品移动规则根据网上交互平台上的输入产生的方式,也有类目拆分和类目合并的情形。
图9A示出了在物品移动规则根据网上交互平台上的输入产生的情况下提示管理员选择拆分类目还是合并类目的界面。
如果管理员在图9A的界面选择拆分类目,则出现图9B的界面,提示管理员输入拆分目标类目和特定属性。也就是说,在这种情况下,网上交互平台上的输入包括拆分目标类目和特定属性。响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目。所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
例如,管理员在图9B的界面上输入的拆分目标类目是“服装”,输入的特定属性是“性别”,并选择“确认”键。网上交互平台响应于该输入,首先在网上交互平台保存的类目体系构架中的“服装”类目下按照特定属性“性别”可能的两种属性值“男”或“女”增加相应的两个类目“男装”和“女装”,如图2所示。产生的物品移动规则是:对于“服装”类目下的物品,如果其性别属性为“男”就将物品所归属的类目修改成“男装”,如果其性别属性为“女”就将物品所归属的类目修改成“女装”,并删除物品的性别属性。
如果管理员在图9A的界面选择合并类目,则出现图9C的界面,提示管理员输入合并目标类目。也就是说,在这种情况下,所述网上交互平台上的输入包括合并目标类目。响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目。所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述 其它类目的区分规则,为物品增加与该区分规则对应的属性。
例如,管理员在图9C的界面上输入的合并目标类目是“男装”,并选择“确认”键。网上交互平台响应于该输入,首先在网上交互平台保存的所述类目体系构架中取消“男装”类目以及“男装”类目所归属的“服装”类目下另一类目“女装”类目。产生的物品移动规则是:对于所归属的类目是“男装”或“女装”的物品,将物品所归属的类目修改成“服装”,并根据“男装”、“女装”的区分规则,为物品增加与该区分规则对应的属性“性别:男”或“性别:女”。
在网上交互平台保存类目体系构架的同时,也相应地在一个区分规则表中保存类目体系构架中共同归属于一个共同类目的类目之间的区分规则,例如“男装”、“女装”,对应的区分规则是“性别”。通过查找该区分规则表,可以获得合并目标类目和合并目标类目所归属的类目下的其它类目的区分规则,从而为物品增加与该区分规则对应的属性。
优选地,在网上交互平台产生物品移动规则时,将所述物品移动规则规定的条件中的物品所归属的类目设置为不可发布新物品的状态,其中在网上交互平台上要发布新物品的情况下,需要首先查看该新物品所归属的类目是否是不可发布新物品的状态,如是不可发布新物品的状态则不能发布新物品。
例如,在图2的例子中,产生图8A所示的物品移动规则1。这时,要在网上交互平台保存的类目体系构架中将物品移动规则1中规定的条件中的物品所归属的类目“服装”设置为不可发布新物品的状态。例如,图10中用斜线表示的类目都处于不可发布新物品的状态。
相比于现有技术,这样做的优点是,能够防止进行物品移动的过程中在所述物品移动规则规定的条件中的物品所归属的类目中又发布新的物品,这个物品可能在分布式计算平台搜索时是不落入其搜索范围的,造成新的物品最后归到错误的类目。
在步骤S110中,从网上交互平台接收物品移动规则,也至少有以下两种方式:
1)一旦物品移动规则在网上交互平台上产生,从网上交互平台接收该物品移动规则。
即,网上交互平台边产生物品移动规则,边向网关发送。
2)物品移动规则在网上交互平台上产生后存储在网上交互平台的规则数据库中,网关定期从规则数据库接收更新的物品移动规则。
图8C示出了规则数据库存储的内容的一个例子。它存储的内容包括物品移动规则的序号、物品移动规则、以及存储时间。存储时间代表该序号的物品移动规则存储进该规则数据库的时间。由于是产生后存储,存储时间的顺序就代表了这些物品移动规则产生的顺序。如图8C所示,序号为103、104、105的物品移动规则分别是2015年8月23日11:47、12:30和13:06进入该规则数据库的。例如,规定网关在每天的23:00接收上一天23:00到当天23:00之间产生的规则数据库。这样,网关在每天的23:00,在规则数据库的存储时间一列中查找,找到上一天23:00到当天23:00之间的物品移动规则,将这些物品移动规则取走。
设置规则数据库并定期接收更新的物品移动规则的好处是,容易发挥分布式计算平台230的优势,实现批处理。如果一边产生物品移动规则一边向网关发送,分布式计算平台230只处理一条物品移动规则,造成资源浪费。
S120、根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务。
在前述类目拆分的情况下,其物品移动规则是,对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。因此,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。例如,在图2的例子中,所述满足所述物品移动规则规定的条件的物品是所归属的类目是“服装”的物品。此时,生成的物品信息搜索任务就是在网上交互平台的物品的信息中搜索所归属的类目是“服装”的物品的信息。这里的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
在前述类目合并的情况下,其物品移动规则是,对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的 物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。因此,所述满足所述物品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。例如,在图3的例子中,所述满足所述物品移动规则规定的条件的物品是所归属的类目是“男装”或“女装”的物品。此时,生成的物品信息搜索任务就是在网上交互平台的物品的信息中搜索所归属的类目是“男装”、“女装”的物品的信息。这里的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
S130、向分布式计算平台230发送所述物品信息搜索任务。
在前述网上交互平台边产生物品移动规则,边向网关发送的情形下,向分布式计算平台发送的物品信息搜索任务可能只包括根据一条物品移动规则产生出的物品信息搜索任务,例如,在网上交互平台的物品的信息中搜索所归属的类目是“服装”的物品的信息。
在前述设置规则数据库、网关定期从规则数据库接收更新的物品移动规则的情形下,向分布式计算平台发送的物品信息搜索任务可能包括根据定期从规则数据库接收到的多条物品移动规则产生出的多条物品信息搜索任务。例如,在图8C的例子中,网关定期从规则数据库同时接收到序号103-105的3条物品移动规则,向分布式计算平台发送的物品信息搜索任务可能同时包括:在网上交互平台的物品的信息中搜索所归属的类目是“服装”的物品的信息;在网上交互平台的物品的信息中搜索所归属的类目是“墨水”的物品的信息;在网上交互平台的物品的信息中搜索所归属的类目是“男鞋”、“女鞋”的物品的信息。
S140、接收分布式计算平台230搜索到的满足所述物品移动规则规定的条件的物品的信息。
所述分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息是从物品信息数据库的同步数据中搜索出的。如前所述,所述物品信息数据库位于所述网上交互平台,至少存储有所述网上交互平台上的物品的标识、所归属的类目、属性,如图4-5所示。物品信息数据库 中的数据也同步到所述分布式计算平台,成为物品信息数据库的所述同步数据,因此分布式计算平台也拥有如图4-5所示的网上交互平台上的物品的标识、所归属的类目、属性等。因此,它搜索到的满足所述物品移动规则规定的条件的物品的信息也包括满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性等。
相比于现有技术,在分布式计算平台中放置物品信息数据库的同步数据的优点是,在搜索时不会占用物品信息数据库的资源,不会影响物品信息数据库对正常业务的支持。
优选地,物品信息数据库到所述分布式计算平台的同步是定期的,例如24小时一次。
S150、向所述网上交互平台210返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
这里的物品的信息仍然至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
在类目拆分的情形下,如图2的例子中,由于物品移动规则是,对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性,因此,网上交互平台修改所述物品所归属的类目和属性包括:网上交互平台按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
在类目合并的情形下,如图3的例子中,由于物品移动规则是,对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性,因此,网上交互平台修改所述物品所归属的类目和属性包括:网上交互平台将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的 区分规则,为物品增加与该区分规则对应的属性。
图11示出了根据本申请一个实施例的在网上交互平台210侧实现的对网上交互平台上的物品进行类目体系构架下的移动的方法3的流程图。所述类目体系构架是表示类目以及类目之间的归属关系的构架。所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性。所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改。该方法包括以下步骤:
S310、产生物品移动规则。
产生物品移动规则至少有以下两种方式:
1)响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较,产生所述物品移动规则。
对于响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较,产生所述物品移动规则的方式,有类目拆分和类目合并的情形。
在类目拆分的情形下,所述预定阈值是第一阈值。响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较产生所述物品移动规则包括:
响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,使该类目成为拆分目标类目;在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目;以及产生所述物品移动规则。所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
例如,规定第一阈值是80,当某一类目,例如图2中的“服装”下的物品数目超出80时,“服装”类目成为拆分目标类目,要为其产生物品移动规则。在网上交互平台上,事先为每个类目预设一旦需要拆分它时作为依据的特定属性,例如预设的是“性别”属性。这时,首先在类目体系构架中“服装”类目之下按照“性别:男”和“性别:女”分别增加两个类目“男装”和“女装”。产生的物品移动规则是:对于“服装”类目下的物品,如果其性别属性为“男”就将 物品所归属的类目修改成“男装”,如果其性别属性为“女”就将物品所归属的类目修改成“女装”,并删除物品的性别属性。
在类目合并的情形下,所述预定阈值是第二阈值。响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较产生所述物品移动规则的步骤包括:
响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,使该类目成为合并目标类目;在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目;以及产生所述物品移动规则。所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
例如,规定第二阈值是20,当某一类目,例如图3中的“男装”下的物品的数目低于20时,“男装”类目成为合并目标类目,要为其产生物品移动规则。在所述类目体系构架中取消“男装”类目以及该“男装”类目所归属的类目下的其它类目“女装”类目。产生的物品移动规则是:对于所归属的类目是“男装”或“女装”的物品,将物品所归属的类目修改成其共同归属的“服装”类目,并根据“男装”类目和“女装”类目的区分规则,为物品分别增加性别属性“性别:男”或“性别:女”。
2)根据网上交互平台上的输入,产生所述物品移动规则。
对于根据网上交互平台上的输入产生所述物品移动规则的方式,也有类目拆分和类目合并的情形。
图9A同样可以表示本实施例中根据网上交互平台上的输入产生物品移动规则的情况下提示管理员选择拆分类目还是合并类目的界面。
如果管理员在图9A的界面选择拆分类目,则出现图9B的界面,提示管理员输入拆分目标类目和特定属性。也就是说,在这种情况下,网上交互平台上的输入包括拆分目标类目和特定属性。响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目,并产生物品移动规则。根据 网上交互平台上的输入,产生的所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
例如,管理员在图9B的界面上输入的拆分目标类目是“服装”,输入的特定属性是“性别”,并选择“确认”键。网上交互平台响应于该输入,首先在网上交互平台保存的类目体系构架中的“服装”类目下按照特定属性“性别”可能的两种属性值“男”或“女”增加相应的两个类目“男装”和“女装”,如图2所示。产生的物品移动规则是:对于“服装”类目下的物品,如果其性别属性为“男”就将物品所归属的类目修改成“男装”,如果其性别属性为“女”就将物品所归属的类目修改成“女装”,并删除物品的性别属性。
如果管理员在图9A的界面选择合并类目,则出现图9C的界面,提示管理员输入合并目标类目。也就是说,在这种情况下,所述网上交互平台上的输入包括合并目标类目。响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目,并产生物品移动规则。根据网上交互平台上的输入,产生的所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
例如,管理员在图9C的界面上输入的合并目标类目是“男装”,并选择“确认”键。网上交互平台响应于该输入,首先在网上交互平台保存的所述类目体系构架中取消“男装”类目以及“男装”类目所归属的“服装”类目下另一类目“女装”类目。产生的物品移动规则是:对于所归属的类目是“男装”或“女装”的物品,将物品所归属的类目修改成“服装”,并根据“男装”、“女装”的区分规则,为物品增加与该区分规则对应的属性“性别:男”或“性别:女”。
在网上交互平台保存类目体系构架的同时,也相应地在一个区分规则表中保存类目体系构架中共同归属于一个共同类目的类目之间的区分规则,例如“男装”、“女装”,对应的区分规则是“性别”。通过查找该区分规则表,可 以获得合并目标类目和合并目标类目所归属的类目下的其它类目的区分规则,从而为物品增加与该区分规则对应的属性。
优选地,产生物品移动规则时,将所述物品移动规则规定的条件中的物品所归属的类目设置为不可发布新物品的状态,其中在网上交互平台上要发布新物品的情况下,需要首先查看该新物品所归属的类目是否是不可发布新物品的状态,如是不可发布新物品的状态则不能发布新物品。
例如,在图2的例子中,产生图8A所示的物品移动规则1。这时,要在网上交互平台保存的类目体系构架中将物品移动规则1中规定的条件中的物品所归属的类目“服装”设置为不可发布新物品的状态。例如,图10中用斜线表示的类目都处于不可发布新物品的状态。
相比于现有技术,这样做的优点是,能够防止进行物品移动的过程中在所述物品移动规则规定的条件中的物品所归属的类目中又发布新的物品,这个物品可能在分布式计算平台搜索时是不落入其搜索范围的,造成新的物品最后归到错误的类目。
S320、向网关220发送所述物品移动规则。
向网关发送所述物品移动规则至少包括以下两种方式:
1)一旦产生物品移动规则,向网关发送所述物品移动规则。
即,边产生物品移动规则,边向网关发送。
2)物品移动规则产生后存储在规则数据库中,定期从规则数据库向网关发送更新的物品移动规则。
图8C示出了规则数据库存储的内容的一个例子。它存储的内容包括物品移动规则的序号、物品移动规则、以及存储时间。存储时间代表该序号的物品移动规则存储进该规则数据库的时间。由于是产生后存储,存储时间的顺序就代表了这些物品移动规则产生的顺序。如图8C所示,序号为103、104、105的物品移动规则分别是2015年8月23日11:47、12:30和13:06进入该规则数据库的。例如,规定在每天的23:00向网关发送上一天23:00到当天23:00之间产生的物品移动规则。这样,在每天的23:00,从规则数据库的存储时间一列中查找,找到上一天23:00到当天23:00之间的物品移动规则,将这些物品移动规则向网关发送。
设置规则数据库并定期向网关发送物品移动规则的好处是:容易发挥分布式计算平台230的优势,实现批处理。如果一边产生物品移动规则一边向网关发送,分布式计算平台230只处理一条物品移动规则,造成资源浪费。
S330、从网关220接收搜索到的满足所述物品移动规则规定的条件的物品的信息。
网关接收到所述物品移动规则,首先根据接收到的所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务。
在前述类目拆分的情况下,其物品移动规则是,对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。因此,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。例如,在图2的例子中,所述满足所述物品移动规则规定的条件的物品是所归属的类目是“服装”的物品。此时,网关生成的物品信息搜索任务就是在网上交互平台的物品的信息中搜索所归属的类目是“服装”的物品的信息。这里的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
在前述类目合并的情况下,其物品移动规则是,对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。因此,所述满足所述物品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。例如,在图3的例子中,所述满足所述物品移动规则规定的条件的物品是所归属的类目是“男装”或“女装”的物品。此时,生成的物品信息搜索任务就是在网上交互平台的物品的信息中搜索所归属的类目是“男装”、“女装”的物品的信息。这里的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
接下来,网关向分布式计算平台发送所述物品信息搜索任务,并接收分布式计算平台根据所述物品信息搜索任务搜索到的满足所述物品移动规则规定的条件的物品的信息。
然后,网关向网上交互平台返回分布式计算平台根据所述物品信息搜索任务搜索到的满足所述物品移动规则规定的条件的物品的信息,即网上交互平台从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信息。
S340、根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
这里的物品的信息仍然至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
在类目拆分的情形下,如图2的例子中,由于物品移动规则是,对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性,因此,修改所述物品所归属的类目和属性包括:按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
在类目合并的情形下,如图3的例子中,由于物品移动规则是,对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性,因此,修改所述物品所归属的类目和属性包括:将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
基于与方法同样的发明构思,本申请还提供一种对网上交互平台上的物品进行类目体系构架下的移动的装置。所述类目体系构架是表示类目以及类目之间的归属关系的构架。所述网上交互平台上的物品归属于类目体系构架 下的一个类目,并在该类目下具有物品的属性。所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改。
图12所示为根据本申请实施例的对网上交互平台上的物品进行类目体系构架下的移动的装置4的结构框图,该装置包括:
规则接收单元410,用于从网上交互平台接收物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
任务生成单元420,用于根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;
任务发送单元430,用于向分布式计算平台发送所述物品信息搜索任务;
第一信息接收单元440,用于接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;
信息返回单元450,用于向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
可选地,所述物品移动规则是响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较而产生的。
可选地,所述预定阈值是第一阈值,响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,该类目成为拆分目标类目,并产生所述物品移动规则,在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目,其中
所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,所述预定阈值是第二阈值,响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,该类目成为合并目标类目,并产生所述物品移动规则,在所述类目体系构架中取消该合并目标类目以及该合并目标类目 所归属的类目下的其它类目,其中
所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
可选地,所述物品移动规则是根据网上交互平台上的输入产生的。
可选地,所述网上交互平台上的输入包括拆分目标类目和特定属性,响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目,其中
所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,所述网上交互平台上的输入包括合并目标类目,响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目,其中
所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
可选地,所述规则接收单元410进一步用于:一旦物品移动规则在网上交互平台上产生,从网上交互平台接收该物品移动规则。
可选地,物品移动规则在网上交互平台上产生后存储在规则数据库中,且所述规则接收单元410进一步用于:定期从规则数据库接收更新的物品移动规则。
可选地,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。
可选地,所述满足所述物品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。
可选地,所述满足所述物品移动规则规定的条件的物品的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
可选地,所述分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息是从物品信息数据库的同步数据中搜索出的,其中所述物品信息数据库位于所述网上交互平台,至少存储有所述网上交互平台上的物品的标识、所归属的类目、属性,并同步到所述分布式计算平台,成为物品信息数据库的所述同步数据。
可选地,物品信息数据库到所述分布式计算平台的同步是定期的。
可选地,修改所述物品所归属的类目和属性包括:按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,修改所述物品所归属的类目和属性包括:将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
基于与方法同样的发明构思,本申请还提供一种对网上交互平台上的物品进行类目体系构架下的移动的装置。所述类目体系构架是表示类目以及类目之间的归属关系的构架。所述网上交互平台上的物品归属于类目体系构架下的一个类目,并在该类目下具有物品的属性。所述类目体系构架下的移动是对物品所归属的类目、以及物品的属性的修改。
图13所示为根据本申请实施例的对网上交互平台上的物品进行类目体系构架下的移动的装置5的结构框图,该装置包括:
规则产生单元510,用于产生物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
规则发送单元520,用于向网关发送所述物品移动规则;
第二信息接收单元530,用于从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信息;
修改单元540,用于根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
可选地,所述规则产生单元510进一步用于:响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较,产生所述物品移动规则。
可选地,所述预定阈值是第一阈值,所述规则产生单元510进一步用于:
响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,使该类目成为拆分目标类目;
在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目;
产生所述物品移动规则,所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,所述预定阈值是第二阈值,所述规则产生单元510进一步用于:
响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,使该类目成为合并目标类目;
在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目;
产生所述物品移动规则,所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
可选地,所述规则产生单元510进一步用于:根据网上交互平台上的输入,产生所述物品移动规则。
可选地,所述网上交互平台上的输入包括拆分目标类目和特定属性,所述规则产生单元510进一步用于:
响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标 类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目;
产生物品移动规则,所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,所述网上交互平台上的输入包括合并目标类目,所述规则产生单元510进一步用于:
响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目;
产生物品移动规则,所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
可选地,所述规则发送单元520进一步用于:一旦产生物品移动规则,向网关发送所述物品移动规则。
可选地,物品移动规则产生后存储在规则数据库中,且所述规则发送单元520进一步用于:定期从规则数据库向网关发送更新的物品移动规则。
可选地,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。
可选地,所述满足所述物品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。
可选地,所述修改单元540进一步用于:按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
可选地,所述修改单元540进一步用于:将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
可选地,所述规则产生单元510进一步用于:所述物品移动规则规定的条件中的物品所归属的类目设置为不可发布新物品的状态,其中在网上交 互平台上要发布新物品的情况下,需要首先查看该新物品所归属的类目是否是不可发布新物品的状态。
需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,本申请的各个装置可采用专用集成电路(ASIC)或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
虽然前面特别示出并且描述了示例性实施例,但是本领域技术人员将会理解的是,在不背离权利要求书的精神和范围的情况下,在其形式和细节方面可以有所变化。

Claims (32)

  1. 一种对网上交互平台上的物品进行类目体系构架下的移动的方法,其中,其特征在于,该方法包括以下步骤:
    从网上交互平台接收物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
    根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;
    向分布式计算平台发送所述物品信息搜索任务;
    接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;
    向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
  2. 根据权利要求1所述的方法,其特征在于,所述物品移动规则是响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较而产生的。
  3. 根据权利要求2所述的方法,其特征在于,所述预定阈值是第一阈值,响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,该类目成为拆分目标类目,并产生所述物品移动规则,在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目,其中
    所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  4. 根据权利要求2所述的方法,其特征在于,所述预定阈值是第二阈值,响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,该类目成为合并目标类目,并产生所述物品移动规则,在所述类目体系构架中 取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目,其中,
    所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  5. 根据权利要求1所述的方法,其特征在于,所述物品移动规则是根据网上交互平台上的输入产生的。
  6. 根据权利要求5所述的方法,其特征在于,所述网上交互平台上的输入包括拆分目标类目和特定属性,响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目,其中,
    所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  7. 根据权利要求5所述的方法,其特征在于,所述网上交互平台上的输入包括合并目标类目,响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目,其中,
    所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  8. 根据权利要求1所述的方法,其特征在于,所述从网上交互平台接收物品移动规则的步骤包括:一旦物品移动规则在网上交互平台上产生,从网上交互平台接收该物品移动规则。
  9. 根据权利要求1所述的方法,其特征在于,物品移动规则在网上交互平台上产生后存储在规则数据库中,且所述从网上交互平台接收物品移动规则的步骤包括:定期从规则数据库接收更新的物品移动规则。
  10. 根据权利要求3或6所述的方法,其特征在于,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。
  11. 根据权利要求4或7所述的方法,其特征在于,所述满足所述物品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。
  12. 根据权利要求1所述的方法,其特征在于,所述满足所述物品移动规则规定的条件的物品的信息至少包括所述满足所述物品移动规则规定的条件的物品的标识、所归属的类目、属性。
  13. 根据权利要求1所述的方法,其特征在于,所述分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息是从物品信息数据库的同步数据中搜索出的,其中所述物品信息数据库位于所述网上交互平台,至少存储有所述网上交互平台上的物品的标识、所归属的类目、属性,并同步到所述分布式计算平台,成为物品信息数据库的所述同步数据。
  14. 根据权利要求3或6所述的方法,其特征在于,修改所述物品所归属的类目和属性包括:按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  15. 根据权利要求4或7所述的方法,其特征在于,修改所述物品所归属的类目和属性包括:将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  16. 一种对网上交互平台上的物品进行类目体系构架下的移动的方法,其特征在于,该方法包括以下步骤:
    产生物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
    向网关发送所述物品移动规则;
    从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信 息;
    根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
  17. 根据权利要求16所述的方法,其特征在于,所述产生物品移动规则的步骤包括:响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较,产生所述物品移动规则。
  18. 根据权利要求17所述的方法,其特征在于,所述预定阈值是第一阈值,
    所述响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较产生所述物品移动规则的步骤包括:
    响应于所述类目体系构架的一个类目下的物品数目超出第一阈值,使该类目成为拆分目标类目;
    在所述类目体系构架的该拆分目标类目下按照该拆分目标类目下物品的特定属性的不同属性值增加相应的类目;
    产生所述物品移动规则,所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  19. 根据权利要求17所述的方法,其特征在于,所述预定阈值是第二阈值,
    所述响应于所述类目体系构架的一个类目下的物品的数目与预定阈值的比较产生所述物品移动规则的步骤包括:
    响应于所述类目体系构架的一个类目下的物品数目低于第二阈值,使该类目成为合并目标类目;
    在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目;
    产生所述物品移动规则,所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  20. 根据权利要求16所述的方法,其特征在于,所述产生物品移动规则的步骤包括:根据网上交互平台上的输入,产生所述物品移动规则。
  21. 根据权利要求20所述的方法,其特征在于,所述网上交互平台上的输入包括拆分目标类目和特定属性,
    所述根据网上交互平台上的输入产生所述物品移动规则的步骤包括:
    响应于所述网上交互平台上的输入,在所述类目体系构架的拆分目标类目下按照拆分目标类目下物品的特定属性的不同属性值增加相应的类目;
    产生物品移动规则,所述物品移动规则是:对于该拆分目标类目下的物品,按照该特定属性的不同属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  22. 根据权利要求20所述的方法,其特征在于,所述网上交互平台上的输入包括合并目标类目,
    所述根据网上交互平台上的输入产生所述物品移动规则的步骤包括:
    响应于所述网上交互平台上的输入,在所述类目体系构架中取消该合并目标类目以及该合并目标类目所归属的类目下的其它类目;
    产生物品移动规则,所述物品移动规则是:对于所归属的类目是该合并目标类目、以及该合并目标类目所归属的类目下的其它类目的物品,将物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  23. 根据权利要求16所述的方法,其特征在于,所述向网关发送所述物品移动规则的步骤包括:一旦产生物品移动规则,向网关发送所述物品移动规则。
  24. 根据权利要求16所述的方法,其特征在于,物品移动规则产生后存储在规则数据库中,且所述向网关发送所述物品移动规则的步骤包括:定期从规则数据库向网关发送更新的物品移动规则。
  25. 根据权利要求18或21所述的方法,其特征在于,所述满足所述物品移动规则规定的条件的物品是所归属的类目是所述拆分目标类目的物品。
  26. 根据权利要求19或22所述的方法,其特征在于,所述满足所述物 品移动规则规定的条件的物品是所归属的类目是该合并目标类目、或该合并目标类目所归属的类目下的其它类目的物品。
  27. 根据权利要求18或21所述的方法,其特征在于,所述修改所述物品所归属的类目和属性的步骤包括:按照所述物品的特定属性的属性值,将物品所归属的类目修改成增加的相应的类目,并删除物品的该特定属性。
  28. 根据权利要求18或21所述的方法,其特征在于,所述修改所述物品所归属的类目和属性的步骤包括:将所述物品所归属的类目修改成该合并目标类目所归属的类目,并根据该合并目标类目和所述其它类目的区分规则,为物品增加与该区分规则对应的属性。
  29. 根据权利要求16所述的方法,其特征在于,所述产生物品移动规则的步骤还包括:所述物品移动规则规定的条件中的物品所归属的类目设置为不可发布新物品的状态,其中在网上交互平台上要发布新物品的情况下,需要首先查看该新物品所归属的类目是否是不可发布新物品的状态。
  30. 一种对网上交互平台上的物品进行类目体系构架下的移动的装置,其特征在于,该装置包括:
    规则接收单元,用于从网上交互平台接收物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
    任务生成单元,用于根据所述物品移动规则,生成用于搜索满足所述物品移动规则规定的条件的物品的信息的物品信息搜索任务;
    任务发送单元,用于向分布式计算平台发送所述物品信息搜索任务;
    第一信息接收单元,用于接收分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息;
    信息返回单元,用于向所述网上交互平台返回接收到的所述物品的信息,以便所述网上交互平台根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
  31. 根据权利要求30所述的装置,其特征在于,所述分布式计算平台搜索到的满足所述物品移动规则规定的条件的物品的信息是从物品信息 数据库的同步数据中搜索出的,其中所述物品信息数据库位于所述网上交互平台,至少存储有所述网上交互平台上的物品的标识、所归属的类目、属性,并同步到所述分布式计算平台,成为物品信息数据库的所述同步数据。
  32. 一种对网上交互平台上的物品进行类目体系构架下的移动的装置,其特征在于,该装置包括:
    规则产生单元,用于产生物品移动规则,其中,所述物品移动规则是对物品所归属的类目和属性满足的条件的规定、以及对满足该条件的物品修改所归属的类目和属性的方式的规定;
    规则发送单元,用于向网关发送所述物品移动规则;
    第二信息接收单元,用于从网关接收搜索到的满足所述物品移动规则规定的条件的物品的信息;
    修改单元,用于根据接收到的所述物品的信息以及所述物品移动规则规定的修改所归属的类目和属性的方式,修改所述物品所归属的类目和属性。
PCT/CN2016/096789 2015-09-03 2016-08-25 对网上交互平台上的物品进行移动的方法和装置 WO2017036347A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510558106.8 2015-09-03
CN201510558106.8A CN106503000B (zh) 2015-09-03 2015-09-03 对网上交互平台上的物品进行移动的方法和装置

Publications (1)

Publication Number Publication Date
WO2017036347A1 true WO2017036347A1 (zh) 2017-03-09

Family

ID=58186656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096789 WO2017036347A1 (zh) 2015-09-03 2016-08-25 对网上交互平台上的物品进行移动的方法和装置

Country Status (2)

Country Link
CN (1) CN106503000B (zh)
WO (1) WO2017036347A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408964A (zh) * 2008-11-25 2009-04-15 阿里巴巴集团控股有限公司 电子商务网站的前台类目调整方法及装置
CN101894344A (zh) * 2010-06-04 2010-11-24 庄秀宝 智能消费系统
CN103700005A (zh) * 2013-12-17 2014-04-02 南京信息工程大学 一种基于自适应多最小支持度的关联规则推荐方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024193A (zh) * 2009-09-10 2011-04-20 上海杉达学院 一种信息系统管理员的控制方法及装置
CN102609422A (zh) * 2011-01-25 2012-07-25 阿里巴巴集团控股有限公司 类目错放识别方法和装置
CN102591972B (zh) * 2011-12-31 2017-09-29 北京百度网讯科技有限公司 提供商品搜索结果的方法及设备
CN102968435B (zh) * 2012-09-20 2016-06-29 中国商用飞机有限责任公司 建立信息类目体系的方法和相应的信息分类浏览检索装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408964A (zh) * 2008-11-25 2009-04-15 阿里巴巴集团控股有限公司 电子商务网站的前台类目调整方法及装置
CN101894344A (zh) * 2010-06-04 2010-11-24 庄秀宝 智能消费系统
CN103700005A (zh) * 2013-12-17 2014-04-02 南京信息工程大学 一种基于自适应多最小支持度的关联规则推荐方法

Also Published As

Publication number Publication date
CN106503000A (zh) 2017-03-15
CN106503000B (zh) 2019-10-29

Similar Documents

Publication Publication Date Title
CN103390041B (zh) 一种基于中间件提供数据服务的方法和系统
US10152773B2 (en) Creating a blurred area for an image to reuse for minimizing blur operations
CN112836130B (zh) 一种基于联邦学习的上下文感知推荐系统及方法
US8108360B2 (en) Database object update order determination
CN107464151B (zh) 高并发业务的订单数据处理方法及装置
JP2023546249A (ja) トランザクション処理方法、装置、コンピュータ機器及びコンピュータプログラム
CN102663076B (zh) 文件数据处理方法
JP2014519072A (ja) 分散されたブックマークの管理および格納
CN102968418A (zh) 网站信息检索方法和系统
WO2018136340A1 (en) Application programming interface
CN112925859A (zh) 数据存储方法和装置
CN112559522A (zh) 数据存储方法、装置、查询方法、电子设备及可读介质
CN113505265A (zh) 数据的查询方法、装置及电子设备、存储介质、程序产品
CN103019556A (zh) 快捷帮助信息显示系统和快捷帮助信息显示方法
CN116108094A (zh) 一种数据整合方法、装置、电子设备以及存储介质
CN105335386A (zh) 一种提供导航标签的方法及装置
AU2020203282B2 (en) Method and system for matching multi-dimensional data units in electronic information system
CN112199200A (zh) 资源调度方法、装置、计算机设备和存储介质
CN101799822A (zh) 分层网状知识模型建模方法及知识仓库系统建立方法
WO2017036347A1 (zh) 对网上交互平台上的物品进行移动的方法和装置
CN114610719B (zh) 跨集群数据处理方法、装置、电子设备以及存储介质
US20200097485A1 (en) Selective synchronization of linked records
CN107545062B (zh) 入口召回方法、装置、存储介质和电子设备
CN111310093B (zh) 一种信息处理的方法及装置、电子设备、存储介质
CA3157120A1 (en) System and method for email address selection

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: 16840776

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: 16840776

Country of ref document: EP

Kind code of ref document: A1