WO2020134990A1 - Product information querying method and apparatus, computer device, and storage medium - Google Patents

Product information querying method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2020134990A1
WO2020134990A1 PCT/CN2019/123876 CN2019123876W WO2020134990A1 WO 2020134990 A1 WO2020134990 A1 WO 2020134990A1 CN 2019123876 W CN2019123876 W CN 2019123876W WO 2020134990 A1 WO2020134990 A1 WO 2020134990A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
commodity
product
commodity picture
merchant
Prior art date
Application number
PCT/CN2019/123876
Other languages
French (fr)
Chinese (zh)
Inventor
陈亮
王斌
王华龙
Original Assignee
益萃网络科技(中国)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 益萃网络科技(中国)有限公司 filed Critical 益萃网络科技(中国)有限公司
Publication of WO2020134990A1 publication Critical patent/WO2020134990A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying

Definitions

  • the invention relates to the field of computer technology, in particular to a product information query method, device, computer equipment and storage medium.
  • Merchant management software is a necessary operating platform to ensure the normal operation of the enterprise. It uses modern information technology and network communication technology to comprehensively manage all aspects of management such as analysis, prediction, planning, control, and supervision.
  • Merchant management software integrates planning, organization, control, coordination and business functions to achieve the optimal allocation of resources, improve the efficiency of the use of merchants' economic resources, and provide a scientific basis for merchants to optimize management and business decisions.
  • the customer informs the merchant of the name of the product to be purchased, and the merchant inquires by the product name in the merchant management software.
  • customers can only provide product pictures to merchants, and cannot clearly inform merchants of product names, and the merchant management software in traditional technology cannot meet the needs of merchants and customers to query products through pictures.
  • a product information query method includes:
  • the picture features corresponding to the first commodity picture query the corresponding product information through the pre-stored merchant picture library.
  • the merchant picture library includes the second commodity picture and the product identifier corresponding to the second commodity picture; the querying the corresponding product information according to the second commodity picture includes:
  • the method further includes:
  • the viewing instruction includes a product identification of the viewed product
  • the product identification of the product being viewed, the picture features of the first commodity picture, and the correspondence between the first commodity pictures are established and stored in the merchant picture library.
  • the method further includes: returning the product information.
  • the method before the acquiring the first commodity picture to be queried, the method further includes: constructing the merchant picture library.
  • the building of the merchant picture library includes:
  • the method further includes:
  • a product information query device includes:
  • the acquisition module is used to acquire the first commodity picture to be queried
  • An extraction module configured to perform image analysis on the first commodity picture and extract picture features of the first commodity picture
  • a search module configured to search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture;
  • the query module is used to query corresponding product information according to the second commodity picture.
  • a computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the method steps in any of the foregoing embodiments are implemented.
  • the above-mentioned product information query method, device, computer equipment and storage medium obtain the first commodity picture to be queried; perform image analysis on the first commodity picture to extract the picture features of the first commodity picture; Describe the picture features corresponding to the first commodity picture, and query the corresponding product information through the pre-stored merchant picture library.
  • the corresponding product information can be queried through the commodity picture, which meets the needs of merchants and customers to query the product through the picture.
  • FIG. 1 is an application environment diagram of a method for querying product information in an embodiment
  • FIG. 2 is a schematic flowchart of a method for querying product information in an embodiment
  • FIG. 3 is a schematic flowchart of a method for querying product information in an embodiment
  • FIG. 4 is a schematic flowchart of a method for querying product information in an embodiment
  • FIG. 5 is a schematic flowchart of a method for querying product information in an embodiment
  • FIG. 6 is a schematic diagram of a process of constructing a merchant picture library in an embodiment
  • FIG. 7 is a schematic diagram of a process of constructing a merchant picture library in an embodiment
  • FIG. 8 is a schematic flowchart of a method for querying product information in an embodiment
  • FIG. 9 is a structural block diagram of a device for querying product information in an embodiment
  • FIG. 10 is a structural block diagram of an apparatus for querying product information in an embodiment
  • FIG. 11 is a structural block diagram of an apparatus for querying product information in an embodiment
  • FIG. 12 is an internal structure diagram of a computer device in an embodiment.
  • This application provides a method for querying product information, which can be applied to the application environment shown in FIG. 1.
  • the terminal 110 performs data interaction with the server 120 through the network, and this application does not limit the data interaction method between the terminal 110 and the server 120.
  • the terminal 110 can be used to display the interface of the merchant management software.
  • the interface can be a display interface of various functions in the merchant management software or the setting interface of the management software. It can also display information such as data reports or business log records.
  • the terminal 110 can also It is used to issue requests to the server 120, such as configuration requests, product query requests, product information viewing requests, and product information editing requests.
  • the server 120 acquires the first commodity picture to be queried through the terminal 110.
  • the server 120 performs image analysis on the first commodity picture to extract the picture features of the first commodity picture; and queries the corresponding product information through the pre-stored merchant picture library according to the picture features corresponding to the first commodity picture.
  • the terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 120 may be implemented by an independent server or a server cluster composed of multiple servers.
  • a method for querying product information is provided.
  • the method is applied to the server in FIG. 1 as an example for illustration, and includes the following steps:
  • S220 Perform image analysis on the first commodity picture to extract the picture features of the first commodity picture.
  • image analysis refers to the use of mathematical models combined with image processing technology to analyze the underlying features and upper-layer structure, so as to extract certain intelligent information.
  • the extracted information includes picture features, which are used to uniquely identify the picture. Picture features are similar to fingerprints for individuals for each picture.
  • the product information may be the name of the product, the shipment of the product, the inventory of the product, etc.
  • the user can input the first commodity picture for query through the application on the terminal or the web page
  • the server obtains the first commodity picture to be queried, performs image analysis on the first commodity picture, and extracts from the result of the image analysis It is used to represent the picture feature of the first product picture.
  • a merchant picture library is pre-stored in the server, and the merchant picture library stores the correspondence between the picture features and the second commodity picture.
  • the corresponding second commodity picture is searched from the pre-stored merchant picture library.
  • the second commodity picture found in the merchant picture library and the first commodity picture to be queried have a certain degree of coincidence in picture characteristics.
  • the server queries the product information corresponding to the second commodity picture according to the second commodity picture. Since the second product picture and the first product picture have a certain degree of coincidence in the picture features, the product information corresponding to the second product picture may have a product that meets customer needs.
  • the corresponding product information can be queried through the commodity picture, which meets the needs of merchants and customers to query the product through the picture.
  • the merchant picture library includes a second commodity picture and a product identifier corresponding to the second commodity picture.
  • querying the corresponding product information according to the second commodity picture includes the following steps:
  • S310 Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture.
  • the merchant picture library includes the second commodity picture and the product identifier corresponding to the second commodity picture.
  • the product identifier corresponding to the second commodity picture may be queried from the pre-stored merchant picture library according to the second commodity picture. Therefore, according to the product identifier corresponding to the second commodity picture, the corresponding product information is queried.
  • the product information can be searched through commodity pictures to meet the diversified needs of users.
  • a commodity picture can be obtained by taking a picture, and corresponding product information can be obtained through the commodity picture, thereby improving the merchant's work efficiency.
  • the method further includes the following steps:
  • the user can input the first product picture for query through the application program or the web page on the terminal, the server finds the corresponding product information, and sends the product information to the terminal, and the terminal displays the display interface of the product information. For example, the terminal displays a series of product information, and the user previews the product information.
  • the terminal displays a series of product information, and the user previews the product information.
  • a request instruction for the viewed product is triggered.
  • the query purpose of the product and the first product information are compared and matched.
  • the server obtains the viewing instruction of the viewed product, and the viewing instruction includes the product identification of the viewed product.
  • the server establishes a correspondence between the three based on the product identifier of the product being viewed, the picture features of the first product picture, and the first product picture.
  • the corresponding relationship between the product identifier of the product being viewed, the picture feature of the first product picture, and the first product picture is stored in the merchant picture library.
  • the viewing instruction includes the product identification of the viewed product, establishing the correspondence between the product identification of the viewed product, the picture feature of the first product picture, and the first product picture.
  • the merchant picture library Stored in the merchant picture library, the merchant picture library is updated according to the query results, and the accuracy of the query is improved.
  • the method further includes the following steps:
  • the server by acquiring the first product picture to be queried, finds the product information corresponding to the first product picture, and the server sends the queried product information to the terminal to facilitate the user to view, that is, returns the product information.
  • product information may include product specifications, product pictures, product inventory, product sales, etc.
  • the method before obtaining the first commodity picture to be queried, the method further includes: building a merchant picture library.
  • building a merchant picture library includes the following steps:
  • S620 Perform image analysis on the second commodity picture to extract picture features of the second commodity picture.
  • the second commodity picture may be a picture of the commodity bought and sold by the merchant.
  • the user can upload the second product picture through the application on the terminal or the web page
  • the server receives the second product picture, performs image analysis on the second product picture, and extracts from the image analysis result to represent the second product picture Picture features.
  • the picture feature of the second product picture and the second product picture establish the correspondence between the picture feature of the second product picture and the second product picture, and combine the picture feature of the second product picture, the second product picture and the two
  • the corresponding relationship is stored in the merchant's picture library.
  • the establishment of the merchant picture library is realized, which lays a foundation for the merchant to query product information in the form of pictures.
  • building a merchant picture library further includes the following steps:
  • the server may use the product identifier corresponding to the second commodity picture, so that the correspondence between the product identifier and the second commodity picture may be established according to the second commodity picture and the product identifier corresponding to the second commodity picture, And save it in the merchant picture library.
  • the product identifier and the second commodity are established.
  • the correspondence between the picture features of the picture and the second commodity picture, and the merchant picture library stores the product identifier, the second commodity picture, the picture features of the second commodity picture, and the correspondence between the three.
  • this application provides a method for querying product information.
  • the method includes the following steps:
  • S870 Perform image analysis on the first commodity picture to extract the picture features of the first commodity picture.
  • S890 Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture.
  • S894 Establish the product identification of the product being viewed, the picture feature of the first product picture, and the correspondence between the first product picture and save it in the merchant picture library.
  • steps in the flowcharts of FIGS. 2-8 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 2-8 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • the query device 900 includes an acquisition module 910, an extraction module 920, a search module 930, and a query module 940. among them:
  • the obtaining module 910 is used to obtain the first commodity picture to be queried.
  • the extraction module 920 is configured to perform image analysis on the first commodity picture and extract the picture features of the first commodity picture.
  • the searching module 930 is configured to search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture.
  • the query module 940 is configured to query corresponding product information according to the second commodity picture.
  • the merchant picture library includes the second commodity picture and a product identifier corresponding to the second commodity picture.
  • the query module 940 is also used to query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture; to query the corresponding product information according to the product identifier corresponding to the second commodity picture.
  • the query device 900 further includes a viewing instruction acquisition module 1010 and a correspondence establishment module 1020; where:
  • the viewing instruction obtaining module 1010 is used to obtain the viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes the product identification of the viewed product.
  • the correspondence establishment module 1020 is used to establish the correspondence between the product identification of the product being viewed, the picture features of the first commodity picture, and the first commodity picture and save them in the merchant picture library.
  • the query device 900 further includes a return module 1110, which is used to return product information.
  • the query device 900 further includes a construction module for constructing a merchant picture library.
  • the obtaining module 910 is also used to obtain the second commodity picture.
  • the extraction module 920 is also used to perform image analysis on the second commodity picture to extract the picture features of the second commodity picture.
  • the correspondence establishment module 1020 is also used to establish the correspondence between the picture features of the second commodity picture and the second commodity picture, and save it in the merchant picture library.
  • the query device 900 further includes a product identification acquisition module, configured to acquire the product identification corresponding to the second commodity picture.
  • the correspondence establishment module 1020 is also used to establish the correspondence between the product identification and the second commodity picture, and save it in the merchant picture library.
  • Each module in the above product information query device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a terminal, and an internal structure diagram thereof may be as shown in FIG.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, a method for querying product information is realized.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball, or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
  • FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
  • a computer device which includes a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the computer program, the method steps in the foregoing embodiments are implemented.
  • a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the method steps in the above embodiments are implemented.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a product information querying method and apparatus, a computer device and a storage medium. The product information querying method comprises: acquiring a first commodity picture needing to be queried; performing an image analysis on the first commodity picture, to extract a picture feature of the first commodity picture; and querying corresponding product information from a pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture. Thus, the present invention realizes querying, by means of a commodity picture, corresponding product information, satisfying the requirements of merchants and customers for querying products by means of pictures.

