A piece-rate method and device for sharing H5 page commercial links
By generating and decrypting the piece counting information of the target H5 page business sharing link, the problem of low piece counting accuracy and high business invasiveness in the prior art is solved, and accurate ordering and better sharing effects of the H5 page business link are achieved.
Patent Information
- Application Number
- CN202210887280.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2042-07-26
AI Technical Summary
The existing sharing piecework method has low accuracy in piecework and is prone to cause more piecework. Each sharing page needs to be modified and has a lot of repetitive work; or it is more invasive to the business and has a large amount of transformation workload, and it is necessary to add a set of interfaces with piecework logic.
By obtaining the target page URL information corresponding to the target piece count information and the target H5 page business link to be shared, a target H5 page business sharing link and its corresponding target sharing QR code are generated, and the encrypted piece count information is decrypted on the target piece count logic processing page, and saved to the user session and distributed cache. Therefore, when the order is completed on the actual business transaction page, the order information is saved and the piece count information is transferred to the order database.
Accurate ordering and piece counting of business links on the target H5 page has been achieved, which has enhanced the enthusiasm and initiative of the sharers, achieved better sharing effects, and avoided the problems of inaccurate piece counting and business invasiveness in the existing technology.
Smart Images

Figure CN115187309B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer Internet e-commerce, and in particular to a piece-rate method and device for sharing H5 page commercial links. Background Art
[0002] At present, when some e-commerce platforms or online store platforms in the industry are doing some marketing activities or promotion activities, in order to achieve better marketing effects, they often use private domain traffic operation methods to share activity or product links to traffic entrances such as WeChat, Moments and QQ groups to achieve the effect of traffic fission. In order to improve the enthusiasm and initiative of sharers, e-commerce platforms or online store platforms often use the method of sharing piece-rate payment. The industry implements the sharing piece-rate method in two ways: first, using COOKIE (letting the website server store a small amount of data on the client's hard disk or memory) to save piece-rate information, that is, splicing the piece-rate information after the URL (Uniform Resource Locators) address of the activity page or product page, and writing the piece-rate information into the browser COOKIE when the user opens the URL. When the user places an order, the piece-rate information in the COOKIE is taken out and saved to the database; the second is to use the interface to transmit the piece-rate information, that is, splicing the piece-rate information after the URL address of the activity page or product page, and passing the piece-rate information to the order interface as an input parameter when the user places an order to complete the storage of the piece-rate information. However, there are some problems in the above-mentioned methods of implementing piecework sharing. For example, the COOKIE method of saving piecework information is less invasive to the business and is simple to implement, but the piecework accuracy is not high, which easily leads to multiple piecework. At the same time, each sharing page needs to be modified, which involves a lot of repetitive work. The interface method of transmitting piecework information is more invasive to the business, and the modification workload is large, and a set of interfaces with piecework logic needs to be added. Summary of the invention
[0003] Based on this, it is necessary to propose a piece-rate method and device for sharing H5 page commercial links to address the above problems, so as to solve the following problems in the prior art: the existing methods of saving piece-rate information either have low piece-rate accuracy and easily cause multiple piece-rates, and each shared page needs to be modified and requires a lot of repetitive work, or they are highly invasive to the business and require a large workload for modification, and require the addition of a set of interfaces with piece-rate logic.
[0004] The first technical solution of the embodiment of the present invention is:
[0005] A piece-rate method for sharing an H5 page commercial link, comprising: obtaining target piece-rate information and target page URL information corresponding to a target H5 page commercial link to be shared, wherein the target piece-rate information includes target sharing user personal information corresponding to a target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; generating a target H5 page commercial sharing link and a corresponding target sharing QR code according to the target piece-rate information, the target page URL information and a target piece-rate logic processing page, wherein the target piece-rate logic processing page is a unified piece-rate logic processing page; and determining whether a target customer has opened the target H5 page commercial sharing link by means of a browser or by scanning the target sharing QR code. Conduct transaction activities; if so, enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information, save the decrypted target piece-rate information and the target page URL information to the target user session, and save all the information corresponding to the target user session to the target distributed cache; jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; if so, save the target order information corresponding to the target customer, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0006] The second technical solution of the embodiment of the present invention is:
[0007] A piece-rate device for sharing H5 page commercial links, comprising: a sharing information acquisition module, used to acquire target piece-rate information and target page URL information corresponding to a target H5 page commercial link to be shared, wherein the target piece-rate information includes target sharing user personal information corresponding to a target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; a sharing link generation module, used to generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piece-rate information, the target page URL information and a target piece-rate logic processing page, wherein the target piece-rate logic processing page is a unified piece-rate logic processing page; a transaction activity judgment module, used to judge whether a target customer opens the target H5 page commercial sharing link to conduct a transaction activity through a browser or by scanning the target sharing QR code; a piece-rate information decryption module, used to judge whether a target customer opens the target H5 page commercial sharing link to conduct a transaction activity through a browser or by scanning the target sharing QR code; When the target H5 page business sharing link is opened by sharing the QR code to conduct a transaction, the target piece-rate logic processing page is entered to decrypt the target encrypted piece-rate information, and the decrypted target piece-rate information and the target page URL information are saved in the target user session, and all the information corresponding to the target user session is saved in the target distributed cache; an order transaction judgment module is used to jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and judge whether the target customer has completed the order on the target actual business transaction page; a piece-rate information saving module is used to save the target order information corresponding to the target customer when the target customer completes the order on the target actual business transaction page, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0008] The third technical solution of the embodiment of the present invention is:
[0009] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0010] Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction; if so, Enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information, save the decrypted target piece-rate information and the target page URL information to the target user session, and save all information corresponding to the target user session to the target distributed cache; jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; if so, save the target order information corresponding to the target customer, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0011] The fourth technical solution of the embodiment of the present invention is:
[0012] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps:
[0013] Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction; if so, Enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information, save the decrypted target piece-rate information and the target page URL information to the target user session, and save all information corresponding to the target user session to the target distributed cache; jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; if so, save the target order information corresponding to the target customer, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0014] The embodiments of the present invention have the following beneficial effects:
[0015] The present invention first obtains the target piecework information and the target page URL information corresponding to the target H5 page business link to be shared, and generates the target H5 page business sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, and then determines whether there is a target customer opening the target H5 page business sharing link through a browser or scanning the target sharing QR code to conduct a transaction. If so, enter the target piecework logic processing page to decrypt the target encrypted piecework information, save the decrypted target piecework information and target page URL information to the target user session, and save all the information corresponding to the target user session to the target user session. The information is saved in the target distributed cache, and then the target piece-counting logic processing page is jumped to the target actual business transaction page corresponding to the target H5 page business link, and it is determined whether the target customer has completed the order on the target actual business transaction page. If so, the target order information corresponding to the target customer is saved, and the target piece-counting information and the target page URL information saved in the target distributed cache are transferred to the target order database, which solves the following problems of the prior art: the existing method of saving piece-counting information is either the piece-counting accuracy is not high and it is easy to cause multiple piece-counting, and each sharing page needs to be transformed and repeated work is more, or it is highly invasive to the business and the transformation workload is large, and a set of interfaces with piece-counting logic need to be added. In short, the present invention can accurately place orders for the target H5 page business link, which can greatly improve the enthusiasm and initiative of the sharer and achieve a better sharing effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] in:
[0018] Figure 1 It is an implementation flow chart of a piece-rate method for sharing H5 page commercial links in an embodiment;
[0019] Figure 2 A framework diagram of an implementation method of a piece-counting device for sharing H5 page commercial links in an embodiment;
[0020] Figure 3 It is a structural block diagram of an implementation scheme of a computer device in one embodiment. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] See also Figure 1 , combined with Figure 1 It can be seen that a piece-rate method for sharing H5 page commercial links in an embodiment of the present invention includes the following steps:
[0023] Step S101: Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target product and activity information corresponding to the target H5 page commercial link to be shared.
[0024] Among them, the information corresponding to the commercial link of the target H5 page, in a broad sense, includes product advertising information and activity link information. Product advertising information includes product information and store information, etc. Activity link information includes information about activities such as training courses, lectures and book clubs. The target sharing user's personal information includes the target sharing user's corresponding identity information, personal contact information and transfer account information, etc.
[0025] Step S102: Generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page.
[0026] Among them, the target H5 page business sharing link integrates the target piecework information and the target page URL information. Customers can open the target H5 page business sharing link by scanning the target sharing QR code and enter the actual business transaction page corresponding to the target H5 page business link.
[0027] Step S103: Determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction.
[0028] Among them, when a target customer opens the target H5 page business sharing link through a browser or by scanning the target sharing QR code, the target H5 page business sharing link will jump to the actual business transaction page.
[0029] Step S104: If a target customer opens the target H5 page commercial sharing link through a browser or by scanning the target sharing QR code to conduct a transaction, the target piecework logic processing page is entered to decrypt the target encrypted piecework information, and the decrypted target piecework information and the target page URL information are saved in the target user session, and all information corresponding to the target user session is saved in the target distributed cache.
[0030] Among them, a user session refers to the process of communication between a terminal user and an interactive system. All information corresponding to the target user session is only temporarily stored in the target distributed cache. If the target customer completes the order operation later, all information corresponding to the target user session will be moved from the target distributed cache to the designated database.
[0031] Step S105: Jump from the target piecework logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page.
[0032] Among them, only after the target piecework logic processing page is jumped to the target actual business transaction page corresponding to the target H5 page business link, the target customer can conduct transactions on the target actual business transaction page, and the piecework operation will not be performed until the target customer completes the order operation.
[0033] Step S106: If the target customer completes the order on the target actual business transaction page, the target order information corresponding to the target customer is saved, and the target piecework information and the target page URL information saved in the target distributed cache are transferred to the target order database.
[0034] Among them, the target piecework information and the target page URL information stored in the target distributed cache are transferred to the target order database. On the one hand, the target piecework information and the target page URL information in the target distributed cache are cleared to prevent occupying the storage space of the target distributed cache; on the other hand, the target piecework information and the target page URL information are transferred to the target order database, which can record the sharing performance of the target sharing user.
[0035] In this embodiment, optionally, the determining whether the target customer has completed placing an order on the target actual commercial transaction page may then include:
[0036] If the target customer does not complete the order on the target actual commercial transaction page, the target piecework information and the target page URL information stored in the target distributed cache are cleared after the target customer finishes accessing the target actual commercial transaction page.
[0037] Among them, if the target customer does not complete the order on the target actual business transaction page, the target piecework information and the target page URL information in the target distributed cache cannot be moved to the target order database. At this time, the target sharing user has not succeeded in piecework.
[0038] In this embodiment, optionally, a target H5 page commercial sharing link and its corresponding target sharing QR code are generated according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page, including:
[0039] First, according to a preset encryption rule, the target piece-counting information and the target page URL information are encrypted to obtain target encrypted piece-counting information.
[0040] Second, the target encrypted piecework information is spliced to the target piecework logic processing page, the target H5 page commercial sharing link is generated, and the corresponding target sharing QR code is generated according to the target H5 page commercial sharing link.
[0041] In this embodiment, optionally, the target piece-rate information and the target page URL information are encrypted according to a preset encryption rule to obtain the target encrypted piece-rate information, including:
[0042] According to a preset target encrypted string format, the target piece-counting information and the target page URL information are encrypted by symmetric encryption or asymmetric encryption to obtain target encrypted piece-counting information, wherein the string corresponding to the target encrypted string format includes the target piece-counting information, the target page URL information and the target product and activity information.
[0043] Wherein, in this step, optionally, the target encrypted string format is: piecework information+product or activity information+actual URL address.
[0044] In this embodiment, optionally, the step of entering the target piece-rate logic processing page to decrypt the target encrypted piece-rate information includes:
[0045] Enter the target piecework logic processing page, and decrypt the target encrypted string format according to the preset encryption rule to obtain the target piecework information and the target page URL information.
[0046] In this embodiment, optionally, the target piecework information and the target page URL information corresponding to the target H5 page commercial link to be shared are obtained, and the target piecework information includes the target sharing user personal information corresponding to the target sharing user and the target product and activity information corresponding to the target H5 page commercial link to be shared, which previously includes:
[0047] First, determine whether the target sharing button corresponding to the target H5 page commercial link to be shared is triggered.
[0048] Second, if the target sharing button corresponding to the target H5 page commercial link to be shared is triggered (such as the target sharing button is clicked), the target sharing user personal information entered by the target sharing user in the target area is obtained, and the corresponding target product and activity information is obtained according to the target H5 page commercial link to be shared, wherein the target area is the user transaction window of the H5 page corresponding to the target H5 page commercial link to be shared.
[0049] In this embodiment, optionally, the target order information corresponding to the target customer is saved, and the target piecework information and the target page URL information saved in the target distributed cache are transferred to the target order database, and then includes:
[0050] The target order information corresponding to the target customer is sent to the address corresponding to the target sharing user, and the target sharing user is notified to keep a performance record. This step is to allow the target sharing user to know his or her sharing performance in time and improve sharing enthusiasm and initiative.
[0051] See also Figure 2 , combined with Figure 2 It can be obtained that a piece-counting device 100 for sharing H5 page commercial links according to an embodiment of the present invention includes:
[0052] The sharing information acquisition module 10 is used to obtain the target piecework information and the target page URL information corresponding to the target H5 page commercial link to be shared. The target piecework information includes the target sharing user personal information corresponding to the target sharing user and the target product and activity information corresponding to the target H5 page commercial link to be shared.
[0053] The sharing link generation module 20 is used to generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page.
[0054] The transaction activity determination module 30 is used to determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction.
[0055] The piece-rate information decryption module 40 is used to enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information when a target customer opens the target H5 page commercial sharing link through a browser or by scanning the target sharing QR code to conduct a transaction. The decrypted target piece-rate information and the target page URL information are saved in the target user session, and all information corresponding to the target user session is saved in the target distributed cache.
[0056] The order transaction judgment module 50 is used to jump from the target piecework logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and judge whether the target customer completes the order on the target actual business transaction page.
[0057] The piecework information saving module 60 is used to save the target order information corresponding to the target customer when the target customer completes the order on the target actual business transaction page, and transfer the target piecework information and the target page URL information saved in the target distributed cache to the target order database.
[0058] Figure 3 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 3 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement the piece-rate method for sharing H5 page commercial links. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may implement the piece-rate method for sharing H5 page commercial links. Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0059] In another embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
[0060] Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction; if so, Enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information, save the decrypted target piece-rate information and the target page URL information to the target user session, and save all information corresponding to the target user session to the target distributed cache; jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; if so, save the target order information corresponding to the target customer, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0061] In another embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the processor performs the following steps:
[0062] Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target commodity and activity information corresponding to the target H5 page commercial link to be shared; generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; determine whether there is a target customer who opens the target H5 page commercial sharing link through a browser or scans the target sharing QR code to conduct a transaction; if so, Enter the target piece-rate logic processing page to decrypt the target encrypted piece-rate information, save the decrypted target piece-rate information and the target page URL information to the target user session, and save all information corresponding to the target user session to the target distributed cache; jump from the target piece-rate logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; if so, save the target order information corresponding to the target customer, and transfer the target piece-rate information and the target page URL information saved in the target distributed cache to the target order database.
[0063] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0064] The embodiment of the present invention first obtains the target piecework information and the target page URL information corresponding to the target H5 page business link to be shared, and generates the target H5 page business sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, and then determines whether there is a target customer opening the target H5 page business sharing link through a browser or scanning the target sharing QR code to conduct a transaction. If so, enter the target piecework logic processing page to decrypt the target encrypted piecework information, save the decrypted target piecework information and target page URL information to the target user session, and save all the corresponding target user sessions to the target user session. The information is saved in the target distributed cache, and then the target piece-counting logic processing page is jumped to the target actual business transaction page corresponding to the target H5 page business link, and it is determined whether the target customer has completed the order on the target actual business transaction page. If so, the target order information corresponding to the target customer is saved, and the target piece-counting information and the target page URL information saved in the target distributed cache are transferred to the target order database, which solves the following problems of the prior art: the existing method of saving piece-counting information is either not accurate in piece-counting and easily causes multiple piece-counting, and each sharing page needs to be reworked, or it is highly invasive to the business and requires a large workload, and it is necessary to add a set of interfaces with piece-counting logic. In short, the present invention can accurately place orders for the target H5 page business link, which can greatly improve the enthusiasm and initiative of the sharer and achieve a better sharing effect.
[0065] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0066] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A piece-rate method for sharing H5 page commercial links, characterized in that: include: Obtain target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target product and activity information corresponding to the target H5 page commercial link to be shared; Generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; Determine whether there is a target customer opening the target H5 page commercial sharing link to conduct a transaction through a browser or by scanning the target sharing QR code; If yes, then enter the target piecework logic processing page to decrypt the target encrypted piecework information, save the decrypted target piecework information and the target page URL information to the target user session, and save all the information corresponding to the target user session to the target distributed cache; Jump from the target piecework logic processing page to the target actual business transaction page corresponding to the target H5 page business link, and determine whether the target customer has completed the order on the target actual business transaction page; If yes, then save the target order information corresponding to the target customer, and transfer the target piecework information and the target page URL information saved in the target distributed cache to the target order database; Wherein, the target H5 page commercial sharing link and its corresponding target sharing QR code are generated according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page, including: According to a preset encryption rule, the target piece-counting information and the target page URL information are encrypted to obtain the target encrypted piece-counting information; Splice the target encrypted piecework information to the target piecework logic processing page, generate the target H5 page commercial sharing link, and generate the corresponding target sharing QR code according to the target H5 page commercial sharing link; The step of encrypting the target piecework information and the target page URL information according to a preset encryption rule to obtain the target encrypted piecework information includes: According to a preset target encrypted string format, the target piece-counting information and the target page URL information are encrypted by symmetric encryption or asymmetric encryption to obtain target encrypted piece-counting information, wherein the string corresponding to the target encrypted string format includes the target piece-counting information, the target page URL information and the target product and activity information.
2. The piece-rate method for sharing H5 page commercial links according to claim 1, characterized in that: The step of determining whether the target customer has completed placing an order on the target actual commercial transaction page includes: If the target customer does not complete the order on the target actual commercial transaction page, the target piecework information and the target page URL information stored in the target distributed cache are cleared after the target customer finishes accessing the target actual commercial transaction page.
3. The piece-rate method for sharing H5 page commercial links according to claim 1, characterized in that: The step of entering the target piecework logic processing page to decrypt the target encrypted piecework information includes: Enter the target piecework logic processing page, and decrypt the target encrypted string format according to the preset encryption rule to obtain the target piecework information and the target page URL information.
4. The piece-rate method for sharing H5 page commercial links according to claim 1, characterized in that: The target piecework information and the target page URL information corresponding to the target H5 page commercial link to be shared are obtained, wherein the target piecework information includes the target sharing user personal information corresponding to the target sharing user and the target product and activity information corresponding to the target H5 page commercial link to be shared, and the previous includes: Determine whether the target sharing button corresponding to the target H5 page commercial link to be shared is triggered; If so, obtain the target sharing user personal information entered by the target sharing user in the target area, and obtain the corresponding target product and activity information based on the target H5 page commercial link to be shared, where the target area is the user transaction window of the H5 page corresponding to the target H5 page commercial link to be shared.
5. The piece-rate method for sharing H5 page commercial links according to claim 1, characterized in that: The target order information corresponding to the target customer is saved, and the target piecework information and the target page URL information saved in the target distributed cache are transferred to the target order database, and then include: The target order information corresponding to the target customer is sent to the address corresponding to the target sharing user, and the target sharing user is notified to make a performance record.
6. A piece-rate device for sharing H5 page commercial links, characterized in that: include: A sharing information acquisition module is used to acquire target piecework information and target page URL information corresponding to the target H5 page commercial link to be shared, wherein the target piecework information includes target sharing user personal information corresponding to the target sharing user and target product and activity information corresponding to the target H5 page commercial link to be shared; A sharing link generation module, used to generate a target H5 page commercial sharing link and its corresponding target sharing QR code according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page; A transaction activity judgment module is used to judge whether a target customer has opened the target H5 page commercial sharing link to conduct a transaction through a browser or by scanning the target sharing QR code; The piecework information decryption module is used to enter the target piecework logic processing page to decrypt the target encrypted piecework information when a target customer opens the target H5 page commercial sharing link through a browser or by scanning the target sharing QR code to conduct a transaction, save the decrypted target piecework information and the target page URL information to the target user session, and save all the information corresponding to the target user session to the target distributed cache; An order transaction judgment module is used to jump from the target piecework logic processing page to the target actual commercial transaction page corresponding to the target H5 page commercial link, and judge whether the target customer has completed the order on the target actual commercial transaction page; A piecework information saving module is used to save the target order information corresponding to the target customer when the target customer completes the order on the target actual commercial transaction page, and transfer the target piecework information and the target page URL information saved in the target distributed cache to the target order database; Wherein, the target H5 page commercial sharing link and its corresponding target sharing QR code are generated according to the target piecework information, the target page URL information and the target piecework logic processing page, wherein the target piecework logic processing page is a unified piecework logic processing page, including: According to a preset encryption rule, the target piece-counting information and the target page URL information are encrypted to obtain the target encrypted piece-counting information; Splice the target encrypted piecework information to the target piecework logic processing page, generate the target H5 page commercial sharing link, and generate the corresponding target sharing QR code according to the target H5 page commercial sharing link; The step of encrypting the target piecework information and the target page URL information according to a preset encryption rule to obtain the target encrypted piecework information includes: According to a preset target encrypted string format, the target piece-counting information and the target page URL information are encrypted by symmetric encryption or asymmetric encryption to obtain target encrypted piece-counting information, wherein the string corresponding to the target encrypted string format includes the target piece-counting information, the target page URL information and the target product and activity information.
7. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the piece-rate method for sharing H5 page commercial links as described in any one of claims 1 to 5.
8. A computer device, characterized in that: It includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the piece-rate method for sharing H5 page commercial links as described in any one of claims 1 to 5.
Citation Information
Patent Citations
New retail shopping distribution method and system, computer device and storage medium
CN109767241A
Commodity information processing method and device and electronic equipment
CN114596131A