WO2020114151A1 - Clothing knowledge graph display method and apparatus, and graph server and storage medium - Google Patents

Clothing knowledge graph display method and apparatus, and graph server and storage medium Download PDF

Info

Publication number
WO2020114151A1
WO2020114151A1 PCT/CN2019/114079 CN2019114079W WO2020114151A1 WO 2020114151 A1 WO2020114151 A1 WO 2020114151A1 CN 2019114079 W CN2019114079 W CN 2019114079W WO 2020114151 A1 WO2020114151 A1 WO 2020114151A1
Authority
WO
WIPO (PCT)
Prior art keywords
clothing
node
picture
apparel
target
Prior art date
Application number
PCT/CN2019/114079
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 WO2020114151A1 publication Critical patent/WO2020114151A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • 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

Definitions

  • Apparel knowledge graph display method device, graph server and storage medium
  • the present invention relates to the field of picture information technology, and in particular, to a clothing knowledge graph display method, device, graph server, and storage medium.
  • a first aspect of the present invention provides a clothing knowledge graph display method, the method including:
  • a second aspect of the present invention provides a clothing knowledge graph display device, the device comprising:
  • a receiving module configured to receive a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map
  • a first acquiring module configured to acquire a pre-stored picture storage address, clothing text information, and clothing relationship information from a graph database in response to the touch instruction;
  • a second obtaining module configured to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address;
  • a generating module configured to generate a clothing knowledge map using the target picture, the clothing text information, and the clothing relationship information
  • the output module is configured to output the apparel knowledge map, wherein the target picture is not displayed on a node of the apparel knowledge map.
  • a third aspect of the present invention provides a graph server, the graph server includes a processor and a memory, and the processor is used to implement the clothing knowledge graph display method when executing a computer program stored in the memory.
  • a fourth aspect of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the clothing knowledge map display method is implemented.
  • a touch instruction input to an apparel node included in a plurality of commodity nodes in a brand knowledge graph may be received first; in response to the touch instruction, a pre-stored image storage address is acquired from a graph database , Apparel text information and apparel relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the apparel indicated by the apparel node, and use the target picture and the apparel The text information and the clothing relationship information generate a clothing knowledge map, and finally, the clothing knowledge map can be output, where the target picture is displayed on a node of the clothing knowledge map.
  • the graph database is pre-stored in Picture storage address, when a user needs to query a certain clothing item, he can input a touch instruction by touching the clothing node on the brand knowledge map, and then trigger the graph server to obtain the clothing node address from the storage server indicated by the image storage address
  • the target picture of the indicated clothing match, and then after the clothing knowledge map is generated, the target picture can be displayed on the node of the clothing knowledge map, so that the clothing classification and the clothing picture can be conveniently viewed to meet user needs.
  • FIG. 1 is a flowchart of a preferred embodiment of a clothing knowledge graph display method disclosed in the present invention.
  • FIG. 2 is a schematic diagram of a garment knowledge graph structure disclosed in the present invention.
  • FIG. 3 is a functional block diagram of a preferred embodiment of a clothing knowledge graph display device disclosed in the present invention.
  • FIG. 4 is a schematic structural diagram of a graph server for implementing a preferred embodiment of a clothing knowledge graph display method of the present invention.
  • FIG. 1 is a flowchart of a preferred embodiment of a clothing knowledge graph display method disclosed in the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the graph server receives a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge graph.
  • the Knowledge Graph (Knowledge Graph/Vault) is also known as the scientific knowledge graph, which is called the knowledge domain visualization or knowledge domain mapping map in the library and information industry.
  • the knowledge graph is a series of various relationships that show the relationship between the development process and structure of knowledge Different graphics, use visualization techniques to describe knowledge resources and their carriers, and mine , Analysis, construction, drawing and display of knowledge and their interrelationships.
  • the graph server is a Neo4j server.
  • the user can input the address of the Neo4j server on the local browser, and then open the Neo4j browser of the Neo4j server through the address and browse in Neo4j
  • the user can enter the pre-registered user name and password to log in to the Neo4j server. After that, users can perform search queries on the Neo4j server, etc.
  • the user may first input a certain brand, and the graph server outputs a brand knowledge map according to the certain brand. Further, the user may include a certain node included in multiple commodity nodes in the brand knowledge map Touch (such as an apparel node) to generate a touch instruction, so as to subsequently generate a knowledge graph for the certain node, such as an apparel knowledge graph.
  • a certain node included in multiple commodity nodes in the brand knowledge map Touch such as an apparel node
  • the brand knowledge graph includes multiple commodity nodes, and the multiple commodity nodes may be various commodity nodes, such as apparel nodes, household appliance nodes, fresh fruit nodes, and grain and oil nodes.
  • the user can touch any one of the commodity nodes.
  • the picture server obtains a pre-stored picture storage address, clothing text information, and clothing relationship information from the picture database.
  • clothing text information, clothing relationship information, and picture storage addresses are stored in a graph database (ie, Neo4j database), and pictures are stored in a storage server (ie, intranet server)
  • the graph database may also be referred to as a graph-oriented database, the corresponding English is Graph database.
  • the basic meaning of a graph database is to store and query data in the form of a "graph" data structure, not a database for storing pictures.
  • the basic storage unit of graph database is: node, relationship, attribute.
  • the apparel text information may include, but is not limited to, information related to major categories, apparel, fine classification, details, and sample images, and the apparel relationship information may be hierarchical relationships or subordinate relationships.
  • the picture storage address is the address of the server where the picture is stored. In the embodiment of the present invention, the pictures are stored in the intranet server to facilitate picture access, and at the same time, the intranet server built on the intranet can provide more stable picture access services.
  • the data in the graph database comes from major websites (such as Taobao, JD.com, Amazon, Wal-Mart Global Shopping and Wanda Mall, etc.) and professional encyclopedia of clothing knowledge.
  • major websites such as Taobao, JD.com, Amazon, Wal-Mart Global Shopping and Wanda Mall, etc.
  • professional encyclopedia of clothing knowledge Data classification in graph database The categories of goods and products can be sorted out according to the information from the major websites. After sorting and summarizing, they are integrated into the knowledge map. There are more than 500 detailed names and 45 clothing types.
  • the picture server obtains a target picture matching the clothing indicated by the clothing node from the storage server indicated by the picture storage address.
  • the target image matching the clothing indicated by the clothing node may be a traditional standard image of the clothing, or a currently popular style image of the clothing, or may be the highest selling current.
  • the pictures of clothing are not limited in the embodiments of the present invention.
  • step S12 the method further includes:
  • step S13 the acquiring, from the storage server indicated by the picture storage address, the target picture matching the clothing indicated by the clothing node includes:
  • the user needs to register in advance on the graph server, enter the registration information, after the registration is successful, you can obtain a user name and password, and you can log in to the graph server with the user name and password next time.
  • the registration information may include but not limited to the user name, user ID number, user home address, user's personal interests and hobbies, etc.
  • the graph server can obtain the personal interests and hobbies of the user from the registration information of the user of the apparel node pointed to by the touch instruction, and determine the user according to the personal interests and hobbies For example, if the user often wears a red tight skirt, it can be determined that the user's clothing preference characteristics are red and obvious.
  • the clothing node touched by the user is a skirt, a picture of a red and slim-fitting skirt can be obtained from the storage server.
  • step S12 the method further includes:
  • step S13 the server acquires the server from the storage server indicated by the picture storage address
  • the target pictures of costume matching indicated by the decoration node include:
  • a preset time can be set, for example, within a month before the current time, a preset popularity threshold value such as 100.
  • the target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time may be determined from the multiple types of apparel
  • the styles of shirts are slim, loose, professional, casual, etc. You can count the sales volume of various styles of shirts in the most recent month. Generally, the more sales, the more Popularity, the higher the popularity, you can determine the sales within a month as the popularity.
  • the clothing node touched by the user is a shirt
  • the popularity of the slim-fit shirt is greater than a preset popularity threshold, a picture of the slim-fit shirt can be obtained from the storage server.
  • the image server uses the target picture, the clothing text information, and the clothing relationship information
  • the graph server may use the target picture and the stored clothing text information and the clothing relationship information to generate a clothing knowledge map.
  • the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the subordinate relationship and hierarchical structure between apparel.
  • the target picture is displayed on the node of the clothing knowledge graph
  • FIG. 2 is a schematic diagram of a clothing knowledge graph structure disclosed in the present invention. Among them, what is described in FIG. 2 is only the structure of the apparel knowledge graph, but the sample diagram is not shown. As shown in Fig. 2, through the apparel knowledge graph, you can clearly see the hierarchical structure and affiliation between the major categories, apparel, fine classification, details, and sample images. After touching the apparel node on the brand knowledge graph, the user can see the sample images corresponding to the classification, fine classification, and details of the apparel from the output apparel knowledge graph, and can also see the relationship between the apparel. The obtained target picture may be displayed on the sample diagram shown in FIG. 2, which is not shown in FIG. [0058] It can be seen from FIG.
  • the data in the clothing knowledge graph is expressed in a tree structure.
  • the main categories men's clothing/women's clothing
  • the names of clothing such as shirts, suits
  • the sub-categories such as sleeve length, placket of clothing
  • the details such as 3/4 sleeves, 3/4 sleeves.
  • the tree structure can clearly express the affiliation and hierarchical structure, and graphically display the professional knowledge of clothing classification.
  • sample drawings of the details are also introduced (each detail can have multiple sample drawings, such as 2-4), which is helpful for assisting users to understand the style of details.
  • step S14 and before step S15 the method further includes
  • the target picture and the apparel knowledge map may be determined 'S node size does not match.
  • the size of each node of the clothing knowledge map (that is, the size of the circle) may be a preset fixed value, such as a circle with a radius of 2 cm.
  • the graph server may adjust the size of the target picture according to the node size, so that the adjusted The size of the target picture is consistent with the size of the node, for example, the size of the adjusted target picture is the same as the size of the node, or, between the adjusted size of the target picture and the size of the node The difference is less than the preset threshold.
  • the adjusted target picture may also be placed in a preset position of the node, such as a centered position, which is beneficial for the target picture to be in the middle of the node, improving the overall Beauty
  • step S14 and before step S15 the method further includes
  • the target picture does not match the node size of the clothing knowledge map, determine the target size of the target node corresponding to the target picture from the preset multiple node sizes according to the size of the target picture ;
  • the target picture and the apparel knowledge may be determined
  • the node size of the graph does not match.
  • the size of each node of the clothing knowledge map (that is, the size of the circle) can have multiple different options, for example, there are 3 options, a circle with a radius of lcm, a circle with a radius of 1.5cm, and a radius of 2cm circle.
  • a default option may be set, such as a circle with a radius of 1.5 cm, that is, the default storage space of the nodes of the clothing knowledge map is the size occupied by a circle with a radius of 1.5 cm.
  • the graph server may determine the size from the preset multiple node sizes according to the size of the target picture The target size of the target node corresponding to the target picture, and using the target size to adjust the size of the target node so that the adjusted size of the target node is consistent with the size of the target picture, specifically, adjust The size of the target node after that is the same as the size of the target picture, or the difference between the adjusted size of the target node and the size of the target picture is less than a preset threshold.
  • the size of the target picture is a circle with a radius of 2cm
  • the node size of the current clothing knowledge map is a circle with a radius of lcm.
  • the preset multiple node sizes include 4 options.
  • a circle with a radius of lcm and a radius of For a 1.5cm circle, a circle with a radius of 2cm and a circle with a radius of 2.5cm, the target node corresponding to the target picture can be adjusted to a circle with a radius of 2cm or a radius of 2.5cm circle, and other nodes except the target node do not need to adjust the size.
  • the target picture may also be placed in a preset position of the target node after adjustment, such as a centered position, which is advantageous for the target picture to be in the middle of the target node, improving Overall aesthetics.
  • the graph server outputs the clothing knowledge graph.
  • the target picture is displayed on a node of the apparel knowledge graph.
  • the target picture is displayed on the corresponding node, for example, if the lapel picture is obtained, the lapel picture is displayed on the node corresponding to the lapel, and the other The node does not display pictures, only display clothing text information.
  • the apparel knowledge graph integrates a large amount of apparel information from different information sources, so that dispersed apparel professional knowledge can be effectively aggregated.
  • the method further includes:
  • the parameter setting instruction carries script information, and the script information is used to indicate that when a node of the clothing knowledge map has a picture address attribute, a picture is displayed on the node of the clothing knowledge map ;
  • the Neo4j server has its own graphical interface, but does not support picture display. In the original version, all nodes are displayed in circles, and pictures cannot be displayed. In order to display pictures on the node, you need to change the parameters on the open source Neo4j browser. Specifically, the user can add script information in the coffee script file (that is, the script file) of the Neo4j browser, similar to a javascript statement. The script information specifies that when the node has the im a g e _url attribute (that is, the image address attribute), The pictures can be retrieved from the storage server corresponding to the url (namely the picture storage address) for display.
  • the script information specifies that when the node has the im a g e _url attribute (that is, the image address attribute), The pictures can be retrieved from the storage server corresponding to the url (namely the picture storage address) for display.
  • the script information may also specify that the position of the picture in the circle of the node is displayed in the center.
  • the script information may also specify that the size of the picture can be adjusted according to the size of the selected node, or the size of the node can be determined according to the size of the picture.
  • a touch instruction input to an apparel node included in a plurality of commodity nodes in a brand knowledge graph may be received first; in response to the touch instruction, a pre-stored picture storage is acquired from a graph database Address, clothing text information, and clothing relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the clothing indicated by the clothing node, and use the target picture, the The clothing text information and the clothing relationship information generate a clothing knowledge map, and finally, the clothing knowledge map can be output, where the target picture is displayed on a node of the clothing knowledge map. It can be seen that, according to the present invention, a picture storage address is pre-stored in the picture database.
  • a user When a user needs to query a certain garment, he can input a touch instruction by touching a garment node on the brand knowledge map, and then trigger the graph server to indicate from the picture storage address In the storage server, obtain the target picture matching the clothing indicated by the clothing node, and then after generating the clothing knowledge map, the target picture can be displayed on the node of the clothing knowledge map, which can be convenient View apparel categories and apparel pictures to meet user needs.
  • FIG. 3 is a functional module diagram of a preferred embodiment of a clothing knowledge graph display device disclosed in the present invention.
  • the apparel knowledge graph display device runs on a graph server.
  • The may include a plurality of function modules composed of program code segments.
  • the program codes of each program segment in the apparel knowledge graph display device may be stored in a memory and executed by at least one processor to perform some or all of the steps in the apparel knowledge graph display method described in FIG. 1.
  • the apparel knowledge graph display device may be divided into multiple functional modules according to the functions performed by it.
  • the functional module may include: a receiving module 401, a first acquiring module 402, a second acquiring module 403, a generating module 404, and an output module 405.
  • the module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory.
  • the functions of each module will be detailed in subsequent embodiments
  • the apparel knowledge graph display device includes:
  • the receiving module 401 is configured to receive a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map;
  • the user may first input a certain brand, and the graph server outputs the brand knowledge map according to the certain brand. Further, the user may include a certain node included in multiple commodity nodes in the brand knowledge map Touch (such as an apparel node) to generate a touch instruction, so as to subsequently generate a knowledge graph for the certain node, such as an apparel knowledge graph.
  • a certain node included in multiple commodity nodes in the brand knowledge map Touch such as an apparel node
  • the brand knowledge graph includes multiple commodity nodes, and the multiple commodity nodes may be various commodity nodes, such as apparel nodes, household appliance nodes, fresh fruit nodes, and grain and oil nodes. The user can touch any one of the commodity nodes.
  • the first obtaining module 402 is configured to obtain a pre-stored image storage address, clothing text information, and clothing relationship information from the image database in response to the touch instruction;
  • clothing text information, clothing relationship information, and picture storage addresses are stored in a graph database (ie, Neo4j database), and pictures are stored in a storage server (ie, intranet server)
  • the graph database may also be called a graph-oriented/graph-based database, and the corresponding English is Graph database.
  • the basic meaning of a graph database is to store and query data in the form of a "graph" data structure, not a database for storing pictures.
  • the basic storage unit of graph database is: node, relationship, attribute.
  • the apparel text information may include, but is not limited to, information related to categories, apparel, fine classification, details, and sample images, and the apparel relationship information may be a hierarchical relationship or a subordinate relationship.
  • the picture storage address is the address of the server where the picture is stored.
  • the pictures are stored in the intranet server to facilitate picture access, and at the same time, the intranet server built on the intranet can provide more stable picture access services.
  • the data in the graph database comes from major websites (such as Taobao, JD.com, Amazon, Wal-Mart Global Shopping and Wanda Mall, etc.) and professional encyclopedia of clothing knowledge.
  • the data classification methods and product categories in the graph database can be sorted out according to the information from the major websites. After sorting and summarizing, they are integrated into the knowledge map. There are more than 500 detailed names and 45 clothing types.
  • the second obtaining module 403 is configured to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address;
  • the target picture matching the clothing indicated by the clothing node may be a traditional standard picture of the clothing, or a currently popular style picture of the clothing, or may be the highest selling current
  • the pictures of clothing are not limited in the embodiments of the present invention.
  • the generation module 404 is configured to generate a clothing knowledge map using the target picture, the clothing text information, and the clothing relationship information;
  • the image server may use the target picture and the stored clothing text information and the clothing relationship information to generate a clothing knowledge map.
  • the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the subordinate relationship and hierarchical structure between apparel.
  • the target picture is displayed on the node of the clothing knowledge graph
  • the output module 405 is configured to output the clothing knowledge map.
  • the target picture is displayed on the node of the clothing knowledge map.
  • the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the affiliation and hierarchical structure between apparel.
  • the target picture is displayed on the corresponding node, for example, if the lapel picture is acquired, the lapel picture is displayed on the node corresponding to the lapel, and the other The node does not display pictures, only display clothing text information.
  • the clothing knowledge graph integrates a large amount of clothing information from different information sources, so that dispersed clothing professional knowledge can be effectively aggregated.
  • the first acquiring module 402 is further configured to acquire the personal interests and hobbies of the user from the registration information of the user pointed to by the touch instruction;
  • the apparel knowledge graph display device further includes:
  • a determining module configured to determine the clothing and hobby characteristics of the user according to the personal interests and hobbies;
  • the second obtaining module 403 is further configured to obtain, from the storage server indicated by the picture storage address, a target picture that matches the clothing indicated by the clothing node and matches the clothing hobby feature.
  • the first acquiring module 402 is further configured to acquire multiple types of apparel indicated by the apparel node;
  • the determining module is further configured to determine, from the plurality of types of apparel, target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time;
  • the second obtaining module 403 is further configured to obtain a target picture matching the target clothing from the storage server indicated by the picture storage address.
  • the apparel knowledge graph display device further includes:
  • an adjustment module configured to use the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map in the generation module 404, and the output module 405 to output the clothing knowledge map Before, if the target picture does not match the node size of the clothing knowledge map, the size of the target picture is adjusted according to the node size of the clothing knowledge map.
  • the determination module is further configured to, after the generation module 404 uses the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map, And before the output module 405 outputs the clothing knowledge map, if the target picture and the If the node sizes of the clothing knowledge map do not match, determine the target size of the target node corresponding to the target picture from the preset multiple node sizes according to the size of the target picture;
  • the adjustment module is further configured to adjust the size of the target node using the target size.
  • the receiving module 401 is further configured to receive an input parameter setting instruction, where the parameter setting instruction carries script information, and the script information is used to indicate when the apparel knowledge map When the node has a picture address attribute, display a picture on the node of the clothing knowledge map;
  • the apparel knowledge graph display device further includes:
  • an adding module configured to add the script information in a script file in response to the parameter setting instruction.
  • a picture storage address is pre-stored in the graph database.
  • the user may input a touch instruction by touching an apparel node on the brand knowledge graph, Then, the graph server is triggered to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address, and then, after generating the clothing knowledge map, the node of the clothing knowledge map can be displayed Target pictures, so that you can easily view clothing categories and clothing pictures to meet user needs.
  • FIG. 4 is a schematic structural diagram of a graph server according to a preferred embodiment of a method for displaying a clothing knowledge graph of the present invention.
  • the graph server 5 includes a memory 51, at least one processor 52, a computer program 53 stored in the memory 51 and executable on the at least one processor 52, and at least one communication bus 54.
  • the schematic diagram shown in FIG. 5 is only an example of the graph server 5, and does not constitute a limitation on the graph server 5, and may include more or fewer components than illustrated. , Or combine some components, or different components, for example, the graph server 5 may further include an input and output device, a network access device, a bus, and the like.
  • the graph server 5 is a Neo4j server.
  • the at least one processor 52 may be a central processing unit (Central Processing Unit, CPU)
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the processor 52 may be a microprocessor or the The processor 52 may also be any conventional processor, etc.
  • the processor 52 is the control center of the graph server 5 and connects various parts of the entire graph server 5 by using various interfaces and lines.
  • the memory 51 may be used to store the computer program 53 and/or module/unit, the processor 52 executes or executes the computer program and/or module/unit stored in the memory 51, and calls The data stored in the memory 51 realizes various functions of the graph server 5.
  • the memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Store data (such as audio data, phone book, etc.) created according to the usage of the graph server 5 and so on.
  • the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (Smart Media Card, SMC), and Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
  • a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (Smart Media Card, SMC), and Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
  • the memory 51 in the graph server 5 stores multiple instructions to implement an expression detection method, and the processor 52 may execute the multiple instructions to implement the above clothing knowledge map display method
  • a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map may be received first; in response to the touch instruction, a pre-stored picture is obtained from a graph database Storage address, clothing text information, and clothing relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the clothing indicated by the clothing node, and use the target picture, Generating the apparel knowledge graph by using the apparel text information and the apparel relationship information, and finally, outputting the apparel knowledge graph, where the target picture is displayed on a node of the apparel knowledge graph.
  • a picture storage address is pre-stored in the picture database.
  • a user When a user needs to query a certain garment, he can input a touch instruction by touching a garment node on the brand knowledge map, and then trigger the graph server to indicate from the picture storage address In the storage server, obtain the target picture matching the clothing indicated by the clothing node, and then after generating the clothing knowledge map, the target picture can be displayed on the node of the clothing knowledge map, so that the clothing classification can be conveniently viewed And clothing pictures to meet user needs.
  • the module/unit integrated in the graph server 5 is implemented in the form of a software functional unit and acts as an independent When the product is sold or used, it can be stored in a computer-readable storage medium.
  • the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by a computer program instructing relevant hardware.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments may be implemented.
  • the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form, etc.
  • the computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunication signals
  • software distribution media etc.
  • the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media Does not include electrical carrier signals and telecommunications signals.