Description

产品信息的查询方法、装置、计算机设备及存储介质Product information query method, device, computer equipment and storage medium 技术领域Technical field
本发明涉及计算机技术领域,特别是一种产品信息的查询方法、装置、计算机设备及存储介质。The invention relates to the field of computer technology, in particular to a product information query method, device, computer equipment and storage medium.
背景技术Background technique
商户管理软件是保证企业经营正常工作所必备的运行平台,其利用现代信息技术和网络通讯技术,对管理中的分析、预测、计划、控制、监督等各个环节进行全面管理。Merchant management software is a necessary operating platform to ensure the normal operation of the enterprise. It uses modern information technology and network communication technology to comprehensively manage all aspects of management such as analysis, prediction, planning, control, and supervision.
商户管理软件通过将计划、组织、控制、协调与业务职能一体化以实现资源的最优配置,提高商户经济资源的使用效率,为商户优化管理和经营决策提供科学的依据。Merchant management software integrates planning, organization, control, coordination and business functions to achieve the optimal allocation of resources, improve the efficiency of the use of merchants' economic resources, and provide a scientific basis for merchants to optimize management and business decisions.
顾客告知商户需要购买的产品的名称,商户在商户管理软件中通过产品名称进行查询。在有些情况下,顾客只能向商户提供产品图片,并不能明确告知商户的产品名称,而传统技术中的商户管理软件并不能满足商户和顾客通过图片查询产品的需求。The customer informs the merchant of the name of the product to be purchased, and the merchant inquires by the product name in the merchant management software. In some cases, customers can only provide product pictures to merchants, and cannot clearly inform merchants of product names, and the merchant management software in traditional technology cannot meet the needs of merchants and customers to query products through pictures.
发明内容Summary of the invention
基于此,有必要针对传统技术中的商户管理软件不能满足商户和顾客通过图片查询产品的需求的技术问题,提供一种产品信息的查询方法、装置、计算机设备及存储介质。Based on this, it is necessary to provide a method, device, computer equipment and storage medium for querying product information in response to the technical problem that the merchant management software in the conventional technology cannot meet the needs of merchants and customers to query products through pictures.
一种产品信息的查询方法,所述方法包括:A product information query method, the method includes:
获取需要查询的第一商品图片;Obtain the first commodity picture to be queried;
对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;Performing image analysis on the first commodity picture to extract picture features of the first commodity picture;
根据所述第一商品图片对应的图片特征,通过预存的商户图片库查询对应的产品信息。According to the picture features corresponding to the first commodity picture, query the corresponding product information through the pre-stored merchant picture library.
在其中一个实施例中,所述商户图片库包括所述第二商品图片及所述第二商品图片对应的产品标识;所述根据所述第二商品图片,查询对应的产品信息,包括:In one of the embodiments, the merchant picture library includes the second commodity picture and the product identifier corresponding to the second commodity picture; the querying the corresponding product information according to the second commodity picture includes:
根据所述第二商品图片,从预存的商户图片库中查询所述第二商品图片对应的产品标识;Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture;
根据所述第二商品图片对应的产品标识,查询对应的产品信息。Inquire the corresponding product information according to the product identifier corresponding to the second commodity picture.
在其中一个实施例中,所述方法还包括:In one of the embodiments, the method further includes:
通过所述产品信息的显示界面,获取被查看产品的查看指令;所述查看指令包括所述被查看产品的产品标识;Obtaining a viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes a product identification of the viewed product;
建立所述被查看产品的产品标识、所述第一商品图片的图片特征、所述第一商品图片之 间的对应关系并保存在所述商户图片库中。The product identification of the product being viewed, the picture features of the first commodity picture, and the correspondence between the first commodity pictures are established and stored in the merchant picture library.
在其中一个实施例中,所述方法还包括:返回所述产品信息。In one of the embodiments, the method further includes: returning the product information.
在其中一个实施例中,在所述获取需要查询的第一商品图片之前,所述方法还包括:构建所述商户图片库。In one of the embodiments, before the acquiring the first commodity picture to be queried, the method further includes: constructing the merchant picture library.
在其中一个实施例中,所述构建所述商户图片库,包括:In one of the embodiments, the building of the merchant picture library includes:
获取所述第二商品图片;Obtaining the second commodity picture;
对所述第二商品图片进行图像分析,提取所述第二商品图片的图片特征;Performing image analysis on the second commodity picture to extract picture features of the second commodity picture;
建立所述第二商品图片的图片特征与第二商品图片的对应关系,并保存在所述商户图片库中。Establish a correspondence between the picture features of the second commodity picture and the second commodity picture, and save in the merchant picture library.
在其中一个实施例中,所述方法还包括:In one of the embodiments, the method further includes:
获取所述第二商品图片对应的产品标识;Obtaining the product identifier corresponding to the second commodity picture;
建立所述产品标识与所述第二商品图片的对应关系,并保存在所述商户图片库中。Establish a correspondence between the product identifier and the second commodity picture, and save it in the merchant picture library.
一种产品信息的查询装置,所述装置包括:A product information query device, the device includes:
获取模块,用于获取需要查询的第一商品图片;The acquisition module is used to acquire the first commodity picture to be queried;
提取模块,用于对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;An extraction module, configured to perform image analysis on the first commodity picture and extract picture features of the first commodity picture;
查找模块,用于根据所述第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片;A search module, configured to search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture;
查询模块,用于根据所述第二商品图片,查询对应的产品信息。The query module is used to query corresponding product information according to the second commodity picture.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一实施例中的方法步骤。A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method steps in any of the foregoing embodiments are implemented.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例中的方法步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method steps in any of the above embodiments are implemented.
上述产品信息的查询方法、装置、计算机设备及存储介质,通过获取需要查询的第一商品图片;并对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;根据所述第一商品图片对应的图片特征,通过预存的商户图片库查询对应的产品信息。从而实现了通过商品图片查询对应的产品信息,满足商户和顾客通过图片查询产品的需求。The above-mentioned product information query method, device, computer equipment and storage medium obtain the first commodity picture to be queried; perform image analysis on the first commodity picture to extract the picture features of the first commodity picture; Describe the picture features corresponding to the first commodity picture, and query the corresponding product information through the pre-stored merchant picture library. Thus, the corresponding product information can be queried through the commodity picture, which meets the needs of merchants and customers to query the product through the picture.
附图说明BRIEF DESCRIPTION
图1为一个实施例中产品信息的查询方法的应用环境图;FIG. 1 is an application environment diagram of a method for querying product information in an embodiment;
图2为一个实施例中产品信息的查询方法的流程示意图;2 is a schematic flowchart of a method for querying product information in an embodiment;
图3为一个实施例中产品信息的查询方法的流程示意图;3 is a schematic flowchart of a method for querying product information in an embodiment;
图4为一个实施例中产品信息的查询方法的流程示意图;4 is a schematic flowchart of a method for querying product information in an embodiment;
图5为一个实施例中产品信息的查询方法的流程示意图;5 is a schematic flowchart of a method for querying product information in an embodiment;
图6为一个实施例中构建商户图片库的流程示意图;6 is a schematic diagram of a process of constructing a merchant picture library in an embodiment;
图7为一个实施例中构建商户图片库的流程示意图;7 is a schematic diagram of a process of constructing a merchant picture library in an embodiment;
图8为一个实施例中产品信息的查询方法的流程示意图;8 is a schematic flowchart of a method for querying product information in an embodiment;
图9为一个实施例中产品信息的查询装置的结构框图;9 is a structural block diagram of a device for querying product information in an embodiment;
图10为一个实施例中产品信息的查询装置的结构框图;10 is a structural block diagram of an apparatus for querying product information in an embodiment;
图11为一个实施例中产品信息的查询装置的结构框图;11 is a structural block diagram of an apparatus for querying product information in an embodiment;
图12为一个实施例中计算机设备的内部结构图。12 is an internal structure diagram of a computer device in an embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention.
本申请提供一种产品信息的查询方法,可以应用于图1所示的应用环境中。其中,终端110通过网络与服务器120进行数据交互,本申请对终端110与服务器120的数据交互方式不进行限制。终端110可以用于显示商户管理软件的界面,界面可以是商户管理软件中各个功能的显示界面,也可以是管理软件的设置界面,还可以展示数据报表或者业务日志记录等信息,终端110还可以用于向服务器120发出请求,比如配置请求、产品的查询请求、产品信息的查看请求、产品信息的编辑请求等。服务器120通过终端110获取需要查询的第一商品图片。服务器120对第一商品图片进行图像分析,提取第一商品图片的图片特征;并根据第一商品图片对应的图片特征,通过预存的商户图片库查询对应的产品信息。其中,终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。This application provides a method for querying product information, which can be applied to the application environment shown in FIG. 1. Wherein, the terminal 110 performs data interaction with the server 120 through the network, and this application does not limit the data interaction method between the terminal 110 and the server 120. The terminal 110 can be used to display the interface of the merchant management software. The interface can be a display interface of various functions in the merchant management software or the setting interface of the management software. It can also display information such as data reports or business log records. The terminal 110 can also It is used to issue requests to the server 120, such as configuration requests, product query requests, product information viewing requests, and product information editing requests. The server 120 acquires the first commodity picture to be queried through the terminal 110. The server 120 performs image analysis on the first commodity picture to extract the picture features of the first commodity picture; and queries the corresponding product information through the pre-stored merchant picture library according to the picture features corresponding to the first commodity picture. The terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 120 may be implemented by an independent server or a server cluster composed of multiple servers.
在一个实施例中,如图2所示,提供了一种产品信息的查询方法,以该方法应用于图1的服务器中为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a method for querying product information is provided. The method is applied to the server in FIG. 1 as an example for illustration, and includes the following steps:
S210、获取需要查询的第一商品图片。S210. Acquire the first commodity picture to be queried.
S220、对第一商品图片进行图像分析,提取第一商品图片的图片特征。S220. Perform image analysis on the first commodity picture to extract the picture features of the first commodity picture.
S230、根据所述第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二 商品图片。S230. Search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture.
S240、根据第一商品图片对应的图片特征,通过预存的商户图片库查询对应的产品信息。S240. Query corresponding product information through a pre-stored merchant picture library according to the picture features corresponding to the first commodity picture.
其中,图像分析指的是利用数学模型并结合图像处理的技术来分析底层特征和上层结构,从而提取具有一定智能性的信息。提取到的信息包括图片特征,图片特征用于唯一地标识该张图片,图片特征对每张图片类似于指纹对于个人。产品信息可以是产品的名称、产品的出货量、产品的库存量等。Among them, image analysis refers to the use of mathematical models combined with image processing technology to analyze the underlying features and upper-layer structure, so as to extract certain intelligent information. The extracted information includes picture features, which are used to uniquely identify the picture. Picture features are similar to fingerprints for individuals for each picture. The product information may be the name of the product, the shipment of the product, the inventory of the product, etc.
具体地,用户可以通过终端上的应用程序或者网页输入用于查询的第一商品图片,服务器获取到需要查询的第一商品图片,对第一商品图片进行图像分析,从图像分析的结果中提取用于表示第一商品图片的图片特征。服务器中预存有商户图片库,商户图片库存储有图片特征与第二商品图片的对应关系,根据第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片。从商户图片库中查找到的第二商品图片与需要查询的第一商品图片在图片特征上存在一定比率的重合度。服务器根据第二商品图片,查询第二商品图片对应的产品信息。由于第二商品图片与第一商品图片在图片特征上存在一定比率的重合度,第二商品图片对应的产品信息可能存在满足顾客需求的产品。Specifically, the user can input the first commodity picture for query through the application on the terminal or the web page, the server obtains the first commodity picture to be queried, performs image analysis on the first commodity picture, and extracts from the result of the image analysis It is used to represent the picture feature of the first product picture. A merchant picture library is pre-stored in the server, and the merchant picture library stores the correspondence between the picture features and the second commodity picture. According to the picture features corresponding to the first commodity picture, the corresponding second commodity picture is searched from the pre-stored merchant picture library. The second commodity picture found in the merchant picture library and the first commodity picture to be queried have a certain degree of coincidence in picture characteristics. The server queries the product information corresponding to the second commodity picture according to the second commodity picture. Since the second product picture and the first product picture have a certain degree of coincidence in the picture features, the product information corresponding to the second product picture may have a product that meets customer needs.
本实施例中,通过获取需要查询的第一商品图片;并对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;根据所述第一商品图片对应的图片特征,通过预存的商户图片库查询对应的产品信息。从而实现了通过商品图片查询对应的产品信息,满足商户和顾客通过图片查询产品的需求。In this embodiment, by acquiring the first commodity picture to be queried; performing image analysis on the first commodity picture to extract the picture features of the first commodity picture; based on the picture features corresponding to the first commodity picture, Query the corresponding product information through the pre-stored merchant picture library. Thus, the corresponding product information can be queried through the commodity picture, which meets the needs of merchants and customers to query the product through the picture.
在一个实施例中,商户图片库包括第二商品图片及第二商品图片对应的产品标识。如图3所示,根据所述第二商品图片,查询对应的产品信息,包括以下步骤:In one embodiment, the merchant picture library includes a second commodity picture and a product identifier corresponding to the second commodity picture. As shown in FIG. 3, querying the corresponding product information according to the second commodity picture includes the following steps:
S310、根据第二商品图片,从预存的商户图片库中查询第二商品图片对应的产品标识。S310: Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture.
S320、根据第二商品图片对应的产品标识,查询对应的产品信息。S320. Query corresponding product information according to the product identifier corresponding to the second product picture.
本实施例中,由于商户图片库包括第二商品图片及第二商品图片对应的产品标识。可以根据第二商品图片,从预存的商户图片库中查询第二商品图片对应的产品标识。从而根据第二商品图片对应的产品标识,查询对应的产品信息。实现了通过商品图片搜索产品信息,满足用户的多样化需求。而且在有些场景中,比如商户在进行商品清点时,可以通过拍照获取商品图片,通过商品图片获取到对应的产品信息,从而提高商户的工作效率。In this embodiment, the merchant picture library includes the second commodity picture and the product identifier corresponding to the second commodity picture. The product identifier corresponding to the second commodity picture may be queried from the pre-stored merchant picture library according to the second commodity picture. Therefore, according to the product identifier corresponding to the second commodity picture, the corresponding product information is queried. The product information can be searched through commodity pictures to meet the diversified needs of users. Moreover, in some scenarios, for example, when a merchant conducts a commodity inventory, a commodity picture can be obtained by taking a picture, and corresponding product information can be obtained through the commodity picture, thereby improving the merchant's work efficiency.
在一个实施例中,该方法还包括以下步骤:In one embodiment, the method further includes the following steps:
S410、通过产品信息的显示界面,获取被查看产品的查看指令;查看指令包括被查看产品的产品标识。S410. Obtain the viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes the product identification of the viewed product.
S420、建立被查看产品的产品标识、第一商品图片的图片特征、第一商品图片之间的对应关系并保存在商户图片库中。S420. Establish a correspondence between the product identification of the product being viewed, the picture feature of the first product picture, and the first product picture, and save it in the merchant picture library.
其中,用户可以通过终端上的应用程序或者网页输入用于查询的第一商品图片,服务器查找到对应的产品信息,并将产品信息发送给终端,终端显示产品信息的显示界面。比如,终端显示一系列的产品信息,用户对产品信息进行预览,当用户看到满足需求的产品时,会触发被查看产品的请求指令。则该产品与第一产品信息的查询目的比较匹配。服务器获取到被查看产品的查看指令,该查看指令包括被查看产品的产品标识。服务器根据被查看产品的产品标识、第一商品图片的图片特征及、第一商品图片建立三者之间的对应关系。保存被查看产品的产品标识、第一商品图片的图片特征、第一商品图片之间的对应关系在商户图片库中。Among them, the user can input the first product picture for query through the application program or the web page on the terminal, the server finds the corresponding product information, and sends the product information to the terminal, and the terminal displays the display interface of the product information. For example, the terminal displays a series of product information, and the user previews the product information. When the user sees a product that meets the demand, a request instruction for the viewed product is triggered. Then the query purpose of the product and the first product information are compared and matched. The server obtains the viewing instruction of the viewed product, and the viewing instruction includes the product identification of the viewed product. The server establishes a correspondence between the three based on the product identifier of the product being viewed, the picture features of the first product picture, and the first product picture. The corresponding relationship between the product identifier of the product being viewed, the picture feature of the first product picture, and the first product picture is stored in the merchant picture library.
本实施例中,通过获取被查看产品的查看指令,查看指令包括被查看产品的产品标识,建立被查看产品的产品标识、第一商品图片的图片特征、第一商品图片之间的对应关系并保存在商户图片库中,实现了根据查询结果对商户图片库的更新,提高查询的准确度。In this embodiment, by acquiring the viewing instruction of the viewed product, the viewing instruction includes the product identification of the viewed product, establishing the correspondence between the product identification of the viewed product, the picture feature of the first product picture, and the first product picture. Stored in the merchant picture library, the merchant picture library is updated according to the query results, and the accuracy of the query is improved.
在一个实施例中,如图5所示,该方法还包括以下步骤:In one embodiment, as shown in FIG. 5, the method further includes the following steps:
S510、返回产品信息。S510. Return product information.
本实施例中,通过获取需要查询的第一商品图片,服务器查询到第一商品图片对应的产品信息,服务器将查询到的产品信息发送至终端以方便用户查看,即返回产品信息。其中,产品信息可以包括产品的规格参数、产品图片、产品的库存量、产品的销售量等。In this embodiment, by acquiring the first product picture to be queried, the server finds the product information corresponding to the first product picture, and the server sends the queried product information to the terminal to facilitate the user to view, that is, returns the product information. Among them, product information may include product specifications, product pictures, product inventory, product sales, etc.
在一个实施例中,在获取需要查询的第一商品图片之前,方法还包括:构建商户图片库。In one embodiment, before obtaining the first commodity picture to be queried, the method further includes: building a merchant picture library.
在一个实施例中,构建商户图片库,包括以下步骤:In one embodiment, building a merchant picture library includes the following steps:
S610、获取第二商品图片。S610: Acquire a second commodity picture.
S620、对第二商品图片进行图像分析,提取第二商品图片的图片特征。S620. Perform image analysis on the second commodity picture to extract picture features of the second commodity picture.
S630、建立第二商品图片的图片特征与第二商品图片的对应关系,并保存在商户图片库中。S630. Establish a correspondence between the picture features of the second commodity picture and the second commodity picture, and store in the merchant picture library.
其中,第二商品图片可以是商户所买卖商品的图片。具体地,用户可以通过终端上的应用程序或者网页上传第二商品图片,服务器接收到第二商品图片,对第二商品图片进行图像分析,从图像分析的结果中提取用于表示第二商品图片的图片特征。根据第二商品图片的图片特征、第二商品图片,建立第二商品图片的图片特征与第二商品图片的对应关系,并将第二商品图片的图片特征、第二商品图片和两者之间的对应关系存储在商户图片库中。Wherein, the second commodity picture may be a picture of the commodity bought and sold by the merchant. Specifically, the user can upload the second product picture through the application on the terminal or the web page, the server receives the second product picture, performs image analysis on the second product picture, and extracts from the image analysis result to represent the second product picture Picture features. According to the picture feature of the second product picture and the second product picture, establish the correspondence between the picture feature of the second product picture and the second product picture, and combine the picture feature of the second product picture, the second product picture and the two The corresponding relationship is stored in the merchant's picture library.
本实施例中,通过获取第二商品图片,对第二商品图片进行图像分析,提取第二商品图 片的图片特征,建立第二商品图片的图片特征与第二商品图片的对应关系,并保存在商户图片库中,实现了商户图片库的构建,为商户以图片的方式查询产品信息打下基础。In this embodiment, by acquiring the second product picture, performing image analysis on the second product picture, extracting the picture feature of the second product picture, establishing the correspondence between the picture feature of the second product picture and the second product picture, and storing it in In the merchant picture library, the establishment of the merchant picture library is realized, which lays a foundation for the merchant to query product information in the form of pictures.
在一个实施例中,构建商户图片库,还包括以下步骤:In one embodiment, building a merchant picture library further includes the following steps:
S710、获取第二商品图片对应的产品标识。S710. Acquire a product identifier corresponding to the second commodity picture.
S720、建立产品标识与第二商品图片的对应关系,并保存在商户图片库中。S720. Establish a correspondence between the product identification and the second commodity picture, and save it in the merchant picture library.
具体地,用户上传第二商品图片时,服务器可以第二商品图片对应的产品标识,从而可以根据第二商品图片、第二商品图片对应的产品标识建立产品标识与第二商品图片的对应关系,并保存在商户图片库中。Specifically, when the user uploads the second commodity picture, the server may use the product identifier corresponding to the second commodity picture, so that the correspondence between the product identifier and the second commodity picture may be established according to the second commodity picture and the product identifier corresponding to the second commodity picture, And save it in the merchant picture library.
本实施例中,通过建立产品标识与第二商品图片的对应关系,且商户图片库中存储有第二商品图片的图片特征与第二商品图片的对应关系,则建立了产品标识、第二商品图片、第二商品图片的图片特征之间的对应关系,且商户图片库保存有产品标识、第二商品图片、第二商品图片的图片特征及三者之间的对应关系。In this embodiment, by establishing the correspondence between the product identifier and the second commodity picture, and the correspondence between the image features of the second commodity picture and the second commodity picture stored in the merchant picture library, the product identifier and the second commodity are established The correspondence between the picture features of the picture and the second commodity picture, and the merchant picture library stores the product identifier, the second commodity picture, the picture features of the second commodity picture, and the correspondence between the three.
在一个实施例中,如图8所示,本申请提供一产品信息的查询方法,该方法包括以下步骤:In one embodiment, as shown in FIG. 8, this application provides a method for querying product information. The method includes the following steps:
S810、获取第二商品图片。S810. Acquire a second commodity picture.
S820、对第二商品图片进行图像分析,提取第二商品图片的图片特征。S820. Perform image analysis on the second commodity picture to extract picture features of the second commodity picture.
S830、建立第二商品图片的图片特征与第二商品图片的对应关系,并保存在商户图片库中。S830. Establish a correspondence between the picture features of the second commodity picture and the second commodity picture, and save it in the merchant picture library.
S840、获取第二商品图片对应的产品标识。S840. Acquire a product identifier corresponding to the second commodity picture.
S850、建立产品标识与第二商品图片的对应关系,并保存在商户图片库中。S850. Establish a correspondence between the product identification and the second commodity picture, and save it in the merchant picture library.
S860、获取需要查询的第一商品图片。S860. Acquire the first commodity picture to be queried.
S870、对第一商品图片进行图像分析,提取第一商品图片的图片特征。S870. Perform image analysis on the first commodity picture to extract the picture features of the first commodity picture.
S880、根据第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片。S880. Search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture.
S890、根据第二商品图片,从预存的商户图片库中查询第二商品图片对应的产品标识。S890: Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture.
S891、根据第二商品图片对应的产品标识,查询对应的产品信息。S891. Query corresponding product information according to the product identifier corresponding to the second product picture.
S892、返回产品信息。S892. Return product information.
S893、通过产品信息的显示界面,获取被查看产品的查看指令;查看指令包括被查看产品的产品标识。S893. Obtain the viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes the product identification of the viewed product.
S894、建立被查看产品的产品标识、第一商品图片的图片特征、第一商品图片之间的对 应关系并保存在商户图片库中。S894: Establish the product identification of the product being viewed, the picture feature of the first product picture, and the correspondence between the first product picture and save it in the merchant picture library.
应该理解的是,虽然图2-8的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-8 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 2-8 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个实施例中,如图9所示,提供了一种产品信息的查询装置。该查询装置900包括获取模块910、提取模块920、查找模块930和查询模块940。其中:In one embodiment, as shown in FIG. 9, a device for querying product information is provided. The query device 900 includes an acquisition module 910, an extraction module 920, a search module 930, and a query module 940. among them:
获取模块910,用于获取需要查询的第一商品图片。The obtaining module 910 is used to obtain the first commodity picture to be queried.
提取模块920,用于对第一商品图片进行图像分析,提取第一商品图片的图片特征。The extraction module 920 is configured to perform image analysis on the first commodity picture and extract the picture features of the first commodity picture.
查找模块930,用于用于根据所述第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片。The searching module 930 is configured to search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture.
查询模块940,用于根据所述第二商品图片,查询对应的产品信息。The query module 940 is configured to query corresponding product information according to the second commodity picture.
在一个实施例中,商户图片库包括所述第二商品图片及所述第二商品图片对应的产品标识。查询模块940还用于根据第二商品图片,从预存的商户图片库中查询第二商品图片对应的产品标识;根据第二商品图片对应的产品标识,查询对应的产品信息。In one embodiment, the merchant picture library includes the second commodity picture and a product identifier corresponding to the second commodity picture. The query module 940 is also used to query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture; to query the corresponding product information according to the product identifier corresponding to the second commodity picture.
在一个实施例中,如图10所示,该查询装置900还包括查看指令获取模块1010和对应关系建立模块1020;其中:In one embodiment, as shown in FIG. 10, the query device 900 further includes a viewing instruction acquisition module 1010 and a correspondence establishment module 1020; where:
查看指令获取模块1010,用于通过产品信息的显示界面,获取被查看产品的查看指令;查看指令包括被查看产品的产品标识。The viewing instruction obtaining module 1010 is used to obtain the viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes the product identification of the viewed product.
对应关系建立模块1020,用于建立被查看产品的产品标识、第一商品图片的图片特征、第一商品图片之间的对应关系并保存在商户图片库中。The correspondence establishment module 1020 is used to establish the correspondence between the product identification of the product being viewed, the picture features of the first commodity picture, and the first commodity picture and save them in the merchant picture library.
在一个实施例中,如图11所示,该查询装置900还包括返回模块1110,返回模块1110用于返回产品信息。In one embodiment, as shown in FIG. 11, the query device 900 further includes a return module 1110, which is used to return product information.
在一个实施例中,该查询装置900还包括构建模块,用于构建商户图片库。In one embodiment, the query device 900 further includes a construction module for constructing a merchant picture library.
在一个实施例中,获取模块910,还用于获取第二商品图片。In one embodiment, the obtaining module 910 is also used to obtain the second commodity picture.
提取模块920,还用于对第二商品图片进行图像分析,提取第二商品图片的图片特征。The extraction module 920 is also used to perform image analysis on the second commodity picture to extract the picture features of the second commodity picture.
对应关系建立模块1020,还用于建立第二商品图片的图片特征与第二商品图片的对应关系,并保存在商户图片库中。The correspondence establishment module 1020 is also used to establish the correspondence between the picture features of the second commodity picture and the second commodity picture, and save it in the merchant picture library.
在一个实施例中,该查询装置900还包括产品标识获取模块,用于获取第二商品图片对应的产品标识。In one embodiment, the query device 900 further includes a product identification acquisition module, configured to acquire the product identification corresponding to the second commodity picture.
对应关系建立模块1020,还用于建立产品标识与第二商品图片的对应关系,并保存在商户图片库中。The correspondence establishment module 1020 is also used to establish the correspondence between the product identification and the second commodity picture, and save it in the merchant picture library.
关于产品信息的查询装置的具体限定可以参见上文中对于产品信息的查询方法的限定,在此不再赘述。上述产品信息的查询装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the product information query device, please refer to the above limitation of the product information query method, which will not be repeated here. Each module in the above product information query device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图12所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种产品信息的查询方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and an internal structure diagram thereof may be as shown in FIG. The computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, a method for querying product information is realized. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball, or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art may understand that the structure shown in FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中的方法步骤。In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method steps in the foregoing embodiments are implemented.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例中的方法步骤。In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the method steps in the above embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存 取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art may understand that all or part of the processes in the method of the above embodiments may be completed by instructing relevant hardware through a computer program, and the computer program may be stored in a non-volatile computer readable storage In the medium, when the computer program is executed, the process of the foregoing method embodiments may be included. Wherein, any reference to the memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be arbitrarily combined. To simplify the description, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered within the scope of this description.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above examples only express several implementations of the present invention, and their descriptions are more specific and detailed, but they should not be construed as limiting the patent scope of the invention. It should be noted that, for a person of ordinary skill in the art, without departing from the concept of the present invention, a number of modifications and improvements can also be made, which all fall within the protection scope of the present invention. Therefore, the protection scope of the invention patent shall be subject to the appended claims.

