CN117591727A - Commodity query method, system, processor and equipment - Google Patents

Commodity query method, system, processor and equipment Download PDF

Info

Publication number
CN117591727A
CN117591727A CN202311673922.4A CN202311673922A CN117591727A CN 117591727 A CN117591727 A CN 117591727A CN 202311673922 A CN202311673922 A CN 202311673922A CN 117591727 A CN117591727 A CN 117591727A
Authority
CN
China
Prior art keywords
commodity
attribute
attribute data
price
query
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.)
Pending
Application number
CN202311673922.4A
Other languages
Chinese (zh)
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 CN202311673922.4A priority Critical patent/CN117591727A/en
Publication of CN117591727A publication Critical patent/CN117591727A/en
Pending legal-status Critical Current

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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Mathematical Physics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A commodity query method, system, processor and equipment, the method can be applied to various business scenes, including: receiving a commodity inquiry request input by a user; determining a service scene according to the commodity inquiry request; the method comprises the steps of extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to preset query rules, and processing according to a preset method to obtain second attribute data required by a service scene, wherein the query rules are a combination mode of commodity attributes required by the service scene, the query rules are in one-to-one correspondence with the service scene, the corresponding query rules only need to be adjusted when the service scene is changed, the process and the structure are not required to be changed, and meanwhile, when a new service scene is developed, the query requirements can be met only by setting the corresponding query rules, the code can be conveniently expanded, and the research and development efficiency is greatly improved.

Description

Commodity query method, system, processor and equipment
Technical Field
The invention relates to the technical field of commodity inquiry, in particular to a commodity inquiry method, a system, a processor and equipment.
Background
With popularization of the Internet and development of technology, an e-commerce service platform rapidly rises in the global scope and becomes an important component of modern commerce, and the e-commerce service platform can be divided into the following types according to different business modes and product characteristics: b2c platform: B2C refers to an electronic commerce mode of enterprises facing consumers, and the platform mainly provides services such as commodity sales, payment settlement, logistics distribution and the like. Common B2C e-commerce platforms include naughty, genitals, kittens, and the like; c2c platform: the C2C is an electronic commerce mode for carrying out transactions among consumers, the platform mainly provides services such as transaction matching, credit evaluation, payment settlement and the like, and common C2C electronic commerce platforms have the advantages of idle fish, more spelling and the like; o2o platform: O2O refers to an online and offline combined e-commerce mode, and the platform mainly provides online booking, offline consumption and other services, such as beauty take-out and public criticizing; b2b platform: B2B refers to an electronic commerce mode of transaction among enterprises, and the platform mainly provides services such as purchase docking, supply chain management and the like, such as: aleba 1688, global trade pass, etc.
In some highly dynamic and flexible scenes, different users have different inquiry requirements on the commodities in different business scenes, and the e-commerce service platform needs to select different attribute combinations based on the inquiry requirements to perform attribute screening of the commodities so as to display the commodities meeting the inquiry requirements of the users to the users, for example: business scenes such as side selling, price authority control and the like exist in the B2B platform; in order to solve the commodity inquiry under different service scenes, the conventional e-commerce service platform usually prejudges the commodity inquiry requirements under different service scenes, and writes codes according to attribute combinations corresponding to the prejudged commodity inquiry requirements.
Disclosure of Invention
The commodity inquiring method capable of being elastically expanded and reused provided by the invention greatly reduces the complexity of research and development and improves the research and development efficiency.
In a first aspect, in one embodiment, a commodity query method is provided, where the method is applicable to multiple service scenarios, and the method includes: receiving a commodity inquiry request input by a user; determining the service scene according to the commodity inquiry request; extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to a preset query rule, wherein the query rule corresponds to the business scene one by one, and the query rule comprises a combination mode of the commodity attributes required by the business scene; processing the first attribute data according to a preset method to obtain second attribute data required by the service scene; and displaying the second attribute data so as to be convenient for a user to check.
In some embodiments, the determining the service scenario according to the commodity query request includes: the commodity inquiry requests are triggered through commodity inquiry inlets, the commodity inquiry inlets are in one-to-one correspondence with the business scenes, and the business scenes corresponding to the commodity inquiry requests are determined according to the commodity inquiry inlets; or the commodity inquiry request is triggered through a commodity inquiry entrance, the commodity inquiry entrance corresponds to a plurality of business scenes, the commodity inquiry request comprises identification of the business scenes, and the business scenes are determined through identifying the identification.
In some embodiments, the commodity attribute at least includes a material attribute, where the material attribute is an attribute for describing basic information of a commodity, the material attribute includes at least one of a tag, a source, a description and a picture, the tag is a keyword for describing the commodity, and the source is information for characterizing a commodity publisher; the processing the first attribute data according to a preset method includes: when the commodity attribute is the label, the first attribute data is label code, and the label code is converted into a label according to a preset mapping relation so as to obtain the second attribute data; or when the commodity attribute is the source, the first attribute data is the code of the commodity publisher, and the information of the commodity publisher is extracted according to the code of the commodity publisher so as to obtain the second attribute data; or when the commodity attribute is the description, the first attribute data is a text description, and information meeting preset conditions in the text description is identified and extracted to obtain the second attribute data; or when the commodity attribute is the picture, the first attribute data is a storage path of the picture, after the corresponding picture is extracted according to the storage path of the picture, the corresponding picture is cleaned and/or a format suffix is added to obtain the second attribute data, the cleaning means that redundant information in the first attribute data is removed, and the adding format means that the format suffix is added to the first attribute data according to a preset rule.
In some embodiments, the commodity attributes include transaction attributes that are attributes for commodity transactions, the transaction attributes including at least one of a group price, a wholesale price, and a minimum inventory unit that is a base unit for inventory in and out metering; the processing the first attribute data according to a preset method further includes: determining a price format according to the determined business scene, and when the commodity attribute is the side selling price, performing format conversion on the side selling price based on the price format to obtain the second attribute data, wherein the first attribute data is the side selling price; or determining a price format according to the determined business scene, and when the commodity attribute is the spelling price, performing format conversion on the spelling price based on the price format to obtain the second attribute data, wherein the first attribute data is the spelling price; or determining a price format according to the determined business scene, and when the commodity attribute is the wholesale price, performing format conversion on the wholesale price based on the price format to obtain the second attribute data, wherein the first attribute data is the wholesale price; or when the commodity attribute is the minimum stock unit, the first attribute data is a minimum stock unit code, and the minimum stock unit code is converted into the minimum stock unit according to a preset stock unit mapping relation so as to obtain the second attribute data.
In some embodiments, the commodity attribute further includes an activity attribute, the activity attribute is used for characterizing whether the commodity participates in a promotion, the processing the first attribute data according to a preset method further includes: when the commodity attribute is the activity attribute, the first attribute data is the code of the sales promotion activity, the code of the sales promotion activity is converted into a template or rule of the sales promotion activity according to a preset sales promotion activity mapping relation, and calculation and screening are carried out based on the template or the rule to obtain the second attribute data.
In some embodiments, the commodity attributes further comprise a propagation attribute, the propagation attribute being an attribute for commodity propagation, the propagation attribute comprising at least one of forwarding, sharing, and remarking; the processing the first attribute data according to a preset method includes: when the commodity attribute is the forwarding, the first attribute data is a storage path of the graphic information of the commodity extracted according to a preset reference relationship, the graphic information is extracted according to the storage path of the graphic information to obtain the second attribute data, and the reference relationship is used for representing the relationship between a user and other personnel in commodity transaction; or when the commodity attribute is the sharing, the first attribute data is the commodity code, and the sharing times and the sharing time of the commodity are extracted according to the commodity code so as to obtain the second attribute data; and when the commodity attribute is the remark, the first attribute data is grouping information of the commodity, and the information of the commodity is extracted according to the grouping information so as to obtain the second attribute data.
In a second aspect, another embodiment provides a commodity query system, comprising: the request receiving module is used for receiving a commodity inquiry request input by a user under a service scene; the service scene determining module is used for determining the service scene according to the commodity inquiry request; the data extraction module is used for extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to a preset query rule, wherein the query rule corresponds to the business scene one by one, and the query rule is a combination mode of the commodity attributes required by the business scene; the data processing module is used for processing the first attribute data according to a preset method to obtain second attribute data required by the service scene; and the display module is used for displaying the second attribute data so as to be convenient for a user to check.
In a third aspect, another embodiment provides a merchandise query processor, comprising: the system comprises a data extraction unit and a data processing unit, wherein the data extraction unit is used for extracting first attribute data of a commodity attribute, and the data processing unit is used for processing the first attribute data according to a preset method to obtain second attribute data required by a business scene.
In a fourth aspect, another embodiment provides a commodity query apparatus, including: memory, a processor and a program stored on the memory and executable on the processor, which processor implements a method as described above when executing the program.
In a fifth aspect, another embodiment provides a computer storage medium having a program stored thereon, which when executed by a processor, implements a method as described above.
According to the method of the embodiment, the first attribute data for representing the commodity attributes are extracted from the commodity attribute database which is built in advance according to the preset query rules and are processed according to the preset method to obtain the second attribute data required by the service scene, the query rules are the combination mode of the commodity attributes required by the service scene, the query rules are in one-to-one correspondence with the service scene, the corresponding query rules are only required to be adjusted when the service scene is changed, the process and the structure are not required to be changed, meanwhile, when a new service scene is developed, the query requirements can be met by only setting the corresponding query rules, the expansion can be conveniently carried out, the codes can be multiplexed, and the research and development efficiency is greatly improved.
Drawings
FIG. 1 is a flow chart of a commodity query method provided by the invention;
FIG. 2 is a flow chart of the commodity query system provided by the present invention;
FIG. 3 is a block diagram of a commodity query processor according to one embodiment;
FIG. 4 is an example of a commodity query for different scenarios of one embodiment;
FIG. 5 is a block diagram of a commodity inquiring device provided by the present invention;
fig. 6 is a block diagram of a computer storage medium according to the present invention.
Detailed Description
The invention will be described in further detail below with reference to the drawings by means of specific embodiments. Wherein like elements in different embodiments are numbered alike in association. In the following embodiments, numerous specific details are set forth in order to provide a better understanding of the present application. However, one skilled in the art will readily recognize that some of the features may be omitted, or replaced by other elements, materials, or methods in different situations. In some instances, some operations associated with the present application have not been shown or described in the specification to avoid obscuring the core portions of the present application, and may not be necessary for a person skilled in the art to describe in detail the relevant operations based on the description herein and the general knowledge of one skilled in the art.
Furthermore, the described features, operations, or characteristics of the description may be combined in any suitable manner in various embodiments. Also, various steps or acts in the method descriptions may be interchanged or modified in a manner apparent to those of ordinary skill in the art. Thus, the various orders in the description and drawings are for clarity of description of only certain embodiments, and are not meant to be required orders unless otherwise indicated.
The numbering of the components itself, e.g. "first", "second", etc., is used herein merely to distinguish between the described objects and does not have any sequential or technical meaning.
Referring to fig. 1, in an embodiment of the present invention, a commodity query method is provided, and the method can be applied to various business scenarios, and includes:
s10: and receiving a commodity inquiry request input by a user.
In some embodiments, the e-commerce service platform is a B2B platform, through which a user can create a cloud personal album, the content of the personal album can be the image-text of the commodity uploaded by the user, the image-text of the concerned provider (friend) can be forwarded to the personal album, the image-text materials of websites at home and abroad can be grabbed in batches to reach the personal album, commodity inquiry service scenes provided by the platform include but are not limited to group sales scene commodity inquiry, personal album commodity inquiry, album dynamic commodity inquiry, second killing scene commodity inquiry and the like, the personal album commodity inquiry refers to the data of the commodity of the user in the personal album, the album dynamic commodity inquiry refers to the data of the commodity of the user and the concerned provider, the group sales scene commodity inquiry refers to the data of the commodity allowing to sell, and the second killing scene commodity inquiry refers to the data of the commodity which the user can participate in the second killing activity.
S20: and determining a service scene according to the commodity inquiry request.
In some embodiments, determining a business scenario according to a commodity query request includes: the commodity inquiry requests are triggered through commodity inquiry inlets, the commodity inquiry inlets are in one-to-one correspondence with the business scenes, and the business scenes corresponding to the commodity inquiry requests are determined according to the commodity inquiry inlets; or the commodity inquiry request is triggered by a commodity inquiry entrance, the commodity inquiry entrance corresponds to various service scenes, the commodity inquiry request comprises the identification of the service scenes, and the service scenes are determined by identifying the identification.
In some embodiments, the e-commerce service platform provides the user with a commodity query entry corresponding to a service scenario, where the commodity query entry corresponds to the service scenario one-to-one, and when the user triggers a commodity query request through the commodity query entry, the e-commerce service platform may receive and determine the service scenario corresponding to the commodity query request, for example: the access entry for the help sales scene commodity query is HTTPS:// WWW.ABC.COM/QUERYBANMAI, and the access entry for the second killer scene commodity query is HTTP:// WWW.ABC.COM/QUERYMIASHA.
In other embodiments, the e-commerce service platform provides a commodity query entry corresponding to a plurality of service scenarios for the user, the commodity query request input by the user includes an identifier of the service scenario, and the e-commerce service platform determines the service scenario corresponding to the commodity query request by identifying the value of the identifier, for example: the commodity QUERY entrance is HTTPS:// WWW.ABC.COM/QUERY, the identification of the business scene included in the commodity QUERY request is a, the commodity QUERY of the side sales scene is corresponding to a = 1, and a = 1 is added into the commodity QUERY entrance, namely the entrance of the side sales scene commodity QUERY is HTTPS:// WWW.ABC.COM/QUERY? a=1; corresponding to a second killer scene commodity query when a=2, a=2 is added to the commodity query entry, i.e. the entry for the second killer scene commodity query is HTTPS:// www.abc.com/query=2.
S30: and extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to a preset query rule, wherein the query rule corresponds to the business scene one by one, and the query rule is a combination mode of commodity attributes required by the business scene.
In some embodiments, the commodity attributes include, in addition to basic text descriptions and graphics, minimum stock units, i.e., basic units for in-out metering, such as: a piece of clothing having red, white, and blue colors, each color having a SKU code; the commodity attribute database stores data of each commodity attribute of commodities in advance.
S40: and processing the first attribute data according to a preset method to obtain second attribute data required by the service scene.
In some embodiments, the commodity attribute at least comprises a material attribute, the material attribute is an attribute for describing basic information of the commodity, the material attribute comprises at least one of a label, a source, a description and a picture, the label is a keyword for describing the commodity, and the source is information for representing a commodity publisher; processing the first attribute data according to a preset method, including: when the commodity attribute is a label, the first attribute data is a label code, and the label code is converted into a label according to a preset mapping relation so as to obtain second attribute data; or when the commodity attribute is the source, the first attribute data is the code of the commodity publisher, and the information of the commodity publisher is extracted according to the code of the commodity publisher so as to obtain the second attribute data; or when the commodity attribute is description, the first attribute data is text description, and information meeting preset conditions in the text description is identified and extracted to obtain second attribute data; or when the commodity attribute is a picture, the first attribute data is a storage path of the picture, after the corresponding picture is extracted according to the storage path of the picture, the corresponding picture is cleaned and/or format suffixes are added to obtain second attribute data, the cleaning means that redundant information in the first attribute data is removed, and the adding format means that the format suffixes are added to the first attribute data according to a preset rule.
In some embodiments, the commodity attribute database stores relative paths of pictures, when the commodity attribute is a picture, the first attribute data is the relative paths of the picture, and after the relative paths are converted into absolute paths, the picture is extracted according to the absolute paths to be cleaned and/or format suffixes are added, for example: the relative path of the picture is/album/abc. Icon, and the absolute path after conversion is www.szwego.com/album/abc. Icon.
In some embodiments, the first attribute data of some commodity attributes is set when the commodity issuer issues the commodity, such as: the material attributes such as labels, descriptions and pictures can also be automatically generated when the commodity is released, for example: the source of the first attribute data is not limited herein.
In some embodiments, the commodity attributes include a transaction attribute, the transaction attribute being an attribute for commodity transactions, the transaction attribute including at least one of a group price, a wholesale price, and a minimum inventory unit, the minimum inventory unit being a base unit for inventory in and out metering, such as: inquiring transaction attributes such as group selling price, group spelling price and wholesale price when inquiring in some price authority control scenes (group selling scene, group spelling scene and the like); the method for processing the first attribute data according to the preset method further comprises the following steps: determining a price format according to the determined business scene, and when the commodity attribute is the spelling price, performing format conversion on the spelling price based on the price format to obtain second attribute data, wherein the first attribute data is the spelling price; or determining a price format according to the determined business scene, and when the commodity attribute is wholesale price, performing format conversion on the wholesale price based on the price format to obtain second attribute data, wherein the first attribute data is wholesale price; or when the commodity attribute is the minimum stock unit, the first attribute data is the minimum stock unit code, and the minimum stock unit code is converted into the minimum stock unit according to the preset stock unit mapping relation so as to obtain the second attribute data.
In some embodiments, format conversion of the banked price, the collage price, the wholesale price includes, but is not limited to, converting a price containing decimal points to an integer price, converting currency of a different country, and the like.
In some embodiments, the commodity attributes further include an activity attribute, where the activity attribute is used to characterize whether the commodity participates in a promotional program, and the processing the first attribute data according to a preset method further includes: when the commodity attribute is the activity attribute, the first attribute data is the code of the sales promotion, the code of the sales promotion is converted into a template or rule of the sales promotion according to the preset mapping relation of the sales promotion, and calculation and screening are carried out based on the template or rule to obtain the second attribute data.
In some embodiments, the commodity attributes further include a propagation attribute, the propagation attribute being an attribute for commodity propagation, the propagation attribute including at least one of forwarding, sharing, and remarks, such as: what is required for the dynamic commodity inquiry scene of the album is the combination of commodity attributes such as labels, descriptions, sharing, minimum stock units, remarks and the like; processing the first attribute data according to a preset method, including: when the commodity attribute is forwarding, the first attribute data is a storage path of the graphic information of the commodity extracted according to a preset reference relationship, the graphic information is extracted according to the storage path of the graphic information to obtain second attribute data, and the reference relationship is used for representing the relationship between the user and other people in commodity transaction, such as: the merchant is provided with a plurality of friends with different identities including a peer merchant, an upstream provider, a client and the like on an electronic commerce service platform, and each friend is recorded according to the different identities in a quotation relation so as to be convenient for limiting the friends with certain identities to forward the commodity under some scenes; or when the commodity attribute is sharing, the first attribute data is commodity codes, and the sharing times and the sharing time of the commodity are extracted according to the commodity codes so as to obtain second attribute data; when the commodity attribute is remark, the first attribute data is grouping information of the commodity, and the information of the commodity is extracted according to the grouping information to obtain the second attribute data, wherein the grouping information of the commodity is usually some description for a customer group established by a merchant when the commodity is released, for example: teenagers, job staffs, etc.
In some embodiments, the requirements of the commodity inquiry of different service scenes on the combination mode of the commodity attributes are different, and other inquiry rules can be preset for the service scenes according to the needs when the commodity inquiry is applied, which is not limited herein.
It should be noted that, in the embodiment of the present invention, only the service scenario, the commodity attribute and the first attribute data processing method are described by way of example, and the method provided by the present invention is applicable to commodity inquiry of other service scenarios of the e-commerce service platform.
S50: the second attribute data is displayed for viewing by the user.
In some embodiments, when the first attribute data is a tag code, the user may see the tag of the item; when the first attribute data is the code of the commodity issuer, the user can see the information of the commodity issuer; when the first attribute data is text description, the user can see commodity information meeting preset conditions; when the first attribute data is a storage path of the picture, the user can see the washed picture.
In some embodiments, when the first attribute data is a side selling price, the user sees the side selling price after format conversion; when the first attribute data is the price of the spelling group, the user sees the price of the spelling group after format conversion; when the first attribute data is wholesale price, the user sees the wholesale price after format conversion; when the first attribute data is a minimum stock keeping unit code, the user can see the minimum stock keeping unit of the commodity.
In some embodiments, when the first attribute data is a promotional program code, the user sees merchandise information that is calculated and filtered based on templates or rules, including merchandise names, descriptions, and activity prices, etc.
In some embodiments, when the first attribute data is a storage path of the graphic information of the commodity extracted according to the preset reference relationship, the user sees the graphic information of the commodity of the concerned merchant (friend) and the user sees the graphic information of the commodity; when the first attribute data is commodity codes, the user sees information such as sharing times and sharing time of commodities; when the first attribute data is grouping information of the commodities, the user sees the graphic and text information of the commodities in the grouping.
In some embodiments, for a business scenario requiring querying a plurality of commodity attributes, a plurality of second attribute data of the commodity is displayed, such as: the second attribute data displayed for the personal album commodity query is data such as a label, a description, a picture and the like of the commodity.
The method provided by the invention extracts the first attribute data for representing the commodity attributes from the commodity attribute database which is built in advance according to the preset query rule and processes the first attribute data according to the preset method so as to obtain the second attribute data required by the service scene, wherein the query rule is a combination mode of the commodity attributes required by the service scene, the query rule corresponds to the service scene one by one, the corresponding query rule is only required to be adjusted when the service scene is changed, the process and the structure are not required to be changed, and meanwhile, when a new service scene is developed, the query requirement can be met by only setting the corresponding query rule, the expansion can be conveniently carried out, the code can be reused, and the research and development efficiency is greatly improved.
In another embodiment of the present invention, as shown in fig. 2, a commodity query system is provided, including: a request receiving module 10, configured to receive a commodity query request input by a user; the service scene determining module 20 is configured to determine a service scene according to the commodity query request; the data extraction module 30 is configured to extract, from a pre-built commodity attribute database, first attribute data for characterizing a commodity attribute according to a preset query rule, where the query rule corresponds to a service scenario one by one, and the query rule is a combination mode of commodity attributes required by the service scenario; the data processing module 40 is configured to process the first attribute data according to a preset method to obtain second attribute data required by the service scenario; and a display module 50 for displaying the second attribute data for viewing by a user.
The detailed implementation of the commodity query system is the same as that of the foregoing method, and will not be repeated here.
In another embodiment of the present invention, a commodity query processor, as shown in fig. 3, includes: the data extraction unit 100 and the data processing unit 200, the data extraction unit 100 is configured to extract first attribute data of a commodity attribute, and the data processing unit 200 is configured to process the first attribute data according to a preset method to obtain second attribute data required by a service scene.
In some embodiments, as shown in fig. 4, a commodity query processor is pre-constructed for extracting and processing each commodity attribute to form a commodity query processor pool 300, and when receiving a commodity query request of a user, commodity query processors required by a service scene are called from the commodity query processor pool 300 according to a preset rule; in fig. 4, the commodity query processor 300 includes: the commodity image processing device comprises a commodity image processor, a commodity title processor, a commodity source processor, a movable commodity processor, a commodity SKU processor, a commodity label processor, a commodity price processor, a commodity sharing processor, a commodity forwarding processor and a commodity remarking processor, wherein the commodity image processor is used for extracting a storage path of a picture, and after the corresponding picture is extracted according to the storage path of the picture, the corresponding picture is cleaned and/or a format suffix is added to obtain second attribute data; the commodity title processor is used for identifying information meeting preset conditions in the text description of the commodity and extracting the information to obtain second attribute data; the commodity source processor is used for extracting information of the commodity publisher according to the code of the commodity publisher so as to obtain second attribute data; the movable commodity processor is used for converting the codes of the sales promotion into templates or rules of the sales promotion according to a preset sales promotion mapping relation, and calculating and screening are carried out based on the templates or rules so as to obtain second attribute data; the commodity SKU processor is used for converting the minimum stock unit code into the minimum stock unit according to a preset stock unit mapping relation so as to obtain second attribute data; the commodity label processor is used for converting label codes into labels according to a preset mapping relation so as to obtain second attribute data; the commodity price processor is used for carrying out format conversion on the wholesale price, the side selling price and the group spelling price so as to obtain second attribute data; the commodity sharing processor is used for extracting sharing times and sharing time of the commodity according to the commodity codes; the commodity forwarding processor is used for extracting the graphic information of the commodity according to a storage path of the graphic information of the commodity extracted according to a preset reference relation, and extracting the graphic information according to the storage path of the graphic information so as to obtain second attribute data; the commodity remarking processor is used for extracting information of commodities according to the grouping information so as to obtain the second attribute data; it can be seen from fig. 4 that, in both personal album commodity inquiry and album dynamic commodity inquiry, the required commodity inquiry processors are firstly called from the commodity inquiry processor pool 300 according to the requirements of respective service scenes, then the commodity inquiry processor set 400 required by the service scene inquiry is formed, and the commodity inquiry processors in the commodity inquiry processor set 400 are executed to obtain the second attribute data required by the service scenes, such as: for personal album merchandise queries, the merchandise query processor set 400 includes: a commodity label processor, a commodity picture processor, a commodity title processor and the like; for the dynamic commodity query of the album, the commodity query processor set 400 includes: a commodity label processor, a commodity title processor, a commodity sharing processor, a commodity SKU processor, a commodity remark processor and the like.
In some embodiments, the processors in the set of commodity query processors 400 may also be executed in a pre-set order.
It should be noted that, the embodiments of the present invention just exemplify a few commodity query processors, and in practical application, other commodity query processors may be constructed based on the method provided by the present invention according to requirements.
In some embodiments, the development of the commodity query processor is performed based on a JAVA programming language, and the development environment used is intelligent IDEA (integrated development environment of JAVA programming language), eclipse (extensible development platform based on JAVA with open source code), etc., and other programming languages and other development environments may be used for the development of the commodity query processor in practical application, which is not limited herein.
The detailed implementation of the commodity query processor is the same as that of the foregoing method, and will not be repeated here.
In another embodiment of the present invention, a commodity query apparatus, as shown in fig. 5, includes: the memory 500, the processor 600 and a program stored on the memory 500 and executable on the processor 600, the processor 600 implementing the method as described above when executing the program.
In another embodiment of the present invention, a storage medium is provided, as shown in fig. 6, on which a program is stored 700, which when executed by a processor 600 implements a method as described above.
The foregoing description of the invention has been presented for purposes of illustration and description, and is not intended to be limiting. Several simple deductions, modifications or substitutions may also be made by a person skilled in the art to which the invention pertains, based on the idea of the invention.