Abstract

A clothing knowledge graph display method and apparatus, and a graph server and a storage medium. The method comprises: the graph server receives a touch instruction input for clothing nodes comprised in a plurality of commodity nodes in a brand knowledge graph (S11); in response to the touch instruction, the graph server obtains a pre-stored picture storage address, clothing text information, and clothing relationship information from a graph database (S12); the graph server obtains a target picture matching the clothing indicated by the clothing node from a storage server indicated by the picture storage address (S13); the graph server uses the target picture, the clothing text information and the clothing relationship information to generate a clothing knowledge graph (S14); and the graph server outputs the clothing knowledge graph (S15), wherein the target picture is displayed on a node of the clothing knowledge graph. According to the method, the clothing classification and the clothing picture can be conveniently checked on the clothing knowledge graph.

Description

服饰知识图谱显示方法、 装置、 图服务器及存储介质 技术领域 Apparel knowledge graph display method, device, graph server and storage medium
[0001] 本发明涉及图片信息技术领域, 尤其涉及一种服饰知识图谱显示方法、 装置、 图服务器及存储介质。 [0001] The present invention relates to the field of picture information technology, and in particular, to a clothing knowledge graph display method, device, graph server, and storage medium.
[0002] 本申请要求于 2018年 12月 06日提交中国专利局, 申请号为 201811489316.6、 发 明名称为“服饰知识图谱显示方法、 装置、 图服务器及存储介质”的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 [0002] This application requires the priority of the Chinese patent application filed on December 6, 2018, with the application number 201811489316.6 and the invention titled "Apparel knowledge graph display method, device, graph server and storage medium", which The entire contents are incorporated by reference in this application.
背景技术 Background technique
[0003] 目前, 网上购物已经成为人们购买商品的一种消费趋势。 在购物网站上, 人们 可以根据商品分类很方便地搜索自己想要的商品。 [0003] At present, online shopping has become a consumption trend for people to purchase commodities. On shopping websites, people can easily search for the products they want according to the product classification.
[0004] 然而, 购物网站上的商品分类虽然都比较全面, 但通常都是基于商品的分类, 而且分类种类多, 标准杂。 比如针对某个具体的商品: 服饰, 用户无法从现有 的商品分类中查看服饰分类以及服饰的细节样例图, 这给用户网购带来极大地 不便。 [0004] However, although the classification of commodities on shopping websites is relatively comprehensive, they are usually based on the classification of commodities, and there are many types of classifications and complex standards. For example, for a specific product: apparel, the user cannot view the apparel classification and the detailed sample images of apparel from the existing product categories, which brings great inconvenience to users online shopping.
发明概述 Summary of the invention
技术问题 technical problem
问题的解决方案 Solution to the problem
技术解决方案 Technical solution
[0005] 鉴于以上内容, 有必要提供一种服饰知识图谱显示方法、 装置、 图服务器及存 储介质, 能够在服饰知识图谱上, 便捷地查看服饰分类和服饰图片。 [0005] In view of the above, it is necessary to provide a clothing knowledge graph display method, device, graph server, and storage medium, which can conveniently view clothing categories and clothing pictures on the clothing knowledge graph.
[0006] 本发明的第一方面提供一种服饰知识图谱显示方法, 所述方法包括: [0006] A first aspect of the present invention provides a clothing knowledge graph display method, the method including:
[0007] 接收针对品牌知识图谱中多个商品节点包括的服饰节点输入的触摸指令; [0007] receiving a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge graph;
[0008] 响应所述触摸指令, 从图数据库中获取预先存储的图片存储地址、 服饰文本信 息以及服饰关系信息; [0008] In response to the touch instruction, obtain a pre-stored picture storage address, clothing text information, and clothing relationship information from the graph database;
[0009] 从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节点所指示的服 饰匹配的目标图片; [0010] 使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生成服饰知识 图谱; [0009] obtaining a target picture matching the clothing indicated by the clothing node from the storage server indicated by the picture storage address; [0010] use the target picture, the clothing text information and the clothing relationship information to generate a clothing knowledge map;
[0011] 输出所述服饰知识图谱, 其中, 所述服饰知识图谱的节点上显示有所述目标图 片。 [0011] outputting the clothing knowledge graph, wherein the target picture is displayed on a node of the clothing knowledge graph.
[0012] 本发明的第二方面提供一种服饰知识图谱显示装置, 所述装置包括: [0012] A second aspect of the present invention provides a clothing knowledge graph display device, the device comprising:
[0013] 接收模块, 用于接收针对品牌知识图谱中多个商品节点包括的服饰节点输入的 触摸指令; [0013] a receiving module, configured to receive a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map;
[0014] 第一获取模块, 用于响应所述触摸指令, 从图数据库中获取预先存储的图片存 储地址、 服饰文本信息以及服饰关系信息; [0014] a first acquiring module, configured to acquire a pre-stored picture storage address, clothing text information, and clothing relationship information from a graph database in response to the touch instruction;
[0015] 第二获取模块, 用于从所述图片存储地址所指示的存储服务器中, 获取与所述 服饰节点所指示的服饰匹配的目标图片; [0015] a second obtaining module, configured to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address;
[0016] 生成模块, 用于使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息 , 生成服饰知识图谱; [0016] a generating module, configured to generate a clothing knowledge map using the target picture, the clothing text information, and the clothing relationship information;
[0017] 输出模块, 用于输出所述服饰知识图谱, 其中, 所述服饰知识图谱的节点上显 不有所述目标图片。 [0017] The output module is configured to output the apparel knowledge map, wherein the target picture is not displayed on a node of the apparel knowledge map.
[0018] 本发明的第三方面提供一种图服务器, 所述图服务器包括处理器和存储器, 所 述处理器用于执行所述存储器中存储的计算机程序时实现所述的服饰知识图谱 显示方法。 [0018] A third aspect of the present invention provides a graph server, the graph server includes a processor and a memory, and the processor is used to implement the clothing knowledge graph display method when executing a computer program stored in the memory.
[0019] 本发明的第四方面提供一种计算机可读存储介质, 所述计算机可读存储介质上 存储有计算机程序, 所述计算机程序被处理器执行时实现所述的服饰知识图谱 显示方法。 [0019] A fourth aspect of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the clothing knowledge map display method is implemented.
[0020] 由以上技术方案, 本发明中, 可以先接收针对品牌知识图谱中多个商品节点包 括的服饰节点输入的触摸指令; 响应所述触摸指令, 从图数据库中获取预先存 储的图片存储地址、 服饰文本信息以及服饰关系信息; 进一步地, 从所述图片 存储地址所指示的存储服务器中, 获取与所述服饰节点所指示的服饰匹配的目 标图片, 并使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生 成服饰知识图谱, 最后, 即可输出所述服饰知识图谱, 其中, 所述服饰知识图 谱的节点上显示有所述目标图片。 可见, 通过本发明, 图数据库中预先存储有 图片存储地址, 当用户需要查询某个服饰时, 可以通过触摸品牌知识图谱上的 服饰节点来输入触摸指令, 进而触发图服务器从图片存储地址所指示的存储服 务器中, 获取与所述服饰节点所指示的服饰匹配的目标图片, 进而在生成服饰 知识图谱后, 即可在服饰知识图谱的节点上显示所述目标图片, 从而能够便捷 地查看服饰分类和服饰图片, 满足用户的需求。 [0020] According to the above technical solution, in the present invention, a touch instruction input to an apparel node included in a plurality of commodity nodes in a brand knowledge graph may be received first; in response to the touch instruction, a pre-stored image storage address is acquired from a graph database , Apparel text information and apparel relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the apparel indicated by the apparel node, and use the target picture and the apparel The text information and the clothing relationship information generate a clothing knowledge map, and finally, the clothing knowledge map can be output, where the target picture is displayed on a node of the clothing knowledge map. It can be seen that through the present invention, the graph database is pre-stored in Picture storage address, when a user needs to query a certain clothing item, he can input a touch instruction by touching the clothing node on the brand knowledge map, and then trigger the graph server to obtain the clothing node address from the storage server indicated by the image storage address The target picture of the indicated clothing match, and then after the clothing knowledge map is generated, the target picture can be displayed on the node of the clothing knowledge map, so that the clothing classification and the clothing picture can be conveniently viewed to meet user needs.
发明的有益效果 Beneficial effects of invention
对附图的简要说明 Brief description of the drawings
附图说明 BRIEF DESCRIPTION
[0021] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或 [0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments or
5见有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动的前提下, 还可以根据提供的附图获得其他的附图。 5 See the drawings required in the technical description for a brief introduction. Obviously, the drawings in the following description are only embodiments of the present invention. For those of ordinary skill in the art, the premise of not paying creative work Below, other drawings can also be obtained based on the provided drawings.
[0022] 图 1是本发明公开的一种服饰知识图谱显示方法的较佳实施例的流程图。 [0022] FIG. 1 is a flowchart of a preferred embodiment of a clothing knowledge graph display method disclosed in the present invention.
[0023] 图 2是本发明公开的一种服饰知识图谱结构的示意图。 [0023] FIG. 2 is a schematic diagram of a garment knowledge graph structure disclosed in the present invention.
[0024] 图 3是本发明公开的一种服饰知识图谱显示装置的较佳实施例的功能模块图。 [0024] FIG. 3 is a functional block diagram of a preferred embodiment of a clothing knowledge graph display device disclosed in the present invention.
[0025] 图 4是本发明实现服饰知识图谱显示方法的较佳实施例的图服务器的结构示意 图。 [0025] FIG. 4 is a schematic structural diagram of a graph server for implementing a preferred embodiment of a clothing knowledge graph display method of the present invention.
发明实施例 Invention Example
本发明的实施方式 Embodiments of the invention
[0026] 请参见图 1, 图 1是本发明公开的一种服饰知识图谱显示方法的较佳实施例的流 程图。 其中, 根据不同的需求, 该流程图中步骤的顺序可以改变, 某些步骤可 以省略。 [0026] Please refer to FIG. 1. FIG. 1 is a flowchart of a preferred embodiment of a clothing knowledge graph display method disclosed in the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0027] S11、 图服务器接收针对品牌知识图谱中多个商品节点包括的服饰节点输入的 触摸指令。 [0027] S11. The graph server receives a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge graph.
[0028] 其中, 知识图谱 (Knowledge Graph/Vault) 又称为科学知识图谱, 在图书情报 界称为知识域可视化或知识领域映射地图, 知识图谱是显示知识发展进程与结 构关系的一系列各种不同的图形, 用可视化技术描述知识资源及其载体, 挖掘 、 分析、 构建、 绘制和显示知识及它们之间的相互联系。 [0028] Among them, the Knowledge Graph (Knowledge Graph/Vault) is also known as the scientific knowledge graph, which is called the knowledge domain visualization or knowledge domain mapping map in the library and information industry. The knowledge graph is a series of various relationships that show the relationship between the development process and structure of knowledge Different graphics, use visualization techniques to describe knowledge resources and their carriers, and mine , Analysis, construction, drawing and display of knowledge and their interrelationships.
[0029] 本发明实施例中, 图服务器为 Neo4j服务器, 当用户需要访问 Neo4j服务器时, 用户可以在本地浏览器上输入 Neo4j服务器的地址, 进而通过地址打开 Neo4j服务 器的 Neo4j浏览器, 在 Neo4j浏览器的相关页面上, 用户可以输入预先注册的用户 名和密码, 登录 Neo4j服务器。 之后, 用户即可在 Neo4j服务器上进行搜索查询等 [0029] In the embodiment of the present invention, the graph server is a Neo4j server. When a user needs to access the Neo4j server, the user can input the address of the Neo4j server on the local browser, and then open the Neo4j browser of the Neo4j server through the address and browse in Neo4j On the relevant page of the device, the user can enter the pre-registered user name and password to log in to the Neo4j server. After that, users can perform search queries on the Neo4j server, etc.
[0030] 本发明实施例中, 用户可以先输入某个品牌, 图服务器根据所述某个品牌输出 品牌知识图谱后, 进一步地, 用户可以在品牌知识图谱中多个商品节点包括的 某个节点 (比如服饰节点) 上进行触摸, 以生成触摸指令, 以便于后续生成针 对该某个节点的知识图谱, 比如服饰知识图谱。 [0030] In the embodiment of the present invention, the user may first input a certain brand, and the graph server outputs a brand knowledge map according to the certain brand. Further, the user may include a certain node included in multiple commodity nodes in the brand knowledge map Touch (such as an apparel node) to generate a touch instruction, so as to subsequently generate a knowledge graph for the certain node, such as an apparel knowledge graph.
[0031] 其中, 品牌知识图谱中包括多个商品节点, 该多个商品节点可以为各种不同的 商品节点, 比如服饰节点、 家用电器节点、 生鲜水果节点、 粮油节点等。 用户 可以对其中任意一个商品节点进行触摸。 [0031] Wherein, the brand knowledge graph includes multiple commodity nodes, and the multiple commodity nodes may be various commodity nodes, such as apparel nodes, household appliance nodes, fresh fruit nodes, and grain and oil nodes. The user can touch any one of the commodity nodes.
[0032] S12、 图服务器响应所述触摸指令, 从图数据库中获取预先存储的图片存储地 址、 服饰文本信息以及服饰关系信息。 [0032] S12. In response to the touch instruction, the picture server obtains a pre-stored picture storage address, clothing text information, and clothing relationship information from the picture database.
[0033] 本发明实施例中, 服饰文本信息、 服饰关系信息以及图片存储地址 (即 url) 存 储在图数据库 (即 Neo4j数据库) 中, 而图片存储在存储服务器 (即内网服务器 [0033] In the embodiment of the present invention, clothing text information, clothing relationship information, and picture storage addresses (ie, url) are stored in a graph database (ie, Neo4j database), and pictures are stored in a storage server (ie, intranet server)
) 中。 ).
[0034] 其中, 图数据库也可称为面向 /基于图的数据库, 对应的英文是 Graph database 。 图数据库的基本含义是以“图”这种数据结构存储和查询数据, 不是存储图片的 数据库。 图数据库的基本存储单元为: 节点、 关系、 属性。 [0034] Among them, the graph database may also be referred to as a graph-oriented database, the corresponding English is Graph database. The basic meaning of a graph database is to store and query data in the form of a "graph" data structure, not a database for storing pictures. The basic storage unit of graph database is: node, relationship, attribute.
[0035] 其中, 服饰文本信息可以包括但不限于大类、 服饰、 细分类、 细节以及样例图 相关的信息, 服饰关系信息可以为层级关系或从属关系等。 图片存储地址即存 储图片所在的服务器的地址。 本发明实施例中, 将图片存储在内网服务器中, 便于图片的访问, 同时, 搭建在内网的内网服务器可以提供更稳定的图片访问 服务。 [0035] Wherein, the apparel text information may include, but is not limited to, information related to major categories, apparel, fine classification, details, and sample images, and the apparel relationship information may be hierarchical relationships or subordinate relationships. The picture storage address is the address of the server where the picture is stored. In the embodiment of the present invention, the pictures are stored in the intranet server to facilitate picture access, and at the same time, the intranet server built on the intranet can provide more stable picture access services.
[0036] 其中, 图数据库中的数据源于各大网站 (比如淘宝, 京东, 亚马逊, 沃尔玛全 球购以及万达商城等) 以及服装知识的专业百科。 图数据库中的数据分类方式 和商品类别可以根据由各大网站的信息进行整理而成, 经过整理汇总后统筹至 知识图谱, 共有 500余细节名称, 45个服装种类。 [0036] Among them, the data in the graph database comes from major websites (such as Taobao, JD.com, Amazon, Wal-Mart Global Shopping and Wanda Mall, etc.) and professional encyclopedia of clothing knowledge. Data classification in graph database The categories of goods and products can be sorted out according to the information from the major websites. After sorting and summarizing, they are integrated into the knowledge map. There are more than 500 detailed names and 45 clothing types.
[0037] S13、 图服务器从所述图片存储地址所指示的存储服务器中, 获取与所述服饰 节点所指示的服饰匹配的目标图片。 [0037] S13. The picture server obtains a target picture matching the clothing indicated by the clothing node from the storage server indicated by the picture storage address.
[0038] 其中, 与所述服饰节点所指示的服饰匹配的目标图片可以是所述服饰的传统标 准图片, 也可以是所述服饰当前比较流行的款式图片, 还可以是当前销量最高 的所述服饰的图片, 本发明实施例不做限定。 [0038] Wherein, the target image matching the clothing indicated by the clothing node may be a traditional standard image of the clothing, or a currently popular style image of the clothing, or may be the highest selling current. The pictures of clothing are not limited in the embodiments of the present invention.
[0039] 作为一种可选的实施方式, 步骤 S 12之后, 所述方法还包括: [0039] As an optional implementation manner, after step S12, the method further includes:
[0040] 从触摸指令指向的用户的注册信息中获取所述用户的个人兴趣爱好; [0040] acquiring the personal interests and hobbies of the user from the registration information of the user pointed to by the touch instruction;
[0041] 根据所述个人兴趣爱好, 确定所述用户的服饰爱好特征; [0041] according to the personal interests and hobbies, determine the clothing hobby characteristics of the user;
[0042] 步骤 S13中, 所述从所述图片存储地址所指示的存储服务器中, 获取与所述服 饰节点所指示的服饰匹配的目标图片包括: [0042] In step S13, the acquiring, from the storage server indicated by the picture storage address, the target picture matching the clothing indicated by the clothing node includes:
[0043] 从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节点所指示的服 饰匹配, 且符合所述服饰爱好特征的目标图片。 [0043] From the storage server indicated by the picture storage address, obtain a target picture that matches the clothing indicated by the clothing node and that matches the characteristics of the clothing hobby.
[0044] 在该可选的实施方式中, 用户需要预先在图服务器上进行注册, 输入注册信息 , 注册成功后, 即可获得用户名和密码, 下次即可通过用户名和密码登录图服 务器。 其中, 该注册信息可以包括但不限于用户名称、 用户身份证号码、 用户 家庭住址、 用户的个人兴趣爱好等。 [0044] In this optional embodiment, the user needs to register in advance on the graph server, enter the registration information, after the registration is successful, you can obtain a user name and password, and you can log in to the graph server with the user name and password next time. Wherein, the registration information may include but not limited to the user name, user ID number, user home address, user's personal interests and hobbies, etc.
[0045] 在用户触摸服饰节点后, 图服务器即可从触摸指令指向的所述服饰节点的用户 的注册信息中获取所述用户的个人兴趣爱好, 并根据所述个人兴趣爱好, 确定 所述用户的服饰爱好特征, 比如: 所述用户经常穿红色紧身的裙子, 则可以确 定所述用户的服饰爱好特征为红色、 显痩。 当用户触摸的服饰节点为裙子时, 即可从存储服务器中获取红色且修身显痩的裙子的图片。 [0045] After the user touches the apparel node, the graph server can obtain the personal interests and hobbies of the user from the registration information of the user of the apparel node pointed to by the touch instruction, and determine the user according to the personal interests and hobbies For example, if the user often wears a red tight skirt, it can be determined that the user's clothing preference characteristics are red and obvious. When the clothing node touched by the user is a skirt, a picture of a red and slim-fitting skirt can be obtained from the storage server.
[0046] 作为一种可选的实施方式, 步骤 S 12之后, 所述方法还包括: [0046] As an optional implementation manner, after step S12, the method further includes:
[0047] 获取所述服饰节点所指示的多个类型的服饰; [0047] acquiring multiple types of apparel indicated by the apparel node;
[0048] 从所述多个类型的服饰中, 确定在当前时间之前的预设时间内流行度大于预设 流行度阈值的目标服饰; [0048] From the plurality of types of apparel, determine a target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time;
[0049] 步骤 S13中, 所述从所述图片存储地址所指示的存储服务器中, 获取与所述服 饰节点所指示的服饰匹配的目标图片包括: [0049] In step S13, the server acquires the server from the storage server indicated by the picture storage address The target pictures of costume matching indicated by the decoration node include:
[0050] 从所述图片存储地址所指示的存储服务器中, 获取与所述目标服饰匹配的目标 图片。 [0050] From the storage server indicated by the picture storage address, obtain a target picture matching the target clothing.
[0051] 在该可选的实施方式中, 通常, 某个服饰有很多类型, 即款式类型, 而不同款 式类型的服饰的流行度是不同的, 有些款式比较受欢迎, 有些款式已经过时的 , 可以设定一个预设时间, 比如当前时间之前的一个月内, 预设流行度阈值比 如 100。 [0051] In this optional embodiment, generally, there are many types of clothing, namely style types, and the popularity of different styles of clothing is different, some styles are more popular, and some styles are outdated, A preset time can be set, for example, within a month before the current time, a preset popularity threshold value such as 100.
[0052] 如果用户触摸的服饰节点所指示的服饰有多个类型, 可以从所述多个类型的服 饰中, 确定在当前时间之前的预设时间内流行度大于预设流行度阈值的目标服 饰, 比如, 衬衫的款式有修身款、 宽松款、 职业款、 休闲款等, 可以统计在在 最近的一个月内各种款式的衬衫在时长上的销售量, 通常可以认为销售量越多 , 越受欢迎, 流行度也越高, 可以将一个月内的销售量确定为流行度。 [0052] If there are multiple types of apparel indicated by the apparel node touched by the user, the target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time may be determined from the multiple types of apparel For example, the styles of shirts are slim, loose, professional, casual, etc. You can count the sales volume of various styles of shirts in the most recent month. Generally, the more sales, the more Popularity, the higher the popularity, you can determine the sales within a month as the popularity.
[0053] 当用户触摸的服饰节点为衬衫时, 如果修身款的衬衫的流行度大于预设流行度 阈值, 即可从存储服务器中获取修身款的衬衫的图片。 [0053] When the clothing node touched by the user is a shirt, if the popularity of the slim-fit shirt is greater than a preset popularity threshold, a picture of the slim-fit shirt can be obtained from the storage server.
[0054] S14、 图服务器使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息 [0054] S14. The image server uses the target picture, the clothing text information, and the clothing relationship information
, 生成服饰知识图谱。 , Generate clothing knowledge map.
[0055] 本发明实施例中, 在获取到目标图片之后, 图服务器即可使用目标图片以及存 储的所述服饰文本信息以及所述服饰关系信息, 生成服饰知识图谱。 [0055] In the embodiment of the present invention, after acquiring the target picture, the graph server may use the target picture and the stored clothing text information and the clothing relationship information to generate a clothing knowledge map.
[0056] 其中, 所述服饰知识图谱为树状结构, 所述服饰知识图谱用于反映服饰之间的 从属关系和层级结构。 其中, 所述服饰知识图谱的节点上显示有所述目标图片 [0056] Wherein, the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the subordinate relationship and hierarchical structure between apparel. Wherein, the target picture is displayed on the node of the clothing knowledge graph
[0057] 请一并参见图 2, 图 2是本发明公开的一种服饰知识图谱结构的示意图。 其中, 图 2所述的仅仅是服饰知识图谱的结构, 而样例图未示出。 如图 2所示, 通过服 饰知识图谱, 可以清晰地看到大类、 服饰、 细分类、 细节以及样例图之间的层 级结构以及从属关系。 用户在触摸品牌知识图谱上的服饰节点后, 可以从输出 的服饰知识图谱上看到服饰的分类、 细分类以及细节对应的样例图, 还可以看 到服饰之间的关系。 其中, 获取的目标图片可以在图 2所示的样例图上显示, 图 2中未示出。 [0058] 从图 2可以看出, 服饰知识图谱中的数据采用树状结构表达。 自上而下共有四 层: 大类 (男装 /女装) , 服饰名称 (如衬衫, 西装) , 细分类 (如袖长, 衣门 襟) 和细节 (如七分袖, 九分袖) 。 其中, 树状结构能够清楚地表达从属关系 和层级结构, 将服饰分类的专业知识图像化展示。 此外, 在部分细节中, 还引 入该细节的样例图 (每个细节可以有多张样例图, 比如 2-4张) , 这有利于辅助 用户理解细节的样式。 [0057] Please also refer to FIG. 2, FIG. 2 is a schematic diagram of a clothing knowledge graph structure disclosed in the present invention. Among them, what is described in FIG. 2 is only the structure of the apparel knowledge graph, but the sample diagram is not shown. As shown in Fig. 2, through the apparel knowledge graph, you can clearly see the hierarchical structure and affiliation between the major categories, apparel, fine classification, details, and sample images. After touching the apparel node on the brand knowledge graph, the user can see the sample images corresponding to the classification, fine classification, and details of the apparel from the output apparel knowledge graph, and can also see the relationship between the apparel. The obtained target picture may be displayed on the sample diagram shown in FIG. 2, which is not shown in FIG. [0058] It can be seen from FIG. 2 that the data in the clothing knowledge graph is expressed in a tree structure. There are four layers from top to bottom: the main categories (men's clothing/women's clothing), the names of clothing (such as shirts, suits), the sub-categories (such as sleeve length, placket of clothing) and the details (such as 3/4 sleeves, 3/4 sleeves). Among them, the tree structure can clearly express the affiliation and hierarchical structure, and graphically display the professional knowledge of clothing classification. In addition, in some details, sample drawings of the details are also introduced (each detail can have multiple sample drawings, such as 2-4), which is helpful for assisting users to understand the style of details.
[0059] 作为一种可选的实施方式, 步骤 S14之后, 以及步骤 S15之前, 所述方法还包括 [0059] As an optional implementation manner, after step S14 and before step S15, the method further includes
[0060] 若所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述服饰知识图 谱的节点大小, 调节所述目标图片的大小。 [0060] If the target picture does not match the node size of the clothing knowledge map, adjust the size of the target picture according to the node size of the clothing knowledge map.
[0061] 在该可选的实施方式中, 如果所述目标图片所占的存储空间与所述服饰知识图 谱的节点所占的存储空间不同, 则可以确定所述目标图片与所述服饰知识图谱 的节点大小不匹配。 其中, 所述服饰知识图谱的每个节点的大小 (即圆圈的大 小) 可以是预设的固定值, 比如半径为 2cm的圆。 [0061] In this optional embodiment, if the storage space occupied by the target picture is different from the storage space occupied by the nodes of the apparel knowledge map, the target picture and the apparel knowledge map may be determined 'S node size does not match. Wherein, the size of each node of the clothing knowledge map (that is, the size of the circle) may be a preset fixed value, such as a circle with a radius of 2 cm.
[0062] 在生成服饰知识图谱之后, 若所述目标图片与所述服饰知识图谱的节点大小不 匹配, 图服务器可以根据所述节点大小, 调节所述目标图片的大小, 以使得调 节后的所述目标图片的大小与所述节点的大小一致, 比如调节后的所述目标图 片的大小与所述节点的大小相同, 或者, 调节后的所述目标图片的大小与所述 节点的大小之间的差值小于预设阈值。 [0062] After the clothing knowledge map is generated, if the node size of the target picture and the clothing knowledge map does not match, the graph server may adjust the size of the target picture according to the node size, so that the adjusted The size of the target picture is consistent with the size of the node, for example, the size of the adjusted target picture is the same as the size of the node, or, between the adjusted size of the target picture and the size of the node The difference is less than the preset threshold.
[0063] 可选的, 还可以将调节后的所述目标图片置于所述节点的预设位置, 比如居中 位置, 这有利于所述目标图片能够处于所述节点的正中间, 提高整体的美观性 [0063] Optionally, the adjusted target picture may also be placed in a preset position of the node, such as a centered position, which is beneficial for the target picture to be in the middle of the node, improving the overall Beauty
[0064] 作为一种可选的实施方式, 步骤 S14之后, 以及步骤 S15之前, 所述方法还包括 [0064] As an optional implementation manner, after step S14 and before step S15, the method further includes
[0065] 若所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述目标图片的 大小, 从预设的多个节点尺寸中, 确定所述目标图片对应的目标节点的目标尺 寸; [0065] If the target picture does not match the node size of the clothing knowledge map, determine the target size of the target node corresponding to the target picture from the preset multiple node sizes according to the size of the target picture ;
[0066] 使用所述目标尺寸, 调节所述目标节点的大小。 [0067] 在该可选的实施方式中, 如果所述目标图片所占的存储空间与所述服饰知识图 谱的节点所占的默认存储空间不同, 则可以确定所述目标图片与所述服饰知识 图谱的节点大小不匹配。 其中, 所述服饰知识图谱的每个节点的大小 (即圆圈 的大小) 可以有多个不同的选项, 比如有 3个选项, 半径为 lcm的圆、 半径为 1.5c m的圆以及半径为 2cm的圆。 可以设置一个默认选项, 比如半径为 1.5cm的圆, 即所述服饰知识图谱的节点的默认存储空间为半径为 1.5cm的圆所占的大小。 [0066] Using the target size, adjust the size of the target node. [0067] In this optional embodiment, if the storage space occupied by the target picture is different from the default storage space occupied by the nodes of the apparel knowledge graph, the target picture and the apparel knowledge may be determined The node size of the graph does not match. Among them, the size of each node of the clothing knowledge map (that is, the size of the circle) can have multiple different options, for example, there are 3 options, a circle with a radius of lcm, a circle with a radius of 1.5cm, and a radius of 2cm circle. A default option may be set, such as a circle with a radius of 1.5 cm, that is, the default storage space of the nodes of the clothing knowledge map is the size occupied by a circle with a radius of 1.5 cm.
[0068] 在生成服饰知识图谱之后, 若所述目标图片与所述服饰知识图谱的节点大小不 匹配, 图服务器可以根据所述目标图片的大小, 从预设的多个节点尺寸中, 确 定所述目标图片对应的目标节点的目标尺寸, 并使用所述目标尺寸, 调节所述 目标节点的大小, 以使得调节后的所述目标节点的大小与所述目标图片的大小 一致, 具体的, 调节后的所述目标节点的大小与所述目标图片的大小相同, 或 者, 调节后的所述目标节点的大小与所述目标图片的大小之间的差值小于预设 阈值。 比如: 所述目标图片的大小为半径 2cm的圆, 而当前所述服饰知识图谱的 节点大小为半径 lcm的圆, 预设的多个节点尺寸包括 4个选项, 半径为 lcm的圆、 半径为 1.5cm的圆、 半径为 2cm的圆以及半径为 2.5cm的圆, 则可以从预设的多个 节点尺寸中, 调节所述目标图片对应的目标节点的目标尺寸为半径 2cm的圆或者 半径为 2.5cm的圆, 而除所述目标节点之外的其他节点不需要调节大小。 [0068] After the clothing knowledge map is generated, if the node size of the target picture and the clothing knowledge map does not match, the graph server may determine the size from the preset multiple node sizes according to the size of the target picture The target size of the target node corresponding to the target picture, and using the target size to adjust the size of the target node so that the adjusted size of the target node is consistent with the size of the target picture, specifically, adjust The size of the target node after that is the same as the size of the target picture, or the difference between the adjusted size of the target node and the size of the target picture is less than a preset threshold. For example: The size of the target picture is a circle with a radius of 2cm, and the node size of the current clothing knowledge map is a circle with a radius of lcm. The preset multiple node sizes include 4 options. A circle with a radius of lcm and a radius of For a 1.5cm circle, a circle with a radius of 2cm and a circle with a radius of 2.5cm, the target node corresponding to the target picture can be adjusted to a circle with a radius of 2cm or a radius of 2.5cm circle, and other nodes except the target node do not need to adjust the size.
[0069] 可选的, 还可以将所述目标图片置于调节后的所述目标节点的预设位置, 比如 居中位置, 这有利于所述目标图片能够处于所述目标节点的正中间, 提高整体 的美观性。 [0069] Optionally, the target picture may also be placed in a preset position of the target node after adjustment, such as a centered position, which is advantageous for the target picture to be in the middle of the target node, improving Overall aesthetics.
[0070] S15、 图服务器输出所述服饰知识图谱。 [0070] S15. The graph server outputs the clothing knowledge graph.
[0071] 其中, 所述服饰知识图谱的节点上显示有所述目标图片。 [0071] Wherein, the target picture is displayed on a node of the apparel knowledge graph.
[0072] 其中, 获取的是哪种类型的目标图片, 即在相对应的节点上显示所述目标图片 , 比如, 获取的是翻领图片, 则在翻领对应的节点上显示翻领图片, 而其他的 节点不显示图片, 只显示服饰文本信息即可。 [0072] Where, what type of target picture is obtained, that is, the target picture is displayed on the corresponding node, for example, if the lapel picture is obtained, the lapel picture is displayed on the node corresponding to the lapel, and the other The node does not display pictures, only display clothing text information.
[0073] 本发明实施例中, 从所述服饰知识图谱上, 用户可以清晰地看到不同服饰类别 之间的联系, 包括他们共同拥有的一些属性, 这对于算法的训练有启发性作用 , 因为拥有相同细分类的服饰类别在训练中可以相互促进。 [0074] 此外, 所述服饰知识图谱上整合了不同信息来源的大量服装信息, 使得分散的 服装专业知识得以有效聚合。 [0073] In the embodiment of the present invention, from the apparel knowledge graph, users can clearly see the connections between different apparel categories, including some attributes they have in common, which is instructive for the training of the algorithm, because Clothing categories with the same fine classification can promote each other in training. [0074] In addition, the apparel knowledge graph integrates a large amount of apparel information from different information sources, so that dispersed apparel professional knowledge can be effectively aggregated.
[0075] 作为一种可选的实施方式, 所述方法还包括: [0075] As an optional implementation, the method further includes:
[0076] 接收输入的参数设置指令, 所述参数设置指令携带有脚本信息, 所述脚本信息 用于指示当服饰知识图谱的节点具有图片地址属性时, 在所述服饰知识图谱的 节点上显示图片; [0076] receiving an input parameter setting instruction, the parameter setting instruction carries script information, and the script information is used to indicate that when a node of the clothing knowledge map has a picture address attribute, a picture is displayed on the node of the clothing knowledge map ;
[0077] 响应所述参数设置指令, 在脚本文件中添加所述脚本信息。 [0077] In response to the parameter setting instruction, add the script information to the script file.
[0078] 在该可选的实施方式中, 由于 Neo4j服务器自带有图形界面, 但是不支持图片 显示。 在原始版本中所有节点都以圆圈显示, 不能显示图片。 为了节点上显示 图片, 需要在开源的 Neo4j浏览器上更改参数。 具体的, 用户可以在 Neo4j浏览器 的 coffee script文件 (即脚本文件) 中添加脚本信息, 类似 javascript语句, 该脚 本信息中规定了当节点具有 image_url属性 (即图片地址属性) 时, 可以从 url ( 即图片存储地址) 对应的存储服务器中调取图片进行显示。 [0078] In this optional embodiment, the Neo4j server has its own graphical interface, but does not support picture display. In the original version, all nodes are displayed in circles, and pictures cannot be displayed. In order to display pictures on the node, you need to change the parameters on the open source Neo4j browser. Specifically, the user can add script information in the coffee script file (that is, the script file) of the Neo4j browser, similar to a javascript statement. The script information specifies that when the node has the im a g e _url attribute (that is, the image address attribute), The pictures can be retrieved from the storage server corresponding to the url (namely the picture storage address) for display.
[0079] 此外, 可选的, 该脚本信息还可以规定图片在节点圆圈中的位置为居中显示。 [0079] In addition, optionally, the script information may also specify that the position of the picture in the circle of the node is displayed in the center.
可选的, 为了使 Neo4j浏览器能以原画质显示图片, 该脚本信息还可以规定能够 根据所选定节点的大小来调整图片的尺寸, 或者, 根据图片的尺寸来确定节点 的大小。 Optionally, in order to enable the Neo4j browser to display the picture in the original picture quality, the script information may also specify that the size of the picture can be adjusted according to the size of the selected node, or the size of the node can be determined according to the size of the picture.
[0080] 在图 1所描述的方法流程中, 可以先接收针对品牌知识图谱中多个商品节点包 括的服饰节点输入的触摸指令; 响应所述触摸指令, 从图数据库中获取预先存 储的图片存储地址、 服饰文本信息以及服饰关系信息; 进一步地, 从所述图片 存储地址所指示的存储服务器中, 获取与所述服饰节点所指示的服饰匹配的目 标图片, 并使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生 成服饰知识图谱, 最后, 即可输出所述服饰知识图谱, 其中, 所述服饰知识图 谱的节点上显示有所述目标图片。 可见, 通过本发明, 图数据库中预先存储有 图片存储地址, 当用户需要查询某个服饰时, 可以通过触摸品牌知识图谱上的 服饰节点来输入触摸指令, 进而触发图服务器从图片存储地址所指示的存储服 务器中, 获取与所述服饰节点所指示的服饰匹配的目标图片, 进而在生成服饰 知识图谱后, 即可在服饰知识图谱的节点上显示所述目标图片, 从而能够便捷 地查看服饰分类和服饰图片, 满足用户的需求。 [0080] In the method flow described in FIG. 1, a touch instruction input to an apparel node included in a plurality of commodity nodes in a brand knowledge graph may be received first; in response to the touch instruction, a pre-stored picture storage is acquired from a graph database Address, clothing text information, and clothing relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the clothing indicated by the clothing node, and use the target picture, the The clothing text information and the clothing relationship information generate a clothing knowledge map, and finally, the clothing knowledge map can be output, where the target picture is displayed on a node of the clothing knowledge map. It can be seen that, according to the present invention, a picture storage address is pre-stored in the picture database. When a user needs to query a certain garment, he can input a touch instruction by touching a garment node on the brand knowledge map, and then trigger the graph server to indicate from the picture storage address In the storage server, obtain the target picture matching the clothing indicated by the clothing node, and then after generating the clothing knowledge map, the target picture can be displayed on the node of the clothing knowledge map, which can be convenient View apparel categories and apparel pictures to meet user needs.
[0081] 请参见图 3 , 图 3是本发明公开的一种服饰知识图谱显示装置的较佳实施例的功 能模块图。 [0081] Please refer to FIG. 3, which is a functional module diagram of a preferred embodiment of a clothing knowledge graph display device disclosed in the present invention.
[0082] 在一些实施例中, 所述服饰知识图谱显示装置运行于图服务器中。 所述 可以 包括多个由程序代码段所组成的功能模块。 所述服饰知识图谱显示装置 中的各 个程序段的程序代码可以存储于存储器中, 并由至少一个处理器所执行, 以执 行图 1所描述的服饰知识图谱显示方法中的部分或全部步骤。 [0082] In some embodiments, the apparel knowledge graph display device runs on a graph server. The may include a plurality of function modules composed of program code segments. The program codes of each program segment in the apparel knowledge graph display device may be stored in a memory and executed by at least one processor to perform some or all of the steps in the apparel knowledge graph display method described in FIG. 1.
[0083] 本实施例中, 所述服饰知识图谱显示装置根据其所执行的功能, 可以被划分为 多个功能模块。 所述功能模块可以包括: 接收模块 401、 第一获取模块 402、 第 二获取模块 403、 生成模块 404及输出模块 405。 本发明所称的模块是指一种能够 被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段, 其存 储在存储器中。 在一些实施例中, 关于各模块的功能将在后续的实施例中详述 [0083] In this embodiment, the apparel knowledge graph display device may be divided into multiple functional modules according to the functions performed by it. The functional module may include: a receiving module 401, a first acquiring module 402, a second acquiring module 403, a generating module 404, and an output module 405. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In some embodiments, the functions of each module will be detailed in subsequent embodiments
[0084] 所述服饰知识图谱显示装置包括: [0084] The apparel knowledge graph display device includes:
[0085] 接收模块 401, 用于接收针对品牌知识图谱中多个商品节点包括的服饰节点输 入的触摸指令; [0085] The receiving module 401 is configured to receive a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map;
[0086] 本发明实施例中, 用户可以先输入某个品牌, 图服务器根据所述某个品牌输出 品牌知识图谱后, 进一步地, 用户可以在品牌知识图谱中多个商品节点包括的 某个节点 (比如服饰节点) 上进行触摸, 以生成触摸指令, 以便于后续生成针 对该某个节点的知识图谱, 比如服饰知识图谱。 [0086] In the embodiment of the present invention, the user may first input a certain brand, and the graph server outputs the brand knowledge map according to the certain brand. Further, the user may include a certain node included in multiple commodity nodes in the brand knowledge map Touch (such as an apparel node) to generate a touch instruction, so as to subsequently generate a knowledge graph for the certain node, such as an apparel knowledge graph.
[0087] 其中, 品牌知识图谱中包括多个商品节点, 该多个商品节点可以为各种不同的 商品节点, 比如服饰节点、 家用电器节点、 生鲜水果节点、 粮油节点等。 用户 可以对其中任意一个商品节点进行触摸。 [0087] Wherein, the brand knowledge graph includes multiple commodity nodes, and the multiple commodity nodes may be various commodity nodes, such as apparel nodes, household appliance nodes, fresh fruit nodes, and grain and oil nodes. The user can touch any one of the commodity nodes.
[0088] 第一获取模块 402, 用于响应所述触摸指令, 从图数据库中获取预先存储的图 片存储地址、 服饰文本信息以及服饰关系信息; [0088] The first obtaining module 402 is configured to obtain a pre-stored image storage address, clothing text information, and clothing relationship information from the image database in response to the touch instruction;
[0089] 本发明实施例中, 服饰文本信息、 服饰关系信息以及图片存储地址 (即 url) 存 储在图数据库 (即 Neo4j数据库) 中, 而图片存储在存储服务器 (即内网服务器 [0089] In the embodiment of the present invention, clothing text information, clothing relationship information, and picture storage addresses (ie, url) are stored in a graph database (ie, Neo4j database), and pictures are stored in a storage server (ie, intranet server)
) 中。 [0090] 其中, 图数据库也可称为面向 /基于图的数据库, 对应的英文是 Graph database 。 图数据库的基本含义是以“图”这种数据结构存储和查询数据, 不是存储图片 的数据库。 图数据库的基本存储单元为: 节点、 关系、 属性。 ). [0090] Among them, the graph database may also be called a graph-oriented/graph-based database, and the corresponding English is Graph database. The basic meaning of a graph database is to store and query data in the form of a "graph" data structure, not a database for storing pictures. The basic storage unit of graph database is: node, relationship, attribute.
[0091] 其中, 服饰文本信息可以包括但不限于大类、 服饰、 细分类、 细节以及样例图 相关的信息, 服饰关系信息可以为层级关系或从属关系等。 图片存储地址即存 储图片所在的服务器的地址。 本发明实施例中, 将图片存储在内网服务器中, 便于图片的访问, 同时, 搭建在内网的内网服务器可以提供更稳定的图片访问 服务。 [0091] Wherein, the apparel text information may include, but is not limited to, information related to categories, apparel, fine classification, details, and sample images, and the apparel relationship information may be a hierarchical relationship or a subordinate relationship. The picture storage address is the address of the server where the picture is stored. In the embodiment of the present invention, the pictures are stored in the intranet server to facilitate picture access, and at the same time, the intranet server built on the intranet can provide more stable picture access services.
[0092] 其中, 图数据库中的数据源于各大网站 (比如淘宝, 京东, 亚马逊, 沃尔玛全 球购以及万达商城等) 以及服装知识的专业百科。 图数据库中的数据分类方式 和商品类别可以根据由各大网站的信息进行整理而成, 经过整理汇总后统筹至 知识图谱, 共有 500余细节名称, 45个服装种类。 [0092] Among them, the data in the graph database comes from major websites (such as Taobao, JD.com, Amazon, Wal-Mart Global Shopping and Wanda Mall, etc.) and professional encyclopedia of clothing knowledge. The data classification methods and product categories in the graph database can be sorted out according to the information from the major websites. After sorting and summarizing, they are integrated into the knowledge map. There are more than 500 detailed names and 45 clothing types.
[0093] 第二获取模块 403 , 用于从所述图片存储地址所指示的存储服务器中, 获取与 所述服饰节点所指示的服饰匹配的目标图片; [0093] The second obtaining module 403 is configured to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address;
[0094] 其中, 与所述服饰节点所指示的服饰匹配的目标图片可以是所述服饰的传统标 准图片, 也可以是所述服饰当前比较流行的款式图片, 还可以是当前销量最高 的所述服饰的图片, 本发明实施例不做限定。 [0094] Wherein, the target picture matching the clothing indicated by the clothing node may be a traditional standard picture of the clothing, or a currently popular style picture of the clothing, or may be the highest selling current The pictures of clothing are not limited in the embodiments of the present invention.
[0095] 生成模块 404, 用于使用所述目标图片、 所述服饰文本信息以及所述服饰关系 信息, 生成服饰知识图谱; [0095] The generation module 404 is configured to generate a clothing knowledge map using the target picture, the clothing text information, and the clothing relationship information;
[0096] 本发明实施例中, 在获取到目标图片之后, 图服务器即可使用目标图片以及存 储的所述服饰文本信息以及所述服饰关系信息, 生成服饰知识图谱。 [0096] In the embodiment of the present invention, after acquiring the target picture, the image server may use the target picture and the stored clothing text information and the clothing relationship information to generate a clothing knowledge map.
[0097] 其中, 所述服饰知识图谱为树状结构, 所述服饰知识图谱用于反映服饰之间的 从属关系和层级结构。 其中, 所述服饰知识图谱的节点上显示有所述目标图片 [0097] Wherein, the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the subordinate relationship and hierarchical structure between apparel. Wherein, the target picture is displayed on the node of the clothing knowledge graph
[0098] 输出模块 405, 用于输出所述服饰知识图谱。 [0098] The output module 405 is configured to output the clothing knowledge map.
[0099] 其中, 所述服饰知识图谱的节点上显示有所述目标图片。 [0099] Wherein, the target picture is displayed on the node of the clothing knowledge map.
[0100] 其中, 所述服饰知识图谱为树状结构, 所述服饰知识图谱用于反映服饰之间的 从属关系和层级结构。 [0101] 其中, 获取的是哪种类型的目标图片, 即在相对应的节点上显示所述目标图片 , 比如, 获取的是翻领图片, 则在翻领对应的节点上显示翻领图片, 而其他的 节点不显示图片, 只显示服饰文本信息即可。 [0100] Wherein, the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the affiliation and hierarchical structure between apparel. [0101] Among them, what type of target picture is acquired, that is, the target picture is displayed on the corresponding node, for example, if the lapel picture is acquired, the lapel picture is displayed on the node corresponding to the lapel, and the other The node does not display pictures, only display clothing text information.
[0102] 本发明实施例中, 从所述服饰知识图谱上, 用户可以清晰地看到不同服饰类别 之间的联系, 包括他们共同拥有的一些属性, 这对于算法的训练有启发性作用 , 因为拥有相同细分类的服饰类别在训练中可以相互促进。 [0102] In the embodiment of the present invention, from the apparel knowledge graph, users can clearly see the connections between different apparel categories, including some attributes they have in common, which is instructive for algorithm training, because Clothing categories with the same fine classification can promote each other in training.
[0103] 此外, 所述服饰知识图谱上整合了不同信息来源的大量服装信息, 使得分散的 服装专业知识得以有效聚合。 [0103] In addition, the clothing knowledge graph integrates a large amount of clothing information from different information sources, so that dispersed clothing professional knowledge can be effectively aggregated.
[0104] 作为一种可选的实施方式, 所述第一获取模块 402, 还用于从触摸指令指向的 用户的注册信息中获取所述用户的个人兴趣爱好; [0104] As an optional implementation manner, the first acquiring module 402 is further configured to acquire the personal interests and hobbies of the user from the registration information of the user pointed to by the touch instruction;
[0105] 所述服饰知识图谱显示装置还包括: [0105] The apparel knowledge graph display device further includes:
[0106] 确定模块, 用于根据所述个人兴趣爱好, 确定所述用户的服饰爱好特征; [0106] a determining module, configured to determine the clothing and hobby characteristics of the user according to the personal interests and hobbies;
[0107] 所述第二获取模块 403还用于从所述图片存储地址所指示的存储服务器中, 获 取与所述服饰节点所指示的服饰匹配, 且符合所述服饰爱好特征的目标图片。 [0107] The second obtaining module 403 is further configured to obtain, from the storage server indicated by the picture storage address, a target picture that matches the clothing indicated by the clothing node and matches the clothing hobby feature.
[0108] 作为一种可选的实施方式, 所述第一获取模块 402, 还用于获取所述服饰节点 所指示的多个类型的服饰; [0108] As an optional implementation manner, the first acquiring module 402 is further configured to acquire multiple types of apparel indicated by the apparel node;
[0109] 所述确定模块, 还用于从所述多个类型的服饰中, 确定在当前时间之前的预设 时间内流行度大于预设流行度阈值的目标服饰; [0109] The determining module is further configured to determine, from the plurality of types of apparel, target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time;
[0110] 所述第二获取模块 403还用于从所述图片存储地址所指示的存储服务器中, 获 取与所述目标服饰匹配的目标图片。 [0110] The second obtaining module 403 is further configured to obtain a target picture matching the target clothing from the storage server indicated by the picture storage address.
[0111] 作为一种可选的实施方式, 所述服饰知识图谱显示装置还包括: [0111] As an optional implementation manner, the apparel knowledge graph display device further includes:
[0112] 调节模块, 用于在所述生成模块 404使用所述目标图片、 所述服饰文本信息以 及所述服饰关系信息, 生成服饰知识图谱之后, 以及所述输出模块 405输出所述 服饰知识图谱之前, 若所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述服饰知识图谱的节点大小, 调节所述目标图片的大小。 [0112] an adjustment module, configured to use the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map in the generation module 404, and the output module 405 to output the clothing knowledge map Before, if the target picture does not match the node size of the clothing knowledge map, the size of the target picture is adjusted according to the node size of the clothing knowledge map.
[0113] 作为一种可选的实施方式, 所述确定模块, 还用于在所述生成模块 404使用所 述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生成服饰知识图谱之 后, 以及所述输出模块 405输出所述服饰知识图谱之前, 若所述目标图片与所述 服饰知识图谱的节点大小不匹配, 根据所述目标图片的大小, 从预设的多个节 点尺寸中, 确定所述目标图片对应的目标节点的目标尺寸; [0113] As an optional implementation manner, the determination module is further configured to, after the generation module 404 uses the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map, And before the output module 405 outputs the clothing knowledge map, if the target picture and the If the node sizes of the clothing knowledge map do not match, determine the target size of the target node corresponding to the target picture from the preset multiple node sizes according to the size of the target picture;
[0114] 所述调节模块, 还用于使用所述目标尺寸, 调节所述目标节点的大小。 [0114] The adjustment module is further configured to adjust the size of the target node using the target size.
[0115] 作为一种可选的实施方式, 所述接收模块 401, 还用于接收输入的参数设置指 令, 所述参数设置指令携带有脚本信息, 所述脚本信息用于指示当服饰知识图 谱的节点具有图片地址属性时, 在所述服饰知识图谱的节点上显示图片; [0115] As an optional implementation manner, the receiving module 401 is further configured to receive an input parameter setting instruction, where the parameter setting instruction carries script information, and the script information is used to indicate when the apparel knowledge map When the node has a picture address attribute, display a picture on the node of the clothing knowledge map;
[0116] 所述服饰知识图谱显示装置还包括: [0116] The apparel knowledge graph display device further includes:
[0117] 添加模块, 用于响应所述参数设置指令, 在脚本文件中添加所述脚本信息。 [0117] an adding module, configured to add the script information in a script file in response to the parameter setting instruction.
[0118] 在图 3所描述的服饰知识图谱显示装置中, 图数据库中预先存储有图片存储地 址, 当用户需要查询某个服饰时, 可以通过触摸品牌知识图谱上的服饰节点来 输入触摸指令, 进而触发图服务器从图片存储地址所指示的存储服务器中, 获 取与所述服饰节点所指示的服饰匹配的目标图片, 进而在生成服饰知识图谱后 , 即可在服饰知识图谱的节点上显示所述目标图片, 从而能够便捷地查看服饰 分类和服饰图片, 满足用户的需求。 [0118] In the apparel knowledge graph display device described in FIG. 3, a picture storage address is pre-stored in the graph database. When a user needs to query a certain apparel, the user may input a touch instruction by touching an apparel node on the brand knowledge graph, Then, the graph server is triggered to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address, and then, after generating the clothing knowledge map, the node of the clothing knowledge map can be displayed Target pictures, so that you can easily view clothing categories and clothing pictures to meet user needs.
[0119] 如图 4所示, 图 4是本发明实现服饰知识图谱显示方法的较佳实施例的图服务器 的结构示意图。 所述图服务器 5包括存储器 51、 至少一个处理器 52、 存储在所述 存储器 51中并可在所述至少一个处理器 52上运行的计算机程序 53及至少一条通 讯总线 54。 [0119] As shown in FIG. 4, FIG. 4 is a schematic structural diagram of a graph server according to a preferred embodiment of a method for displaying a clothing knowledge graph of the present invention. The graph server 5 includes a memory 51, at least one processor 52, a computer program 53 stored in the memory 51 and executable on the at least one processor 52, and at least one communication bus 54.
[0120] 本领域技术人员可以理解, 图 5所示的示意图仅仅是所述图服务器 5的示例, 并 不构成对所述图服务器 5的限定, 可以包括比图示更多或更少的部件, 或者组合 某些部件, 或者不同的部件, 例如所述图服务器 5还可以包括输入输出设备、 网 络接入设备、 总线等。 [0120] Persons skilled in the art may understand that the schematic diagram shown in FIG. 5 is only an example of the graph server 5, and does not constitute a limitation on the graph server 5, and may include more or fewer components than illustrated. , Or combine some components, or different components, for example, the graph server 5 may further include an input and output device, a network access device, a bus, and the like.
[0121] 所述图服务器 5为 Neo4j服务器。 [0121] The graph server 5 is a Neo4j server.
[0122] 所述至少一个处理器 52可以是中央处理单元 (Central Processing Unit, CPU) [0122] The at least one processor 52 may be a central processing unit (Central Processing Unit, CPU)
, 还可以是其他通用处理器、 数字信号处理器 (Digital Signal Processor, DSP), Can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP)
、 专用集成电路 (Application Specific Integrated Circuit, ASIC) 、 现成可编程门 阵列 (Field- Programmable Gate Array, FPGA) 或者其他可编程逻辑器件、 分立 门或者晶体管逻辑器件、 分立硬件组件等。 该处理器 52可以是微处理器或者该 处理器 52也可以是任何常规的处理器等, 所述处理器 52是所述图服务器 5的控制 中心, 利用各种接口和线路连接整个图服务器 5的各个部分。 , Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The processor 52 may be a microprocessor or the The processor 52 may also be any conventional processor, etc. The processor 52 is the control center of the graph server 5 and connects various parts of the entire graph server 5 by using various interfaces and lines.
[0123] 所述存储器 51可用于存储所述计算机程序 53和 /或模块 /单元, 所述处理器 52通 过运行或执行存储在所述存储器 51内的计算机程序和 /或模块 /单元, 以及调用存 储在存储器 51内的数据, 实现所述图服务器 5的各种功能。 所述存储器 51可主要 包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个 功能所需的应用程序 (比如声音播放功能、 图像播放功能等) 等; 存储数据区 可存储根据图服务器 5的使用所创建的数据 (比如音频数据、 电话本等) 等。 此 夕卜, 存储器 51可以包括高速随机存取存储器, 还可以包括非易失性存储器, 例 如硬盘、 内存、 插接式硬盘, 智能存储卡 (Smart Media Card, SMC) , 安全数 字 (Secure Digital, SD) 卡, 闪存卡 (Flash Card) 、 至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 [0123] The memory 51 may be used to store the computer program 53 and/or module/unit, the processor 52 executes or executes the computer program and/or module/unit stored in the memory 51, and calls The data stored in the memory 51 realizes various functions of the graph server 5. The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Store data (such as audio data, phone book, etc.) created according to the usage of the graph server 5 and so on. In addition, the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (Smart Media Card, SMC), and Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0124] 结合图 1, 所述图服务器 5中的所述存储器 51存储多个指令以实现一种表情检测 方法, 所述处理器 52可执行所述多个指令从而实现上述服饰知识图谱显示方法 [0124] With reference to FIG. 1, the memory 51 in the graph server 5 stores multiple instructions to implement an expression detection method, and the processor 52 may execute the multiple instructions to implement the above clothing knowledge map display method
[0125] 在图 4所描述的图服务器 5中, 可以先接收针对品牌知识图谱中多个商品节点包 括的服饰节点输入的触摸指令; 响应所述触摸指令, 从图数据库中获取预先存 储的图片存储地址、 服饰文本信息以及服饰关系信息; 进一步地, 从所述图片 存储地址所指示的存储服务器中, 获取与所述服饰节点所指示的服饰匹配的目 标图片, 并使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生 成服饰知识图谱, 最后, 即可输出所述服饰知识图谱, 其中, 所述服饰知识图 谱的节点上显示有所述目标图片。 可见, 通过本发明, 图数据库中预先存储有 图片存储地址, 当用户需要查询某个服饰时, 可以通过触摸品牌知识图谱上的 服饰节点来输入触摸指令, 进而触发图服务器从图片存储地址所指示的存储服 务器中, 获取与所述服饰节点所指示的服饰匹配的目标图片, 进而在生成服饰 知识图谱后, 即可在服饰知识图谱的节点上显示所述目标图片, 从而能够便捷 地查看服饰分类和服饰图片, 满足用户的需求。 [0125] In the graph server 5 described in FIG. 4, a touch instruction input to a clothing node included in a plurality of commodity nodes in the brand knowledge map may be received first; in response to the touch instruction, a pre-stored picture is obtained from a graph database Storage address, clothing text information, and clothing relationship information; further, from the storage server indicated by the picture storage address, obtain a target picture matching the clothing indicated by the clothing node, and use the target picture, Generating the apparel knowledge graph by using the apparel text information and the apparel relationship information, and finally, outputting the apparel knowledge graph, where the target picture is displayed on a node of the apparel knowledge graph. It can be seen that, according to the present invention, a picture storage address is pre-stored in the picture database. When a user needs to query a certain garment, he can input a touch instruction by touching a garment node on the brand knowledge map, and then trigger the graph server to indicate from the picture storage address In the storage server, obtain the target picture matching the clothing indicated by the clothing node, and then after generating the clothing knowledge map, the target picture can be displayed on the node of the clothing knowledge map, so that the clothing classification can be conveniently viewed And clothing pictures to meet user needs.
[0126] 所述图服务器 5集成的模块 /单元如果以软件功能单元的形式实现并作为独立的 产品销售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理 解, 本发明实现上述实施例方法中的全部或部分流程, 也可以通过计算机程序 来指令相关的硬件来完成, 所述的计算机程序可存储于一计算机可读存储介质 中, 该计算机程序在被处理器执行时, 可实现上述各个方法实施例的步骤。 其 中, 所述计算机程序包括计算机程序代码, 所述计算机程序代码可以为源代码 形式、 对象代码形式、 可执行文件或某些中间形式等。 所述计算机可读介质可 以包括: 能够携带所述计算机程序代码的任何实体或装置、 记录介质、 U盘、 移 动硬盘、 磁碟、 光盘、 计算机存储器、 只读存储器 (ROM, Read-Only Memory ) 、 随机存取存储器 (RAM, Random Access Memory) 、 电载波信号、 电信信 号以及软件分发介质等。 需要说明的是, 所述计算机可读介质包含的内容可以 根据司法管辖区内立法和专利实践的要求进行适当的增减, 例如在某些司法管 辖区, 根据立法和专利实践, 计算机可读介质不包括电载波信号和电信信号。 [0126] If the module/unit integrated in the graph server 5 is implemented in the form of a software functional unit and acts as an independent When the product is sold or used, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments may be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media Does not include electrical carrier signals and telecommunications signals.