Claims (10)

  1. 一种产品信息的查询方法,其特征在于,所述方法包括:A product information query method, characterized in that the method includes:
    获取需要查询的第一商品图片;Obtain the first commodity picture to be queried;
    对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;Performing image analysis on the first commodity picture to extract picture features of the first commodity picture;
    根据所述第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片;Searching for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture;
    根据所述第二商品图片,查询对应的产品信息。According to the second commodity picture, query corresponding product information.
  2. 根据权利要求1所述的查询方法,其特征在于,所述商户图片库包括所述第二商品图片及所述第二商品图片对应的产品标识;所述根据所述第二商品图片,查询对应的产品信息,包括:The query method according to claim 1, wherein the merchant picture library includes the second commodity picture and a product identifier corresponding to the second commodity picture; the query corresponding to the second commodity picture Product information, including:
    根据所述第二商品图片,从预存的商户图片库中查询所述第二商品图片对应的产品标识;Query the product identifier corresponding to the second commodity picture from the pre-stored merchant picture library according to the second commodity picture;
    根据所述第二商品图片对应的产品标识,查询对应的产品信息。Inquire the corresponding product information according to the product identifier corresponding to the second commodity picture.
  3. 根据权利要求2所述的查询方法,其特征在于,所述方法还包括:The query method according to claim 2, wherein the method further comprises:
    通过所述产品信息的显示界面,获取被查看产品的查看指令;所述查看指令包括所述被查看产品的产品标识;Obtaining a viewing instruction of the viewed product through the display interface of the product information; the viewing instruction includes a product identification of the viewed product;
    建立所述被查看产品的产品标识、所述第一商品图片的图片特征、所述第一商品图片之间的对应关系并保存在所述商户图片库中。Establish a correspondence between the product identifier of the viewed product, the picture features of the first commodity picture, and the first commodity picture, and save them in the merchant picture library.
  4. 根据权利要求1至3任一项所述的权利要求,其特征在于,所述方法还包括:The claim according to any one of claims 1 to 3, wherein the method further comprises:
    返回所述产品信息。Return the product information.
  5. 根据权利要求4所述的查询方法,其特征在于,在所述获取需要查询的第一商品图片之前,所述方法还包括:构建所述商户图片库。The query method according to claim 4, wherein before the acquiring the first commodity picture to be queried, the method further comprises: constructing the merchant picture library.
  6. 根据权利要求5所述的查询方法,其特征在于,所述构建所述商户图片库,包括:The query method according to claim 5, wherein the constructing the merchant picture library includes:
    获取所述第二商品图片;Obtaining the second commodity picture;
    对所述第二商品图片进行图像分析,提取所述第二商品图片的图片特征;Performing image analysis on the second commodity picture to extract picture features of the second commodity picture;
    建立所述第二商品图片的图片特征与第二商品图片的对应关系,并保存在所述商户图片库中。Establish a correspondence between the picture features of the second commodity picture and the second commodity picture, and save in the merchant picture library.
  7. 根据权利要求6所述的查询方法,其特征在于,所述方法还包括:The query method according to claim 6, wherein the method further comprises:
    获取所述第二商品图片对应的产品标识;Obtaining the product identifier corresponding to the second commodity picture;
    建立所述产品标识与所述第二商品图片的对应关系,并保存在所述商户图片库中。Establish a correspondence between the product identifier and the second commodity picture, and save it in the merchant picture library.
  8. 一种产品信息的查询装置,其特征在于,所述装置包括:A product information query device, characterized in that the device includes:
    获取模块,用于获取需要查询的第一商品图片;The acquisition module is used to acquire the first commodity picture to be queried;
    提取模块,用于对所述第一商品图片进行图像分析,提取所述第一商品图片的图片特征;An extraction module, configured to perform image analysis on the first commodity picture and extract picture features of the first commodity picture;
    查找模块,用于根据所述第一商品图片对应的图片特征,从预存的商户图片库中查找对应的第二商品图片;A search module, configured to search for the corresponding second commodity picture from the pre-stored merchant picture library according to the picture feature corresponding to the first commodity picture;
    查询模块,用于根据所述第二商品图片,查询对应的产品信息。The query module is used to query corresponding product information according to the second commodity picture.
  9. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。A computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, when the processor executes the computer program, any one of claims 1 to 7 is realized The steps of the method.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are realized.