Claims (10)

1. A commodity query method applicable to a plurality of business scenarios, the method comprising:
receiving a commodity inquiry request input by a user;
determining the service scene according to the commodity inquiry request;
extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to a preset query rule, wherein the query rule corresponds to the business scene one by one, and the query rule comprises a combination mode of the commodity attributes required by the business scene;
processing the first attribute data according to a preset method to obtain second attribute data required by the service scene;
and displaying the second attribute data so as to be convenient for a user to check.
2. The method of claim 1, wherein the determining the business scenario from the merchandise query request comprises:
the commodity inquiry requests are triggered through commodity inquiry inlets, the commodity inquiry inlets are in one-to-one correspondence with the business scenes, and the business scenes corresponding to the commodity inquiry requests are determined according to the commodity inquiry inlets; or (b)
The commodity inquiry request is triggered through a commodity inquiry entrance, the commodity inquiry entrance corresponds to a plurality of business scenes, the commodity inquiry request comprises identification of the business scenes, and the business scenes are determined through identifying the identification.
3. The method of claim 1, wherein the commodity attributes include at least a material attribute, the material attribute being an attribute for describing basic information of a commodity, the material attribute including at least one of a tag, a source, a description, and a picture, the tag being a keyword for describing the commodity, the source being information for characterizing a commodity issuer; the processing the first attribute data according to a preset method includes:
when the commodity attribute is the label, the first attribute data is label code, and the label code is converted into a label according to a preset mapping relation so as to obtain the second attribute data; or (b)
When the commodity attribute is the source, the first attribute data is the code of a commodity publisher, and the information of the commodity publisher is extracted according to the code of the commodity publisher so as to obtain the second attribute data; or (b)
When the commodity attribute is the description, the first attribute data is a text description, and information meeting preset conditions in the text description is identified and extracted to obtain the second attribute data; or (b)
When the commodity attribute is the picture, the first attribute data is a storage path of the picture, after the corresponding picture is extracted according to the storage path of the picture, the corresponding picture is cleaned and/or a format suffix is added to obtain the second attribute data, the cleaning means that redundant information in the first attribute data is removed, and the adding format means that the format suffix is added to the first attribute data according to a preset rule.
4. The method of claim 1, wherein the commodity attributes comprise transaction attributes including at least one of a group price, a wholesale price, and a minimum inventory unit, the minimum inventory unit being a base unit for inventory entry and exit metering; the processing the first attribute data according to a preset method further includes:
determining a price format according to the determined business scene, and when the commodity attribute is the side selling price, performing format conversion on the side selling price based on the price format to obtain the second attribute data, wherein the first attribute data is the side selling price; or (b)
Determining a price format according to the determined business scene, and when the commodity attribute is the spelling price, performing format conversion on the spelling price based on the price format to obtain the second attribute data, wherein the first attribute data is the spelling price; or (b)
Determining a price format according to the determined business scene, and when the commodity attribute is the wholesale price, converting the wholesale price into the second attribute data based on the price format, wherein the first attribute data is the wholesale price; or (b)
And when the commodity attribute is the minimum stock unit, the first attribute data is a minimum stock unit code, and the minimum stock unit code is converted into the minimum stock unit according to a preset stock unit mapping relation so as to obtain the second attribute data.
5. The method of claim 1, wherein the commodity attributes further comprise an activity attribute for characterizing whether the commodity is involved in a promotional program, the processing the first attribute data according to a preset method further comprising:
when the commodity attribute is the activity attribute, the first attribute data is the code of the sales promotion activity, the code of the sales promotion activity is converted into a template or rule of the sales promotion activity according to a preset sales promotion activity mapping relation, and calculation and screening are carried out based on the template or the rule to obtain the second attribute data.
6. The method of claim 1, wherein the commodity attributes further comprise a propagation attribute, the propagation attribute being an attribute for commodity propagation, the propagation attribute comprising at least one of forwarding, sharing, and remarking; the processing the first attribute data according to a preset method includes:
when the commodity attribute is the forwarding, the first attribute data is a storage path of the graphic information of the commodity extracted according to a preset reference relationship, the graphic information is extracted according to the storage path of the graphic information to obtain the second attribute data, and the reference relationship is used for representing the relationship between a user and other personnel in commodity transaction; or (b)
When the commodity attribute is the sharing, the first attribute data is the commodity code, and the sharing times and the sharing time of the commodity are extracted according to the commodity code so as to obtain the second attribute data;
and when the commodity attribute is the remark, the first attribute data is grouping information of the commodity, and the information of the commodity is extracted according to the grouping information so as to obtain the second attribute data.
7. A merchandise query system, comprising:
the request receiving module is used for receiving a commodity inquiry request input by a user under a service scene;
the service scene determining module is used for determining the service scene according to the commodity inquiry request;
the data extraction module is used for extracting first attribute data for representing commodity attributes from a commodity attribute database constructed in advance according to a preset query rule, wherein the query rule corresponds to the business scene one by one, and the query rule is a combination mode of the commodity attributes required by the business scene;
the data processing module is used for processing the first attribute data according to a preset method to obtain second attribute data required by the service scene;
and the display module is used for displaying the second attribute data so as to be convenient for a user to check.
8. A merchandise query processor, comprising: the system comprises a data extraction unit and a data processing unit, wherein the data extraction unit is used for extracting first attribute data representing commodity attributes, and the data processing unit is used for processing the first attribute data according to a preset method to obtain second attribute data required by a business scene.
9. A commodity inquiry apparatus, comprising: memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the method according to any one of claims 1-7 when the program is executed.
10. A computer storage medium having a program stored thereon, which when executed by a processor, implements the method of any of claims 1-7.
CN202311673922.4A 2023-12-06 2023-12-06 Commodity query method, system, processor and equipment Pending CN117591727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311673922.4A CN117591727A (en) 2023-12-06 2023-12-06 Commodity query method, system, processor and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311673922.4A CN117591727A (en) 2023-12-06 2023-12-06 Commodity query method, system, processor and equipment

