CN111291555A - Commodity specification identification method and device and computer readable storage medium - Google Patents
Commodity specification identification method and device and computer readable storage medium Download PDFInfo
- Publication number
- CN111291555A CN111291555A CN202010133713.0A CN202010133713A CN111291555A CN 111291555 A CN111291555 A CN 111291555A CN 202010133713 A CN202010133713 A CN 202010133713A CN 111291555 A CN111291555 A CN 111291555A
- Authority
- CN
- China
- Prior art keywords
- commodity
- information
- commodity specification
- output template
- specification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000006870 function Effects 0.000 description 5
- 229920000742 Cotton Polymers 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 210000002268 wool Anatomy 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a commodity specification identification method, which comprises the following steps: extracting text information in the commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information; and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template. The invention also discloses a commodity specification identification device and a computer readable storage medium. The invention realizes the function of automatically identifying the commodity specification information, so that the commodity information can be input in batches based on all specifications when being input, and the input efficiency and accuracy of the commodity information are improved.
Description
Technical Field
The present invention relates to the field of electronic commerce technologies, and in particular, to a method and an apparatus for identifying a product specification, and a computer-readable storage medium.
Background
With the rapid development of electronic commerce, people increasingly like online shopping, can browse a plurality of commodities without going out, and select the commodities which need to be purchased. Under the background, a plurality of groups such as micro-merchants, distributors and online stores are emerging, and the groups need to put the flagged commodities on a shopping platform, so that corresponding information such as commodity pictures and text descriptions is required to be output according to the flagged commodities, the text descriptions often contain price, size, color and other attributes, and the attributes need to be respectively input according to different models and styles so as to be used for buyers to check and select the commodities, but the manual input of the specification information of each commodity inevitably has huge workload, and even the situation of information input errors is easy to occur.
However, the existing shopping platform does not have such a solution, and the seller still needs to manually enter specification information of a single commodity, so how to automatically identify the commodity specification according to the commodity description information entered by the seller becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a commodity specification identification method, a commodity specification identification device and a computer readable storage medium, and aims to solve the technical problems that in the prior art, the specification information of a single commodity needs to be manually input, so that the workload of personnel is large and the accuracy is low.
In order to achieve the above object, the present invention provides a method for identifying a commodity specification, comprising the steps of:
extracting text information in the commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template.
Optionally, the output templates include a first output template, a second output template and a third output template, and the step of outputting the commodity specification information according to the corresponding output templates includes:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
if the commodity specification information has an English mark, outputting the commodity specification information according to a first output template;
if the commodity specification information has a height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has shoe code identification, outputting the commodity specification information according to a third output template.
Optionally, after the step of determining whether the specification information of the commodity has an english mark, a height mark, or a shoe size mark, the method includes:
and if the commodity specification information does not have English marks, height marks or shoe code marks, generating commodity specification matching failure information.
Optionally, before the step of extracting text information in the commodity description information and acquiring commodity specification information matched with a preset commodity specification keyword in the text information, the method includes the steps of;
receiving a setting instruction of a user on commodity keywords, and determining the commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the matched commodity specification keywords to a local or cloud server.
Optionally, the step of extracting text information in the commodity description information and acquiring commodity specification information matched with a preset commodity specification keyword in the text information includes:
extracting text information in the commodity description information;
matching the text information with preset commodity specification keywords, and determining the position of a target keyword matched with the commodity specification keywords;
and acquiring the commodity specification information in the text information according to the position of the target keyword.
Optionally, the step of outputting the product specification information according to a corresponding output template includes:
and outputting the commodity specification information according to a corresponding output template according to a preset step length.
Optionally, the step of outputting the commodity specification information according to a corresponding output template according to a preset step length includes:
acquiring the interval range of the commodity specification information;
completing the specification of the interval range according to a preset step length;
and outputting the completed specification according to the corresponding output template.
Optionally, after the step of outputting the product specification information according to a corresponding output template, the method includes:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
In order to achieve the above object, the present invention also provides a product specification identification device, including: the identification program of the commodity specification realizes the steps of the identification method of the commodity specification when being executed by the processor.
In order to achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon an identification program of a product specification, which when executed by a processor, implements the steps of the above identification method of a product specification.
According to the method, the text information in the commodity description information is extracted, and the commodity specification information matched with the preset commodity specification keywords in the text information is obtained; and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template. Through the mode, the text information in the commodity description information is analyzed, the commodity specification information and the type of the commodity specification information in the text information are identified, and finally the commodity specification information is output according to the type of the commodity specification information, so that the function of automatically identifying the commodity specification information is realized, the commodity information can be input in batches based on all specifications during input, and the input efficiency and accuracy of the commodity information are improved.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for identifying a product specification according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for identifying a product specification according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for identifying a product specification according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC, and can also be a terminal device with a data processing function, such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, Wi-Fi modules, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein again.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an identification program of a commodity specification. The processor 1001 may be configured to call an identification program of the product specification stored in the memory 1005, and perform the following operations:
extracting text information in the commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
if the commodity specification information has an English mark, outputting the commodity specification information according to a first output template;
if the commodity specification information has a height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has shoe code identification, outputting the commodity specification information according to a third output template.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
and if the commodity specification information does not have English marks, height marks or shoe code marks, generating commodity specification matching failure information.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
receiving a setting instruction of a user on commodity keywords, and determining the commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the matched commodity specification keywords to a local or cloud server.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
extracting text information in the commodity description information;
matching the text information with preset commodity specification keywords, and determining the position of a target keyword matched with the commodity specification keywords;
and acquiring the commodity specification information in the text information according to the position of the target keyword.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
and outputting the commodity specification information according to a corresponding output template according to a preset step length.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
acquiring the interval range of the commodity specification information;
completing the specification of the interval range according to a preset step length;
and outputting the completed specification according to the corresponding output template.
Further, the processor 1001 may call the identification program of the product specification stored in the memory 1005, and also perform the following operations:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
The specific embodiment of the device for identifying the commodity specification of the present invention is basically the same as the following embodiments of the method for identifying the commodity specification, and the detailed description is omitted here.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for identifying a product specification according to the present invention, where the method for identifying a product specification includes:
and step S10, extracting text information in the commodity description information, and acquiring the commodity specification information matched with the preset commodity specification keywords in the text information.
The device of the embodiment of the invention can be a PC, and can also be a terminal device with a data processing function, such as a smart phone, a tablet computer, a portable computer and the like. For convenience of explanation, the following embodiments all use a smart phone as an example. The smart phone is provided with a shopping program capable of intelligently identifying the specification of a commodity, a merchant can upload commodity description information such as commodity pictures, character description information and the like on a shopping program page, after uploading is finished and clicking and storing, a program background can extract text information in the commodity description information, preset commodity specification keywords are matched with the text information, and whether matched commodity specification keywords exist is judged. If yes, the position of the commodity specification keyword is further positioned, and the nearby commodity specification information is searched according to the position of the commodity specification keyword.
It should be noted that the preset commodity specification keywords are fields describing the commodity specification, such as Size, shoe Size, number, Size, and other keywords, and the commodity specification keywords can be set by the user according to the actual needs. The commodity specification information herein may be in english form, such as XXS, 2XS, S, M, L, XL, 2XL, XXL, XXXL, 3XL, XXXXXL, 4XL, xxxxxxl, 5XL, etc.; or Chinese, such as extra small, plus small, medium, large, plus large, extra large, medium, small, average, etc.; and may also be in digital form, such as 39.5, 40, 41, 41.5, 42, 43, 43.5, 44, etc.
For example, a description message of an article issued by a merchant is "special price P75 name: casual simple and brief long-sleeve shirt jacket loose cotton shirt fabric: the wool yarn card has the characteristics that: the comfortable cotton is smooth and skin-friendly. Simple layout design, and design elements of the sweater highlight the individual trend. The simple embroidery LOGO in the front adds a few minutes of tidal flu as a whole. Easy to wear and put on with wide range of nature. Size: m, L, XL'. The program background matches a preset commodity specification keyword with the text information to acquire that the commodity specification keyword in the text information is 'size', and after acquiring the commodity rule keyword, acquires that the commodity specification information near the position of the commodity rule keyword is 'M, L, XL'.
And step S20, outputting the commodity specification information according to a corresponding output template, so that the user can select the required specification based on the output template.
Because the habit of each merchant to the specification description is different, and the variety of the goods is various, the goods specification information is various, and therefore when the goods specification information is output, the goods specification information needs to be output corresponding to different templates according to the type of the goods specification information. The corresponding relation between each commodity specification information type and the output template is preset in the smart phone, after the commodity specification information type in the text information is obtained, the output template is determined according to the commodity specification information type, and the commodity specification information is output according to the corresponding output template. Therefore, the merchant and the buyer can see the specification of the commodity through the shopping program, and the buyer can conveniently select a proper specification to place an order.
In the embodiment, the text information in the commodity description information is analyzed, the commodity specification information and the type of the commodity specification information in the text information are identified, and finally the commodity specification information is output according to the type of the commodity specification information, so that the function of automatically identifying the commodity specification information is realized, the commodity information can be input in batches based on all specifications during input, and the input efficiency and accuracy of the commodity information are improved.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the method for identifying a product specification according to the present invention. Based on the above-mentioned embodiment shown in fig. 2, the output templates include a first output template, a second output template and a third output template, and the step S20 includes the following steps:
step S201, judging whether the commodity specification information has English identification, height identification or shoe code identification.
In this embodiment, the commodity specification information is divided into three types of the commodity specification information with an english mark, a height mark or a shoe size mark, and the "M, L, XL" in the above example is the commodity specification information with an english mark; for example, the code 110-; such as 38-42, which is the specification information of the goods with the shoe size. The three types of commodity specification information respectively correspond to a first output template, a second output template and a third output template, so that when the commodity specification information is output, whether the commodity specification information has an English mark, a height mark or a shoe code mark needs to be judged, and if the commodity specification information has the English mark, the step S202 is executed; if the commodity specification information has a height identifier, executing step S203; if the commodity specification information has a shoe code mark, executing step S204; if the product specification information does not have an english mark, a height mark or a shoe code mark, step S205 is executed.
And step S202, outputting the commodity specification information according to a first output template.
And when the commodity specification information is judged to have the English identification, outputting the commodity specification information according to the first output template. The first output template comprises all specifications in the range of XXS-XXXXXL, and when the commodity specification information is output, the corresponding specification output in the commodity specification information can be automatically matched, and if the commodity specification information is M-3 XL, the specifications are M, L, XL, 2XL and 3XL according to the first output template.
And step S203, outputting the commodity specification information according to a second output template.
And when the height identification is judged to be contained in the commodity specification information, outputting the commodity specification information according to the second output template. The second output template contains all specifications in the range of 60-200, and when the commodity specification information is output, the corresponding specification output in the commodity specification information can be automatically matched, for example, when the commodity specification information is 110-160 codes/110-160 codes, the specification is 110, 120, 130, 140, 150, 160 according to the second output template.
And step S204, outputting the commodity specification information according to a third output template.
And when the shoe size identification is judged to be contained in the commodity specification information, outputting the commodity specification information according to a third output template. The third output template contains all specifications in the range of 20-60, and when the commodity specification information is output, the corresponding specification output in the commodity specification information can be automatically matched, for example, when the commodity specification information is 38-42 code/38-42 code, the specification is 38, 39, 40, 41 and 42 according to the third output template.
In step S205, product specification matching failure information is generated.
And when the commodity specification information is judged not to have the English identification, the height identification or the shoe code identification, generating commodity specification matching failure information, wherein the commodity specification matching failure information can be characters, pictures or voice information.
In this embodiment, by judging the matching type of the commodity specification and selecting a suitable output template for output, even if the merchant inputs commodity information in batch, the buyer can browse all specifications of the commodity and select a required specification based on the output commodity specification to perform ordering operation.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a method for identifying a product specification according to a third embodiment of the present invention. Based on the embodiment shown in fig. 2, before the step of extracting the text information in the commodity description information and acquiring the commodity specification information matched with the preset commodity specification keyword in the text information, the method includes the following steps;
and step S30, receiving a setting instruction of the commodity keyword by the user, and determining the matched commodity specification keyword according to the setting instruction.
And step S40, pre-storing the matched commodity specification keywords to a local or cloud server.
In this embodiment, the smart phone may receive a setting instruction of the user for the commodity keyword through the interactive interface, and prestore the setting instruction to the local or cloud server. If a user sets keywords such as Size, shoe Size, code number, Size and the like into commodity specification keywords in a setting instruction through an interactive interface, when the commodity specification information of the text information is identified, the commodity specification keywords are matched with the text information according to the commodity specification keywords prestored in the local and cloud servers, and therefore the commodity specification information in the text information is obtained. It should be noted that the preset commodity keywords are different according to different setting instruction contents and are not fixed and unchangeable, and the user can flexibly set and modify the original commodity specification keywords according to actual needs, so that when the smart phone automatically identifies the commodity specification information, the commodity specification information can be changed based on the use habits of the user, and the accuracy of commodity specification information identification is improved.
Further, based on the above embodiment shown in fig. 2, the step S10 is to extract text information in the commodity description information, and the step of acquiring the commodity specification information matched with the preset commodity specification keyword in the text information specifically includes the following steps:
and step S101, extracting text information in the commodity description information.
And S102, matching the text information with a preset commodity specification keyword, and determining the position of a target keyword matched with the commodity specification keyword.
And step S103, acquiring commodity specification information in the text information according to the position of the target keyword.
In this embodiment, the smart phone extracts the text information in the commodity description information, matches the preset commodity specification keyword with the text information, and determines whether there is a commodity specification keyword matched with the preset commodity specification keyword. If yes, further positioning the position information of the commodity specification keyword, and searching nearby commodity specification information according to the position information of the commodity specification keyword, so that the identification efficiency of the commodity specification information is improved.
Further, based on the embodiment shown in fig. 2, the step S20 of outputting the product specification information according to a corresponding output template specifically includes the following steps:
and step S50, outputting the commodity specification information according to a corresponding output template according to a preset step length.
Since the output template includes a wide range of sections, when outputting the product specification information according to the output template, the actual range of sections of the product specification information needs to be considered, thereby avoiding the product specification which is not on the shelf from being output on the display interface.
Specifically, the step S50 includes:
step S501, an interval range of the product specification information is acquired.
And step S502, completing the specification of the interval range according to a preset step length.
And step S503, outputting the completed specification according to the corresponding output template.
The smart phone firstly obtains the actual interval range of the commodity specification information in the text information, then selects the corresponding interval range from the output template according to the actual interval range of the commodity specification information, and completes the range according to the preset step length, so that each specification in the interval range can be normally output. For example, assuming that the product specification information in the text information is M-3 XL and the range of the first output template is XXS to XXXL, the actual range of the product specification information is complemented by a preset step size to obtain M, L, XL, 2XL, and 3XL specification information. It should be noted that the preset step length here may be set to different values according to different types of the product specification information, and certainly may also be set to the same value, and this embodiment is not particularly limited.
In the embodiment, the commodity specification information is output according to the corresponding output template according to the preset step length, so that each specification in the goods on the shelf can be output and displayed to the buyer, and the specifications which do not exist in the goods on the shelf are not output and displayed, thereby facilitating the commodity specification required by the buyer to place an order.
Further, based on the above-mentioned embodiment shown in fig. 2, after the step S20 outputs the product specification information according to the corresponding output template, the method further includes the following steps:
and step S60, acquiring prices corresponding to different commodity specifications.
And step S70, correspondingly displaying the price at a preset position of the output template.
In order to facilitate the buyers to clearly understand the prices of different specifications when ordering, the prices corresponding to different specifications are also displayed at the preset position of the output template in the embodiment. For example, the commodity description information is "name: casual simple and brief long-sleeve shirt jacket loose cotton shirt fabric: the wool yarn card has the characteristics that: the comfortable cotton is smooth and skin-friendly. Simple layout design, and design elements of the sweater highlight the individual trend. The simple embroidery LOGO in the front adds a few minutes of tidal flu as a whole. Easy to wear and put on with wide range of nature. Size M, price 100 Yuan; size L, price 120 Yuan; size XL, price 150 ", according to the above step S20, commodity specification information is output as M, L, XL, and when step S20 is executed, prices 100, 120, and 150 are simultaneously extracted from the text information and saved, and finally, when the commodity specification information is displayed on the first output template, the prices are displayed above or below the corresponding specification, respectively.
In the embodiment, under the condition that different specifications of the same commodity have multiple prices, the prices corresponding to the different specifications of the commodity can be acquired and correspondingly displayed at the preset positions of the output template, so that buyers can know the prices of the different specifications conveniently, and a user can conveniently select a proper specification to place an order.
In addition, the embodiment of the invention also provides a computer readable storage medium. The computer readable storage medium has stored thereon an identification program of a product specification, which when executed by a processor implements the steps of:
extracting text information in the commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template.
Further, when executed by the processor, the product specification identification program further implements the steps of:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
if the commodity specification information has an English mark, outputting the commodity specification information according to a first output template;
if the commodity specification information has a height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has shoe code identification, outputting the commodity specification information according to a third output template.
Further, when executed by the processor, the product specification identification program further implements the steps of:
and if the commodity specification information does not have English marks, height marks or shoe code marks, generating commodity specification matching failure information.
Further, when executed by the processor, the product specification identification program further implements the steps of:
receiving a setting instruction of a user on commodity keywords, and determining the commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the matched commodity specification keywords to a local or cloud server.
Further, when executed by the processor, the product specification identification program further implements the steps of:
extracting text information in the commodity description information;
matching the text information with preset commodity specification keywords, and determining the position of a target keyword matched with the commodity specification keywords;
and acquiring the commodity specification information in the text information according to the position of the target keyword.
Further, when executed by the processor, the product specification identification program further implements the steps of:
and outputting the commodity specification information according to a corresponding output template according to a preset step length.
Further, when executed by the processor, the product specification identification program further implements the steps of:
acquiring the interval range of the commodity specification information;
completing the specification of the interval range according to a preset step length;
and outputting the completed specification according to the corresponding output template.
Further, when executed by the processor, the product specification identification program further implements the steps of:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the above-mentioned method for identifying a product specification, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A method for identifying a commodity specification, comprising the steps of:
extracting text information in the commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
and outputting the commodity specification information according to a corresponding output template so that a user can select a required specification based on the output template.
2. The method for identifying a product specification according to claim 1, wherein the output templates include a first output template, a second output template, and a third output template, and the step of outputting the product specification information according to the corresponding output templates includes:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
if the commodity specification information has an English mark, outputting the commodity specification information according to a first output template;
if the commodity specification information has a height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has shoe code identification, outputting the commodity specification information according to a third output template.
3. The method for identifying a specification of a commodity according to claim 2, wherein after the step of determining whether the commodity specification information includes an english logo, a height logo, or a shoe size logo, the method comprises:
and if the commodity specification information does not have English marks, height marks or shoe code marks, generating commodity specification matching failure information.
4. The method for identifying the commodity specification according to claim 1, wherein before the step of extracting text information in the commodity description information and acquiring the commodity specification information matched with a preset commodity specification keyword in the text information, the method comprises the steps of;
receiving a setting instruction of a user on commodity keywords, and determining the commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the matched commodity specification keywords to a local or cloud server.
5. The method for identifying the commodity specification according to claim 4, wherein the step of extracting text information in the commodity description information and acquiring the commodity specification information matched with a preset commodity specification keyword in the text information comprises:
extracting text information in the commodity description information;
matching the text information with preset commodity specification keywords, and determining the position of a target keyword matched with the commodity specification keywords;
and acquiring the commodity specification information in the text information according to the position of the target keyword.
6. The method for identifying a product specification according to claim 5, wherein the step of outputting the product specification information in accordance with a corresponding output template includes:
and outputting the commodity specification information according to a corresponding output template according to a preset step length.
7. The method for identifying the commodity specification according to claim 6, wherein the step of outputting the commodity specification information according to the preset step length and the corresponding output template comprises:
acquiring the interval range of the commodity specification information;
completing the specification of the interval range according to a preset step length;
and outputting the completed specification according to the corresponding output template.
8. The method for identifying a product specification according to claim 1, wherein the step of outputting the product specification information in accordance with a corresponding output template includes:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
9. An identification device of a product specification, characterized by comprising: a memory, a processor and an identification program of a product specification stored on the memory and executable on the processor, the identification program of a product specification implementing the steps of the identification method of a product specification according to any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an identification program of a product specification, which when executed by a processor implements the steps of the identification method of a product specification according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010133713.0A CN111291555B (en) | 2020-02-28 | 2020-02-28 | Commodity specification identification method, commodity specification identification device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010133713.0A CN111291555B (en) | 2020-02-28 | 2020-02-28 | Commodity specification identification method, commodity specification identification device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111291555A true CN111291555A (en) | 2020-06-16 |
CN111291555B CN111291555B (en) | 2024-02-27 |
Family
ID=71026899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010133713.0A Active CN111291555B (en) | 2020-02-28 | 2020-02-28 | Commodity specification identification method, commodity specification identification device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111291555B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199451A (en) * | 2020-09-30 | 2021-01-08 | 京东数字科技控股股份有限公司 | Commodity identification method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861972A (en) * | 2017-09-15 | 2018-03-30 | 广州唯品会研究院有限公司 | The method and apparatus of the full result of display of commodity after a kind of user's typing merchandise news |
CN110189187A (en) * | 2019-04-15 | 2019-08-30 | 深圳平安综合金融服务有限公司 | Merchandise control method, apparatus, computer equipment and storage medium |
CN110210470A (en) * | 2019-06-05 | 2019-09-06 | 复旦大学 | Merchandise news image identification system |
CN110705363A (en) * | 2019-09-06 | 2020-01-17 | 广州图匠数据科技有限公司 | Commodity specification identification method and device |
-
2020
- 2020-02-28 CN CN202010133713.0A patent/CN111291555B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861972A (en) * | 2017-09-15 | 2018-03-30 | 广州唯品会研究院有限公司 | The method and apparatus of the full result of display of commodity after a kind of user's typing merchandise news |
CN110189187A (en) * | 2019-04-15 | 2019-08-30 | 深圳平安综合金融服务有限公司 | Merchandise control method, apparatus, computer equipment and storage medium |
CN110210470A (en) * | 2019-06-05 | 2019-09-06 | 复旦大学 | Merchandise news image identification system |
CN110705363A (en) * | 2019-09-06 | 2020-01-17 | 广州图匠数据科技有限公司 | Commodity specification identification method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199451A (en) * | 2020-09-30 | 2021-01-08 | 京东数字科技控股股份有限公司 | Commodity identification method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111291555B (en) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9934254B2 (en) | Terminal apparatus, information processing system, and information processing method | |
US11755173B2 (en) | Information processing device, information processing method, storage medium, and guide system | |
CN107766349B (en) | Method, device, equipment and client for generating text | |
CN107818492B (en) | Product recommendation apparatus, method and computer-readable storage medium | |
CN106030578B (en) | Search system and control method of search system | |
US11481085B2 (en) | Electronic device and folder configuring method therefor | |
TWI611718B (en) | Method for operating a mobile computing device to control smart devices | |
CN113050941A (en) | Front-end page generation method, device, equipment and computer readable storage medium | |
CN111833143A (en) | Information classification display method and device | |
CN112667212A (en) | Buried point data visualization method and device, terminal and storage medium | |
JP2015038717A (en) | Information processing system, information processing method, terminal device, and application program | |
CN111291555B (en) | Commodity specification identification method, commodity specification identification device and computer readable storage medium | |
CN111242712A (en) | Commodity display method and device | |
CN112948045A (en) | Picture display method, device, equipment and computer readable storage medium | |
CN107862728B (en) | Picture label adding method and device and computer readable storage medium | |
CN110390486B (en) | Book management method, apparatus and computer readable storage medium | |
CN112765946B (en) | Chart display method and device and electronic equipment | |
EP3937114A1 (en) | Coordinated outfit assistance server and coordinated outfit assistance system | |
CN113256253A (en) | Data processing method, device, equipment, computer readable storage medium and product | |
CN111125532A (en) | Commodity searching method, commodity searching device, commodity searching equipment and computer readable storage medium | |
CN110580166A (en) | system application installation method and device and storage medium | |
CN113596605B (en) | Electronic price tag display method, television and computer readable storage medium | |
KR102219235B1 (en) | Electronic device providing an interface for sales of a product and method for operating thereof | |
JP2017142615A (en) | Product data registration terminal, product data registration method and product data registration program | |
CN114943589A (en) | Order display method and device, storage medium and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |