CN108198035B - Order following method and device - Google Patents

Order following method and device Download PDF

Info

Publication number
CN108198035B
CN108198035B CN201810021075.6A CN201810021075A CN108198035B CN 108198035 B CN108198035 B CN 108198035B CN 201810021075 A CN201810021075 A CN 201810021075A CN 108198035 B CN108198035 B CN 108198035B
Authority
CN
China
Prior art keywords
target
commodity
short link
cps
link
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
CN201810021075.6A
Other languages
Chinese (zh)
Other versions
CN108198035A (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.)
Beijing Zhidemai Technology Co ltd
Original Assignee
Beijing Zhidemai 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 Zhidemai Technology Co ltd filed Critical Beijing Zhidemai Technology Co ltd
Priority to CN201810021075.6A priority Critical patent/CN108198035B/en
Publication of CN108198035A publication Critical patent/CN108198035A/en
Application granted granted Critical
Publication of CN108198035B publication Critical patent/CN108198035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

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

Abstract

The embodiment of the invention provides a documentary method and a device, which relate to the technical field of electronic commerce and data processing, and the documentary method comprises the following steps: after a user accesses a direct link of a target commodity, a commodity address of the target commodity is obtained from the direct link; acquiring a target website domain name corresponding to the commodity address; determining a target CPS rule corresponding to the target website domain name according to a corresponding relation between a preset website domain name and the CPS rule, wherein the target CPS rule comprises the following steps: CPS type and order following parameters; and generating a target short link based on the target CPS rule and the commodity address, and jumping to the target short link. By applying the order following scheme provided by the embodiment of the invention, when the CPS rule of a new merchant is input or the CPS rule of an original merchant is modified, only relevant configuration is needed to be carried out in the preset data table, and program codes do not need to be developed again, so that the rapid online of the CPS rule of the new merchant or the original merchant is realized while the manpower development cost is reduced.

Description

Order following method and device
Technical Field
The invention relates to the technical field of electronic commerce and data processing, in particular to a method and a device for following orders.
Background
Currently, some consumer portal websites with shopping guide attributes (abbreviated as "shopping guide websites") can provide users with promotion services related to online shopping information. Typically, the shopping guide website directs the user to a shopping website with which he has a collaboration, and draws a proportion of the amount of money the user actually completes a transaction at the shopping website as Sales commission revenue (Cost Per Sales, CPS for short). Therefore, there is a need to provide a method to enable order tracking.
In the early stage of development of the shopping guide website, the shopping guide website can manually convert the commodity source address into a short link carrying a documentary parameter, such as a URL (Uniform Resource Locator), when issuing a shopping guide article for a merchant commodity, but this documentary scheme is not only labor intensive but also prone to errors. Furthermore, in the prior art, a computer program-based order following scheme is provided, in which a short link corresponding to a commodity source address is written into a program code in advance, so that the workload of manually adding order following parameters is reduced.
However, since different CPS rules are different for different merchants, the technician needs to develop different program codes for different merchants. With the increase of the number of merchants collaborating with the shopping guide website, no matter a new merchant inputs the CPS rule or an original merchant modifies the CPS rule, a large amount of program code development work is required, and the labor cost is high.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for tracking orders, which can realize the quick online of CPS rules of newly accessed merchants or original merchants on the premise of reducing the labor development cost.
In order to achieve the purpose, the embodiment of the invention discloses an order following method, which comprises the following steps:
after a user accesses a direct link of a target commodity, a commodity address of the target commodity is obtained from the direct link;
acquiring a target website domain name corresponding to the commodity address;
determining a target CPS rule corresponding to the target website domain name according to a preset corresponding relation between the website domain name and the CPS rule, wherein the target CPS rule comprises the following steps: CPS type and order following parameters;
generating a target short link based on the target CPS rule and the commodity address;
and jumping to the target short link.
Preferably, after generating the target short link, the method further includes:
and storing the corresponding relation between the commodity address and the target short link into a cache.
Preferably, the storing the corresponding relationship between the commodity address and the target short link into a cache includes:
generating a link abstract value corresponding to the commodity address according to a preset first message abstract algorithm;
determining the link digest value as a Key value of the target short link;
and storing the corresponding relation between the target short link and the link abstract Value into a cache according to a Key-Value mode.
Preferably, before determining the target CPS rule corresponding to the target website domain name, the method further includes:
judging whether the commodity address is stored in a cache; if yes, obtaining the target short link corresponding to the commodity address according to the corresponding relation between the pre-stored target short link and the link abstract value, and if not, determining the target CPS rule corresponding to the target website domain name according to the corresponding relation between the preset website domain name and the CPS rule.
Preferably, the jumping to the target short link includes:
acquiring pre-cached personalized information, wherein the personalized information is information which is stored in a cache when a user accesses a direct link of a target commodity, and comprises at least one or more of user information, user login equipment information, commodity preference information, information of a channel to which the commodity belongs, commodity category, published article ID and a shopping guide website domain name;
acquiring a documentary parameter carried in the target short link according to the CPS type;
generating a target information array by using multidimensional information formed by the order following parameters and the personalized information;
generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm;
and skipping the commodity address to a target short link carrying the array abstract value.
Preferably, after generating an array digest value corresponding to the target information array, the method further includes:
determining the array abstract value as a Key value of the target short link jump;
and storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode.
Preferably, the skipping the commodity address to the target short link carrying the array abstract value includes:
judging whether a Key value of the target short link jump exists in the cache;
if yes, directly jumping to the target short link;
and if not, obtaining the commodity address of the target commodity from the direct link.
Preferably, before the goods address is jumped to the target short link carrying the array abstract value, the method further includes:
judging whether a Key value of the target short link exists in the cache;
and if not, writing the corresponding relation between the commodity address and the target short link into a preset data table, and changing the data state of the corresponding relation between the commodity address and the target short link stored in the cache into a permanent overdue state.
In order to achieve the above object, an embodiment of the present invention discloses a sheet following device, which includes:
the commodity address obtaining module is used for obtaining the commodity address of the target commodity from the direct link after the user accesses the direct link of the target commodity;
the domain name acquisition module is used for acquiring a target website domain name corresponding to the commodity address;
a rule determining module, configured to determine a target CPS rule corresponding to the target website domain name according to a correspondence between a preset website domain name and a CPS rule, where the target CPS rule includes: CPS type and order following parameters;
a short link generation module for generating a target short link based on the target CPS rule and the commodity address;
and the short link skipping module is used for skipping to the target short link.
Preferably, the order following device further comprises a cache module; and the cache module is used for storing the corresponding relation between the commodity address and the target short link into a cache after the target short link is generated.
By applying the order following scheme provided by the embodiment of the invention, when the CPS rule of a new merchant is input or the CPS rule of an original merchant is modified, only relevant configuration is needed to be carried out in the preset data table, and program codes do not need to be developed again, so that the rapid online of the CPS rule of the new merchant or the original merchant is realized while the manpower development cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for tracking orders according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another order following method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an order following device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another sheet following device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to reduce the labor development cost and facilitate the quick online of the CPS rule of a new merchant or an original merchant, the embodiment of the invention provides a documentary method and a documentary device.
The following first describes the order following method provided by the embodiment of the present invention in detail.
As shown in fig. 1, an order following method provided in an embodiment of the present invention may include:
s101: and after the user accesses the direct link of the target commodity, obtaining the commodity address of the target commodity from the direct link.
It should be noted that the "direct link" here is an original link address provided by the shopping guide website for the user to access the target product, and when the direct link of the target product is generated in advance in the shopping guide website, the product address of the target product is actually added to the corresponding direct link, so that when the user accesses the direct link of the target product, the product address of the target product on the shopping website can be extracted from the direct link.
It should be further noted that the direct link does not carry the CPS rule for the target website, but is added to the short link before the subsequent short link jump is performed, and the specific CPS rule is not written in the direct link, so that the scheme provided by the embodiment of the present invention does not need to re-develop or modify the program code when the CPS rule of a new merchant is entered or the CPS rule of an original merchant is modified.
S102: and acquiring a target website domain name corresponding to the commodity address.
It should be noted that, usually, the setting of the CPS rule is specific to the shopping website, not specific to the target product, so the target website domain name of the shopping website corresponding to the target product is obtained according to the product address, so as to determine the CPS rule corresponding to the target website according to the target website domain name in the following.
S103: and determining a target CPS rule corresponding to the target website domain name according to the corresponding relation between the preset website domain name and the CPS rule.
Wherein the target CPS rules may include: CPS type and documentary parameters.
In one implementation, the CPS types are divided based on the addition mode of the order following parameter, and specifically, the addition mode of the order following parameter may include prefix addition, suffix addition, simultaneous addition of prefix and suffix, and addition through an interface generation mode.
It should be noted that, because the number of shopping websites with which the shopping guide websites cooperate is large, there may be thousands of shopping websites with which the shopping guide websites cooperate, and it is understood that the sales commission revenue extraction method provided to the shopping guide websites is different for different shopping websites, for example, the sales commission revenue can be extracted from the amount of each transaction according to a ratio or a fixed amount. Therefore, the technical staff of the shopping guide website establishes a corresponding relationship between each shopping website and the CPS rule agreed by each shopping website in advance, wherein the website domain name is usually used as the unique identifier of the shopping website, that is, actually, the technical staff of the shopping guide website has preset the corresponding relationship between the website domain name and the CPS rule.
It should be emphasized that the corresponding relationship between the preset website domain name and the CPS rule is stored in the preset data table, and is not directly written into a specific program code, so that when the CPS rule of a new merchant is subsequently entered or the CPS rule of an original merchant is modified, only the corresponding rule needs to be entered or modified in the preset data table.
S104: and generating a target short link based on the target CPS rule and the commodity address.
It should be noted that, a manner of generating a corresponding target short link from a commodity address has been disclosed in the prior art, and the embodiment of the present invention may generate the target short link by using a technical means provided in the prior art, which is not limited in the embodiment of the present invention.
S105: and jumping to the target short link.
By applying the order-following scheme provided by the embodiment of the invention, the preset corresponding relation between the website domain name and the CPS rule is stored in the preset data table, so that when the CPS rule of a new merchant is input or the CPS rule of an original merchant is modified, only relevant configuration needs to be carried out in the preset data table, program codes do not need to be developed again, and therefore, the rapid online of the CPS rule of the new merchant or the original merchant is realized while the manpower development cost is reduced.
Further, as shown in fig. 2, on the basis of the embodiment of the method shown in fig. 1, after the target short link, the method may further include:
s106: and storing the corresponding relation between the commodity address and the target short link into a cache.
In one implementation, the correspondence between the commodity address and the target short link may be stored in a cache in the following manner:
(1) and generating a link abstract value corresponding to the commodity address according to a preset first message abstract algorithm.
Specifically, the MD5 value of the product address generated according to the MD5(Message Digest Algorithm, fifth edition) Algorithm may be used as the link Digest value corresponding to the product address of the target product. It should be noted that the MD5 algorithm listed herein is only one specific implementation of generating a link digest value corresponding to the merchandise address, and is a hash function widely used in the field of computer security to provide integrity protection for messages, and the MD5 algorithm listed herein should not be construed as limiting the embodiments of the present invention.
(2) And determining the link digest value as the Key value of the target short link.
(3) And storing the corresponding relation between the target short link and the link abstract Value into a cache according to a Key-Value mode.
The Chinese name of Key-Value is called "name Value pair", also can be called "Key Value pair" or "attribute Value pair", Key-Value is a basic data representation mode in computing system and application program, and Key-Value storage is the simplest data organization form in database. Wherein, Key is a Key name, and Value is a Key Value.
It should be noted that the Key value generated here can be used as a unique identifier of the commodity address, and therefore, in the embodiment of the present invention, the correspondence between the target short link and the link digest value is stored in the cache, that is, the correspondence between the commodity address and the short link is stored in the cache.
In one implementation, a cache provided by a Redis server may be used, and the Redis server may support relatively more stored Value types, such as string (string), list (linked list), set (set), zset (sorted set — ordered set), hash (hash type), and the like.
The Redis server may be a server configured by one physical machine, or may be a server in a distributed system configured by a computer cluster configured by a plurality of physical machines, and the provision of the storage service in the distributed system is shared by a plurality of physical machines in the computer cluster, so that the storage pressure is reduced compared with the case of a server configured by one physical machine.
Correspondingly, before determining the target CPS rule corresponding to the target website domain name, the method may further include:
s107: and judging whether the goods address is stored in the cache, if so, executing the step S108, and if not, executing the step S103.
S108: and acquiring the target short link corresponding to the commodity address according to the corresponding relation between the pre-stored target short link and the link abstract value.
It should be noted that, if the target product is accessed for the first time, which is often the case of accessing a new merchant, the corresponding relationship between the product address and the target short link is stored in the cache according to step S106, so that when the target product is accessed again, the target short link corresponding to the product address can be directly obtained according to step S108 under the condition that the product address of the target product is determined to be stored in the cache, and thus, the addition of the order following parameter can be quickly realized. In addition, when the original merchant modifies the CPS rule, the cache needs to be emptied at the same time, so that the corresponding relation between the modified commodity address and the target short link is stored in the cache.
In a specific implementation manner, jumping to the target short link can be performed in the following manner:
a. and acquiring the personalized information cached in advance.
The personalized information is information stored in the cache when the user accesses a direct link of a target commodity, and can comprise at least one or more of user information, user login equipment information, commodity preference information, information of a channel to which the commodity belongs, commodity category, published article ID and a domain name of a shopping guide website.
b. And acquiring the order following parameters carried in the target short link according to the CPS type.
c. And generating a target information array by using the multidimensional information formed by the order following parameter and the personalized information.
d. And generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm.
It should be noted that the "second message digest algorithm" mentioned herein may be the same as the "first digest algorithm" or different from the "first digest algorithm", and the "first" and the "second" are only used to distinguish between digest algorithms used for generating the link digest value corresponding to the commodity address and generating the array digest value corresponding to the target information array, and are not used to limit the order of the digest algorithms.
e. And skipping the commodity address to a target short link carrying the array abstract value.
It should be noted that the order following parameter or the personalized information carried by the target short link is multidimensional information, and in order to facilitate adding the multidimensional information to the target short link, the multidimensional information may be configured into an array by using a second message digest algorithm, and an array digest value corresponding to the array is added to the target short link.
Further, in an implementation manner, after generating an array digest value corresponding to the target information array, the method may further include:
f. and determining the array abstract value as the Key value of the target short link jump.
g. And storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode.
It should be noted that, when the target short link jumps to 1, the corresponding relationship between the Key Value of the target short link jump and the target short link, which is stored in a Key-Value manner, may be cached in the cache, indicating that the target product is not accessed for the first time.
Correspondingly, jumping to the target short link carrying the array abstract value according to the following mode:
judging whether a Key value of the target short link jump exists in the cache; if yes, directly jumping to the target short link, otherwise executing step S101.
And as can be seen from the combination of steps f and g, determining whether the cache exists, actually, determining whether the target product is accessed for the first time, and when determining that the cache stores the Key value for the target short link jump, indicating that the target product is not accessed for the first time, step S106 indicates that, before accessing the target product this time, the cache stores the corresponding relationship between the product address and the target short link under the condition that the cache is not cleared, so that the target short link can be directly jumped to, and the target short link does not need to be generated based on the target CPS rule and the product address, so that the product address can be quickly jumped to the target short link of the target product.
Further, before skipping the commodity address to the target short link carrying the array abstract value, the method may further include:
h. and judging whether the cache has the Key value of the target short link or not.
i. And if not, writing the corresponding relation between the commodity address and the target short link into a preset data table, and changing the data state of the corresponding relation between the commodity address and the target short link stored in the cache into a permanent overdue state.
And f and g, judging whether the cache exists or not, actually judging whether the target commodity is accessed for the first time or not, and when judging that the cache does not store the Key value of the target short link jump, indicating that the target commodity is accessed for the first time, writing the commodity address and the target short link stored in the cache into a preset data table, so as to update the data in the preset data table, and rapidly jumping to the corresponding target short link when the target commodity is accessed for the next time.
For the above-mentioned order following method, the order following device provided by the embodiment of the present invention is described below.
As shown in fig. 3, for an order following device provided in an embodiment of the present invention, the order following device may include: the system comprises a commodity address obtaining module 210, a domain name obtaining module 220, a rule determining module 230, a short link generating module 240 and a short link skipping module 250.
The commodity address obtaining module 210 is configured to obtain a commodity address of a target commodity from a direct link of the target commodity after a user accesses the direct link.
And a domain name obtaining module 220, configured to obtain a domain name of the target website corresponding to the commodity address.
A rule determining module 230, configured to determine a target CPS rule corresponding to the target website domain name according to a preset correspondence between the website domain name and the CPS rule, where the target CPS rule may include: CPS type and documentary parameters.
And a short link generating module 240 for generating a target short link based on the target CPS rule and the commodity address.
And a short link jump module 250, configured to jump to the target short link.
By applying the order following scheme provided by the embodiment of the invention, when the CPS rule of a new merchant is input or the CPS rule of an original merchant is modified, only relevant configuration is needed to be carried out in the preset data table, and program codes do not need to be developed again, so that the rapid online of the CPS rule of the new merchant or the original merchant is realized while the manpower development cost is reduced.
Further, the order following device may further include a cache module 260; the cache module 260 is configured to store the correspondence between the commodity address and the target short link into a cache after the target short link is generated.
In a specific implementation manner, the cache module 260 is specifically configured to: generating a link abstract value corresponding to the commodity address according to a preset first message abstract algorithm; determining the link digest value as a Key value of the target short link; and storing the corresponding relation between the target short link and the link abstract Value into a cache according to a Key-Value mode.
Further, the order following device may further include a goods address determining module 270; the commodity address determining module 270 is configured to determine whether the commodity address is stored in the cache before determining the target CPS rule corresponding to the target website domain name; if so, the short link acquisition module 280 is triggered, and if not, the rule determination module 230 is triggered.
The short link obtaining module 280 is configured to obtain a target short link corresponding to the commodity address according to a correspondence between a pre-stored target short link and the link digest value.
In one implementation, the short link skip module 250 is specifically configured to:
acquiring personalized information cached in advance; acquiring a documentary parameter carried in the target short link according to the CPS type; generating a target information array by using multidimensional information formed by the order following parameters and the personalized information; generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm; and skipping the commodity address to a target short link carrying the array abstract values, wherein the personalized information is information stored in a cache when a user accesses a direct link of a target commodity, and can comprise at least one or more of user information, user login equipment information, commodity preference information, commodity affiliated channel information, commodity category, published article ID and shopping guide website domain name.
Further, in an implementation manner, the caching module 260 is further configured to: after an array abstract value corresponding to the target information array is generated, determining the array abstract value as a Key value of the target short link jump; and storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode.
Correspondingly, the short link skip module 250 is specifically configured to:
acquiring personalized information cached in advance; acquiring a documentary parameter carried in the target short link according to the CPS type; generating a target information array by using multidimensional information formed by the order following parameters and the personalized information; generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm; determining the array abstract value as a Key value of the target short link jump; storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode; judging whether a Key value of the target short link jump exists in the cache; if yes, directly jumping to the target short link; and if not, obtaining the commodity address of the target commodity from the direct link, wherein the personalized information is information stored in a cache when the user accesses the direct link of the target commodity, and can comprise at least one or more of user information, user login equipment information, commodity preference information, commodity belonging channel information, commodity category, published article ID and shopping guide website domain name.
In one implementation, the order following device may further include: and the data updating module is used for judging whether a Key value of the target short link exists in the cache before the commodity address jumps to the target short link carrying the array abstract value, writing the corresponding relation between the commodity address and the target short link into a preset data table if the judgment result is negative, and changing the data state of the corresponding relation between the commodity address and the target short link stored in the cache into a permanent unexpired state.
For system or apparatus embodiments, since they are substantially similar to method embodiments, they are described in relative simplicity, and reference may be made to some descriptions of method embodiments for related points.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (3)

1. An order following method, characterized in that the order following method comprises:
after a user accesses a direct link of a target commodity, a commodity address of the target commodity is obtained from the direct link;
acquiring a target website domain name corresponding to the commodity address;
determining a target CPS rule corresponding to the target website domain name according to a preset corresponding relation between the website domain name and the CPS rule, wherein the target CPS rule comprises the following steps: CPS type and order following parameters;
generating a target short link based on the target CPS rule and the commodity address;
skipping to the target short link;
after generating the target short link, the method further comprises:
storing the corresponding relation between the commodity address and the target short link into a cache;
the storing the corresponding relation between the commodity address and the target short link into a cache comprises:
generating a link abstract value corresponding to the commodity address according to a preset first message abstract algorithm;
determining the link digest value as a Key value of the target short link;
storing the corresponding relation between the target short link and the link abstract Value into a cache according to a Key-Value mode;
before determining a target CPS rule corresponding to the target website domain name, the method further comprises:
judging whether the commodity address is stored in a cache; if yes, obtaining a target short link corresponding to the commodity address according to a corresponding relation between a pre-stored target short link and the link abstract value, and if not, determining a target CPS rule corresponding to the target website domain name according to a corresponding relation between a preset website domain name and the CPS rule;
the jumping to the target short link comprises:
acquiring pre-cached personalized information, wherein the personalized information is information which is stored in a cache when a user accesses a direct link of a target commodity, and comprises at least one or more of user information, user login equipment information, commodity preference information, information of a channel to which the commodity belongs, commodity category, published article ID and a shopping guide website domain name;
acquiring a documentary parameter carried in the target short link according to the CPS type;
generating a target information array by using multidimensional information formed by the order following parameters and the personalized information;
generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm;
skipping the commodity address to a target short link carrying the array abstract value;
after generating an array digest value corresponding to the array of target information, the method further comprises:
determining the array abstract value as a Key value of the target short link jump;
storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode;
the skipping of the commodity address to the target short link carrying the array abstract value comprises the following steps:
judging whether a Key value of the target short link jump exists in the cache;
if yes, directly jumping to the target short link;
and if not, obtaining the commodity address of the target commodity from the direct link.
2. The order following method as claimed in claim 1, wherein before jumping the merchandise address to the target short link carrying the array of abstract values, the method further comprises:
judging whether a Key value of the target short link exists in the cache;
and if not, writing the corresponding relation between the commodity address and the target short link into a preset data table, and changing the data state of the corresponding relation between the commodity address and the target short link stored in the cache into a permanent overdue state.
3. An order following device, characterized in that the order following device comprises:
the commodity address obtaining module is used for obtaining the commodity address of the target commodity from the direct link after the user accesses the direct link of the target commodity;
the domain name acquisition module is used for acquiring a target website domain name corresponding to the commodity address;
a rule determining module, configured to determine a target CPS rule corresponding to the target website domain name according to a correspondence between a preset website domain name and a CPS rule, where the target CPS rule includes: CPS type and order following parameters;
a short link generation module for generating a target short link based on the target CPS rule and the commodity address;
the short link skipping module is used for skipping to the target short link;
the order following device also comprises a cache module; the cache module is used for storing the corresponding relation between the commodity address and the target short link into a cache after the target short link is generated; wherein the storing the corresponding relationship between the commodity address and the target short link into a cache comprises: generating a link abstract value corresponding to the commodity address according to a preset first message abstract algorithm; determining the link digest value as a Key value of the target short link; storing the corresponding relation between the target short link and the link abstract Value into a cache according to a Key-Value mode;
the order following device also comprises a commodity address judging module; the commodity address judging module is used for judging whether the commodity address is stored in the cache before determining a target CPS rule corresponding to the target website domain name; if yes, triggering the short link acquisition module, and if not, triggering the rule determination module;
the short link acquisition module is used for acquiring a target short link corresponding to the commodity address according to a corresponding relation between a pre-stored target short link and the link abstract value; the rule determining module is used for determining a target CPS rule corresponding to the target website domain name according to the corresponding relation between the preset website domain name and the CPS rule;
the short link skip module is specifically configured to: acquiring personalized information cached in advance; acquiring a documentary parameter carried in the target short link according to the CPS type; generating a target information array by using multidimensional information formed by the order following parameters and the personalized information; generating an array abstract value corresponding to the target information array according to a preset second message abstract algorithm; determining the array abstract value as a Key value of the target short link jump; storing the corresponding relation between the Key Value of the target short link jump and the target short link into a cache according to a Key-Value mode; judging whether a Key value of the target short link jump exists in the cache; if yes, directly jumping to the target short link; if not, obtaining the commodity address of the target commodity from the direct link;
the personalized information is information stored in the cache when the user accesses a direct link of a target commodity, and can comprise at least one or more of user information, user login equipment information, commodity preference information, information of a channel to which the commodity belongs, commodity category, published article ID and a domain name of a shopping guide website.
CN201810021075.6A 2018-01-09 2018-01-09 Order following method and device Active CN108198035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810021075.6A CN108198035B (en) 2018-01-09 2018-01-09 Order following method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810021075.6A CN108198035B (en) 2018-01-09 2018-01-09 Order following method and device

Publications (2)

Publication Number Publication Date
CN108198035A CN108198035A (en) 2018-06-22
CN108198035B true CN108198035B (en) 2021-03-09

Family

ID=62588503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810021075.6A Active CN108198035B (en) 2018-01-09 2018-01-09 Order following method and device

Country Status (1)

Country Link
CN (1) CN108198035B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657167B (en) * 2018-11-29 2023-11-21 彩讯科技股份有限公司 Data acquisition method, device, server and storage medium
CN110827079B (en) * 2019-11-04 2021-05-25 京东数字科技控股有限公司 Order following processing method, device and storage medium
CN114358868B (en) * 2021-11-30 2023-09-22 杭州光云科技股份有限公司 Order sorting processing method, device, computer equipment and storage medium
CN116468510B (en) * 2023-03-07 2024-05-10 北京泰迪未来科技股份有限公司 E-commerce shopping guide realization method based on mobile device operating system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414375A (en) * 2008-12-15 2009-04-22 阿里巴巴集团控股有限公司 System and method for networking trading using intermediate platform
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN106327257A (en) * 2016-08-25 2017-01-11 上海斐讯数据通信技术有限公司 Electronic order management method and system
CN106339904A (en) * 2016-08-26 2017-01-18 乐山起惠信息科技有限公司 Cost Per Sale low-cost marketing promotion method based on electronic commerce
CN107464173A (en) * 2017-08-18 2017-12-12 广州爱美互动网络科技有限公司 A kind of commodity of naughty objective website select money method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142535A1 (en) * 2013-10-25 2015-05-21 Mark J. Payne Savings beacon and parts order processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414375A (en) * 2008-12-15 2009-04-22 阿里巴巴集团控股有限公司 System and method for networking trading using intermediate platform
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN106327257A (en) * 2016-08-25 2017-01-11 上海斐讯数据通信技术有限公司 Electronic order management method and system
CN106339904A (en) * 2016-08-26 2017-01-18 乐山起惠信息科技有限公司 Cost Per Sale low-cost marketing promotion method based on electronic commerce
CN107464173A (en) * 2017-08-18 2017-12-12 广州爱美互动网络科技有限公司 A kind of commodity of naughty objective website select money method and system

