[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108460148B - Method for acquiring additional information of commodity and related equipment - Google Patents

Method for acquiring additional information of commodity and related equipment Download PDF

Info

Publication number
CN108460148B
CN108460148B CN201810239574.2A CN201810239574A CN108460148B CN 108460148 B CN108460148 B CN 108460148B CN 201810239574 A CN201810239574 A CN 201810239574A CN 108460148 B CN108460148 B CN 108460148B
Authority
CN
China
Prior art keywords
commodity
target
additional information
identifier
url
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810239574.2A
Other languages
Chinese (zh)
Other versions
CN108460148A (en
Inventor
王丹
龙述兵
请求不公布姓名
李罗涛
潘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810239574.2A priority Critical patent/CN108460148B/en
Publication of CN108460148A publication Critical patent/CN108460148A/en
Application granted granted Critical
Publication of CN108460148B publication Critical patent/CN108460148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses a method for acquiring additional information of commodities and related equipment. The method of the embodiment of the application comprises the following steps: acquiring index information, wherein the index information is used for indexing additional information of goods; matching the index information with a subset of identifiers in the stored commodity additional information set, and determining a target identifier matched with the index information; the commodity information set comprises an identification sub-set, an additional information sub-set and a mapping relation between the identification in the identification sub-set and the additional information in the additional information sub-set; determining target additional information with a mapping relation with the target identifier in the additional information subset; and sending the target additional information to the client so that the client can display the additional information. The embodiment of the application also provides a server and a terminal for improving the stability of displaying the additional information of the commodity.

Description

Method for acquiring additional information of commodity and related equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method for obtaining additional information of a commodity and related devices.
Background
Currently, electronic coupons are a sales promotion mode in network marketing through electronic commerce, which has become a mainstream mode of current shopping, and refer to sales promotion certificates made, transmitted and used by various electronic media, for example, electronic coupons, and electronic sub-coupons are taken as main forms.
The current method of providing coupons is: and by modifying the commodity webpage, inserting relevant information of the coupons into the commodity webpage, and reflecting coupon information corresponding to the commodity on the commodity webpage.
In the prior art, coupon information needs to be injected into a commodity page, so that the commodity page accessed by a user is tampered, and the displayed coupon is not stable enough and is easy to shield.
Disclosure of Invention
The embodiment of the invention provides a method and related equipment for acquiring commodity additional information, which are used for improving the stability of displaying commodity additional information.
In a first aspect, an embodiment of the present application provides a method for acquiring additional information of a commodity, including:
Acquiring index information, wherein the index information is used for indexing additional information of goods;
matching the index information with a subset of identifiers in a stored commodity additional information set, and determining a target identifier matched with the index information; the commodity information set comprises an identifier sub-set, an additional information sub-set and a mapping relation between the identifier in the identifier sub-set and the additional information in the additional information sub-set;
determining target additional information with the mapping relation with the target identifier in the additional information subset;
and sending the target additional information to a client so that the client can display the additional information.
In a second aspect, an embodiment of the present application provides a method for acquiring additional information, including:
acquiring a uniform resource locator URL accessed by a browser;
When the URL is a target URL, sending the target URL or index information generated according to the target URL to a server so that the server obtains the index information, matching the index information with a subset of identifiers in a stored commodity additional information set, and determining a target identifier matched with the index identifier; the commodity information set comprises an identifier sub-set, an additional information sub-set and a mapping relation between the identifier in the identifier sub-set and the additional information in the additional information sub-set; determining target additional information with the mapping relation with the target identifier in the additional information subset;
Receiving the target additional information sent by the server;
and displaying the target additional information.
In a third aspect, an embodiment of the present application provides a server, including:
the first acquisition module is used for acquiring index information, wherein the index information is used for indexing additional information of goods;
The matching module is used for matching the index information acquired by the first acquisition module with the identifier subset in the stored commodity additional information set and determining a target identifier matched with the index information; the commodity information set comprises an identifier sub-set, an additional information sub-set and a mapping relation between the identifier in the identifier sub-set and the additional information in the additional information sub-set;
A first determining module, configured to determine target additional information having the mapping relationship with the target identifier in the additional information subset;
and the sending module is used for sending the target additional information determined by the first determining module to a client so as to enable the client to display the additional information.
In a fourth aspect, an embodiment of the present application provides a terminal, including:
The acquisition module is used for acquiring the URL accessed by the browser;
The sending module is used for sending the target URL or index information generated according to the target URL to a server when the URL is the target URL, so that the server obtains the index information and matches the index information with the identifier subset in the stored commodity additional information set; determining a target identifier matched with the index identifier; the commodity information set comprises an identifier sub-set, an additional information sub-set and a mapping relation between the identifier in the identifier sub-set and the additional information in the additional information sub-set; determining target additional information with the mapping relation with the target identifier in the additional information subset;
the first receiving module is used for receiving the target additional information sent by the server;
and the display module is used for displaying the target additional information received by the first receiving module.
In a fifth aspect, in an embodiment of the present application, there is provided a server, including:
a memory for storing computer executable program code;
Network interface, and
A processor coupled to the memory and the transceiver;
wherein the program code comprises instructions which, when executed by the processor, cause the terminal to perform the method as described in the first aspect above.
In a sixth aspect, an embodiment of the present application provides a terminal, including:
a memory for storing computer executable program code;
Transceiver, and
A processor coupled with the memory and the network interface;
Wherein the program code comprises instructions which, when executed by the processor, cause the server to perform the method of the second aspect described above.
In a seventh aspect, embodiments of the present application provide a computer storage medium storing computer software instructions for use by a server, comprising instructions for performing the method according to the first aspect described above.
In an eighth aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions for use by a terminal, which includes instructions for performing a method according to the second aspect.
From the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the application, a server acquires index information, wherein the index information can be sent by a receiving client or generated by the server, the index information is used for indexing additional information of commodities, and the server matches the index information with a subset of identifiers in a stored commodity additional information set to determine a target identifier matched with the index information; indicating that the commodity of the commodity page currently browsed by the user has corresponding additional information, and determining target additional information with the mapping relation with the target identifier in the additional information subset by the server; in the embodiment of the application, the client side does not need to modify the commodity page to acquire the additional information, the additional information is more stably displayed by the client side, and the stability of displaying the additional information is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings to those skilled in the art.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of an embodiment of a method for obtaining additional information of a commodity according to the present application;
fig. 3 is a schematic view of a scenario in which a client displays additional information of a commodity in an embodiment of the present application;
Fig. 4 is a schematic view of a scenario in which a client displays additional information of a commodity in an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps of another embodiment of a method for obtaining additional information of a commodity according to the present application;
fig. 6 is a schematic diagram of a scenario in which a client displays authorization information in an embodiment of the present application;
fig. 7 is a schematic view of a scenario in which a client displays additional information of a commodity in an embodiment of the present application;
FIG. 8 is a flowchart illustrating steps of another embodiment of a method for obtaining additional information of a commodity according to the present application;
Fig. 9 is a schematic structural view of an embodiment of a terminal according to an embodiment of the present application;
fig. 10 is a schematic structural view of another embodiment of a terminal according to an embodiment of the present application;
fig. 11 is a schematic structural view of another embodiment of a terminal according to an embodiment of the present application;
fig. 12 is a schematic structural view of another embodiment of a terminal according to an embodiment of the present application;
FIG. 13 is a schematic diagram illustrating a structure of an embodiment of a server according to an embodiment of the present application;
FIG. 14 is a schematic diagram of another embodiment of a server according to an embodiment of the present application;
Fig. 15 is a schematic structural diagram of another embodiment of a server according to an embodiment of the present application.
Detailed Description
The embodiment of the invention provides a method and related equipment for acquiring additional information of commodities, which are used for improving the stability of the additional information of the displayed commodities.
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, shall fall within the scope of protection of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a method for acquiring commodity additional information, wherein the commodity additional information (hereinafter also simply referred to as "additional information") is used for representing information except related information of a commodity, such as a commodity name, a commodity model, a function introduction and the like. The merchandise attachment information includes, but is not limited to, merchandise offer information (e.g., coupons, discounts, etc.), price volatility information, etc. In the embodiment of the application, the commodity additional information can be illustrated by taking the preferential information of the commodity as an example, and the method can provide relevant information of commodity preferential for users in the shopping process of the electronic commerce. For example, the coupon information may be presented in the form of an electronic coupon. Referring to fig. 1, fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application, where the method is applied to a communication system, and the communication system includes a terminal 101, a server 102 and a third party device 103. The terminal 101 includes, but is not limited to, a mobile phone, a computer, a Personal Digital Assistant (PDA), and the like. The third party device 103 is configured to store a commodity information set, where the commodity information set may include a commodity ID, a commodity name having a mapping relationship with the commodity ID, a uniform resource locator (uniform resource locator, URL) of a commodity, corresponding preference information, and the like. The third party device 103 may be a background server of each e-commerce platform, for example, the third party device 103 may be a background server of an e-commerce platform such as an ali mom, a jingdong alliance, etc.
The server 102 obtains a commodity information set from the third party device 103 in advance, generates an identifier for uniquely identifying the commodity according to each commodity URL, and establishes a mapping relationship between the identifier and the coupon according to a mapping relationship between the commodity URL and the commodity additional information to obtain a commodity additional information set, where the commodity additional information set includes a subset of identifiers, a subset of commodity additional information, and a mapping relationship between the identifiers in the subset of identifiers and the commodity additional information in the subset of commodity additional information.
The terminal 101 is loaded with a client, and when the browser accesses the URL, the client is used for acquiring the URL accessed by the browser; the client judges whether the URL is a target URL or not, wherein the target URL is used for indicating a commodity page; if the URL is the target URL, the client sends the target URL to the server 102, the server 102 generates index information according to the target URL, and the index information is matched with the identifier sub-set in the stored commodity additional information set; if the index information is matched with the target identifications in the identification sub-set, determining target commodity additional information with a mapping relation with the target identifications; the server 102 transmits the target commodity additional information to the client, and the client receives the target commodity additional information transmitted by the server 102 and displays the target commodity additional information.
In one example, the server may generate index information according to the received target URL, that is, the URL of the merchandise page, and match the index information with the identifier subset in the stored merchandise preference information set; if the index information is matched with the target identifier in the identifier subset, the fact that the commodity of the commodity page browsed by the user currently has the corresponding preferential information is indicated, and the client side displays the target preferential information with the mapping relation with the target identifier.
Referring to fig. 2, an embodiment of a method for acquiring additional information of a commodity is provided in an embodiment of the present application. In this example, the index information is: according to the index mark generated by the target URL, the method comprises the following specific steps:
step 201, the client acquires a uniform resource locator URL accessed by the browser.
A user opens a browser and accesses a website (e.g., including but not limited to, panda, kitten, etc.) to browse; the client can acquire the URL currently visited by the user through the browser plug-in.
Step 202, the client determines whether the URL is a target URL, where the target URL is used to indicate a commodity page.
The client judges whether the current URL is a commodity page or not, the commodity page can be a commodity detail page, the commodity detail page refers to a page displaying specific information of a certain commodity, a specific mode can judge whether the commodity page is a commodity detail page of an electronic commerce or not through a domain name resolved in the URL, the resolved domain name is matched with a stored keyword, if the current resolved domain name is matched with the stored keyword, the current accessed URL is judged to be a target URL (such as the commodity detail page), and if the current resolved domain name is not matched with the stored keyword, the current accessed URL is judged to be not the target URL.
For example, the stored keywords include, but are not limited to, "detail.tmall.com", "item.taobao.com", "item.jd.com", etc., where "detail" or "item" in the keywords represents a detail page of the product, and if the parsed domain name includes "detail.tmall.com", the currently parsed domain name matches the stored keywords, then it indicates that the page browsed by the browser is a detail page of the product of the e-commerce website, and the URL visited by the current browser is the target URL.
Step 203, if the URL is the target URL, the client sends the target URL to the server.
If the URL currently visited by the browser is the target URL, the client sends a request to the server, wherein the request carries the target URL, and the request is used for requesting the preferential information corresponding to the commodity in the commodity page.
Step 204, the server receives the request, and the server generates index information according to the target URL.
In the embodiment of the application, the index information is an index identifier, the server receives the request sent by the client, acquires the target URL in the request, calculates an index identifier according to the target URL, wherein the index identifier is used for uniquely identifying the commodity in the commodity page, and the index identifier is used for indexing whether the commodity has corresponding preferential information or not.
The method for calculating the index identifier can be as follows: the index identity may be: domain name + commodity ID. For example, the target URL is: https:// item.jd.com/5089239.Html; the calculated index is identified as "item.jd.com_5089239", where "item.jd.com" is the domain name and "5089239" is the commodity ID. It should be noted that the above method for generating the index identifier is merely illustrative, and not limiting to the present application, and other implementations of the method for generating the index identifier may be, for example: an example of a method for generating the check code may be that hash calculation is performed on the commodity ID to obtain a hash value; and then generating the index identifier according to the commodity ID and the hash value. The algorithm for producing the check code in the embodiment of the present application is merely illustrative, and does not limit the present application, and the check code can avoid the index identifier from being tampered with. The method of generating the index mark is not limited to the example in the present application.
Step 205, the server matches the index identifier with the identifier subset in the stored product preference information set.
The server may obtain, in advance, a commodity information set from the third party device, where the commodity information set includes a subset of commodity URLs, and preference information corresponding to each commodity URL in the subset of commodity URLs.
The server may process the data in the obtained commodity information, and a process of processing the data in the commodity information is described below specifically:
generating an identifier for identifying the commodity according to the URL of each commodity; and determining the mapping relation between each identifier and the preferential information to obtain a set of commodity preferential information (namely, the set of commodity additional information can be understood). The server stores the set of commodity preferential information, wherein the set of commodity preferential information comprises an identification sub-set and a preferential information sub-set, and the mapping relation between the identification in the identification sub-set and the preferential information in the preferential information sub-set.
For example, in an application scenario, after the server may obtain the commodity information set through the official interface of the ali mom or the jingdong alliance, the server may sort the data in the commodity information set, and reconstruct the index to obtain the set of commodity preference information. For example, the product information set may be represented in the form of a list, which may include a product ID, a product name, a product URL (i.e., a product detail page link address), and a coupon URL (i.e., a link address of product coupon information, which may be understood as an additional information URL), as shown in table 1 below:
TABLE 1
The commodity information in table 1 is merely an example for convenience of explanation, and does not limit the present application.
Generating a corresponding identifier according to each commodity URL in the table 1, and then reestablishing a mapping relation between the identifier and the preferential information URL according to the corresponding relation between the commodity URL and the preferential information URL to obtain a set of commodity preferential information, wherein the set of commodity preferential information can be identified in a list form, and the list is shown in the following table 2:
TABLE 2
Identification mark Coupon information URL
1 item.taobao.com_561653707045 https:uland.taobao.com/coupon/edetaile=aaaaaaaaaaaaaa
2 item.taobao.com_533089761061 https:uland.taobao.com/coupon/edetaile=bbbbbbbbbbbbbb
3 item.taobao.com_556806065093 https:uland.taobao.com/coupon/edetaile=cccccccccccccc
4 item.taobao.com_559875559996 https:uland.taobao.com/coupon/edetaile=dddddddddddddd
5 item.taobao.com_562291369930 https:uland.taobao.com/coupon/edetaile=eeeeeeeeeeeeee
In the above table 2, "identification" column corresponds to "identification subset", and "offer information URL" column corresponds to "offer information subset", in the above table 2, "identification" in the horizontal column has a mapping relationship with "offer information URL", for example, "item, taobao.com_561653707045" has a mapping relationship with "https: ult, taobao.com/coupler/edetaile = AAAAAAAAAAAAAA". The server stores the data set as in table 2 above.
It should be noted that, the information in table 2 is stored in the server in advance, the server matches the index identifier with the subset of identifiers in table 2, and the data set in table 2 is continuously updated, and the server may periodically obtain new product information from the third device, update the coupon information of the identifier corresponding to the product, or add the product and the corresponding coupon information, or delete the product and the corresponding coupon information.
And the server matches the index identification with the identification subset in the stored commodity preference information set. The subset of identifiers includes a plurality of identifiers, such as the identifiers shown in the "identifier" column in table 2, for example, the index identifier is "item taobao.com_561653707045", the index identifier is matched with the subset of identifiers in table 2, if the index identifier is matched with the target identifier in the subset of identifiers, the commodity has corresponding preference information, and if the index identifier is not matched with the target identifier in the subset of identifiers, the commodity does not have corresponding preference information.
Step 206, if the index identifier is matched with the target identifier in the identifier subset, the server determines target preference information having a mapping relationship with the target identifier.
When the index identifier matches with the target identifier, the server determines target preference information having a mapping relationship with the target identifier according to the mapping relationship as in table 2.
For example, when the index identifier is "item, taobao.com_561653707045", the index identifier is matched with the target identifier "item, taobao.com_561653707045" in the identifier subset, and in table 2, URL of the preference information having a mapping relationship with "item, taobao.com_561653707045" is "https: ult, taobao.com/coupler/edetaile = AAAAAAAAAAAAAA", and URL of the target preference information is "https: ult, taobao.com/coupler/edetaile = AAAAAAAAAAAAAA".
It should be noted that, in the embodiment of the present application, the coupon information includes, but is not limited to, URL of the coupon, coupon amount, coupon usage condition, coupon term, price trend, and the like. Wherein the coupon amount includes a discount amount, such as 8.0 folds, or a deduction amount, such as a "10-membered" coupon, or the like. Coupon usage conditions, e.g., 100 full minus 10, etc. The coupon term is a time period of coupon usage, for example, "by 5 months 1 day of 2010", or the like. The present example is merely an example for convenience of explanation, and does not limit the present application.
Step 207, the server sends the target preference information to the client.
Step 208, the client receives the target preference information sent by the server and displays the target preference information.
In one implementation, the targeted coupon information includes a coupon amount, optionally, a coupon usage condition, a coupon usage period, etc., and the coupon amount, coupon usage condition, coupon usage period, etc., is presented in the form of a desktop pendant.
In another implementation, the client presents the URL of the coupon; the client receives a triggering operation (such as a clicking operation) of the URL of the coupon, which is input by a user; the client enters the page of the coupon according to the triggering operation, and after receiving the operation (such as clicking operation) of receiving the coupon input by the user, the client can display the amount of the coupon, the using condition of the coupon and the like in the form of a desktop pendant. In the embodiment of the application, the target preferential information is displayed in the form of the desktop pendant, is separated from the commodity page and does not need to be injected into the commodity page, in certain scenes, if a user needs to shrink or enlarge the commodity page, the display of the target preferential information is not influenced, if the user closes the commodity page, the preset duration is reached, the display of the target preferential information is canceled, and in the example, the target preferential information is displayed in the form of the desktop pendant, so that the display information is more flexible, and the normal shopping behavior of the user on the commodity page is not influenced.
In this embodiment, the client sends the target URL to the server, the server generates the index identifier according to the target URL, and the calculation method for generating the index identifier is the same as that of the server calculating the identifier according to the commodity URL in the commodity information set. In the embodiment of the application, the user can acquire the preferential information of the commodity without changing the commodity page, the display of the coupon is stable, the coupon is prevented from being shielded, a shopping guide scheme can be provided for the user, and the user is assisted in making shopping decisions.
It should be noted that, on the basis of the above embodiment, when the commodity page indicated by the target URL includes information of a plurality of commodities, for example, the client receives a keyword input by the user for searching for a commodity, for example, the keyword is "bluetooth headset", and the commodity page indicated by the target URL includes pages of information of a plurality of "bluetooth headsets".
In this example, the commodity information set is shown in table 1, and the commodity information set includes a commodity name subset, a commodity URL subset, and a preference information subset (and/or a preference information URL subset), where the commodity names in the commodity name subset have a correspondence with the identifiers in the identifier subset; the commodity URLs in the commodity URL subsets have a mapping relationship with the preferential information in the preferential information subsets.
The method further comprises, before determining the target preference information having the mapping relation with the target identifier in the preference information subset:
the server receives a keyword sent by the client for searching for goods, for example, the keyword is "bluetooth headset".
The server matches the keyword with the subset of trade names to obtain a target trade name, for example, the target trade name is: ffff bluetooth headset, eeee bluetooth headset, etc.
And determining a target identifier with a corresponding relation with the target commodity name in the identifier subset according to the corresponding relation between the commodity name and the identifier. For example, as shown in Table 2, the targets are identified as "item, taobao, com_561653707045", "item, taobao, com_533089761061".
Further, in another implementation manner, the server determines the target preference information having a mapping relationship with the target identifier, as shown in table 2, and the preference information set having a mapping relationship with the target identifier "item, taobao, com_561653707045" and "item, taobao, com_533089761061" includes: "https: ul and/or taobao/com/coupon/edetaile = AAAAAAAAAAAAAA" (denoted as "coupon X"), "https: ul and/or taobao/com/coupon/edetaile = bbbbbbbbbbbbbb" (denoted as "coupon Y").
The server feeds back the target preferential information or commodity URL corresponding to the target preferential information to the client;
The client displays the target preferential information, or the client displays the commodity URL corresponding to the target preferential information.
In this implementation manner, when the target coupon information includes coupons corresponding to a plurality of commodities, the server sends the target coupon information, or the target coupon information and the commodity URL, to the client, as shown in fig. 3, fig. 3 is a schematic view of a scenario in which the client displays additional information of the commodity. At the client, the target coupon information may be displayed in a list form, so that the user may select a commodity according to the target coupon information, for example, the coupon amount of the target coupon information X is 30 yuan, and corresponds to the "ffff bluetooth headset", the coupon amount of the target coupon information X is 10 yuan, and corresponds to the "eeee bluetooth headset", and the coupon information may be used as a reference for the user to select which kind of bluetooth headset.
In another implementation manner, the server may select target additional information meeting a target condition from the additional information subset, for example, when the additional information is preferential information, the target condition may be preferential information with the highest preferential amount, and when the additional information is price fluctuation, the target condition may be that the price fluctuation is smooth.
The additional information is exemplified by the coupon information, for example, the coupon amount indicated by the coupon information X is 30 yuan, and the coupon amount indicated by the coupon information Y is 10 yuan. The server determines that the amount of the offer information X is higher according to the offer amount, and determines that the offer information X is the target offer information, in this example, the server may select the target offer information from the preference information set (including the offer information X and the offer information Y), where the amount of the offer is the largest, and the amount includes discounts (such as a discount, a percentage of the offer, a full F-element, and an H-element, etc.), denominations (such as a number of elements of the offer), and so on.
And the server sends the target preferential information and the target commodity URL corresponding to the target preferential information to the client. Referring to fig. 4, fig. 4 is a schematic view of a scenario in which a client displays additional information of a commodity. The client displays the target preferential information selected by the server and the target commodity URL corresponding to the target preferential information. The client receives a triggering operation (such as a clicking operation) for the target commodity URL; and the client displays the target commodity detail page and the target preferential information according to the triggering operation of the target commodity URL. For example, the client side displays the commodity detail page of the ffff Bluetooth headset and the target preferential information (such as 30 elements of preferential).
Or the server may sort the offer information in the offer information set according to the offer amount of the offer information, and determine the target offer information with the preset value number according to the sort, for example, if the offer information set includes 5 offer information, the server may sort the offer information according to the offer amount corresponding to the offer information, and select the first 2 offer information as the target offer information according to the order of the offer amount from large to small.
The following describes an embodiment of the present application in connection with an application scenario.
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of a method for obtaining preferential information.
The third party device (such as an alemter, a jingdong alliance and other popularization alliances) comprises the commodity information set shown in table 1, and the server can obtain the commodity information set through the official interfaces of the alemter and the jingdong alliance in advance, and perform data arrangement and index reconstruction to obtain the set of commodity preferential information.
The terminal has installed therein a coupon client and a browser plug-in.
A1: the user opens the browser and accesses the e-commerce website (including but not limited to panda, kitten, jindong, etc.) for browsing.
A2, the browser plug-in obtains the URL accessed by the browser through user authorization.
Referring to fig. 6, fig. 6 is a schematic diagram of a scenario in which a client displays authorization information. And the client acquires the URL information currently accessed by the browser through the browser plug-in on the premise of user authorization. For example, the authorization information is as follows: the user can display the permission description when installing the client, and the user clicks the add-on extension program, namely, the URL which agrees to the browser plug-in to acquire the browser access is obtained.
A3: it is determined whether the browser is accessing an e-commerce web site.
After the plug-in obtains the URL currently being accessed by the user, the domain names of "detail.
A4: the plug-in pulls up the client process through the generic interface provided by the browser.
A5: the plug-in informs the client of the URL of the commodity detail page currently accessed by the browser;
A6: the client sends a request to the server, wherein the request carries a commodity detail page URL;
A7: after receiving the request from the client, the server calculates a retrieval identifier (such as an ID) according to the URL of the commodity detail page, and retrieves whether the preferential information corresponding to the commodity exists through the ID.
The algorithm of the ID is as follows, for example, the user has accessed the commodity page under the jindong: https:// item.jd.com/5089239.Html, the calculated unique ID is: domain name + commodity ID, the result is: "item. Jd. Com_5089239".
If the server searches the index through the ID and then searches the corresponding target preferential information, the target preferential information is returned, namely the corresponding coupon URL, coupon amount, coupon using condition, coupon finite period and other related information;
a8: and after receiving the response of the server, the client displays the target preferential information.
Fig. 7 is a schematic view of a scenario in which a client displays target preference information.
After clicking the coupon URL, the user opens the corresponding page to get the corresponding coupon, and the client displays the relevant information of the coupon, wherein the relevant information comprises the coupon amount, the coupon using condition, the coupon term, the commodity price trend and the like.
The embodiment of the application also provides another embodiment of a method for acquiring the preferential information.
The difference between the embodiment corresponding to fig. 2 in this example is that in the embodiment corresponding to fig. 2, the client sends the target URL to the server, and the server generates the index identifier according to the target URL, in this example, the client may also generate the index identifier according to the target URL, then the client may directly send the index identifier to the server, and the server directly matches the identifier subset in the stored product preference information set according to the index identifier, which in this example, may reduce the calculation amount of the server.
It should be noted that, in this example, the algorithm for calculating the identifier stored in the server is the same as the algorithm for calculating the index identifier in the client, for example, the algorithm for calculating the identifier in the server and the algorithm for calculating the index identifier in the client are both "domain name+commodity ID", if the server needs to update the algorithm for calculating the identifier, the updated algorithm needs to be notified to the client, and the client stores the updated algorithm, so as to ensure that the algorithm for generating the index identifier by the client is consistent with the algorithm for calculating the identifier by the server.
Referring to fig. 8, fig. 8 is a flowchart illustrating steps of a method for obtaining preference information in the present example.
Step 601, the client acquires a uniform resource locator URL accessed by the browser.
This step is understood in conjunction with step 201 in the corresponding embodiment of fig. 2, and is not described here in detail.
Step 602, the client determines whether the URL is a target URL, where the target URL is used to indicate a commodity page.
This step is understood in conjunction with step 202 in the corresponding embodiment of fig. 2, and is not described here in detail.
Step 603, if the URL is a target URL, the client generates an index identifier according to the target URL.
For example, the target URL is: https:// item.jd.com/5089239.Html; the client generates an index identifier according to the target URL, and the algorithm of the index identifier can be as follows: domain name + commodity ID. In this example, the index is identified as "item.jd.com_5089239," where "item.jd.com" is the domain name and "5089239" is the commodity ID.
Step 604, the client sends the index identification to the server.
And the client sends a request to the server, wherein the request carries the index identifier, and the request is used for requesting preferential information corresponding to the commodity in the commodity page.
Step 605, the server receives the index identifier sent by the client, and matches the index identifier with the identifier sub-set in the stored commodity preference information set, where the commodity information set includes the identifier sub-set, the preference information sub-set, and the mapping relationship between the identifier in the identifier sub-set and the preference information in the preference information sub-set.
This step may be understood in conjunction with step 205 in the corresponding embodiment of fig. 2, and is not described herein.
Step 606, if the index identifier is matched with the target identifier in the identifier subset, the server determines target preference information having a mapping relationship with the target identifier.
This step may be understood in conjunction with step 206 in the corresponding embodiment of fig. 2, and is not described herein.
Step 607, the server sends the target preference information to the client.
Step 608, the client receives the target preference information and displays the target preference information.
This step may be understood in conjunction with step 208 in the corresponding embodiment of fig. 2, and is not described here.
In the embodiment of the application, the client can calculate the index identifier according to the same algorithm as the server, then the index identifier is sent to the server, the server is not required to calculate the index identifier, the calculation amount of the server is reduced, and in the embodiment of the application, the user can acquire the preferential information of the commodity without changing the commodity page, the display of the preferential coupon is stable, the preferential coupon is prevented from being shielded, a shopping guide scheme can be provided for the user, and the shopping decision of the user is assisted.
Referring to fig. 9, an embodiment of a terminal 700 is provided in the embodiment of the present application, where the terminal is loaded with a client in the embodiment of the method corresponding to fig. 2 and 8, and the terminal is configured to execute the method executed by the client in the embodiment corresponding to fig. 2.
An obtaining module 701, configured to obtain a URL accessed by a browser;
A judging module 702, configured to judge whether the URL obtained by the obtaining module 701 is a target URL, where the target URL is used to indicate a commodity page;
A sending module 703, configured to send a target URL to a server when the determining module 702 determines that the URL is the target URL, so that the server obtains the index identifier, matches the index identifier with a subset of identifiers in the stored additional information set of the commodity, and determines a target identifier matched with the index identifier; the commodity information set comprises an identifier sub-set, an additional information sub-set and a mapping relation between the identifier in the identifier sub-set and the additional information in the additional information sub-set; determining target additional information with the mapping relation with the target identifier in the additional information subset;
A first receiving module 704, configured to receive target additional information sent by a server;
The display module 705 is configured to display the target additional information received by the first receiving module 704.
In one possible implementation, the display module 705 is further configured to display the target additional information in the form of a desktop pendant.
Referring to fig. 10, an embodiment of a terminal 800 is provided in an embodiment of the present application based on the embodiment corresponding to fig. 9. The target additional information includes the URL of the coupon, the coupon amount and the coupon use condition, and the terminal further includes a second receiving module 706;
The display module 705 is further configured to display a URL of the coupon;
the second receiving module 706 is further configured to receive a triggering operation on the URL of the coupon;
The display module 705 is further configured to display the coupon amount and the coupon usage condition according to the trigger operation received by the second receiving module 706.
Optionally, the first receiving module 704 is further configured to receive the target additional information and a target commodity URL corresponding to the target additional information sent by the server;
A second receiving module 706, configured to receive a trigger operation on the URL of the target commodity;
And the display module 705 is further configured to display the target commodity detail page and the target additional information according to a triggering operation of the target commodity URL.
Referring to fig. 11, another embodiment of a terminal 900 is provided in an embodiment of the present application. In this embodiment, the terminal is configured to execute a method actually executed by the client in the method embodiment corresponding to fig. 8.
An obtaining module 901, configured to obtain a URL accessed by a browser;
a judging module 902, configured to judge whether the URL obtained by the obtaining module 901 is a target URL, where the target URL is used to indicate a commodity page;
a generating module 904, configured to generate index information according to the target URL determined by the determining module 902 when the URL is the target URL;
A sending module 903, configured to send the index information generated by the generating module 904 to a server, so that the server matches the index information with a subset of identifiers in the stored additional information set of the commodity; if the index information is matched with the target identifier in the identifier subset, determining target additional information with a mapping relation with the target identifier;
a receiving module 905, configured to receive the target additional information sent by the server;
And a display module 906, configured to display the target additional information received by the receiving module 905.
Further, the terminals in fig. 9-11 are presented in the form of functional modules. "module" herein may refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the described functionality. In a simple embodiment, the terminal in fig. 9-11 may take the form shown in fig. 12.
The embodiment of the present application further provides another embodiment of a terminal, as shown in fig. 12, for convenience of explanation, only the portion related to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the method portion of the embodiment of the present application. The terminal includes a cell phone, a tablet computer, a PDA (Personal DigitalAssistant ). Fig. 12 is a block diagram showing a part of the structure of a terminal related to the terminal provided by the embodiment of the present application. Referring to fig. 12, the terminal includes: transceiver 1010, memory 1020, input unit 1030, display unit 1040, wireless fidelity (WIRELESS FIDELITY, wiFi) module 1170, processor 1080, and the like. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 12 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the respective constituent elements of the terminal in detail with reference to fig. 12:
The transceiver 1010 may be used to transmit and receive information, receive signals, and transmit signals, and the transceiver 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol.
The memory 1020 may be used for storing software programs and modules, and the processor 1080 performs various functional applications of the terminal and data processing by executing the software programs and modules stored in the memory 1020. The memory 1020 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 for at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, memory 1020 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state memory device.
The input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. In particular, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1031 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 1080 and can receive commands from the processor 1080 and execute them. Further, the touch panel 1031 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, etc.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the terminal. The display unit 1040 may include a display panel 1041, and alternatively, the display panel 1041 may be configured in a form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1031 may overlay the display panel 1041, and when the touch panel 1031 detects a touch operation thereon or thereabout, the touch panel is transferred to the processor 1080 to determine a type of touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the terminal.
WiFi belongs to a short-distance wireless transmission technology, and a terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through a WiFi module 1070, so that wireless broadband Internet access is provided for the user. Although fig. 12 shows a WiFi module 1070, it is understood that it does not belong to the necessary constitution of the handset, and can be omitted entirely as required within the scope of not changing the essence of the invention.
Processor 1080 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in memory 1020, and calling data stored in memory 1020. Optionally, processor 1080 may include one or more processing units; preferably, processor 1080 may integrate an application processor primarily handling operating systems, user interfaces, applications, etc., with a modem processor primarily handling wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1080.
In the embodiment of the present invention, the processor 1080 included in the terminal is further configured to enable the terminal to perform the method steps actually performed by the client in the method embodiment described above.
The embodiment of the application also provides a computer storage medium for storing computer software instructions for a terminal, which includes instructions for executing a method executed by a client in the method embodiment.
Referring to fig. 13, in one embodiment of the present application, a server 1100 is provided, which includes:
a first obtaining module 1101, configured to obtain index information, where the index information is used to index additional information of a commodity;
The matching module 1102 is configured to match the index identifier acquired by the first acquiring module 1101 with a subset of identifiers in a stored additional information set of a commodity, where the commodity information set includes a subset of identifiers, a subset of additional information, and a mapping relationship between the identifiers in the subset of identifiers and the additional information in the subset of additional information;
a first determining module 1103, configured to determine, when the matching module 1102 determines that the index identifier matches the target identifier in the identifier subset, target additional information having a mapping relationship with the target identifier;
a sending module 1104, configured to send the target additional information determined by the first determining module 1103 to the client, so that the client displays the additional information.
In a possible implementation manner, the index information includes an index identifier, and the first obtaining module 1101 is further configured to receive a target URL sent by the client, where the target URL is used to indicate a commodity page;
and generating an index identifier according to the target URL.
In a possible implementation manner, the first obtaining module 1101 is further configured to receive an index identifier sent by the client, where the index identifier is generated by the client according to a target URL, and the target URL is used to indicate a commodity page.
Referring to fig. 14, on the basis of the embodiment corresponding to fig. 13, an embodiment of a server 1200 is provided in the embodiment of the present application, where the server further includes:
a second acquisition module 1105, a generation module 1106 and a second determination module 1107;
a second obtaining module 1105, configured to obtain a commodity information set from a third party device, where the commodity information set includes a subset of commodity URLs, and additional information corresponding to each commodity URL in the subset of commodity URLs;
a generating module 1106, configured to generate an identifier for identifying the commodity according to each commodity URL in the subset of commodity URLs acquired by the second acquiring module 1105;
a second determining module 1107 is configured to determine a mapping relationship between each identifier generated by the generating module 1106 and the additional information, so as to obtain a set of commodity additional information.
The commodity information set also comprises a commodity name sub-set, and the commodity names in the commodity name sub-set and the marks in the mark sub-set have a corresponding relation; when information of a plurality of goods is included in the goods page indicated by the target URL,
The first obtaining module 1101 is further configured to receive a keyword sent by the client and used for searching for a commodity;
the matching module 1102 is further configured to match the keyword acquired by the first acquiring module 1101 with the subset of trade names to obtain a target trade name;
The first determining module 1103 is further configured to determine, according to the correspondence between the commodity names and the identifiers, a target identifier in the subset of identifiers, which has a correspondence with the target commodity name determined by the matching module 1102.
Further, the servers in fig. 13 and 14 are presented in the form of functional modules. "module" herein may refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the described functionality. In a simple embodiment, the server in fig. 13 and 14 may take the form shown in fig. 15.
Fig. 15 is a schematic diagram of a server structure provided in an embodiment of the present invention, where the server 1300 may vary considerably in configuration or performance, and may include one or more processors 1322 and memory 1332, one or more storage media 1330 (e.g., one or more mass storage devices) storing application programs 1342 or data 1344. Wherein the memory 1332 and storage medium 1330 may be transitory or persistent. The program stored on the storage medium 1330 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, a processor 1322 may be provided in communication with a storage medium 1330, executing a series of instruction operations on the server 1300 in the storage medium 1330.
The server 1300 may also include one or more power supplies 1326, one or more wired or wireless network interfaces 1350, one or more input/output interfaces 1358, and/or one or more operating systems 1341.
The steps performed by the server in the above embodiments may be based on the server structure shown in fig. 15. Processor 1322 causes the server to perform the steps actually performed by the server in the method embodiments described above.
The embodiment of the application also provides a computer storage medium for storing computer software instructions for a server, which includes a method for executing the server in the method embodiment. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for acquiring additional information of a commodity, the method being applied to a server and comprising:
When a request carrying an electronic commerce commodity detail page URL sent by a terminal is obtained, carrying out hash calculation on a commodity ID in the electronic commerce commodity detail page URL to obtain a hash value, generating an index identifier according to the commodity ID and the hash value, matching the index identifier with an identifier subset in a stored commodity additional information set, determining a target identifier matched with the index identifier in the identifier subset, determining target additional information with a mapping relation with the target identifier from an additional information subset of the commodity additional information set, wherein the commodity additional information set comprises the identifier subset, the additional information subset and the mapping relation between the identifier in the identifier subset and the additional information in the additional information subset, and the additional information in the additional information subset is from a third party device;
When a keyword sent by the terminal for searching commodities is received, matching the keyword with a commodity name subset in the commodity additional information set to obtain a target commodity name, determining a target identifier with a corresponding relation with the target commodity name in the identifier subset according to the corresponding relation between the target commodity name and the identifier, and determining target additional information with a mapping relation with the target identifier from an additional information subset of the commodity additional information set;
The target additional information comprising the target coupon information is sent to the terminal, so that the terminal displays the URL of the coupon, the page of the coupon is started in response to the triggering operation of the URL of the coupon, the target coupon information is displayed in the form of a desktop pendant in response to the operation of acquiring the coupon input to the page of the coupon, the target coupon information is separated from the commodity page, and the display of the target coupon information is canceled under the condition that the closing duration of the commodity page reaches the preset duration.
2. The method according to claim 1, wherein the method further comprises:
And when the index identifier sent by the terminal is received, executing the step of matching the index identifier with an identifier subset in a stored commodity additional information set and determining a target identifier matched with the index identifier in the identifier subset, wherein the index identifier sent by the terminal is generated by the terminal according to the commodity detail page URL of the electronic commerce.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
Acquiring a commodity information set from the third party equipment, wherein the commodity information set comprises a commodity URL sub-set and additional information of commodities corresponding to each commodity URL in the commodity URL sub-set;
generating an identifier for identifying the commodity according to each commodity URL in the commodity URL subset;
and determining the mapping relation between each identifier and the additional information to obtain the commodity additional information set.
4. The method of claim 1, wherein the number of additional information in the subset of additional information is at least two, and wherein the determining the target additional information having a mapping relationship with the target identifier from the subset of additional information in the set of commodity additional information comprises:
determining at least two pieces of additional information having a mapping relation with the target identifier;
Selecting target additional information meeting target conditions from the at least two additional information;
the sending the target additional information including target preference information to the terminal includes:
And sending the target additional information and the target commodity URL corresponding to the target additional information to a client.
5. The method according to claim 1, wherein the method further comprises:
and generating an index identifier according to the domain name and the commodity ID in the commodity detail page URL of the electronic commerce.
6. A method for acquiring additional information, wherein the method is applied to a terminal and comprises:
Under the condition that a browser enters an e-commerce website to browse, a Uniform Resource Locator (URL) accessed currently by the browser is obtained through a browser plug-in;
When the URL is determined to be the commodity detail page URL of the electronic commerce through the browser plug-in, a client process is pulled up through a general interface provided by the browser through the browser plug-in, the commodity detail page URL currently accessed by the browser is notified to the client, so that the client is instructed to send a request carrying the commodity detail page URL of the electronic commerce to a server, the request is used for instructing the server to perform hash calculation on a commodity ID in the commodity detail page URL of the electronic commerce to obtain a hash value, an index identifier is generated according to the commodity ID and the hash value, the index identifier is matched with an identifier subset in a stored commodity additional information set, a target identifier matched with the index identifier in the identifier subset is determined, target additional information with a mapping relation with the target identifier is determined from an additional information subset of the commodity additional information set, the commodity additional information set comprises the identifier subset, the additional information subset, and additional information of the additional information subset with the mapping relation with the additional information subset is returned, and the additional information in the additional information subset is mapped from a third-party device in the additional information subset;
When the URL is determined to be the electronic commerce commodity detail page URL through the browser plug-in, and the electronic commerce commodity detail page URL comprises information of a plurality of commodities, determining keywords for searching the commodities, sending the keywords to the server, wherein the keywords are used for instructing the server to match the keywords with a commodity name subset in the commodity additional information set to obtain a target commodity name, determining a target identifier with a corresponding relation with the target commodity name in the identifier subset according to the corresponding relation between the target commodity name and the identifier, determining target additional information with a mapping relation with the target identifier from an additional information subset of the commodity additional information set, and returning the target additional information, wherein the commodity name in the commodity name subset has a corresponding relation with the identifier in the identifier subset;
Receiving the target additional information sent by the server, wherein the target additional information comprises target preferential information;
Displaying the URL of the coupon, responding to the triggering operation of the URL of the coupon, entering a page of the coupon, responding to the operation of acquiring the coupon input to the page of the coupon, and displaying the target coupon information in the form of a desktop pendant, wherein the target coupon information is separated from a commodity page;
And under the condition that the closing time of the commodity page reaches the preset time, canceling the display of the target preferential information.
7. A server, comprising:
The first acquisition module is used for carrying out hash calculation on the commodity ID in the commodity detail page URL of the electronic commerce when a request carrying the commodity detail page URL of the electronic commerce sent by the terminal is acquired, so as to obtain a hash value, and generating an index identifier according to the commodity ID and the hash value;
the matching module is used for matching the index identifier with an identifier subset in a stored commodity additional information set and determining a target identifier matched with the index identifier in the identifier subset; when a keyword which is sent by the terminal and used for searching commodities is received, matching the keyword with a commodity name subset in the commodity additional information set to obtain a target commodity name, and determining a target identifier which has a corresponding relation with the target commodity name in the identifier subset according to the corresponding relation between the target commodity name and the identifier;
the first determining module is used for determining target additional information with a mapping relation with the target identifier from an additional information subset of the commodity additional information set;
The sending module is used for sending the target additional information comprising the target coupon information to the terminal so that the terminal can display the URL of the coupon, responding to the triggering operation of the URL of the coupon, entering the page of the coupon, responding to the operation of receiving the coupon input by the page of the coupon, displaying the target coupon information in the form of a desktop pendant, separating the target coupon information from a commodity page, and canceling the display of the target coupon information under the condition that the closing time of the commodity page reaches the preset time.
8. A terminal, comprising:
The acquisition module is used for acquiring a Uniform Resource Locator (URL) currently accessed by the browser through a browser plug-in when the browser enters an E-commerce website to browse;
the sending module is used for pulling up a client process through a general interface provided by the browser when the URL is determined to be the commodity detail page URL of the electronic commerce through the browser plug-in, notifying the client of the commodity detail page URL currently accessed by the browser to instruct the client to send a request carrying the commodity detail page URL of the electronic commerce to a server, wherein the request is used for instructing the server to perform hash calculation on a commodity ID in the commodity detail page URL of the electronic commerce to obtain a hash value, generating an index identifier according to the commodity ID and the hash value, matching the index identifier with an identifier sub-set in a stored commodity additional information set, determining a target identifier matched with the index identifier in the identifier sub-set, determining target additional information with a mapping relation with the target identifier from the additional information sub-set of the commodity additional information set, and returning the target additional information, wherein the additional information comprises the identifier sub-set, the additional information sub-set and additional information sub-set, and the additional information sub-set in the mapping relation with the additional information sub-set in the identifier is from a third party device in the additional information sub-set;
The sending module is further configured to, when it is determined by the browser plug-in that the URL is an e-commerce item detail page URL and the e-commerce item detail page URL includes information of a plurality of items, determine a keyword for searching the plurality of items, send the keyword to the server, instruct the server to match the keyword with a trade name subset in the item additional information set, obtain a target item name, determine, according to a correspondence between the target item name and an identifier, a target identifier having a correspondence between the target item name and the target item name in the identifier subset, determine, from an additional information subset in the item additional information set, target additional information having a mapping relation with the target identifier, and return the target additional information, where the item name in the trade name subset has a correspondence with the identifier in the identifier subset;
The first receiving module is used for receiving the target additional information sent by the server, wherein the target additional information comprises target preferential information;
The display module is used for displaying the URL of the coupon, entering a page of the coupon in response to the triggering operation of the URL of the coupon, and displaying the target coupon information in the form of a desktop pendant in response to the operation of acquiring the coupon input to the page of the coupon, wherein the target coupon information is separated from the commodity page; and under the condition that the closing time of the commodity page reaches the preset time, canceling the display of the target preferential information.
9. A server, comprising:
a memory for storing computer executable program code;
Network interface, and
A processor coupled with the memory and the network interface;
Wherein the program code comprises instructions which, when executed by the processor, cause the server to perform the method of any one of claims 1 to 5.
10. A terminal, comprising:
a memory for storing computer executable program code;
Transceiver, and
A processor coupled to the memory and the transceiver;
Wherein the program code comprises instructions which, when executed by the processor, cause the terminal to perform the method of claim 6.
CN201810239574.2A 2018-03-22 2018-03-22 Method for acquiring additional information of commodity and related equipment Active CN108460148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810239574.2A CN108460148B (en) 2018-03-22 2018-03-22 Method for acquiring additional information of commodity and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810239574.2A CN108460148B (en) 2018-03-22 2018-03-22 Method for acquiring additional information of commodity and related equipment

Publications (2)

Publication Number Publication Date
CN108460148A CN108460148A (en) 2018-08-28
CN108460148B true CN108460148B (en) 2024-07-02

Family

ID=63236442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810239574.2A Active CN108460148B (en) 2018-03-22 2018-03-22 Method for acquiring additional information of commodity and related equipment

Country Status (1)

Country Link
CN (1) CN108460148B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111523954A (en) * 2019-02-03 2020-08-11 阿里巴巴集团控股有限公司 Information processing method, information display method and device
CN111292169B (en) * 2020-02-11 2023-10-24 拉扎斯网络科技(上海)有限公司 Method and device for displaying activity information
CN111414527B (en) * 2020-03-16 2023-10-10 腾讯音乐娱乐科技(深圳)有限公司 Query method, device and storage medium for similar items
CN111857908A (en) * 2020-06-15 2020-10-30 北京达佳互联信息技术有限公司 Pendant display control method, device and system, electronic equipment, server and storage medium
CN112307300B (en) * 2020-08-10 2024-10-22 北京沃东天骏信息技术有限公司 Article information query method and device, electronic equipment and readable storage medium
CN116437113A (en) * 2022-01-01 2023-07-14 北京有竹居网络技术有限公司 Video processing method, video playing method, device, electronic device and medium
CN114861008A (en) * 2022-01-27 2022-08-05 云丁网络技术(北京)有限公司 A kind of index information management method and system
US20240037575A1 (en) * 2022-07-29 2024-02-01 Content Square SAS Product exposure metric

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971244A (en) * 2013-01-30 2014-08-06 阿里巴巴集团控股有限公司 Commodity information issuing and browsing method, device and system
CN105493118A (en) * 2013-06-12 2016-04-13 株式会社Ntt都科摩 Privilege imparting system, server device, and privilege imparting method
CN106095900A (en) * 2016-06-07 2016-11-09 网易无尾熊(杭州)科技有限公司 A kind of Search Results provides method and apparatus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130011620A (en) * 2011-07-22 2013-01-30 주식회사 이스케이프인터넷 Method for providing the lowest price purchase site of on line goods applying all discounting service
JP2015082256A (en) * 2013-10-23 2015-04-27 東芝テック株式会社 Shopping support apparatus and program
CN104751344A (en) * 2013-12-27 2015-07-01 腾讯科技(深圳)有限公司 Commodity information processing method, device and system
CN106372878A (en) * 2015-07-20 2017-02-01 阿里巴巴集团控股有限公司 Payment method, payment client and payment server
CN106846025A (en) * 2015-12-04 2017-06-13 深圳市星电商科技有限公司 Merchandise information processing method and device
CN107016586A (en) * 2016-01-27 2017-08-04 阿里巴巴集团控股有限公司 The method and device of list of brands information is provided
CN106027598B (en) * 2016-04-28 2019-05-31 北京奇虎科技有限公司 Display processing method and system, the server of business information
CN107766432A (en) * 2017-09-18 2018-03-06 维沃移动通信有限公司 A kind of data interactive method, mobile terminal and server
CN107808325A (en) * 2017-10-26 2018-03-16 广州供电局有限公司 The concurrent real-time price comparing method of more electric business merchandise news real-time acquisition systems and more electric business

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971244A (en) * 2013-01-30 2014-08-06 阿里巴巴集团控股有限公司 Commodity information issuing and browsing method, device and system
CN105493118A (en) * 2013-06-12 2016-04-13 株式会社Ntt都科摩 Privilege imparting system, server device, and privilege imparting method
CN106095900A (en) * 2016-06-07 2016-11-09 网易无尾熊(杭州)科技有限公司 A kind of Search Results provides method and apparatus

Also Published As

Publication number Publication date
CN108460148A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN108460148B (en) Method for acquiring additional information of commodity and related equipment
US11880864B2 (en) System and method of automated delivery of relevance-checked benefit-conveying codes during online transaction
CA2745505C (en) Browser based user identification
CN104428765B (en) It reduces and redirects
US20130103666A1 (en) Mapping uniform resource locators of different indexes
US20150120451A1 (en) Method and apparatus for acquiring merchant information
JP6204637B1 (en) Information processing apparatus, information processing method, program, and storage medium
CN108881339A (en) Push method, user tag generation method, device and equipment
CN102982109B (en) Dynamically determining of the quantity of the advertisement supplied
US20110288931A1 (en) Microsite models
US10621189B2 (en) In-application history search
US9065827B1 (en) Browser-based provisioning of quality metadata
WO2015183720A1 (en) Personalized search results
CN112136127B (en) Action indicator for search operation output element
CN105391796A (en) Social platform based information push method and device and server
JP6557357B2 (en) Device-based filtering of content items associated with mobile applications
US20160042050A1 (en) In-Application Recommendation of Deep States of Native Applications
CN107223253A (en) Method and apparatus for sending searching request
CN105427130A (en) Advertisement pushing method and system as well as network equipment
CN103077349B (en) A kind of method of browser side prompting access secure information and device
CN102436509B (en) Method and system for browsing webpage at mobile terminal
CN104123299A (en) Message sharing method, device and system among multiple terminal devices
JP6625259B1 (en) Information processing apparatus, information processing method and program
JP5220090B2 (en) Advertisement distribution apparatus, advertisement distribution method and program
TWI573032B (en) Information processing device, information processing method, memory media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TG01 Patent term adjustment
TG01 Patent term adjustment