Publications (1)

Publication Number Publication Date
CN117591727A true CN117591727A (en) 2024-02-23

Family

ID=89911410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311673922.4A Pending CN117591727A (en) 2023-12-06 2023-12-06 Commodity query method, system, processor and equipment

Country Status (1)

Country Link
CN (1) CN117591727A (en)

Similar Documents

Publication Publication Date Title
O'Connor et al. Viewing the Web as a marketplace: the case of small companies
US10650399B2 (en) Systems and methods for shopping in an electronic commerce environment
CN112150243A (en) Digital mall system based on business middling platform
JP6861729B2 (en) Purchase transaction data retrieval system with unobtrusive side-channel data recovery
US20030050862A1 (en) Supplier/reseller interaction
US20030050848A1 (en) Supplier/reseller interaction
KR100665035B1 (en) Management method for online shopping center having trade transactions function
US11615455B2 (en) Systems and methods for using keywords extracted from reviews
CN112074859A (en) Welfare type low-price mall system and operation method thereof
CN106164965A (en) For finding out and the system and method for delivery service
US11657107B2 (en) Systems and methods for using keywords extracted from reviews
KR20180073534A (en) System providing reselling platform by curation contents marketing
WO2003044708A1 (en) Network system
KR101764361B1 (en) Method of providing shopping mall service based sns and apparatus for the same
KR20210020360A (en) The online shopping mall platform connected with influencer site
US20030050849A1 (en) Supplier/reseller interaction
WO2017183847A1 (en) Method and apparatus for providing information on object
KR20190107835A (en) Multi-Channel Shopping Mall System
CN117591727A (en) Commodity query method, system, processor and equipment
CN113222714A (en) Intra-domain retail system
KR20120011763A (en) Personalized social networking service system and method
KR101888625B1 (en) Search advertisement information suppling system, integrated system of search advertisement service having the system and search advertisement information suppling method using the system
KR102621193B1 (en) Online resale commerce reseller system
US20030050847A1 (en) Supplier/reseller interaction
CN110852824B (en) Guarantee service-based transaction method, intelligent terminal and storage medium

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