Also Published As

Publication number Publication date
CN108198035A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108198035B (en) Order following method and device
US9047614B2 (en) Adaptive gathering of structured and unstructured data system and method
CN106126630B (en) A kind of collection of business object, searching method and device
US20090024654A1 (en) Multi-value property storage and query support
WO2020088104A1 (en) Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition
CN111459985A (en) Identification information processing method and device
US10120849B2 (en) Document generation based on referral
CN106528578B (en) Information display method and device
US11238402B2 (en) Information operation
CN109684369B (en) Information updating method and device
CN104579909B (en) Method and equipment for classifying user information and acquiring user grouping information
US20180004724A1 (en) Providing action associated with event detected within communication
CN109688205A (en) The hold-up interception method and device of web page resources
US8799256B2 (en) Incorporated web page content
CN115033577A (en) Storage method, query method and device for equipment order data
RU2632149C2 (en) System, method and constant machine-readable medium for validation of web pages
CN114328632A (en) User data analysis method and device based on bitmap and computer equipment
CN107918617A (en) Data query method and apparatus
CN113761565A (en) Data desensitization method and apparatus
TW202333098A (en) System, method, and computer program for automatic coupon code fill in a mobile application
CN110929207B (en) Data processing method, device and computer readable storage medium
WO2016024271A1 (en) System and methods for lead generation
CN109933573B (en) Database service updating method, device and system
CN104408165B (en) Date storage method and device under high concurrent
CN117171185B (en) Logistics data changing method and related equipment based on industrial identification

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
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Liu Chao

Inventor after: Wang Xiping

Inventor after: Xiang Mingliang

Inventor after: Sui Guo Dong

Inventor after: Liu Feng

Inventor before: Wang Xiping

CB03 Change of inventor or designer information