Claims

权利要求书 Claims
[权利要求 1] 一种服饰知识图谱显示方法, 其特征在于, 所述方法包括: [Claim 1] A clothing knowledge graph display method, characterized in that the method comprises:
接收针对品牌知识图谱中多个商品节点包括的服饰节点输入的触摸指 令; Receive touch instructions for clothing nodes included in multiple commodity nodes in the brand knowledge graph;
响应所述触摸指令, 从图数据库中获取预先存储的图片存储地址、 服 饰文本信息以及服饰关系信息; In response to the touch instruction, obtain a pre-stored picture storage address, clothing text information, and clothing relationship information from the picture database;
从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节点所 指示的服饰匹配的目标图片; Obtaining a target picture matching the clothing indicated by the clothing node from the storage server indicated by the picture storage address;
使用所述目标图片、 所述服饰文本信息以及所述服饰关系信息, 生成 服饰知识图谱; Use the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map;
输出所述服饰知识图谱, 其中, 所述服饰知识图谱的节点上显示有所 述目标图片。 Outputting the clothing knowledge map, wherein the target picture is displayed on a node of the clothing knowledge map.
[权利要求 2] 根据权利要求 1所述的方法, 其特征在于, 所述服饰知识图谱为树状 结构, 所述服饰知识图谱用于反映服饰之间的从属关系和层级结构。 [Claim 2] The method according to claim 1, wherein the apparel knowledge graph is a tree structure, and the apparel knowledge graph is used to reflect the affiliation and hierarchy between apparel.
[权利要求 3] 根据权利要求 1所述的方法, 其特征在于, 所述从图数据库中获取预 先存储的图片存储地址、 服饰文本信息以及服饰关系信息之后, 所述 方法还包括: [Claim 3] The method according to claim 1, wherein after the pre-stored picture storage address, clothing text information, and clothing relationship information are acquired from the graph database, the method further includes:
从触摸指令指向的用户的注册信息中获取所述用户的个人兴趣爱好; 根据所述个人兴趣爱好, 确定所述用户的服饰爱好特征; Acquiring the personal interests and hobbies of the user from the registration information of the user pointed to by the touch instruction; determining the clothing and hobby characteristics of the user according to the personal interests and hobbies;
所述从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节 点所指示的服饰匹配的目标图片包括: The obtaining, from the storage server indicated by the picture storage address, the target picture matching the clothing indicated by the clothing node includes:
从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节点所 指示的服饰匹配、 且符合所述服饰爱好特征的目标图片。 From the storage server indicated by the picture storage address, obtain a target picture that matches the clothing indicated by the clothing node and matches the characteristics of the clothing hobby.
[权利要求 4] 根据权利要求 1所述的方法, 其特征在于, 所述从图数据库中获取预 先存储的图片存储地址、 服饰文本信息以及服饰关系信息之后, 所述 方法还包括: [Claim 4] The method according to claim 1, characterized in that after the pre-stored picture storage address, clothing text information and clothing relationship information are acquired from the graph database, the method further comprises:
获取所述服饰节点所指示的多个类型的服饰; Acquiring multiple types of clothing indicated by the clothing node;
从所述多个类型的服饰中, 确定在当前时间之前的预设时间内流行度 大于预设流行度阈值的目标服饰; From the plurality of types of clothing, determine the popularity within a preset time before the current time Target clothing greater than the preset popularity threshold;
所述从所述图片存储地址所指示的存储服务器中, 获取与所述服饰节 点所指示的服饰匹配的目标图片包括: The obtaining, from the storage server indicated by the picture storage address, the target picture matching the clothing indicated by the clothing node includes:
从所述图片存储地址所指示的存储服务器中, 获取与所述目标服饰匹 配的目标图片。 Obtain a target picture matching the target clothing from the storage server indicated by the picture storage address.
[权利要求 5] 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述使用所述 目标图片、 所述服饰文本信息以及所述服饰关系信息, 生成服饰知识 图谱之后, 以及所述输出所述服饰知识图谱之前, 所述方法还包括: 若所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述服 饰知识图谱的节点大小, 调节所述目标图片的大小。 [Claim 5] The method according to any one of claims 1 to 4, wherein after using the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map, And before outputting the clothing knowledge map, the method further includes: if the node size of the target picture does not match the clothing knowledge map, adjusting the target picture's size according to the node size of the clothing knowledge map size.
[权利要求 6] 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述使用所述 目标图片、 所述服饰文本信息以及所述服饰关系信息, 生成服饰知识 图谱之后, 以及所述输出所述服饰知识图谱之前, 所述方法还包括: 若所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述目 标图片的大小, 从预设的多个节点尺寸中, 确定所述目标图片对应的 目标节点的目标尺寸; [Claim 6] The method according to any one of claims 1 to 4, characterized in that after using the target picture, the clothing text information, and the clothing relationship information to generate a clothing knowledge map, And before outputting the clothing knowledge map, the method further includes: if the node sizes of the target picture and the clothing knowledge map do not match, according to the size of the target picture, from a plurality of preset node sizes In determining the target size of the target node corresponding to the target picture;
使用所述目标尺寸, 调节所述目标节点的大小。 Using the target size, adjust the size of the target node.
[权利要求 7] 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述方法还包 括: [Claim 7] The method according to any one of claims 1 to 4, characterized in that the method further comprises:
接收输入的参数设置指令, 所述参数设置指令携带有脚本信息, 所述 脚本信息用于指示当服饰知识图谱的节点具有图片地址属性时, 在所 述服饰知识图谱的节点上显示图片; Receiving an input parameter setting instruction, where the parameter setting instruction carries script information, and the script information is used to indicate that when a node of the clothing knowledge map has a picture address attribute, a picture is displayed on the node of the clothing knowledge map;
响应所述参数设置指令, 在脚本文件中添加所述脚本信息。 In response to the parameter setting instruction, add the script information to the script file.
[权利要求 8] 一种服饰知识图谱显示装置, 其特征在于, 所述装置包括: [Claim 8] A clothing knowledge graph display device, characterized in that the device comprises:
接收模块, 用于接收针对品牌知识图谱中多个商品节点包括的服饰节 点输入的触摸指令; A receiving module, configured to receive a touch instruction input for clothing nodes included in multiple commodity nodes in the brand knowledge graph;
第一获取模块, 用于响应所述触摸指令, 从图数据库中获取预先存储 的图片存储地址、 服饰文本信息以及服饰关系信息; 第二获取模块, 用于从所述图片存储地址所指示的存储服务器中, 获 取与所述服饰节点所指示的服饰匹配的目标图片; 生成模块, 用于使用所述目标图片、 所述服饰文本信息以及所述服饰 关系信息, 生成服饰知识图谱; A first obtaining module, configured to obtain a pre-stored image storage address, clothing text information, and clothing relationship information from the picture database in response to the touch instruction; A second obtaining module, configured to obtain a target picture matching the clothing indicated by the clothing node from the storage server indicated by the image storage address; a generating module, configured to use the target picture and the clothing text Information and the clothing relationship information to generate a clothing knowledge map;
输出模块, 用于输出所述服饰知识图谱, 其中, 所述服饰知识图谱的 节点上显示有所述目标图片。 The output module is configured to output the apparel knowledge graph, wherein the target picture is displayed on a node of the apparel knowledge graph.
[权利要求 9] 根据权利要求 8所述的服饰知识图谱显示装置, 其特征在于: 所述第 一获取模块还用于从触摸指令指向的用户的注册信息中获取所述用户 的个人兴趣爱好; 其中, 所述服饰知识图谱显示装置还包括确定模块 , 所述确定模块用于根据所述个人兴趣爱好, 确定所述用户的服饰爱 好特征; [Claim 9] The apparel knowledge graph display device according to claim 8, wherein: the first acquisition module is further used to acquire the personal interests and hobbies of the user from the registration information of the user pointed to by the touch instruction; Wherein, the apparel knowledge graph display device further includes a determination module, the determination module is configured to determine the apparel hobby characteristics of the user according to the personal hobbies;
所述第二获取模块还还用于从所述图片存储地址所指示的存储服务器 中, 获取与所述服饰节点所指示的服饰匹配、 且符合所述服饰爱好特 征的目标图片。 The second obtaining module is further used to obtain, from the storage server indicated by the picture storage address, a target picture matching the clothes indicated by the clothes node and conforming to the characteristics of the clothes hobby.
[权利要求 10] 根据权利要求 8所述的服饰知识图谱显示装置, 其特征在于, 所述第 一获取模块还用于获取所述服饰节点所指示的多个类型的服饰; 所述 确定模块还用于从所述多个类型的服饰中, 确定在当前时间之前的预 设时间内流行度大于预设流行度阈值的目标服饰; 所述第二获取模块 还用于从所述图片存储地址所指示的存储服务器中, 获取与所述目标 服饰匹配的目标图片。 [Claim 10] The apparel knowledge graph display device according to claim 8, wherein the first acquiring module is further used to acquire a plurality of types of apparel indicated by the apparel node; the determining module further For determining the target apparel whose popularity is greater than a preset popularity threshold within a preset time before the current time from the plurality of types of apparel; the second obtaining module is also used to determine the address from the picture storage address In the indicated storage server, obtain a target picture matching the target clothing.
[权利要求 11] 根据权利要求 8至 10中任一项所述的服饰知识图谱显示装置, 其特征 在于, 所述服饰知识图谱显示装置还包括调节模块, 所述调节模块用 于在所述目标图片与所述服饰知识图谱的节点大小不匹配, 根据所述 服饰知识图谱的节点大小, 调节所述目标图片的大小。 [Claim 11] The apparel knowledge graph display device according to any one of claims 8 to 10, wherein the apparel knowledge graph display device further includes an adjustment module, the adjustment module The picture does not match the node size of the clothing knowledge map, and the size of the target picture is adjusted according to the node size of the clothing knowledge map.
[权利要求 12] 根据权利要求 8至 10中任一项所述的服饰知识图谱显示装置, 其特征 在于, 所述确定模块还用于在所述目标图片与所述服饰知识图谱的节 点大小不匹配, 根据所述目标图片的大小, 从预设的多个节点尺寸中 , 确定所述目标图片对应的目标节点的目标尺寸; 所述调节模块还用 于使用所述目标尺寸, 调节所述目标节点的大小。 [Claim 12] The apparel knowledge graph display device according to any one of claims 8 to 10, characterized in that the determination module is further used to determine the size of the node between the target picture and the apparel knowledge graph. Matching, determining the target size of the target node corresponding to the target picture from the preset multiple node sizes according to the size of the target picture; the adjustment module also uses In order to use the target size, the size of the target node is adjusted.
[权利要求 13] 根据权利要求 8至 10中任一项所述的服饰知识图谱显示装置, 其特征 在于, 所述接收模块还用于接收输入的参数设置指令, 所述参数设置 指令携带有脚本信息, 所述脚本信息用于指示当服饰知识图谱的节点 具有图片地址属性时, 在所述服饰知识图谱的节点上显示图片; 所述 服饰知识图谱显示装置还包括添加模块, 用于响应所述参数设置指令 , 在脚本文件中添加所述脚本信息。 [Claim 13] The apparel knowledge graph display device according to any one of claims 8 to 10, wherein the receiving module is further configured to receive an input parameter setting instruction, and the parameter setting instruction carries a script Information, the script information is used to indicate that when a node of the apparel knowledge graph has a picture address attribute, display a picture on the node of the apparel knowledge graph; the apparel knowledge graph display device further includes an adding module for responding to the The parameter setting instruction adds the script information to the script file.
[权利要求 14] 一种图服务器, 其特征在于, 所述图服务器包括处理器和存储器, 所 述处理器用于执行存储器中存储的计算机程序以实现如权利要求 1至 7 中任意一项所述的服饰知识图谱显示方法。 [Claim 14] A graph server, characterized in that the graph server includes a processor and a memory, and the processor is used to execute a computer program stored in the memory to implement any one of claims 1 to 7. Display method of clothing knowledge map.
[权利要求 15] 一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质存 储有至少一个指令, 所述至少一个指令被处理器执行时实现如权利要 求 1至 7任意一项所述的服饰知识图谱显示方法。 [Claim 15] A computer-readable storage medium, characterized in that the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, it is implemented as any one of claims 1 to 7. The display method of the clothing knowledge graph.
PCT/CN2019/114079 2018-12-06 2019-10-29 Clothing knowledge graph display method and apparatus, and graph server and storage medium WO2020114151A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811489316.6 2018-12-06
CN201811489316.6A CN109739993A (en) 2018-12-06 2018-12-06 Dress ornament knowledge mapping display methods, device, figure server and storage medium

