CN113139849A - Commodity searching method and device - Google Patents

Commodity searching method and device Download PDF

Info

Publication number
CN113139849A
CN113139849A CN202110452500.9A CN202110452500A CN113139849A CN 113139849 A CN113139849 A CN 113139849A CN 202110452500 A CN202110452500 A CN 202110452500A CN 113139849 A CN113139849 A CN 113139849A
Authority
CN
China
Prior art keywords
commodity
key field
search
determining
click control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110452500.9A
Other languages
Chinese (zh)
Inventor
王超
田研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110452500.9A priority Critical patent/CN113139849A/en
Publication of CN113139849A publication Critical patent/CN113139849A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers

Abstract

The application discloses a commodity searching method and a commodity searching device, which relate to the technical field of computers, wherein a specific implementation mode comprises the steps of receiving a commodity searching request, determining a target commodity in a generated searching list, and acquiring a corresponding commodity identifier; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the implementation method can realize that the user can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, thereby improving the shopping experience of the user and shortening the time for searching the commodity.

Description

Commodity searching method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for searching for a commodity.
Background
At present, most of commodity detail pages do not provide a search function, and if a user wants to search other commodities related to the commodity, the user can only input keywords for searching again after returning, so that the search time of the user is prolonged.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
the method solves the problems that most of the existing commodity detail pages do not provide a search function, and if a user wants to search other commodities related to the commodity, the user can only input keywords for searching again after returning, so that the search time of the user is increased.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for searching for a product, which can solve the problem that a search function is not provided in most of existing product detail pages, and if a user wants to search for another product related to the product, the user can only input a keyword search again after returning, which increases the search time of the user.
In order to achieve the above object, according to an aspect of an embodiment of the present application, there is provided a commodity search method including:
receiving a commodity search request, and determining a target commodity in the generated search list to obtain a corresponding commodity identifier;
determining commodity attribute information according to the commodity identification;
splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name;
and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control.
Optionally, adding a click control based on the key field includes:
generating a trade name array according to the key field;
based on the trade name array, a click control is added to the key field.
Optionally, from the key field, a trade name array is generated, comprising:
determining whether the key field corresponds to a Boolean type supporting adding of a click control;
determining a search keyword according to the key field;
a trade name array is generated based on the key field, Boolean type, and search key.
Optionally, based on the trade name array, adding a click control for the key field, including:
responsive to determining that the boolean type corresponds to yes, a click control is added for the key field.
Optionally, the article search method further includes:
in response to determining that the boolean type corresponds to yes, a user interface identification is added to the key field.
Optionally, the article search method further includes:
and in response to determining that the Boolean type corresponds to yes, binding the search keyword corresponding to the key field to the click control.
Optionally, searching for the corresponding item based on the corresponding click control includes:
determining a key field corresponding to the corresponding click control from the target commodity name, and further determining the key field as a target key field;
determining a search keyword corresponding to the target keyword field, and further determining the search keyword as a target search keyword;
and searching corresponding commodities based on the target search keyword.
Optionally, searching for the corresponding item based on the corresponding click control includes:
and determining a key field corresponding to the corresponding click control from the target commodity name, and further searching the corresponding commodity.
In addition, the present application also provides a commodity search device, including:
the receiving unit is configured to receive a commodity search request, and determine a target commodity in the generated search list to obtain a corresponding commodity identifier;
a commodity attribute information determination unit configured to determine commodity attribute information based on the commodity identification;
the splitting unit is configured to split the commodity attribute information, generate a key field and add a click control based on the key field to generate a target commodity name;
and the searching unit is configured to respond to the selection operation of the key field in the target commodity name, determine the corresponding click control, and search and output the corresponding commodity based on the corresponding click control.
Optionally, the splitting unit is further configured to:
generating a trade name array according to the key field;
based on the trade name array, a click control is added to the key field.
Optionally, the splitting unit is further configured to:
determining whether the key field corresponds to a Boolean type supporting adding of a click control;
determining a search keyword according to the key field;
a trade name array is generated based on the key field, Boolean type, and search key.
Optionally, the splitting unit is further configured to:
responsive to determining that the boolean type corresponds to yes, a click control is added for the key field.
Optionally, the splitting unit is further configured to:
in response to determining that the boolean type corresponds to yes, a user interface identification is added to the key field.
Optionally, the splitting unit is further configured to:
and in response to determining that the Boolean type corresponds to yes, binding the search keyword corresponding to the key field to the click control.
Optionally, the search unit is further configured to:
determining a key field corresponding to the corresponding click control from the target commodity name, and further determining the key field as a target key field;
determining a search keyword corresponding to the target keyword field, and further determining the search keyword as a target search keyword;
and searching corresponding commodities based on the target search keyword.
Optionally, the search unit is further configured to:
and determining a key field corresponding to the corresponding click control from the target commodity name, and further searching the corresponding commodity.
In addition, the present application also provides an electronic device for commodity search, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the item search method as described above.
In addition, the present application also provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the article search method as described above.
One embodiment of the above invention has the following advantages or benefits: the method comprises the steps of determining a target commodity in a generated search list by receiving a commodity search request so as to obtain a corresponding commodity identifier; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the commodity attribute information is split according to the keywords and then combined and displayed on the commodity detail page, the User Interface (UI) identification and the click control are added to the keywords capable of being added with the UI identification to obtain the target commodity name, and therefore a User can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, the shopping experience of the User is improved, and the time for searching the commodity is shortened.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a further understanding of the application and are not to be construed as limiting the application. Wherein:
fig. 1 is a schematic view of a main flow of a commodity search method according to a first embodiment of the present application;
fig. 2 is a schematic view of a main flow of a product search method according to a second embodiment of the present application;
fig. 3 is a schematic view of an application scenario of a commodity search method according to a third embodiment of the present application;
fig. 4 is a schematic diagram of main blocks of an article search apparatus according to an embodiment of the present application;
FIG. 5 is an exemplary system architecture diagram to which embodiments of the present application may be applied;
fig. 6 is a schematic structural diagram of a computer system suitable for implementing the terminal device or the server according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a product search method according to a first embodiment of the present application, and as shown in fig. 1, the product search method includes:
step S101, receiving a commodity search request, and determining a target commodity in the generated search list to acquire a corresponding commodity identification.
In this embodiment, an execution subject (for example, a server) of the product search method may receive a product search request sent by a user through a terminal device by means of wired connection or wireless connection. Specifically, after the user opens the APP or opens the web page, the user may send a product search request through a search keyword, for example, a small a, and after obtaining the search keyword input by the user, the execution main body may search and generate a search list from the database based on the search keyword, and then display the search list to the user through the APP or the web page, and the user may click and select a product in the search list, and the clicked product becomes the target product. Each item corresponds to a Stock Keeping Unit (SKU). The SKU refers to a type of commodity, each type of the SKU corresponds to one SKU, and the electronic commodity plate can conveniently identify the commodity. A multi-color or multi-style item is a multi-SKU, for example: if a piece of clothes has red, white and blue colors, the SKU codes are different, and if the SKU codes are the same, confusion and wrong delivery can occur. The item identifier may be a SKU. After a user clicks on a certain commodity, the APP or the webpage sends a unique identification (SKU) of the commodity to an execution main body, and the server receives the SKU and then uses the SKU to inquire detailed information of the commodity, such as the commodity name, the brand, the price, the description and the like.
And step S102, determining the commodity attribute information according to the commodity identification.
After the execution main body obtains the commodity identification, the corresponding commodity attribute information can be searched according to the commodity identification. The commodity attribute information may refer to information such as a commodity name, a brand, a price, and a description.
Step S103, splitting the commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name.
After determining the property information of the product, the executive body may split the product into a plurality of fields according to a certain splitting rule, where the splitting rule may be according to a popular keyword, an important property of the product (for example, a mobile phone may have a memory size (8+256G), and may have a network type (4G, 5G), such as a garment may have a color, a size, and other properties), a sales promotion activity, a product brand, and the like (which may be configured according to actual needs, and this is not specifically limited in this application). For example, the article attribute information may be an article name. The product name may be, for example, "small ARedmi red AK40/K40pro5G all-internet mobile phone 8+256G sunny snow [ pro ], [ 90 days screen breaking set meal +20 yuan sun sheet red packet ], and after being split, each key field such as" small a "," Redmi red a "," K40/K40pro "," 5G all-internet mobile phone "," 8+256G "," sunny snow [ pro ], [ 90 days screen breaking set meal +20 yuan sun sheet red packet "", and the like is obtained. The execution subject can judge whether each split key field can be added with a click control. For example, the execution body may determine whether each key field may add a click control based on: small A: the user is originally from the search widget A, if the click control is added, repeated search may be caused, and therefore the clickable UI mark is not added; fine snow [ pro ] [ 90 days screen breaking dangerous set meal +20 yuan sun single red packet ]: this is not a general attribute of the item, and if it is searched for few items it may search for, so it may not add a clicked on UI tag, and so on. The execution main body can combine the key fields added with the clicked controls to obtain the target commodity name.
And step S104, responding to the selection operation of the key field in the target commodity name, determining a corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control.
After the target commodity name is obtained, the user can click the key field added with the click control in the target commodity name to indicate that the clicked key field is required to be searched to obtain the corresponding commodity. The execution main body responds to the selection operation of the user on the key field in the target commodity name, the selection operation can be a click operation, a click event in a click control added to the key field is triggered, and the execution main body can search and output the corresponding commodity based on the key field corresponding to (or bound to) the click control.
In some optional implementations of this embodiment, searching for the corresponding item based on the corresponding click control includes: and determining a key field corresponding to the corresponding click control from the target commodity name, and further searching the corresponding commodity.
In the embodiment, a target commodity is determined in a generated search list by receiving a commodity search request so as to obtain a corresponding commodity identifier; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the commodity attribute information is split according to the keywords and then combined and displayed on the commodity detail page, the User Interface (UI) identification and the click control are added to the keywords capable of being added with the UI identification to obtain the target commodity name, and therefore a User can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, the shopping experience of the User is improved, and the time for searching the commodity is shortened.
Fig. 2 is a schematic main flow chart of a product search method according to a second embodiment of the present application, and as shown in fig. 2, the product search method includes:
step S201, receiving a product search request, and determining a target product in the generated search list to obtain a corresponding product identifier.
Step S202, according to the commodity identification, commodity attribute information is determined.
Step S203, splitting the commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name.
The principle of step S201 to step S203 is similar to that of step S101 to step S103, and is not described here again.
Specifically, the "click control is added based on the key field" in step S203 can be realized by step S2031 to step S2032:
in step S2031, a product name array is generated based on the key field.
Wherein, according to the key field, a trade name array is generated, comprising:
and determining whether the key field corresponds to a Bool (Bool) type supporting adding of the click control. The key field refers to the original text of the split commodity attribute information, such as small A, Red red a. The boot type is a type of data with only two values (yes/no).
And determining a search keyword according to the key field. The search keyword may be the same as the key field (i.e. the original text after splitting the product attribute information), and may also be simplified or adapted according to the language environment, for example, the search keyword used by Red a for searching may be simplified to Red a.
A trade name array is generated based on the key field, Boolean type, and search key.
The trade name array may be a table that may contain key fields, boolean types, and search keys. The execution principal may fill the determined key field values (e.g., mini A, Red red A, K40/K40Pro), boolean type values (no, yes), and search key values (-, red A, K40), respectively, into the corresponding key fields, boolean types, and search keys to generate a trade name array. That is, the product name array stores the corresponding relationship between the key field, the boolean type, and the search keyword and the values of the key field value, the boolean type value, and the search keyword.
And step S2032, adding a click control for the key field based on the trade name array.
Wherein, based on the trade name array, add click controls for the key field, including: the execution main body can add click controls for the key fields according to the key fields and the Boolean types in the trade name arrays and the corresponding key field values and Boolean type values respectively. In particular, the execution subject adds a click control to the key field in response to determining that the boolean type of the key field corresponds to yes. And the click control is used for monitoring whether the user clicks the corresponding key field. Of course, the execution principal may also add a user interface identification to the key field in response to determining that the boolean type of the key field corresponds to yes. The user interface indicia may be, for example, a bar of different colors. The user interface identifier may be added to the key field, for example, horizontal lines with different colors may be added below different key fields, of course, horizontal lines with the same color may also be added, or each additional UI identifier key field may also be framed by a frame. The type and form of the user interface identifier added to each key field are not particularly limited.
The execution subject may also bind the search keyword corresponding to the key field to the click control corresponding to the key field in response to determining that the boolean type of the key field corresponds to yes.
For example, after acquiring the product name array, the execution agent may parse the product name array, sequentially take out each element in the product name array, and perform the following processing: if the element supports UI click marks, highlighting the character on the UI to be clickable (such as common underlines and the like, and the expression forms are various), adding a click control for the character, and simultaneously binding the search keyword of the element by the click control; if the element does not support UI click marks, displaying the normal combination; contents other than the trade name are displayed in the original format. Wherein each element in the trade name array specifies whether each split key field supports UI flags and click events.
According to the commodity searching method and device, the commodity name array storing the corresponding relations among the key fields, the Boolean types, the search keywords, the key field values, the Boolean type values and the search keywords is generated, and the click control is added to the key love fields based on the commodity name array, so that repeated searching can be reduced, user interface identifications can be added to the key fields with few search results, and the commodity searching speed and accuracy are improved.
And step S204, responding to the selection operation of the key field in the target commodity name, determining a corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control.
The principle of step S204 is similar to that of step S104, and is not described here again.
Specifically, step S204 can also be realized by step S2041 to step S2043:
step S2041, determining a key field corresponding to the corresponding click control from the target commodity name, and further determining the key field as a target key field.
After the target commodity name is displayed, when a user clicks one key field in the target commodity name and the key field can be clicked, the execution main body can monitor that a click event in a corresponding click control is triggered, the execution main body can rapidly determine the key field corresponding to the click control corresponding to the triggered click event, and the key field is determined as the target key field.
Step S2042, determining a search keyword corresponding to the target keyword field, and determining the search keyword as the target search keyword.
Step S2043, based on the target search keyword, searches for a corresponding commodity.
The execution subject can obtain the search keyword correspondingly bound to the determined target key field, and then jump to a commodity search page to search commodities by using the search keyword.
According to the method and the device, the search page is skipped to for searching the commodities based on the search keywords corresponding to the target search key fields, so that the search result is more complete than the result obtained by searching only through the target search key fields, and the search accuracy is improved.
In the application, the method and the device perform keyword splitting (rule configurable) through the commodity attribute information of the commodity detail page and then issue the keyword split (rule configurable) according to the commodity name array format, wherein each element in the commodity name array specifies whether each split key field supports UI marking and click events. The executive body combines the trade name arrays and adds a UI click prompt to the key fields in which the click is supported. The user can use the key field or the search keyword bound by the key field to search related commodities by clicking the UI mark of the key field, so that the user experience is improved, and the search time is shortened.
Fig. 3 is a schematic view of an application scenario of a product search method according to a third embodiment of the present application. The commodity searching method is applied to a scene that most commodity detail pages do not provide searching functions and a user wants to search other commodities related to a selected target commodity. As shown in fig. 3, the server 302 receives the item search request 301, and determines a target item 304 in the generated search list 303 to obtain a corresponding item identifier 305. The server 302 determines the item attribute information 306 from the item identification 305. The server 302 splits the item property information 306, generates the key fields 307, 308, 309, and then adds a click control A, B based on the key fields 307, 308, 309 to generate the target item name 310. The server 302, in response to the selection operation of the key field (e.g. 307) in the target item name 310, determines a corresponding click control (e.g. a) to search and output the corresponding item 311 based on the corresponding click control (e.g. a).
Fig. 4 is a schematic diagram of main blocks of an article search device according to an embodiment of the present application. As shown in fig. 4, the article search device includes a receiving unit 401, an article attribute information determining unit 402, a splitting unit 403, and a searching unit 404.
The receiving unit 401 is configured to receive an article search request, and determine a target article in the generated search list to obtain a corresponding article identifier.
An article attribute information determination unit 402 configured to determine article attribute information from the article identification.
The splitting unit 403 is configured to split the property information of the commodity, generate a key field, and add a click control based on the key field to generate a target commodity name.
And the searching unit 404 is configured to determine a corresponding click control in response to a selection operation on a key field in the target commodity name, so as to search and output the corresponding commodity based on the corresponding click control.
In some embodiments, the splitting unit 403 is further configured to: generating a trade name array according to the key field; based on the trade name array, a click control is added to the key field.
In some embodiments, the splitting unit 403 is further configured to: determining whether the key field corresponds to a Boolean type supporting adding of a click control; determining a search keyword according to the key field; a trade name array is generated based on the key field, Boolean type, and search key.
In some embodiments, the splitting unit 403 is further configured to: responsive to determining that the boolean type corresponds to yes, a click control is added for the key field.
In some embodiments, the splitting unit 403 is further configured to: in response to determining that the boolean type corresponds to yes, a user interface identification is added to the key field.
In some embodiments, the splitting unit 403 is further configured to: and in response to determining that the Boolean type corresponds to yes, binding the search keyword corresponding to the key field to the click control.
In some embodiments, the search unit 404 is further configured to: determining a key field corresponding to the corresponding click control from the target commodity name, and further determining the key field as a target key field; determining a search keyword corresponding to the target keyword field, and further determining the search keyword as a target search keyword; and searching corresponding commodities based on the target search keyword.
In some embodiments, the search unit 404 is further configured to: and determining a key field corresponding to the corresponding click control from the target commodity name, and further searching the corresponding commodity.
In the present invention, the product search method and the product search device have a corresponding relationship in the specific implementation contents, and therefore, the description of the repeated contents is omitted.
Fig. 5 shows an exemplary system architecture 500 to which the article search method or the article search apparatus according to the embodiment of the present application may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server that provides various services, such as a background management server (for example only) that supports commodity search requests submitted by users using the terminal devices 501, 502, 503. The background management server can receive the commodity search request, and determine a target commodity in the generated search list so as to obtain a corresponding commodity identifier; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the implementation method can realize that the user can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, thereby improving the shopping experience of the user and shortening the time for searching the commodity.
It should be noted that the product search method provided in the embodiment of the present application is generally executed by the server 505, and accordingly, the product search apparatus is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a terminal device of an embodiment of the present application. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the computer system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section 607 including a signal processing section such as a Cathode Ray Tube (CRT), a liquid crystal credit authorization inquiry processor (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to embodiments disclosed herein, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments disclosed herein include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, a commodity attribute information determining unit, a splitting unit, and a searching unit. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs, which when executed by a device, cause the device to receive a product search request, determine a target product in a generated search list, and obtain a corresponding product identifier; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the implementation method can realize that the user can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, thereby improving the shopping experience of the user and shortening the time for searching the commodity.
According to the technical scheme of the embodiment of the application, the target commodity is determined in the generated search list by receiving the commodity search request so as to obtain the corresponding commodity identification; determining commodity attribute information according to the commodity identification; splitting commodity attribute information, generating a key field, and adding a click control based on the key field to generate a target commodity name; and responding to the selection operation of the key field in the target commodity name, determining the corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control. Therefore, the commodity attribute information is split according to the keywords and then combined and displayed on the commodity detail page, the User Interface (UI) identification and the click control are added to the keywords capable of being added with the UI identification to obtain the target commodity name, and therefore a User can quickly search by clicking a certain keyword on the target commodity name without returning to the search page to input the keyword again for searching, the shopping experience of the User is improved, and the time for searching the commodity is shortened.
The above-described embodiments should not be construed as limiting the scope of the present application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method for searching for a commodity, comprising:
receiving a commodity search request, and determining a target commodity in the generated search list to obtain a corresponding commodity identifier;
determining commodity attribute information according to the commodity identification;
splitting the commodity attribute information to generate a key field, and adding a click control based on the key field to generate a target commodity name;
and responding to the selection operation of the key field in the target commodity name, determining a corresponding click control, and searching and outputting the corresponding commodity based on the corresponding click control.
2. The method of claim 1, wherein adding a click control based on the key field comprises:
generating a trade name array according to the key field;
and adding a click control for the key field based on the trade name array.
3. The method of claim 2, wherein generating a trade name array from the key field comprises:
determining whether the key field corresponds to a Boolean type supporting adding of a click control;
determining a search keyword according to the key field;
and generating a trade name array according to the key field, the Boolean type and the search key word.
4. The method of claim 3, wherein adding a click control to the key field based on the trade name array comprises:
in response to determining that the Boolean type corresponds to YES, adding a click control to the key field.
5. The method of claim 4, further comprising:
in response to determining that the Boolean type corresponds to a YES, adding a user interface identification to the key field.
6. The method of claim 4, further comprising:
and in response to determining that the Boolean type corresponds to yes, binding the search keyword corresponding to the key field to the click control.
7. The method of claim 6, wherein searching for the corresponding item based on the corresponding click control comprises:
determining a key field corresponding to the corresponding click control from the target commodity name, and further determining the key field as a target key field;
determining a search keyword corresponding to the target keyword field, and further determining the search keyword as a target search keyword;
and searching corresponding commodities based on the target search keyword.
8. The method of claim 1, wherein searching for the corresponding item based on the corresponding click control comprises:
and determining the key field corresponding to the corresponding click control from the target commodity name, and further searching the corresponding commodity.
9. An article search device, comprising:
the receiving unit is configured to receive a commodity search request, and determine a target commodity in the generated search list to obtain a corresponding commodity identifier;
a commodity attribute information determination unit configured to determine commodity attribute information based on the commodity identification;
the splitting unit is configured to split the commodity attribute information, generate a key field and add a click control based on the key field to generate a target commodity name;
and the searching unit is configured to respond to the selection operation of the key field in the target commodity name, determine the corresponding click control, and search and output the corresponding commodity based on the corresponding click control.
10. The apparatus of claim 9, wherein the splitting unit is further configured to:
generating a trade name array according to the key field;
and adding a click control for the key field based on the trade name array.
11. An article search electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
12. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202110452500.9A 2021-04-26 2021-04-26 Commodity searching method and device Pending CN113139849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110452500.9A CN113139849A (en) 2021-04-26 2021-04-26 Commodity searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110452500.9A CN113139849A (en) 2021-04-26 2021-04-26 Commodity searching method and device

Publications (1)

Publication Number Publication Date
CN113139849A true CN113139849A (en) 2021-07-20

Family

ID=76812068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110452500.9A Pending CN113139849A (en) 2021-04-26 2021-04-26 Commodity searching method and device

Country Status (1)

Country Link
CN (1) CN113139849A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013010416A1 (en) * 2011-07-21 2013-01-24 腾讯科技(深圳)有限公司 Method and system for showing commodity search results
CN103970761A (en) * 2013-01-28 2014-08-06 阿里巴巴集团控股有限公司 Commodity data searching method and device
CN106227891A (en) * 2016-08-24 2016-12-14 广东华邦云计算股份有限公司 A kind of merchandise query short text semantic processes method based on pattern
CN106547794A (en) * 2015-09-22 2017-03-29 阿里巴巴集团控股有限公司 Information search method and device
CN111444304A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Search ranking method and device
CN111489219A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Commodity object information processing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013010416A1 (en) * 2011-07-21 2013-01-24 腾讯科技(深圳)有限公司 Method and system for showing commodity search results
CN103970761A (en) * 2013-01-28 2014-08-06 阿里巴巴集团控股有限公司 Commodity data searching method and device
CN106547794A (en) * 2015-09-22 2017-03-29 阿里巴巴集团控股有限公司 Information search method and device
CN106227891A (en) * 2016-08-24 2016-12-14 广东华邦云计算股份有限公司 A kind of merchandise query short text semantic processes method based on pattern
CN111444304A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Search ranking method and device
CN111489219A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Commodity object information processing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴江;: "电子商务网站搜索引擎的特点与启示", 山东图书馆学刊, no. 06 *

Similar Documents

Publication Publication Date Title
US10416851B2 (en) Electronic publishing mechanisms
CN107203894B (en) Information pushing method and device
CN109947788B (en) Data query method and device
US20200250732A1 (en) Method and apparatus for use in determining tags of interest to user
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN106415644A (en) Dynamic content item creation
JP6679250B2 (en) Determination device, determination method, and determination program
EP2725539A1 (en) Information providing device, information providing method, information providing program, information display program, and computer-readable recording medium for storing information providing program
US11720920B1 (en) Combining content with a search result
CN113159807A (en) Landing page processing method, device, equipment and medium
CN112346608A (en) Page display method and device based on business activity result display and electronic equipment
CN112445987B (en) Webpage updating method, device and system
CN113139849A (en) Commodity searching method and device
US11258845B2 (en) Browser management system, browser management method, browser management program, and client program
JP2021144534A (en) Information processing method, program, and information processing device
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN111488537A (en) Page display method and device
US11003659B2 (en) Search system, search criteria setting device, control method for search criteria setting device, program, and information storage medium
US20090064191A1 (en) Methods and systems for a rich internet bus
US11966909B2 (en) Text messaging service based commerce system
CN117170760A (en) Page display method and device, electronic equipment and computer readable storage medium
US20220198431A1 (en) Text messaging service based commerce system
KR20120029560A (en) Search system and providing method thereof
CN113821716A (en) Information searching method and device
CN113779448A (en) Page processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination