CN111291555B - Commodity specification identification method, commodity specification identification device and computer readable storage medium - Google Patents

Commodity specification identification method, commodity specification identification device and computer readable storage medium Download PDF

Info

Publication number
CN111291555B
CN111291555B CN202010133713.0A CN202010133713A CN111291555B CN 111291555 B CN111291555 B CN 111291555B CN 202010133713 A CN202010133713 A CN 202010133713A CN 111291555 B CN111291555 B CN 111291555B
Authority
CN
China
Prior art keywords
commodity
commodity specification
information
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.)
Active
Application number
CN202010133713.0A
Other languages
Chinese (zh)
Other versions
CN111291555A (en
Inventor
李松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Micropurchase Technology Co ltd
Original Assignee
Shenzhen Micropurchase Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Micropurchase Technology Co ltd filed Critical Shenzhen Micropurchase Technology Co ltd
Priority to CN202010133713.0A priority Critical patent/CN111291555B/en
Publication of CN111291555A publication Critical patent/CN111291555A/en
Application granted granted Critical
Publication of CN111291555B publication Critical patent/CN111291555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing 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 commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information; outputting the commodity specification information according to the 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 commodity specification information, so that commodity information can be recorded in batches based on all specifications when being recorded, and the recording efficiency and accuracy of commodity information are improved.

Description

Commodity specification identification method, commodity specification identification device and computer readable storage medium
Technical Field
The present invention relates to the field of electronic commerce technologies, and in particular, to a method and apparatus for identifying commodity specifications, 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 commodities which need to be purchased from the commodities. Under the background, a plurality of groups of micro-merchants, distributors, online shops and the like are developed, and the groups need to put the flagged commodities on a shopping platform, so that corresponding commodity pictures, text descriptions and other information are required to be output according to the flagged commodities, the text descriptions often contain prices, sizes, colors and other attributes, the attributes are required to be respectively recorded according to different models and styles, so that a buyer can check and select the commodities, but huge workload is required to exist for manually recording specification information of each commodity, and even the condition of information recording errors is easy to occur.
However, the existing shopping platform does not have such a solution, and the seller still needs to manually input the specification information of a single commodity, so how to automatically identify the commodity specification according to the commodity description information input by the seller becomes a technical problem to be solved.
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, 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, the method for identifying a commodity specification comprising the steps of:
extracting text information in commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
outputting the commodity specification information according to the corresponding output template so that a user can select a required specification based on the output template.
Optionally, the output template includes 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 template includes:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
outputting the commodity specification information according to a first output template if the commodity specification information has an English mark;
if the commodity specification information has the height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has the shoe code mark, outputting the commodity specification information according to a third output template.
Optionally, after the step of determining whether the commodity specification information has an english identifier, a height identifier, or a shoe code identifier, the method includes:
and if the commodity specification information does not have the English identification, the height identification or the shoe code identification, generating commodity specification matching failure information.
Optionally, before the step of extracting text information in the commodity description information and obtaining commodity specification information matched with a preset commodity specification keyword in the text information, the method comprises the following steps;
receiving a setting instruction of a user on commodity keywords, and determining commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the commodity specification keywords participating in the matching to a local or cloud server.
Optionally, the step of extracting text information in the commodity description information and obtaining commodity specification information matched with a preset commodity specification keyword in the text information includes:
extracting text information in commodity description information;
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 acquiring commodity specification information in the text information according to the position of the target keyword.
Optionally, the step of outputting the commodity specification information according to a corresponding output template includes:
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;
the specification of the interval range is complemented according to a preset step length;
outputting the completed specification according to the corresponding output template.
Optionally, after the step of outputting the commodity specification information according to the 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 addition, in order to achieve the above object, the present invention also provides a commodity specification identifying apparatus, including: the method comprises the steps of a memory, a processor and a commodity specification identification program stored in the memory and capable of running on the processor, wherein the commodity specification identification program is executed by the processor to realize the commodity specification identification method.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a commodity specification identification program which, when executed by a processor, implements the steps of the commodity specification identification method described above.
The method comprises the steps of obtaining commodity specification information matched with preset commodity specification keywords in text information by extracting the text information in commodity description information; outputting the commodity specification information according to the corresponding output template so that a user can select a required specification based on the output template. Through the mode, the invention analyzes the text information in the commodity description information, identifies the commodity specification information in the text information and the type of the commodity specification information, and finally outputs the commodity specification information according to the type of the commodity specification information, thereby realizing the function of automatically identifying the commodity specification information, enabling the commodity information to be input in batches based on all specifications when being input, and improving the input efficiency and accuracy of the commodity information.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of a method for identifying a commodity specification according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for identifying a commodity specification according to the present invention;
fig. 4 is a flow chart of a third embodiment of the method for identifying commodity specifications according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of an apparatus structure of a hardware running 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 terminal equipment with a data processing function such as a smart phone, a tablet personal 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 the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further 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 stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the apparatus may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a Wi-Fi module, and the like. Among other sensors, 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 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the device may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described herein.
It will be appreciated by those skilled in the art that the device structure shown in fig. 1 is not limiting of the device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a commodity specification identification program may be included in the memory 1005, which is one type of computer storage medium. The processor 1001 may be configured to call an identification program of the commodity specification stored in the memory 1005, and perform the following operations:
extracting text information in commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
outputting the commodity specification information according to the 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 commodity 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;
outputting the commodity specification information according to a first output template if the commodity specification information has an English mark;
if the commodity specification information has the height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has the shoe code mark, outputting the commodity specification information according to a third output template.
Further, the processor 1001 may call the identification program of the commodity specification stored in the memory 1005, and also perform the following operations:
and if the commodity specification information does not have the English identification, the height identification or the shoe code identification, generating commodity specification matching failure information.
Further, the processor 1001 may call the identification program of the commodity specification stored in the memory 1005, and also perform the following operations:
receiving a setting instruction of a user on commodity keywords, and determining commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the commodity specification keywords participating in the matching to a local or cloud server.
Further, the processor 1001 may call the identification program of the commodity specification stored in the memory 1005, and also perform the following operations:
extracting text information in commodity description information;
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 acquiring 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 commodity specification stored in the memory 1005, and also perform the following operations:
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 commodity specification stored in the memory 1005, and also perform the following operations:
acquiring the interval range of the commodity specification information;
the specification of the interval range is complemented according to a preset step length;
outputting the completed specification according to the corresponding output template.
Further, the processor 1001 may call the identification program of the commodity 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 commodity specification identifying device is basically the same as the embodiments of the commodity specification identifying method described below, and will not be described herein.
Referring to fig. 2, fig. 2 is a flow chart of a first embodiment of a method for identifying a commodity specification according to the present invention, where the method for identifying a commodity specification includes:
and S10, 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 device of the embodiment of the invention can be a PC, and can also be terminal equipment with a data processing function such as a smart phone, a tablet personal computer, a portable computer and the like. For convenience of explanation, the following embodiments take a smart phone as an example. The intelligent mobile phone is provided with a shopping program capable of intelligently identifying commodity specifications, a merchant can upload commodity description information, such as commodity pictures, text description information and the like, on a shopping program page, after uploading, clicking and storing are completed, text information in the commodity description information can be extracted by a program background, and then preset commodity specification keywords are matched with the text information to judge whether the commodity specification keywords matched with the commodity specification keywords exist. If yes, the position of the commodity specification keyword is further positioned, and the commodity specification information nearby is searched according to the position of the commodity specification keyword.
It should be noted that, the preset commodity specification keywords are fields describing commodity specifications, such as keywords of Size, shoe Size, dimension, size, code number, size, etc., and the commodity specification keywords can be set by the user according to actual needs, and the invention is not limited specifically. The commodity specification information herein may be in english form, such as XXS, 2XS, XS, S, M, L, XL, 2XL, XXL, XXXL, 3XL, XXXXL, 4XL, XXXXL, 5XL, etc.; the Chinese character can also be in the form of extra small size, medium size, large size, extra large size, large code, medium code, small code, average code and the like; it may also be in digital form, such as 39.5, 40, 41, 41.5, 42, 43, 43.5, 44, etc.
For example, a piece of commodity description information issued by a merchant is "special price P75 name: loose cotton shirt fabric of casual simple coat of long-sleeved shirt: wool yarn card characteristics: comfortable cotton, smooth and skin-friendly. The simple layout design, the design elements of the sweater highlight the personalized trend. The former brief embroidery LOGO adds several moisture-separated influenza to the whole. Is easy to put on and has good compliance. Size: m, L, XL). The program background obtains the commodity specification keyword in the text information as 'size' by matching the preset commodity specification keyword with the text information, and obtains commodity specification information near the commodity rule keyword position as 'M, L, XL' after obtaining the commodity rule keyword.
And step S20, outputting the commodity specification information according to a corresponding output template so as to enable a user to select a required specification based on the output template.
Since the habits of each merchant for specification description are different and the types of commodities are various, and the commodity specification information is various, when outputting the commodity specification information, the commodity specification information needs to be output according to different templates corresponding to the types of the commodity 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 commodity specification information is output according to the corresponding output template. Thus, both the merchant and the buyer can see the specification of the commodity through the shopping program, thereby facilitating the buyer to select the proper specification for ordering.
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 when being 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 commodity specification according to the present invention. Based on the 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 steps of:
step S201, determining whether the commodity specification information has an english identifier, a height identifier or a shoe code identifier.
In this embodiment, the commodity specification information is classified into three types having an english mark, a height mark, or a shoe code mark, as in the above example, "M, L, XL" is commodity specification information having an english mark; if the code is 110-160, the code is commodity specification information with height identification; the codes 38-42 are commodity specification information with shoe codes. The three commodity specification information types correspond to the first output template, the second output template and the third output template respectively, so that when commodity specification information is output, whether the commodity specification information has an English identifier, a height identifier or a shoe code identifier needs to be judged, and if the commodity specification information has the English identifier, step S202 is executed; if the commodity specification information has the height mark, executing step S203; if the commodity specification information has the shoe code mark, executing step S204; if the commodity specification information does not have the english mark, the height mark or the shoe code mark, step S205 is executed.
Step S202, outputting the commodity specification information according to a first output template.
And outputting the commodity specification information according to the first output template when the commodity specification information is judged to have the English mark. The first output template comprises all specifications in the XXS-XXXXXL range, when commodity specification information is output, corresponding specification output in the commodity specification information can be automatically matched, and if the commodity specification information is M-3XL, 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 outputting the commodity specification information according to the second output template when the commodity specification information is judged to have the height mark. The second output template contains all specifications in the range of 60-200, and when commodity specification information is output, the corresponding specification output in the commodity specification information can be automatically matched, if the commodity specification information is 110-160 codes/110-160 codes, the specifications are 110, 120, 130, 140, 150 and 160 according to the second output template.
And step S204, outputting the commodity specification information according to a third output template.
And outputting the commodity specification information according to the third output template when the commodity specification information is judged to have the shoe code mark. The third output template contains all specifications ranging from 20 to 60, when 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 38 to 42 codes/38 to 42 codes, the specifications are 38, 39, 40, 41 and 42 according to the third output template.
Step S205, generating commodity specification matching failure information.
When the commodity specification information is judged not to have the English mark, the height mark or the shoe code mark, commodity specification matching failure information is generated, wherein the commodity specification matching failure information can be text, pictures or voice information.
In this embodiment, by judging the matching type of the commodity specifications, a proper output template is selected for output, and even if the commodity information is input in batches by the merchant, the buyer can browse all the specifications of the commodity, and select the required specifications for ordering operation based on the output commodity specifications.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the method for identifying a commodity specification according to the present invention. Based on the embodiment shown in fig. 2, before the step of extracting text information in the commodity description information and obtaining commodity specification information in the text information, the commodity specification information is matched with a preset commodity specification keyword, the method comprises the following steps;
and step S30, receiving a setting instruction of a user on the commodity keywords, and determining commodity specification keywords participating in matching according to the setting instruction.
And S40, pre-storing the commodity specification keywords participating in the matching 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 pre-store the setting instruction to the local or cloud server. If the user sets keywords such as the Size, the shoe Size, the dimension, the Size, the code number, the Size and the like as commodity specification keywords in the setting instruction through the interactive interface, and when the commodity specification information of the text information is identified, the commodity specification keywords pre-stored according to the local and cloud servers are matched with the text information, so that commodity specification information in the text information is obtained. It should be noted that, preset commodity keywords are different according to different setting instruction contents and are not fixed, and users can flexibly set and modify original commodity specification keywords according to actual needs, so that when the smart phone automatically recognizes commodity specification information, the commodity specification information can be changed based on the use habit of the users, and the accuracy of commodity specification information recognition is improved.
Further, based on the embodiment shown in fig. 2, the step S10 of extracting text information in the commodity description information, and obtaining commodity specification information in the text information, which matches with a preset commodity specification keyword, specifically includes the following steps:
step S101, extracting text information in the commodity description information.
Step 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 text information in the commodity description information, matches the preset commodity specification keywords with the text information, and determines whether there are commodity specification keywords matched with the preset commodity specification keywords. If so, the position information of the commodity specification key is further positioned, and the commodity specification information nearby is searched according to the position information of the commodity specification key, so that the recognition efficiency of the commodity specification information is improved.
Further, based on the embodiment shown in fig. 2, the step S20 of outputting the commodity specification information according to the corresponding output template specifically includes the following steps:
and S50, outputting the commodity specification information according to a corresponding output template according to a preset step length.
Because the output template comprises a wider interval range, when outputting commodity specification information according to the output template, the actual interval range of the commodity specification information needs to be considered, so that the commodity specification without being put on shelf is prevented from being output on the display interface.
Specifically, the step S50 includes:
step S501, acquiring a section range of the commodity specification information.
Step S502, complementing 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 intelligent mobile phone firstly acquires the actual interval range of commodity specification information in the text information, then selects a corresponding interval range from the output template according to the actual interval range of the commodity specification information, and complements the interval range according to a preset step length, so that each specification of the interval range can be normally output. For example, assuming that the commodity specification information in the text information is M-3XL and the interval range of the first output template is XXS to XXXL, the actual interval range of the commodity specification information is complemented according to a preset step length to obtain M, L, XL, 2XL and 3XL specification information. It should be noted that, the preset step length may be set to different values according to different types of the commodity specification information, and of course, may also be set to the same value, which is not limited in detail in this embodiment.
In this embodiment, the commodity specification information is output according to a preset step length and a corresponding output template, so that each specification in the on-shelf commodity can be output and displayed to the buyer, and the specification not in the on-shelf commodity is not output and displayed, thereby facilitating the commodity specification required by the buyer to place a bill.
Further, based on the embodiment shown in fig. 2, after outputting the commodity specification information according to the corresponding output template in step S20, the method further includes the following steps:
step S60, obtaining prices corresponding to different commodity specifications.
And step S70, displaying the price correspondence at a preset position of the output template.
In order to facilitate the buyer to clearly understand the prices of different specifications when placing a bill, the prices corresponding to the different specifications are also displayed at the preset position of the output template in the embodiment. For example, the commodity description information is "name: loose cotton shirt fabric of casual simple coat of long-sleeved shirt: wool yarn card characteristics: comfortable cotton, smooth and skin-friendly. The simple layout design, the design elements of the sweater highlight the personalized trend. The former brief embroidery LOGO adds several moisture-separated influenza to the whole. Is easy to put on and has good compliance. Size M, price 100 yuan; size L, price 120 yuan; dimension XL, price 150 ", according to the above-mentioned step S20, get commodity specification information output as M, L, XL, while carrying out step S20, withdraw price 100, 120, 150 from text information and save at the same time, display the price above or below the corresponding specification respectively when the first output template displays commodity specification information finally.
Under the condition that multiple prices exist in different specifications of the same commodity, the price corresponding to the specifications of the different commodity can be obtained and displayed at the preset position of the output template, so that buyers can know the prices of the different specifications conveniently, and a user can select a proper specification to place an order conveniently.
In addition, the embodiment of the invention also provides a computer readable storage medium. The computer readable storage medium stores a commodity specification identification program, which when executed by a processor, performs the steps of:
extracting text information in commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
outputting the commodity specification information according to the corresponding output template so that a user can select a required specification based on the output template.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
outputting the commodity specification information according to a first output template if the commodity specification information has an English mark;
if the commodity specification information has the height mark, outputting the commodity specification information according to a second output template;
and if the commodity specification information has the shoe code mark, outputting the commodity specification information according to a third output template.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
and if the commodity specification information does not have the English identification, the height identification or the shoe code identification, generating commodity specification matching failure information.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
receiving a setting instruction of a user on commodity keywords, and determining commodity specification keywords participating in matching according to the setting instruction;
and pre-storing the commodity specification keywords participating in the matching to a local or cloud server.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
extracting text information in commodity description information;
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 acquiring commodity specification information in the text information according to the position of the target keyword.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
outputting the commodity specification information according to a corresponding output template according to a preset step length.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
acquiring the interval range of the commodity specification information;
the specification of the interval range is complemented according to a preset step length;
outputting the completed specification according to the corresponding output template.
Further, the identification program of the commodity specification further realizes the following steps when being executed by the processor:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
The specific embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the method for identifying commodity specifications described above, and will not be described herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (4)

1. The commodity specification identification method is characterized by comprising the following steps of:
extracting text information in commodity description information, and acquiring commodity specification information matched with preset commodity specification keywords in the text information;
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 output template comprises 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 template comprises the following steps:
judging whether the commodity specification information has an English mark, a height mark or a shoe code mark;
if the commodity specification information has the English mark, outputting the commodity specification information according to a first output template, wherein the first output template comprises all specifications in the XXS-XXXXXL range;
if the commodity specification information has the height mark, outputting the commodity specification information according to a second output template, wherein the second output template comprises all specifications in a range of 60-200;
if the commodity specification information has the shoe code mark, outputting the commodity specification information according to a third output template, wherein the third output template comprises all specifications in a range of 20-60;
after the step of judging whether the commodity specification information has the English mark, the height mark or the shoe code mark, the method comprises the following steps:
if the commodity specification information does not have the English mark, the height mark or the shoe code mark, commodity specification matching failure information is generated;
before the step of extracting text information in the commodity description information and obtaining commodity specification information matched with preset commodity specification keywords in the text information, the method comprises the following steps;
receiving a setting instruction of a user on commodity keywords, and determining commodity specification keywords participating in matching according to the setting instruction;
pre-storing commodity specification keywords participating in matching to a local or cloud server;
the step of extracting text information in the commodity description information and obtaining commodity specification information matched with a preset commodity specification keyword in the text information comprises the following steps:
extracting text information in commodity description information;
matching the text information with a preset commodity specification keyword, and determining the position of a target keyword matched with the commodity specification keyword;
acquiring commodity specification information in the text information according to the position of the target keyword;
the step of outputting the commodity specification information according to a corresponding output template comprises the following steps:
outputting the commodity specification information according to a corresponding output template according to a preset step length;
the step of outputting the commodity specification information according to the corresponding output template according to the preset step length comprises the following steps:
acquiring the interval range of the commodity specification information;
the specification of the interval range is complemented according to a preset step length;
outputting the completed specification according to the corresponding output template.
2. The method of claim 1, wherein after the step of outputting the commodity specification information according to the corresponding output template, comprising:
acquiring prices corresponding to different commodity specifications;
and correspondingly displaying the price at a preset position of the output template.
3. A commodity specification identification device, characterized in that the commodity specification identification device comprises: memory, a processor and a commodity specification identification program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the commodity specification identification method according to any one of claims 1 to 2.
4. A computer-readable storage medium, wherein a commodity specification identification program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the commodity specification identification method according to any one of claims 1 to 2.
CN202010133713.0A 2020-02-28 2020-02-28 Commodity specification identification method, commodity specification identification device and computer readable storage medium Active CN111291555B (en)

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 CN111291555A (en) 2020-06-16
CN111291555B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111291555A (en) 2020-06-16

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
CN106030578B (en) Search system and control method of search system
CN108153848B (en) Method and device for searching light application data and electronic device
TWI611718B (en) Method for operating a mobile computing device to control smart devices
CN107818492B (en) Product recommendation apparatus, method and computer-readable storage medium
CN113050941A (en) Front-end page generation method, device, equipment and computer readable storage medium
US20220075506A1 (en) Electronic device and folder configuring method therefor
KR101660803B1 (en) Apparatus and method for information providing
CN111833143A (en) Information classification display method and device
US20170293938A1 (en) Interactive competitive advertising commentary
CN111291555B (en) Commodity specification identification method, commodity specification identification device and computer readable storage medium
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
CN111242712A (en) Commodity display method and device
CN110390486B (en) Book management method, apparatus and computer readable storage medium
US10438267B2 (en) Product search device, system, method, and program which uses first and second different features of products to display and search the products
CN113256253A (en) Data processing method, device, equipment, computer readable storage medium and product
CN112684912A (en) Candidate information display method and device and electronic equipment
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
KR101701952B1 (en) Method, apparatus and computer program for displaying serch information
CN113596605B (en) Electronic price tag display method, television and computer readable storage medium
JP5809762B1 (en) Product display program
KR102219235B1 (en) Electronic device providing an interface for sales of a product and method for operating thereof

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