Method and device for issuing cost reduction money based on third-party platform
By creating target public modules in third-party platforms and connecting with merchants offline, the problem of merchants being unable to distribute instant reduction funds to third-party platform consumers without modifying the background code is solved, and the wide distribution and efficient distribution of instant reduction funds are achieved.
Patent Information
- Application Number
- CN202411534268.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-10-30
AI Technical Summary
In the prior art, due to the docking problems between the financial system and the third-party platform, merchants cannot issue instant reduction funds to the consumer accounts of the third-party platform without modifying the background code, which limits the scope of issuance of instant reduction funds.
By creating a target public module in a third-party platform, merchants and target entities conduct offline instant fund reduction docking, and complete financial function registration on the third-party platform, the target public module serves as a bridge between the financial system and the third-party platform, monitors the instant fund reduction collection operation in the merchant public module, obtains merchant and consumer logos, and distributes instant fund reduction based on these logos.
It has achieved the expansion of the issuance of instant reduction funds without modifying the backend code of the financial system and third-party platform, and improved the issuance efficiency and security of instant reduction funds.
Smart Images

Figure CN119648286A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and readable storage medium for issuing instant discounts based on a third-party platform. Background Art
[0002] As computer technology continues to penetrate into daily life, daily consumption has gradually shifted from offline to online. In order to further promote online consumption, merchants will issue instant discounts to consumers.
[0003] At present, merchants issue instant discounts to consumers mainly through third-party platforms. Specifically, merchants set up their own official account (or mini program) on the third-party platform and publish a notice about receiving the instant discount on the official account. Consumers log in to the third-party platform, enter the official account, see the notice about receiving the instant discount, and if they want to receive the instant discount, they will follow the notice to perform the corresponding operation. After the consumer completes the operation, the merchant will issue the instant discount to the consumer's account on the third-party platform.
[0004] However, if merchants want to issue instant discounts to consumers' accounts on third-party platforms, they need to connect the merchant's own financial system with the third-party platform in advance. In this way, the instant discount can be issued from the merchant's financial system to the consumer account on the third-party platform. In the connection between the merchant's financial system and the third-party platform, the merchant's financial system or the third-party platform needs to make adaptive adjustments based on the other party's background code. However, for some large merchants and third-party platforms, due to business requirements, security protection and other principles, no changes are allowed to their background codes. This has resulted in some merchants being unable to issue instant discounts to consumer accounts on third-party platforms, narrowing the scope of the issuance of instant discounts. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, device, electronic device and readable storage medium for issuing instant discounts based on a third-party platform to expand the scope of issuance of instant discounts.
[0006] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0007] The first aspect of the present application provides a method for issuing instant discounts based on a third-party platform. The method is applied to a target public module. The target public module is created by a target subject in the third-party platform. The third-party platform also includes a merchant public module created by a merchant. The merchant and the target subject pre-connect with the instant discount offline. The target subject completes financial function registration on the third-party platform in advance. The method includes: monitoring an instant discount collection operation triggered in the merchant public module, obtaining a merchant identifier of the merchant public module, and obtaining a consumer identifier of a consumer in the third-party platform who triggered the instant discount collection operation in the merchant public module; determining the target instant discount to be issued according to the merchant identifier; and issuing the target instant discount to the consumer's account in the third-party platform according to the consumer identifier.
[0008] Compared with the prior art, the method for issuing instant discounts based on a third-party platform provided in the first aspect of this application is to create a target public module in the third-party platform by the target subject, connect the target subject with the merchant for offline instant discounts, and register the target subject for online financial functions on the third-party platform, so that the target public module serves as a bridge between the merchant's financial system and the third-party platform for issuing instant discounts. Without making any changes to the backend code in the merchant's financial system and the third-party platform, the target public module determines the merchant ID and the consumer ID by monitoring the merchant's public module, determines the target instant discount based on the merchant ID, and issues the target instant discount on the third-party platform based on the consumer ID, thereby realizing the issuance of instant discounts by the merchant's public module on the third-party platform and expanding the scope of issuance of instant discounts.
[0009] In some changed implementation modes of the first aspect of the present application, a target instant discount is issued to a consumer's account on a third-party platform based on a consumer identifier, including: creating a user identifier different from the consumer identifier based on the consumer identifier, and establishing a correspondence between the user identifier and the consumer identifier, wherein, in the merchant's public module, different consumers who trigger an instant discount claim operation have different user identifiers; sending the created user identifier to the merchant's public module; receiving an instant discount issuance instruction sent by the merchant's public module, the instant discount issuance instruction including the user identifier; determining a target consumer identifier from the correspondence based on the user identifier in the instant discount issuance instruction; and issuing the target instant discount to a corresponding consumer account on the third-party platform based on the target consumer identifier.
[0010] First, the user ID is sent to the merchant's public module. After the merchant's public module confirms that the instant discount can be issued, the instant discount is issued to the consumer corresponding to the user ID, so as to avoid the instant discount being issued before the consumer completes the instant discount claiming operation, thus realizing the accurate issuance of the instant discount. In addition, the user ID is generated based on the consumer ID, and the instant discount issuance interaction is carried out between the merchant's public module and the target public module through the user ID. On the one hand, it can avoid the leakage of consumer information and ensure the information security of consumers. On the other hand, it is conducive to the unified management of consumers by the target public module.
[0011] In some changed implementation modes of the first aspect of the present application, after creating a user identifier different from the consumer identifier, the method further includes: generating a cache data identifier based on the created user identifier, the cache data identifier being used to control the created user identifier to become invalid after the cache period; storing the generated cache data identifier in a corresponding position of the created user identifier in the corresponding relationship; before determining the target consumer identifier from the corresponding relationship, the method further includes: in the corresponding relationship, judging whether the created user identifier is invalid according to the cache data identifier corresponding to the created user identifier; if so, reacquiring the consumer identifier to regenerate the cache data identifier so that the consumer can perform the instant discount claiming operation within the cache period; if not, executing the step of determining the target consumer identifier from the corresponding relationship.
[0012] Since the instant discount money collection process will take a long time if malicious operations are performed, the cached data identifier sets a time limit for the user ID, allowing consumers to complete the instant discount money collection in a shorter time, improving the security of the instant discount money distribution. In addition, the cached data identifier is independent of the user ID, which is easy to manage and can also improve the convenience of the instant discount money distribution time limit management.
[0013] In some changed implementation modes of the first aspect of the present application, after storing the generated cache data identifier in the corresponding position of the user identifier created in the corresponding relationship, the method also includes: after the cache period has passed, deleting the cache data identifier generated in the corresponding relationship; judging whether the created user identifier is invalid based on the cache data identifier corresponding to the created user identifier, including: judging whether the cache data identifier corresponding to the created user identifier exists in the corresponding relationship; if so, determining that the created user identifier is not invalid; if not, determining that the created user identifier is invalid.
[0014] By checking the existence or non-existence of the cached data identifier and identifying whether the user identifier is invalid, the user identifier and the consumer identifier can always exist in the corresponding relationship, avoiding deletion of the user identifier and the consumer identifier when they are invalid and adding them again after re-registration, thereby improving the efficiency of adding the user identifier and the consumer identifier in the corresponding relationship when they become effective again, thereby improving the overall efficiency of issuing instant discounts.
[0015] In some changed implementation modes of the first aspect of the present application, before sending the created user identifier to the merchant public module, the method also includes: obtaining the page address when the instant discount collection operation is triggered in the merchant public module; sending the created user identifier to the merchant public module, including: encrypting the created user identifier using a preset encryption algorithm; inserting the encrypted user identifier into a preset position in the page address, wherein the page address after inserting the identifier at the preset position can return to the original page; sending the page address with the encrypted user identifier inserted at the preset position to the merchant public module, so that the merchant public module jumps to the page address.
[0016] By transmitting the user ID through the page address, the original page of the merchant public module is loaded and the user ID is transmitted at the same time, which improves the transmission efficiency of the user ID. In addition, when transmitting the user ID, the user ID is encrypted, which can also improve the security of consumer information.
[0017] In some changed implementation modes of the first aspect of the present application, the created user identifier is encrypted using a preset encryption algorithm, including: splitting the created user identifier into multiple groups of identifiers; encrypting each group of identifiers using a different encryption algorithm to obtain multiple groups of encrypted identifiers; inserting the encrypted user identifier into a preset position in the page address, including: inserting each group of encrypted identifiers into a different preset position in the page address.
[0018] In the process of encrypting the user ID, the user ID is first split, then encrypted separately using different encryption algorithms, and finally placed in different locations in the page address. The user ID is protected from both encryption and storage, which increases the difficulty of cracking the user ID and further improves the security of consumer information.
[0019] In some changed implementation modes of the first aspect of the present application, after the target instant discount is issued to the consumer's account in the third-party platform, the method also includes: obtaining the consumer's registration information in the merchant's public module and / or the registration information in the target public module; generating a user portrait based on the obtained registration information; calculating the purchase features of the user portrait through big data; and pushing shopping links or related articles corresponding to the purchase features to the consumer so that the consumer can obtain the target instant discount to increase the utilization rate of the instant discount.
[0020] After the instant discount is issued, the consumer’s registration information is used to obtain the consumer’s portrait, and then the consumer’s purchasing characteristics, so that relevant shopping links or articles can be recommended to the consumer, which can encourage the consumer to use the instant discount and thus increase the utilization rate of the instant discount.
[0021] The second aspect of the present application provides an instant discount payment device based on a third-party platform, the device includes a target public module, the target public module is created by a target subject in the third-party platform, the third-party platform also includes a merchant public module created by a merchant, the merchant and the target subject pre-connect offline for instant discount payments, and the target subject pre-registers for financial functions on the third-party platform, the device includes: an acquisition module, used to monitor the instant discount payment operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount payment operation in the merchant public module in the third-party platform; a determination module, used to determine the target instant discount to be paid out according to the merchant ID; and a payment module, used to pay out the target instant discount to the consumer's account in the third-party platform according to the consumer ID.
[0022] The third aspect of the present application provides an electronic device, which includes: a processor, a memory, and a bus; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the method in the first aspect.
[0023] A fourth aspect of the present application provides a computer-readable storage medium, which includes: a stored program; wherein, when the program is running, the device where the storage medium is located is controlled to execute the method in the first aspect.
[0024] The instant discount payment device based on a third-party platform provided in the second aspect of this application, the electronic device provided in the third aspect, and the computer-readable storage medium provided in the fourth aspect have the same or similar beneficial effects as the instant discount payment method based on a third-party platform provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0026] Figure 1 This is an example of an application scenario of the instant discount payment method based on a third-party platform in the embodiment of the present application. Figure 1 ;
[0027] Figure 2 The process diagram of the instant discount payment method based on the third-party platform in the embodiment of this application is as follows Figure 1 ;
[0028] Figure 3 This is a schematic diagram of information interaction within a third-party platform when issuing instant discounts in an embodiment of the present application;
[0029] Figure 4 The process diagram of the instant discount payment method based on the third-party platform in the embodiment of this application is as follows Figure 2 ;
[0030] Figure 5 The structure of the instant discount payment device based on the third-party platform in the embodiment of the present application is shown in FIG. Figure 1 ;
[0031] Figure 6 The structure of the instant discount payment device based on the third-party platform in the embodiment of the present application is shown in FIG. Figure 2 ;
[0032] Figure 7 Schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0034] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0035] At present, for the merchant financial systems and third-party platforms whose backend codes cannot be adjusted, even if the merchant has registered a public account in the third-party platform and issued a notice to issue instant discounts, because its financial system is incompatible with the third-party platform, the merchant’s financial system is unable to issue instant discounts to users on the third-party platform, thus narrowing the scope of issuance of instant discounts.
[0036] In view of this, the embodiment of the present application provides a method, device, electronic device and readable storage medium for issuing instant discounts based on a third-party platform, and adds a communication bridge between the merchant's financial system and the third-party platform, that is, a target public module created by the target subject in the third-party platform. The merchant connects with the target subject offline and grants the target subject the authority to issue instant discounts. The target subject here also enables the target public module to issue instant discounts by applying to the third-party platform. In this way, the background code of the merchant's financial system does not need to be adjusted, and only the target subject is granted the authority to issue instant discounts. The target subject can monitor the merchant's public module through the target public module, and then obtain the merchant's identification and the consumer's identification, determine the target instant discount through the merchant's identification, and then issue the target instant discount to the corresponding consumer's account in the third-party platform according to the consumer's identification, so that neither the merchant nor the third-party platform needs to adjust the background code, and only needs to use the intermediate bridge, that is, the target public module with the authority to issue instant discounts, to issue instant discounts in the third-party platform, expanding the scope of issuance of instant discounts.
[0037] First, the application scenario of the instant discount payment method based on a third-party platform provided in the embodiment of the present application is described.
[0038] Figure 1 This is an example of an application scenario of the instant discount payment method based on a third-party platform in the embodiment of the present application. Figure 1 , see Figure 1 As shown, the scenario may include: a merchant 11, a third-party platform 12, a target entity 13 and a consumer 14.
[0039] The merchant 11 creates a merchant public module 121 in the third-party platform 12 for notifying various messages and implementing various functions.
[0040] The target subject 13 creates a target public module 122 in the third-party platform 12 to implement the specific distribution of the instant discount for the merchant 11 .
[0041] When the merchant 11 needs to issue instant discounts to consumers 14 on the third-party platform 12, the merchant 11 will connect with the target entity 13, inform the target entity 13 that it needs to issue instant discounts, as well as the specific details of the issuance (e.g., issuance time, issuance amount, etc.). In addition, the merchant 11 will also publish a notice of issuing instant discounts in the merchant public module 121.
[0042] The consumer 14 in the third-party platform 12 will browse in various public modules provided by the third-party platform 12. When the consumer 14 sees the notice of the instant discount issued by the merchant public module 121 and wants to receive the instant discount, the consumer 14 will operate according to the content in the notice.
[0043] At this time, the merchant public module 121 will send the merchant 11 ID and the consumer 14 ID to the target public module 122. The target public module 122 can determine the specific instant discount that needs to be issued based on the merchant 11 ID, and then issue the instant discount to the consumer 14's account in the third-party platform 12 based on the consumer 14 ID. In this way, the merchant 11 can issue the instant discount to the consumer 14 in the third-party platform 12 without modifying the merchant 11 financial system and the backend code of the third-party platform 12.
[0044] In actual applications, the merchant 11 may be any one or more entities whose financial system codes cannot be modified, such as various banks, etc. It may also be any one or more entities that do not have the authority to issue instant discounts on the third-party platform 12, such as entities that have not applied for instant discount issuance related businesses on the third-party platform 12, entities that have no other businesses on the third-party platform 12 except for this instant discount issuance, etc.
[0045] The target subject 13 is the subject that has the authority to issue instant discounts on the third-party platform 12, for example, the applicant of this application.
[0046] Whether it is a merchant public module created by the merchant 11 in the third-party platform 12, or a target public module 122 created by the target subject 13 in the third-party platform 12, as a public module in the third-party platform 12, both can publish messages or realize functions. For example, a public module can be a public account, a mini program, etc. As for the third-party platform 12, it is any platform that can provide a public account and a mini program.
[0047] Next, the method for issuing instant discounts based on a third-party platform provided in an embodiment of the present application is described in detail.
[0048] Figure 2 The process diagram of the instant discount payment method based on the third-party platform in the embodiment of this application is as follows Figure 1 , see Figure 2 As shown, the method may include:
[0049] S21: Monitor the instant discount claiming operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount claiming operation in the merchant public module in the third-party platform.
[0050] When consumers see the instant discount payment notice issued by the merchant's public module, they will collect the instant discount according to the content of the notice. During this process, the target public module will continuously monitor the merchant's public module to determine whether there are consumers in the merchant's public module who have collected the instant discount.
[0051] In specific monitoring, the target public module may monitor the page views of a certain page in the merchant public module. When the page views of the page are monitored to increase, it is determined that a consumer has performed an instant discount redemption operation in the merchant public module. When the page views of the page are monitored to remain unchanged, it is determined that no consumer has performed an instant discount redemption operation in the merchant public module.
[0052] The above page can be any page for the instant discount claiming operation. When this page is the first page for the instant discount claiming operation, it can allow the target public module enough time to prepare for the instant discount issuance, thereby improving the efficiency of the instant discount issuance. When this page is the last page for the instant discount claiming operation, it can ensure that the instant discount is issued after the consumer completes all the claiming operations, thereby improving the accuracy of the instant discount issuance.
[0053] In specific monitoring, when the merchant public module detects that a consumer is claiming instant discounts, it can actively inform the target public module. The target public module can also be informed that a consumer is claiming instant discounts. The content that the merchant public module actively informs the target public module can be an instant discount issuance request, a preset logo, or a merchant logo. When the content of the active notification is the merchant logo, for the target public module, the merchant logo can be used as both an instant discount issuance instruction and an indication of the specific issuance amount, which can reduce the merchant public module sending a message to the target public module and further improve the efficiency of the issuance of instant discounts.
[0054] After the target public module determines that an instant discount needs to be issued, it needs to obtain the merchant ID and consumer ID.
[0055] The merchant logo here can be the name, icon, etc. of the merchant public module that currently needs to issue instant discounts, or the merchant's name, trademark, etc. The merchant logo can be obtained from the name disclosed in the merchant public module, or the merchant can place its logo in a preset position in the merchant public module for the target public module to obtain.
[0056] The consumer ID here can be the name of the consumer in the third-party platform, identity document (ID), etc. The consumer ID can be provided by the merchant public module, or it can be obtained from the third-party platform after the target public module obtains user authorization when the page browsed by the consumer jumps from the merchant public module to the target public module.
[0057] S22: Determine the target instant discount to be issued according to the merchant ID.
[0058] Generally speaking, the target public module will be connected to multiple merchant public modules. Different merchants need to issue different instant discounts. Therefore, after the target subject connects with different merchants, it is necessary to establish a correspondence between each merchant ID and its instant discount in the target public module, so that when a merchant instructs to issue an instant discount, the specific amount of issuance can be automatically determined through the correspondence and merchant ID, without the merchant having to carry a specific amount in each instruction. Reducing the amount of transmitted information can speed up information transmission and thus improve the efficiency of issuing instant discounts.
[0059] For the same merchant, different batches of activities require different amounts of instant discounts. For each merchant, a corresponding relationship between each batch and its instant discount is established so that the specific amount to be distributed can be determined based on the specific batch of activities, thereby achieving accurate distribution of instant discounts.
[0060] The batch activities here can refer to different activities, for example, for the phone charge activity, a 10 yuan discount is issued, and for the purchase of electrical appliances, a 100 yuan discount is issued. It can also refer to different stages of the same activity, for example, for the phone charge activity, a 10 yuan discount is issued from January 1, 2024 to January 31, 2024, and a 5 yuan discount is issued from February 1, 2024 to February 29, 2024.
[0061] If the target public module is only connected to one merchant public module, then the correspondence between the merchant ID and the instant discount still needs to be established in advance, so that when the merchant instructs the issuance of the instant discount, the specific issuance amount can be automatically determined through the correspondence and the merchant ID, without the merchant having to carry the specific amount in each instruction, thereby improving the efficiency of the instant discount issuance.
[0062] S23: Based on the consumer ID, the target instant discount is distributed to the consumer’s account on the third-party platform.
[0063] Once the target instant discount is determined, the discount can be distributed based on the consumer ID.
[0064] Since the consumer ID is configured by the third-party platform when the consumer registers on the third-party platform, and if the consumer wants to realize financial functions on the third-party platform, he or she also needs to open a financial account on the third-party platform. Therefore, the third-party platform has a corresponding relationship between the consumer ID and the consumer account.
[0065] When the target public module needs to issue a target instant discount to a certain consumer, the target public module can send the consumer ID and the target instant discount to the third-party platform. The third-party platform finds the corresponding account through the consumer ID, and then sends the target instant discount to the account. This can prevent the target subject from directly obtaining the consumer account information and improve the security of consumer information. Alternatively, the target public module can also send the consumer ID to the third-party platform. The third-party platform finds the corresponding account through the consumer ID and sends the information of the corresponding account to the target public module. The target public module issues the target instant discount to the corresponding account according to the corresponding account information. In this way, the third-party platform no longer forwards the instant discount, which can reduce the burden of the third-party platform, so that the third-party platform will give more resources to each public module, including the target public module and the merchant public module, so that the target public module and the merchant public module can interact more efficiently in the issuance of the instant discount, further improving the issuance efficiency of the instant discount.
[0066] Regarding the issuance of instant discounts, it should be noted that it is different from the traditional issuance of coupons. The issuance of coupons does not require the public module to open a financial function in a third-party platform. This is because the use of coupons has reduced the payment amount before the actual payment. The amount that the consumer sees when paying is already the amount reduced by using the coupon. The coupon does not participate in the actual payment process of the consumer. The issuance of instant discounts, however, requires the public module to open a financial function in a third-party platform. This is because the use of instant discounts is in actual payment. The amount that the consumer sees before payment has not been reduced. During the payment process, the consumer actually pays the instant discount from the target public module. The consumer actually only pays the remaining amount excluding the instant discount. Therefore, the method provided in the embodiment of the present application is only applicable to the issuance of instant discounts, and is not applicable to the issuance of coupons.
[0067] The actual issuance of the instant discount can be that the target public module directly transfers money to the consumer account, or the target public module sends a voucher to the consumer account. When the consumer account actually wants to make a payment, the voucher is sent to the target public module, and the interface of the target public module is called, so that the target public module pays the corresponding amount. The specific form of the issuance of the instant discount is not limited here.
[0068] It can be seen from the above content that the instant discount payment method based on the third-party platform provided in the embodiment of the present application is that the target subject creates a target public module in the third-party platform, the target subject conducts offline instant discount payment connection with the merchant, and the target subject registers online financial functions on the third-party platform, so that the target public module serves as a bridge between the merchant's financial system and the third-party platform for the instant discount payment. In the case that neither the merchant's financial system nor the third-party platform makes changes to the background code, the target public module determines the merchant ID and the consumer ID by monitoring the merchant's public module, and determines the target instant discount based on the merchant ID, and distributes the target instant discount on the third-party platform based on the consumer ID, thereby realizing the instant discount payment of the merchant's public module in the third-party platform and expanding the scope of the instant discount payment.
[0069] Furthermore, as a Figure 2 As a refinement and extension of the method shown, the embodiment of the present application also provides a method for issuing instant discounts based on a third-party platform.
[0070] Figure 3 This is a schematic diagram of information interaction within a third-party platform when issuing instant discounts in the embodiment of this application, see Figure 3 As shown, between the merchant public module 121 and the target public module 122 , the merchant public module 121 sends the merchant identifier (orgInNo) and the current page address (redirectUrl) to the target public module 122 .
[0071] The target public module 122 determines the target instant discount according to the merchant identifier (orgInNo). The target public module 122 also obtains the consumer identifier (openId) and generates the corresponding user identifier (vipId), and stores the user identifier (vipId) + consumer identifier (openId) in the server cache in json format, and generates a query server cache data identifier (cacheUserId), and sets the cache time (for example: 3 minutes). During the cache time, consumers can skip the authorization page and access directly. After exceeding the cache time, they need to re-enter the authorization page to generate the user identifier (vipId) + consumer identifier (openId). Finally, the user identifier (vipId) is encrypted using the RSA algorithm through the public key of the target entity, and the current page address (redirectUrl) is jumped and returned.
[0072] Thereafter, the merchant public module 121 and the target public module 122 interact with each other using the user identification (vipId).
[0073] When it is necessary to issue instant discounts, the merchant public module 121 calls the ordering API interface of the target public module 122. The target public module 122 generates a personalized instant discount plan based on the user ID (vipId) returned by the merchant public module 121, combined with the stored user behavior data and preference information, and sends the target instant discount to the consumer account according to the plan, and notifies the consumer through message push and other methods.
[0074] For example, the user ID (vipId) can be ee65184a44c74e92bc0b94f3ac852235. The consumer ID (openId) can be ocBGo6HDOItw2GXewrq45Zp98Ank. The cache data ID (cacheUserId) (user ID (vipId) + consumer ID (openId)) attached to the page address (redirectUrl) can be https: / / *****.com?cacheUserId=XXXX
[0075] The cacheUserId format is {
[0076] "vipId":"ee65184a44c74e92bc0b94f3ac852235","openId":"ocBGo6HDOItw2GXewrq45Zp98Ank".
[0077] Figure 4 The process diagram of the instant discount payment method based on the third-party platform in the embodiment of this application is as follows Figure 2 , see Figure 4 As shown, the method may include:
[0078] S41: Monitor the instant discount claiming operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, obtain the page address when the instant discount claiming operation is triggered in the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount claiming operation in the merchant public module in the third-party platform.
[0079] The acquisition of the merchant identifier and the consumer identifier is the same as step S21 in the aforementioned embodiment. Please refer to the relevant description in the aforementioned embodiment, and will not be repeated here.
[0080] The page address can be obtained by the target public module after jumping to the consumer's terminal interface and obtaining the most recent access address from the consumer's historical access record with the consumer's permission, or it can be actively provided by the merchant public module to the target public module. The page address is obtained together with the merchant ID and the consumer ID, which can avoid repeatedly obtaining information from the merchant public module in the later stage, improve the efficiency of information acquisition, and then facilitate the subsequent rapid feedback of the user ID to the merchant public module through the page address, improve the feedback efficiency of the user ID, and ultimately improve the efficiency of the instant discount payment.
[0081] S42: Determine the target instant discount to be issued according to the merchant ID.
[0082] Step S42 here is the same as step S22 in the aforementioned embodiment, and reference may be made to the relevant description in the aforementioned embodiment, which will not be repeated here.
[0083] S43: Based on the consumer identifier, create a user identifier that is different from the consumer identifier, and establish a corresponding relationship between the user identifier and the consumer identifier.
[0084] In the merchant public module, different consumers who trigger the instant discount collection operation have different user IDs. In other words, the target public module creates different user IDs for different consumers in the third-party platform.
[0085] Since the consumer ID is configured for the consumer by the third-party platform based on its own rules, sometimes the consumer ID configured by the third-party platform is not convenient for the target party to manage. Therefore, the target party can regenerate a user ID for the consumer.
[0086] The target party configures the user ID for the consumer based on its own management rules. Given the huge number of users on third-party platforms, not every user follows the merchant public module. Therefore, the character length and complexity of the user ID can be configured to be lower than that of the consumer ID. For example: according to its own rules, a user ID with a lower character length and complexity than the consumer ID is generated, or a preset field in the consumer ID is intercepted as the user ID.
[0087] S44: Generate a cache data identifier based on the created user identifier, and store the generated cache data identifier in a corresponding position of the created user identifier in the corresponding relationship.
[0088] The cache data identifier is used to control the created user identifier to become invalid after the cache time.
[0089] The cache data identifier may be an identifier generated based on another rule, such as 001, 002, etc. The user identifier may also be directly used as the cache data identifier to save the storage amount of the identifier in the corresponding relationship, thereby reducing the storage burden of the target public module, so that the target public module can use more resources for obtaining merchant identifiers and consumer identifiers, determining target instant discounts, and actually issuing target instant discounts, further improving the efficiency of issuing instant discounts.
[0090] The above is to first generate the corresponding relationship between the consumer identifier and the user identifier, and then add the cache data identifier after the user identifier. In this way, the user identifier can be prevented from being lost before being stored, and the integrity and accuracy of the corresponding relationship can be improved.
[0091] Of course, the user identifier and cache data identifier may be determined first, and then the consumer identifier, user identifier and cache data identifier are generated into a corresponding relationship, so that the identifier search can be avoided and the accuracy of the corresponding relationship can be improved.
[0092] It should be noted here that the corresponding relationship may only include the consumer identifier and the user identifier, but not the cache data identifier. Whether to include the cache data identifier can be determined according to actual needs. When the corresponding relationship does not include the cache data identifier, the subsequent steps related to the cache data identifier are no longer implemented.
[0093] S45: The created user identification is encrypted using a preset encryption algorithm.
[0094] In order to prevent the user ID from being leaked during transmission and to ensure the security of consumer information, the user ID needs to be encrypted before it is transmitted.
[0095] The preset encryption algorithm used in the encryption process can be any existing encryption algorithm, such as RSA, AES, MD5 and other algorithms.
[0096] During the encryption process, a preset string can be added to the user ID first, and then the preset algorithm can be used for encryption. For example, the public key provided by the target public module can be added to the user ID. In this way, even if the transmitted information is decrypted, the addition of the preset string increases the difficulty of obtaining the user ID, thereby improving the security of the user ID transmission. In addition, some other necessary information can be provided to the merchant public module.
[0097] During encryption, the user identification can be split and encrypted in different ways, that is, the created user identification is split into multiple groups of identifications; each group of identifications is encrypted using a different encryption algorithm to obtain multiple groups of encrypted identifications.
[0098] A single set of encryption algorithms is easy to crack, but multiple sets of encryption algorithms increase the difficulty of cracking. In addition, there are many ways to split the user ID. It can be split according to the same or different intervals, or characters can be obtained from different positions to obtain multiple sets of split IDs. For example, the user ID 123456 can be split into 135 and 246. In addition, multiple sets of encryption IDs do not need to be in order and can be sorted freely. For example, two sets of encryption IDs 135 and 246 can be sorted as 246135. The combined effect of encryption algorithm, splitting, and sorting greatly increases the difficulty of cracking and ensures the security of user ID transmission.
[0099] S46: Inserting the encrypted user ID into a preset position in the page address.
[0100] The page address after inserting the identifier at the preset position can return to the original page. That is to say, inserting the user identifier at the preset position of the page address will not affect the normal jump of the page address. The preset position here can be after the last character in the page address or before the first character in the page address.
[0101] When the encrypted user identification is a plurality of sets of encrypted identifications, each set of encrypted identifications can be inserted into a different preset position in the page address. For example, two sets of encrypted identifications 135 and 246, page address abc, after insertion, the result is: 135abc246. In this way, the difficulty of obtaining the user identification from the page address can be further increased, and the security of the user identification transmission can be improved.
[0102] When the number of encryption identifiers is greater than the number of preset positions in the page address, and each encryption identifier cannot be inserted into each preset position, multiple encryption identifiers can be inserted into each preset position evenly or unevenly. For example, three encryption identifiers 135, 246, 789, page address abc, after insertion, the result is: 135789abc246. Uneven insertion can further increase the difficulty of obtaining user identifiers from the page address and improve the security of user identifier transmission.
[0103] S47: The page address with the encrypted user ID inserted in the preset position is sent to the merchant public module, so that the merchant public module jumps to the page address.
[0104] The user ID is transmitted back to the merchant's public module through the page address, allowing the consumer to return to the instant discount collection operation page. The merchant's public module decrypts through a preset encryption algorithm to obtain the public key for verification. If the verification fails, it means that there is a problem with the transmission, and the current instant discount collection is ended to ensure the security of the instant discount issuance. If the verification is successful, the consumer continues to perform the instant discount collection operation. The user ID is transmitted back through the page address. While continuing the instant discount collection operation, the user ID can also be sent to the merchant's public module so that the merchant's public module can then exchange information with the target public module based on the user ID. The continued operation of the instant discount collection and the sending of the user ID are carried out simultaneously, which can further improve the efficiency of the instant discount issuance.
[0105] Of course, the user ID may not be encrypted or transmitted to the merchant public module via the page address. For example, the user ID is directly placed in the page address and transmitted back to the merchant public module, or the user ID is encrypted and sent to the merchant public module via an instant messaging message.
[0106] Consumers can continue to receive instant discounts through the merchant public module. The specific process of receiving instant discounts depends on the different rules of different merchants and is not limited here.
[0107] When the consumer completes the last step of the instant discount claiming operation, the merchant public module can issue the instant discount to the consumer. Since the merchant public module cannot directly issue the instant discount to the consumer on the third-party platform, the merchant public module will issue an instant discount issuance instruction to the target public module, so that the target public module that can issue the instant discount on the third-party platform can issue the instant discount to the consumer.
[0108] S48: Receive the instant discount payment instruction sent by the merchant public module.
[0109] The instant discount payment instruction includes a user ID. That is, the instant discount payment instruction not only needs to include a payment instruction so that the target public module can immediately start paying the instant discount after receiving it, but also needs to include the specific object of the instant discount payment, that is, the user ID.
[0110] The above-mentioned issuance instruction can be a specific instruction, for example: immediately issue the instant discount, or it can be an identification agreed upon in advance by the merchant public module and the target public module. When the target public module sees the identification, it can know that the instant discount needs to be issued. Other public modules in the third-party platform except the merchant public module and the target public module, as well as other applications in the consumer terminal, cannot know the actual meaning of the identification even if they obtain the identification, and thus cannot perform further malicious operations, thereby improving the security of the issuance of the instant discount.
[0111] S49: In the corresponding relationship, according to the cache data identifier corresponding to the created user identifier, it is determined whether the created user identifier is invalid. If so, S410 is executed, and if not, S411 is executed.
[0112] Because in the corresponding relationship, the consumer identification, user identification and cached data identification of the same consumer are all stored correspondingly, and the cached data identification can indicate whether its corresponding identification and various related information are invalid, that is, after the consumer authorizes in the target public module, the target public module starts timing. After the consumer returns to the merchant public module to continue the operation, the merchant public module instructs the target public module to issue the instant discount. The cached data identification serves as a timer during this period. Therefore, it is through the cached data identification that it is determined whether the consumer needs to re-register in the target public module to avoid consumers operating in the merchant public module for too long and increasing the risk of issuing instant discounts, thereby improving the security of issuing instant discounts.
[0113] In specific judgments, the cache data identifier can be used as a specific identifier, such as: 001, a1, etc. When the cache data identifier is generated, a corresponding timestamp is generated. By calculating the time difference between the current time and the timestamp, it is determined whether the time difference exceeds the cache period to determine whether the cache data identifier is invalid, and then determine whether the user identifier is invalid. If the time difference exceeds the cache period, it is determined that the cache data is invalid, and then the user identifier is invalid. If the time difference does not exceed the cache period, it is determined that the cache data is valid, and then the user identifier is valid.
[0114] The cached data identifier can also be used as a timer, which starts counting down after it is generated. For example, the cached data identifier is generated at 3 minutes, followed by 2 minutes and 59 seconds, 2 minutes and 58 seconds, until 0 seconds. The cached data identifier is deleted, and the corresponding consumer identifier and user identifier become invalid, but the consumer identifier and user identifier are temporarily retained.
[0115] In the specific judgment, that is, in the judgment correspondence, whether the cache data identifier corresponding to the created user identifier exists. If so, it is determined that the created user identifier has not expired. If not, it is determined that the created user identifier is invalid. The judgment of whether the identifier exists is simpler and more convenient than the calculation and comparison of the time difference, which can improve the efficiency of invalidation judgment. Moreover, once the cache data identifier expires and is deleted, the consumer identifier and user identifier are still retained. After the consumer registers again, there is no need to regenerate the user identifier. The previously generated user identifier can be found according to the consumer identifier, which can also improve the efficiency of re-registration in the target public module.
[0116] S410: Re-acquire the consumer ID to regenerate the cache data ID, so that the consumer can perform the instant discount collection operation within the cache time.
[0117] After the cached data identifier expires, the consumer needs to re-authorize and register, that is, the target public module re-acquires the consumer identifier, and then obtains the user identifier based on the consumer identifier, and generates a new cached data identifier. In this way, the consumer takes too long to receive the instant discount in the merchant public module, that is, from the time when the consumer registers in the target public module when he starts to receive the instant discount, to the time when the merchant public module sends an instruction to the target public module after the consumer completes the instant discount operation, the target public module requires the consumer to re-register to reconfirm the consumer's identity and improve the security of the instant discount.
[0118] S411: Determine the target consumer identifier from the corresponding relationship.
[0119] The cached data identifier has not expired, indicating that the consumer has performed the instant discount redemption operation according to the specified time requirements. At this time, the target public module can continue to determine the consumer identifier from the corresponding relationship based on the user identifier sent by the merchant public module, thereby determining the recipient of the target instant discount and issuing the instant discount.
[0120] It should be noted here that the above steps S43-S411 can be executed simultaneously with S42, or one after the other, which is not limited here.
[0121] S412: Based on the target consumer identifier, the target instant discount is distributed to the corresponding consumer's account in the third-party platform.
[0122] Step S412 here is the same as step S23 in the aforementioned embodiment, and reference may be made to the relevant description in the aforementioned embodiment, which will not be repeated here.
[0123] After the target instant discount is sent to the consumer's account, the consumer may not use it immediately. At this time, a reminder can be sent to the consumer to remind the consumer to use the instant discount and increase the utilization rate of the instant discount.
[0124] S413: Send a reminder for using the instant discount to the corresponding consumer.
[0125] On the one hand, after the target public module distributes the instant discount, it will regularly check the usage of the instant discount. When it is found that the instant discount has not been used, it can directly send a reminder message to the consumer, for example: Hello, you have XX instant discount that has not been used.
[0126] Since the consumer has registered in the target public module, it is assumed that the consumer has paid attention to the target public module. Therefore, the target public module may send reminder information to the consumer.
[0127] Of course, the target public module can send the reminder information to the merchant public module, so that the merchant public module sends the reminder information to the consumer. In this way, the merchant public module can also understand the use of the instant discount money it issued, thereby realizing convenient and accurate statistics of the instant discount money issuance conversion results.
[0128] On the other hand, the target public module can also push content that matches consumers' purchasing habits immediately after issuing the instant discount. Since consumers have a high demand for purchases when they receive the instant discount, recommending relevant content to consumers at this time can increase the probability of consumers purchasing, thereby increasing the utilization rate of the instant discount.
[0129] When pushing specific content, the consumer's registration information in the merchant's public module and / or the target's public module can be obtained. A user profile is generated based on the obtained registration information. The purchase characteristics of the user profile are calculated through big data. Shopping links or related articles corresponding to the purchase characteristics are pushed to consumers to enable consumers to achieve instant discounts, thereby increasing the utilization rate of instant discounts.
[0130] Consumers can see the instant discount claim notification issued by the merchant's public module, which means they must have paid attention to the merchant's public module and even registered in the merchant's public module. In addition, in the process of claiming the instant discount, consumers also registered in the target public module. The registration information generally includes the consumer's gender, age, region, occupation, hobbies, etc. Therefore, a portrait of the consumer can be generated through the consumer's registration information in the merchant's public module and / or the registration information in the target public module. Through the portrait, the consumer's shopping preferences, that is, purchase characteristics, can be inferred. Through the purchase characteristics, related items on sale can be found, and then the link to the item or related articles can be sent to the consumer. The pushed shopping links or related articles are in line with the consumer's shopping preferences, which can increase the probability of consumers making purchases, thereby increasing the utilization rate of the instant discount.
[0131] It should be noted here that the generation of user portraits based on registration information is the same as the specific calculation method used in the existing generation of portraits based on information. The purchase features of user portraits are calculated through big data, that is, the purchase features of a certain user portrait are obtained under the existing big data of user portraits and purchase features. Specifically, it can be obtained through similarity calculation, matching, etc. To determine the shopping links or related articles corresponding to the purchase features, you can search the entire network according to the purchase features to obtain the corresponding shopping links or related articles. All of the above can be achieved through existing technical means and will not be repeated here.
[0132] Finally, it should be noted that the acquisition of various data involved in the embodiments provided in this application, such as consumer identification, current page address and other data, are all obtained with the consent of the user (consumer or merchant), and the obtained user data complies with the provisions of laws and regulations.
[0133] At this point, the method for issuing instant discounts based on a third-party platform provided in the embodiment of the present application has been fully explained.
[0134] Based on the same inventive concept, as an implementation of the above method, the embodiment of the present application also provides an instant discount payment device based on a third-party platform.
[0135] Figure 5 The structure of the instant discount payment device based on the third-party platform in the embodiment of the present application is shown in FIG. Figure 1 , see Figure 5 As shown, the device includes a target public module, which is created by the target subject in a third-party platform. The third-party platform also includes a merchant public module created by a merchant. The merchant and the target subject conduct offline instant discount connection in advance, and the target subject completes financial function registration in the third-party platform in advance.
[0136] The device may include: an acquisition module 51, a determination module 52 and an issuance module 53. The acquisition module 51, the determination module 52 and the issuance module 53 are connected in sequence.
[0137] The acquisition module 51 is used to monitor the instant discount collection operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount collection operation in the merchant public module in the third-party platform.
[0138] The determination module 52 is used to determine the target instant discount to be issued according to the merchant identifier.
[0139] The issuing module 53 is used to issue the target instant discount to the consumer's account in the third-party platform according to the consumer identification.
[0140] Furthermore, as a Figure 5 As a refinement and extension of the device shown, the embodiment of the present application also provides an instant discount payment device based on a third-party platform.
[0141] Figure 6 The structure of the instant discount payment device based on the third-party platform in the embodiment of the present application is shown in FIG. Figure 2 , see Figure 6As shown, the device may include: an information acquisition module 61, an instant discount determination module 62, a corresponding relationship module 63, an identification transmission module 64, an instruction receiving module 65, an invalidation detection module 66, a re-registration module 67, a consumer determination module 68, an instant discount issuance module 69, and a usage prompt module 610. Among them, the information acquisition module 61, the instant discount determination module 62, the corresponding relationship module 63, the identification transmission module 64, the instruction receiving module 65, the invalidation detection module 66, the consumer determination module 68, the instant discount issuance module 69, and the usage prompt module 610 are connected in sequence. The re-registration module 67 is connected to the invalidation detection module 66 and the instant discount issuance module 69, respectively.
[0142] The information acquisition module 61 is used to monitor the instant discount collection operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, obtain the page address when the instant discount collection operation is triggered in the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount collection operation in the merchant public module in the third-party platform.
[0143] The instant discount determination module 62 is used to determine the target instant discount to be issued according to the merchant identifier.
[0144] The corresponding relationship module 63 is used to create a user ID different from the consumer ID based on the consumer ID, and establish a corresponding relationship between the user ID and the consumer ID, wherein in the merchant public module, different consumers who trigger the instant discount collection operation have different user IDs. Based on the created user ID, a cache data ID is generated, and the cache data ID is used to control the created user ID to become invalid after the cache time. The generated cache data ID is stored in the corresponding position of the created user ID in the corresponding relationship. After the cache time, the cache data ID generated in the corresponding relationship is deleted.
[0145] The identification transmission module 64 is used to send the created user identification to the merchant public module.
[0146] The identification transmission module 64 includes: an encryption unit 641, an insertion unit 642 and a transmission unit 643. The encryption unit 641, the insertion unit 642 and the transmission unit 643 are connected in sequence.
[0147] The encryption unit 641 is used to encrypt the created user identification using a preset encryption algorithm.
[0148] The encryption unit 641 is specifically used to split the created user identification into multiple groups of identifications. Each group of identifications is encrypted using a different encryption algorithm to obtain multiple groups of encrypted identifications.
[0149] The inserting unit 642 is used to insert the encrypted user identifier into a preset position in the page address, wherein the page address after the identifier is inserted into the preset position can return to the original page.
[0150] The inserting unit 642 is specifically configured to insert each group of encryption identifiers into different preset positions in the page address.
[0151] The transmission unit 643 is used to send the page address with the encrypted user identifier inserted in the preset position to the merchant public module, so that the merchant public module jumps to the page address.
[0152] The instruction receiving module 65 is used to receive the instant discount issuance instruction sent by the merchant public module, and the instant discount issuance instruction includes the user identification.
[0153] The invalidation detection module 66 is used to determine whether the created user identifier is invalid according to the cache data identifier corresponding to the created user identifier in the corresponding relationship. If yes, the re-registration module 67 is entered; if no, the consumer determination module 68 is entered.
[0154] The invalidation detection module 66 is specifically used to determine whether the cache data identifier corresponding to the created user identifier in the corresponding relationship exists. If so, it is determined that the created user identifier is not invalid. If not, it is determined that the created user identifier is invalid.
[0155] The re-registration module 67 is used to re-acquire the consumer identification to regenerate the cache data identification so that the consumer can perform the instant discount collection operation within the cache time.
[0156] The consumer determination module 68 is used to determine the target consumer identifier from the corresponding relationship according to the user identifier in the instant discount issuance instruction.
[0157] The instant discount payment module 69 is used to pay the target instant discount to the account of the corresponding consumer in the third-party platform according to the target consumer identifier.
[0158] The prompt module 610 is used to obtain the consumer's registration information in the merchant public module and / or the registration information in the target public module. A user profile is generated based on the obtained registration information. The purchase characteristics of the user profile are calculated through big data. Shopping links or related articles corresponding to the purchase characteristics are pushed to the consumer so that the consumer can get the target instant discount to increase the utilization rate of the instant discount.
[0159] It should be noted here that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0160] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.
[0161] Figure 7 This is a schematic diagram of the structure of the electronic device in the embodiment of the present application, see Figure 7 As shown, the electronic device may include: a processor 71, a memory 72, and a bus 73; wherein the processor 71 and the memory 72 communicate with each other via the bus 73; the processor 71 is used to call program instructions in the memory 72 to execute the methods in one or more of the above embodiments.
[0162] It should be noted that the description of the above electronic device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the electronic device embodiment of this application, please refer to the description of the method embodiment of this application for understanding.
[0163] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, which may include: a stored program; wherein, when the program is running, the device where the storage medium is located is controlled to execute the method in one or more of the above embodiments.
[0164] It should be noted here that the description of the above storage medium embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the storage medium embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0165] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for issuing instant discounts based on a third-party platform, characterized in that: The method is applied to a target public module, the target public module is created by a target subject in a third-party platform, the third-party platform also includes a merchant public module created by a merchant, the merchant and the target subject are pre-connected offline for instant discount, and the target subject completes financial function registration on the third-party platform in advance, the method includes: Monitor the instant discount claiming operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount claiming operation in the merchant public module in the third-party platform; Determine the target instant discount amount to be issued according to the merchant identifier; According to the consumer identification, the target instant discount is distributed to the consumer's account in the third-party platform.
2. The method according to claim 1, characterized in that The step of distributing the target instant discount to the consumer's account on the third-party platform according to the consumer identifier includes: Based on the consumer identifier, a user identifier different from the consumer identifier is created, and a corresponding relationship between the user identifier and the consumer identifier is established, wherein in the merchant public module, different consumers who trigger the instant discount collection operation have different user identifiers; Sending the created user ID to the merchant public module; Receiving an instant discount payment instruction sent by the merchant public module, wherein the instant discount payment instruction includes a user identifier; According to the user identifier in the instant discount payment instruction, determine the target consumer identifier from the corresponding relationship; According to the target consumer identifier, the target instant discount is distributed to the account of the corresponding consumer in the third-party platform.
3. The method according to claim 2, characterized in that After creating a user identifier different from the consumer identifier, the method further includes: Based on the created user identifier, a cache data identifier is generated, where the cache data identifier is used to control the created user identifier to become invalid after a cache time period; The generated cache data identifier is stored in the corresponding position of the created user identifier in the corresponding relationship; Before determining the target consumer identifier from the corresponding relationship, the method further includes: In the corresponding relationship, judging whether the created user identifier is invalid according to the cache data identifier corresponding to the created user identifier; If yes, re-acquire the consumer ID to regenerate the cache data ID, so that the consumer can perform the instant discount claiming operation within the cache duration; If not, the step of determining the target consumer identifier from the corresponding relationship is performed.
4. The method according to claim 3, characterized in that After storing the generated cache data identifier in a corresponding position of the created user identifier in the corresponding relationship, the method further includes: After the cache time has elapsed, the cache data identifier generated in the corresponding relationship is deleted; The determining, according to the cache data identifier corresponding to the created user identifier, whether the created user identifier is invalid includes: Determine whether the cache data identifier corresponding to the created user identifier exists in the corresponding relationship; If so, determining that the created user identification has not expired; If not, it is determined that the created user identification is invalid.
5. The method according to claim 2, characterized in that: Before sending the created user identification to the merchant public module, the method further includes: Obtain the page address when the instant discount claiming operation is triggered in the merchant's public module; The step of sending the created user ID to the merchant public module includes: Encrypting the created user ID using a preset encryption algorithm; Inserting the encrypted user identifier into a preset position in the page address, wherein the page address after the identifier is inserted into the preset position can return to the original page; The page address with the encrypted user identifier inserted in the preset position is sent to the merchant public module, so that the merchant public module jumps to the page address.
6. The method according to claim 5, characterized in that The step of encrypting the created user identifier using a preset encryption algorithm includes: Splitting the created user ID into multiple groups of IDs; Each group of identifiers is encrypted using a different encryption algorithm to obtain multiple groups of encrypted identifiers; The step of inserting the encrypted user identifier into a preset position in the page address includes: Each set of encrypted identifiers is inserted into a different preset position in the page address.
7. The method according to any one of claims 1 to 6, characterized in that After the target instant discount is distributed to the consumer's account on the third-party platform, the method further includes: Acquire the registration information of the consumer in the merchant public module and / or the registration information in the target public module; Generate a user profile based on the acquired registration information; Calculate the purchase characteristics of the user portrait through big data; The shopping link or related article corresponding to the purchase feature is pushed to the consumer, so that the consumer can get the target instant discount, thereby increasing the utilization rate of the instant discount.
8. A device for issuing instant discounts based on a third-party platform, characterized in that: The device includes a target public module, which is created by a target subject in a third-party platform. The third-party platform also includes a merchant public module created by a merchant. The merchant and the target subject are pre-connected offline for instant discounts. The target subject pre-registers for financial functions on the third-party platform. The device includes: An acquisition module, used to monitor the instant discount claiming operation triggered in the merchant public module, obtain the merchant ID of the merchant public module, and obtain the consumer ID of the consumer who triggered the instant discount claiming operation in the merchant public module in the third-party platform; A determination module, used to determine the target instant discount to be issued according to the merchant identifier; The distribution module is used to distribute the target instant discount to the consumer's account in the third-party platform according to the consumer identification.
9. An electronic device, characterized in that: The electronic device comprises: a processor, a memory, and a bus; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium comprises: a stored program; wherein, when the program is running, the device where the storage medium is located is controlled to execute the method as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for establishing incidence relation
CN105654321A
Electronic coupon distribution method
CN107194719A
Data caching method and device, terminal and computer readable storage medium
CN110647477A
Electronic coupon issuing method and device, electronic equipment and storage medium
CN111681041A
Method and device for issuing cost reduction money for enterprise WeChat and electronic equipment
CN114298761A