Publications (1)

Publication Number Publication Date
WO2020114151A1 true WO2020114151A1 (en) 2020-06-11

Family

ID=66359172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114079 WO2020114151A1 (en) 2018-12-06 2019-10-29 Clothing knowledge graph display method and apparatus, and graph server and storage medium

Country Status (2)

Country Link
CN (1) CN109739993A (en)
WO (1) WO2020114151A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739993A (en) * 2018-12-06 2019-05-10 深圳云天励飞技术有限公司 Dress ornament knowledge mapping display methods, device, figure server and storage medium
CN109726295A (en) * 2018-12-06 2019-05-07 深圳云天励飞技术有限公司 Brand knowledge map display methods, device, figure server and storage medium
CN110413794A (en) * 2019-06-19 2019-11-05 重庆市重报大数据研究院 A kind of map of culture generation method
CN112396479B (en) * 2021-01-20 2021-05-25 成都晓多科技有限公司 Clothing matching recommendation method and system based on knowledge graph

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364979A (en) * 2007-08-10 2009-02-11 鸿富锦精密工业(深圳)有限公司 Downloaded material parsing and processing system and method
CN102098350A (en) * 2009-12-15 2011-06-15 鸿富锦精密工业(深圳)有限公司 Information downloading server, portable electronic device and information acquisition method
CN107273079A (en) * 2017-05-18 2017-10-20 网易(杭州)网络有限公司 Related information is shown, collection of illustrative plates processing method, device, medium, equipment and system
CN107730343A (en) * 2017-09-15 2018-02-23 广州唯品会研究院有限公司 A kind of user's merchandise news method for pushing and equipment based on picture attribute extraction
CN109739993A (en) * 2018-12-06 2019-05-10 深圳云天励飞技术有限公司 Dress ornament knowledge mapping display methods, device, figure server and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9256682B1 (en) * 2012-12-05 2016-02-09 Google Inc. Providing search results based on sorted properties
CN103927348B (en) * 2014-04-02 2018-09-07 华为技术有限公司 Image processing method, information acquisition method and device
CN106681745A (en) * 2015-11-09 2017-05-17 五八同城信息技术有限公司 Picture loading method and terminal
CN107526731A (en) * 2016-06-20 2017-12-29 吕成群 A kind of data message visualization system interacted
US11748978B2 (en) * 2016-10-16 2023-09-05 Ebay Inc. Intelligent online personal assistant with offline visual search database
CN107545019A (en) * 2017-03-02 2018-01-05 微云数聚(北京)科技有限公司 A kind of method for visualizing and system of chart database data-driven
CN108595449A (en) * 2017-11-23 2018-09-28 北京科东电力控制系统有限责任公司 The structure and application process of dispatch automated system knowledge mapping
CN108829753A (en) * 2018-05-25 2018-11-16 深圳市买买提信息科技有限公司 A kind of information processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364979A (en) * 2007-08-10 2009-02-11 鸿富锦精密工业(深圳)有限公司 Downloaded material parsing and processing system and method
CN102098350A (en) * 2009-12-15 2011-06-15 鸿富锦精密工业(深圳)有限公司 Information downloading server, portable electronic device and information acquisition method
CN107273079A (en) * 2017-05-18 2017-10-20 网易(杭州)网络有限公司 Related information is shown, collection of illustrative plates processing method, device, medium, equipment and system
CN107730343A (en) * 2017-09-15 2018-02-23 广州唯品会研究院有限公司 A kind of user's merchandise news method for pushing and equipment based on picture attribute extraction
CN109739993A (en) * 2018-12-06 2019-05-10 深圳云天励飞技术有限公司 Dress ornament knowledge mapping display methods, device, figure server and storage medium

Also Published As

Publication number Publication date
CN109739993A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
US10186054B2 (en) Automatic image-based recommendations using a color palette
US11216861B2 (en) Color based social networking recommendations
US9679532B2 (en) Automatic image-based recommendations using a color palette
WO2020114151A1 (en) Clothing knowledge graph display method and apparatus, and graph server and storage medium
US9542704B2 (en) Automatic image-based recommendations using a color palette
US10242396B2 (en) Automatic color palette based recommendations for affiliated colors
US10049466B2 (en) Color name generation from images and color palettes
US10402917B2 (en) Color-related social networking recommendations using affiliated colors
US9607010B1 (en) Techniques for shape-based search of content
US9652868B2 (en) Automatic color palette based recommendations
US9727983B2 (en) Automatic color palette based recommendations
US20150379006A1 (en) Automatic image-based recommendations using a color palette
US20150379001A1 (en) Automatic color validation of image metadata
US9135719B1 (en) Color name generation from images and color palettes
WO2016091044A1 (en) Method, apparatus, system, device and computer storage medium for recommending hot words
TW201342289A (en) Method, web server and web browser of providing information
WO2020114152A1 (en) Method and apparatus for displaying brand knowledge graph, picture server, and storage medium
TW202141475A (en) Method of determining item name of object, device, computer equipment and storage medium
CN109416693A (en) Server unit, terminal installation and information processing method
US10242395B1 (en) Providing shopping links to items on a network page
CN107404508A (en) Access method, client and the electronic equipment of customer terminal webpage
CN105138702B (en) Network searching method based on search engine and electronic equipment
KR102344818B1 (en) Virtual closet building system and the controlling method thereof
TW202027016A (en) Information processing apparatus, information processing system, information processing method, and program
CN112862558A (en) Method and system for generating product detail page and data processing method

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: 19891928

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: 19891928

Country of ref document: EP

Kind code of ref document: A1