PCT/CN2019/123876 2018-12-29 2019-12-09 Product information querying method and apparatus, computer device, and storage medium WO2020134990A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811635086.X 2018-12-29
CN201811635086.XA CN109766466A (en) 2018-12-29 2018-12-29 Querying method, device, computer equipment and the storage medium of product information

Publications (1)

Publication Number Publication Date
WO2020134990A1 true WO2020134990A1 (en) 2020-07-02

Family

ID=66452934

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123876 WO2020134990A1 (en) 2018-12-29 2019-12-09 Product information querying method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN109766466A (en)
WO (1) WO2020134990A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766466A (en) * 2018-12-29 2019-05-17 广东益萃网络科技有限公司 Querying method, device, computer equipment and the storage medium of product information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216841A (en) * 2008-01-14 2008-07-09 南京搜拍信息技术有限公司 Interactive type image search system and method
WO2017088701A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Mass picture management method and apparatus
CN108052563A (en) * 2017-12-05 2018-05-18 广东小天才科技有限公司 A kind of picture searching method and mobile terminal
CN109766466A (en) * 2018-12-29 2019-05-17 广东益萃网络科技有限公司 Querying method, device, computer equipment and the storage medium of product information

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063616A (en) * 2010-12-30 2011-05-18 上海电机学院 Automatic identification system and method for commodities based on image feature matching
CN102682091A (en) * 2012-04-25 2012-09-19 腾讯科技(深圳)有限公司 Cloud-service-based visual search method and cloud-service-based visual search system
US9183238B2 (en) * 2013-03-15 2015-11-10 Google Inc. Providing task-based information
CN103870526A (en) * 2013-11-19 2014-06-18 北京邮电大学 Commodity information inquiry method, terminal and server
US10354290B2 (en) * 2015-06-16 2019-07-16 Adobe, Inc. Generating a shoppable video
CN108124184A (en) * 2016-11-28 2018-06-05 广州华多网络科技有限公司 A kind of method and device of living broadcast interactive

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216841A (en) * 2008-01-14 2008-07-09 南京搜拍信息技术有限公司 Interactive type image search system and method
WO2017088701A1 (en) * 2015-11-27 2017-06-01 阿里巴巴集团控股有限公司 Mass picture management method and apparatus
CN108052563A (en) * 2017-12-05 2018-05-18 广东小天才科技有限公司 A kind of picture searching method and mobile terminal
CN109766466A (en) * 2018-12-29 2019-05-17 广东益萃网络科技有限公司 Querying method, device, computer equipment and the storage medium of product information

