Disclosure of Invention
The application provides a method for updating commodity information, which solves the problem that the same commodity in a shop has a plurality of pieces of data or the data is inaccurate.
The application provides a commodity information updating method, which comprises the following steps:
establishing a standard commodity database according to commodity data information of a supplier;
matching the commodities in the shop with the commodities in the standard commodity database according to the key parameters of the commodities;
and obtaining the commodities with the completely matched key parameters, and updating the commodity database of the shop by using the standard commodity database.
Preferably, the standard goods database at least comprises: brand, item number, and specification fields.
Preferably, the key parameters of the commodity include the following three parameters: brand, item number and specification.
Preferably, the method further comprises the following steps:
and setting standard names and synonyms of key parameters of the commodities.
Preferably, synonyms of the key parameters of the commodity at least include:
chinese, English, or a combination thereof.
Preferably, matching the commodities in the store with the commodities in the standard commodity database according to the key parameters of the commodities comprises:
matching the commodities of the shop with the commodities in the standard commodity database according to the standard names or synonyms of the brands of the commodities to obtain commodities with matched brands;
matching the commodities of the shops with the commodities in the standard commodity database according to the standard name or synonym of the commodity number of the commodity to obtain commodities with matched commodity numbers;
and matching the commodities in the stores with the commodities in the standard commodity database according to the standard names or synonyms of the commodities with the commodity numbers matched with the commodity numbers to obtain the commodities with matched specifications.
Preferably, the commodities with completely matched key parameters are obtained, and the commodity database of the shop is updated by using the standard commodity database, so that the commodity data of the shop is consistent with the data in the standard commodity database.
This application provides a commodity information's updating device simultaneously, includes:
a standard commodity database establishing unit for establishing a standard commodity database according to commodity data information of a supplier;
the matching unit is used for matching the commodities of the shop with the commodities in the standard commodity database according to the key parameters of the commodities;
and the updating unit is used for acquiring the commodities with the completely matched key parameters and updating the commodity database of the shop by using the standard commodity database.
Preferably, the matching unit includes:
the brand matching subunit is used for matching the commodities in the stores with the commodities in the standard commodity database according to the standard names or synonyms of the brands of the commodities to obtain commodities with matched brands;
the commodity number matching subunit is used for matching the commodities of the shops with the commodities in the standard commodity database according to the standard name or synonym of the commodity number of the commodity to obtain the commodities with matched commodity numbers;
and the specification matching subunit is used for matching the standard names or synonyms of the commodities with the commodity numbers, which are matched with each other, of the stores with the commodities in the standard commodity database according to the specifications of the commodities to obtain the commodities with the matched specifications.
The application provides a commodity information updating method, which is characterized in that a standard commodity database is established according to commodity data information of a supplier, commodities in a store are matched with commodities in the standard commodity database according to key parameters of the commodities, the commodities with the key parameters completely matched are updated by using the standard commodity database, the commodity data of the store is kept consistent with data in the standard commodity database, and the problem that the same commodity in the store has a plurality of data or inaccurate data is solved.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for updating commodity information according to an embodiment of the present application, and the method provided by the present application is described in detail below with reference to fig. 1.
Step S101, a standard commodity database is established according to commodity data information of a supplier.
In the process from production and manufacture to online display and sale of commodities, a commodity supplier is not left, wherein the supplier is a button belt connecting a factory and a shop, a management platform of the supplier uploads latest information of the commodities or acquires the latest information of the commodities from a factory related management system, and the information is initial information of the commodities transferred from factory production completion to market and can also be considered as standard information of the commodities. The sellers mainly complete the selling work of the commodities, and can upload the commodities to their stores or provide the commodities to other stores for online display and selling, and part of the commodity information may be modified in the process of uploading the commodities to the stores, so that the commodity information in the stores is generally changed. This leads to a problem that the same item in the shop has multiple pieces of data or data is inaccurate. To solve the problem, firstly, a standard commodity database is established according to commodity data information of a supplier, and the standard commodity database at least comprises: brand, item number, and specification fields.
And S102, matching the commodities in the shop with the commodities in the standard commodity database according to the key parameters of the commodities.
After the standard commodity database is established, the brands, the commodity numbers and the specification fields are used as key parameters of the commodities, and the commodities in the shop are matched with the commodities in the standard commodity database. Meanwhile, it is also necessary to set a standard name and a synonym of key parameters of a commodity, for example, a brand, a familiar brand hail, which may be called "hail", and a place of origin, which is called "Qingdao hail", so that standardization is required, and only one standard name is required after standardization is performed on the same brand. Similarly, the item number and the standard name of the specification in the key parameters are only one. However, there may be more than one synonym for the same key parameter. For example, the key parameter of chinese, synonym includes english, and may also include a combination of chinese and english.
Then, matching the commodities in the stores with the commodities in the standard commodity database according to the key parameters of the commodities, and firstly, matching the commodities in the stores with the commodities in the standard commodity database according to the standard names or synonyms of the brands of the commodities to obtain the commodities with matched brands; then, matching the commodities of the shops with the commodities in the standard commodity database according to the standard name or synonym of the commodity number of the commodity to obtain commodities with matched commodity numbers; and finally, matching the standard names or synonyms of the commodities with the goods numbers according to the specifications of the commodities, and matching the commodities in the stores with the commodities in the standard commodity database to obtain the commodities with matched specifications.
And step S103, obtaining the commodities with the completely matched key parameters, and updating the commodity database of the shop by using the standard commodity database.
In step S102, the product of the store and the product in the standard product database are obtained, and the two product databases include products with completely matched brands, product numbers and specifications, which can be considered as the same product, and then the product database of the store is updated by using the standard product database to keep the product data of the store consistent with the data in the standard product database. However, since a store generally expands a database to display more abundant product information and adds corresponding fields, when updating the product database of the store using the standard product database, basic field data such as a brand, a product number, a specification, product details, and a description of use, which are data corresponding to fields included in both the standard product database and the database of the store, are updated, and a personalized marketing attribute field which is automatically expanded by the store, such as a field of a store contact address, is not updated. If a plurality of commodities in the shop are matched with one piece of standard commodity data in the standard commodity database at the same time, the commodity database of the shop is updated, and meanwhile, the plurality of commodity data in the shop can be merged. The product database of the store may be updated manually or may be updated periodically by using the standard product database.
Meanwhile, for the commodities with the key parameters which are not completely matched, the commodities can be displayed in the background of the shop after the commodity data of the shop is updated, and whether the corresponding modification or deletion is carried out or not is manually confirmed, so that the accuracy of the data is kept.
In accordance with the present application, there is provided a method for updating commodity information, as shown in fig. 2, further comprising:
a standard goods database establishing unit 210 for establishing a standard goods database according to the goods data information of the supplier;
a matching unit 220, configured to match the commodities in the store with the commodities in the standard commodity database according to the key parameters of the commodities;
and an updating unit 230, configured to obtain the product with the completely matched key parameter, and update the product database of the store using the standard product database.
Preferably, the matching unit includes:
the brand matching subunit is used for matching the commodities in the stores with the commodities in the standard commodity database according to the standard names or synonyms of the brands of the commodities to obtain commodities with matched brands;
the commodity number matching subunit is used for matching the commodities of the shops with the commodities in the standard commodity database according to the standard name or synonym of the commodity number of the commodity to obtain the commodities with matched commodity numbers;
and the specification matching subunit is used for matching the standard names or synonyms of the commodities with the commodity numbers, which are matched with each other, of the stores with the commodities in the standard commodity database according to the specifications of the commodities to obtain the commodities with the matched specifications.
The application provides a commodity information updating method, which is characterized in that a standard commodity database is established according to commodity data information of a supplier, commodities in a store are matched with commodities in the standard commodity database according to key parameters of the commodities, the commodities with the key parameters completely matched are updated by using the standard commodity database, the commodity data of the store is kept consistent with data in the standard commodity database, and the problem that the same commodity in the store has a plurality of data or inaccurate data is solved.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the invention.