Also Published As

Publication number Publication date
CN109766466A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
US10725981B1 (en) Analyzing big data
US9898469B1 (en) Parallel streaming of external data
WO2020056973A1 (en) Cross-platform product recommendation method and apparatus, server, and storage medium
CN108664582B (en) Enterprise relation query method and device, computer equipment and storage medium
WO2020253357A1 (en) Data product recommendation method and apparatus, computer device and storage medium
CN111046237B (en) User behavior data processing method and device, electronic equipment and readable medium
WO2019019769A1 (en) Service function implementation method, device, computer apparatus and storage medium
US8301477B2 (en) Consolidating processes for multiple variations
US20220327378A1 (en) Method and system for classifying entity objects of entities based on attributes of the entity objects using machine learning
US9679012B1 (en) Parallel streaming of external data
US10437440B2 (en) Analytic data export tool
JP5477376B2 (en) Information management apparatus and information management program
US11062224B2 (en) Prediction using fusion of heterogeneous unstructured data
WO2020134990A1 (en) Product information querying method and apparatus, computer device, and storage medium
US9208596B2 (en) Intelligent merging of visualizations
CN113591934A (en) Method, device and equipment for arranging business analysis model and storage medium
CN112084403A (en) Data query method and device, computer equipment and storage medium
CN111190964B (en) Data docking method, device, equipment and storage medium
CN109711809B (en) Merchant attribute setting method and device, computer equipment and storage medium
US10409970B2 (en) System and method for resolving user identification
US20150242460A1 (en) Recommending collaborators based on users' content collections
US9959319B2 (en) Event driven data staging and data aging algorithms for personalization data in enterprise search
US11886409B1 (en) Searchable catalog of columnar numerical data
CN111813842B (en) Data processing method, device, system, equipment and storage medium
US10108692B1 (en) Data set distribution

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19904332

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19904332

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19904332

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 140122)

122 Ep: pct application non-entry in european phase

Ref document number: 19904332

Country of ref document: EP

Kind code of ref document: A1