CN114155047A - High-concurrency asynchronous electronic coupon sending method based on SaaS platform - Google Patents

High-concurrency asynchronous electronic coupon sending method based on SaaS platform Download PDF

Info

Publication number
CN114155047A
CN114155047A CN202111619657.2A CN202111619657A CN114155047A CN 114155047 A CN114155047 A CN 114155047A CN 202111619657 A CN202111619657 A CN 202111619657A CN 114155047 A CN114155047 A CN 114155047A
Authority
CN
China
Prior art keywords
coupon
platform
saas
getting
concurrency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111619657.2A
Other languages
Chinese (zh)
Inventor
杨兴海
郑川
杨兴荣
李建州
李建新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shijihengtong Technology Co ltd
Original Assignee
Shijihengtong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shijihengtong Technology Co ltd filed Critical Shijihengtong Technology Co ltd
Priority to CN202111619657.2A priority Critical patent/CN114155047A/en
Publication of CN114155047A publication Critical patent/CN114155047A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Abstract

The invention discloses a high-concurrency asynchronous electronic coupon sending method based on a SaaS platform, which comprises an electronic coupon getting system, a coupon getting SaaS system and a third-party coupon getting platform, wherein the electronic coupon getting system asynchronously initiates coupon getting on the coupon getting SaaS system after receiving a coupon getting request, the coupon getting SaaS system calls basic information of a user and initiates coupon getting on the third-party coupon getting platform, and the third-party coupon getting platform returns a getting result to the SaaS coupon getting system through detailed information of the coupon which is taken by the user and stores relevant data in a relational database and a cache system so as to provide the data for a query system to query; the invention has the capability of issuing tickets in parallel, in batches and asynchronously, processes the business logic by the sending mode of ticket configuration, has the capability of dealing with burst flow and bearing high concurrency, and can feed back the ticket receiving result to the user in time.

Description

High-concurrency asynchronous electronic coupon sending method based on SaaS platform
Technical Field
The invention belongs to the technical field of electronic coupons, and particularly relates to a high-concurrency asynchronous electronic coupon sending method based on a software as a service (SaaS) platform.
Background
The rapid development of the internet almost covers all industries, the electronic coupon is taken as one of main marketing schemes, the paper cost of the electronic coupon is saved, the use efficiency of a customer is improved, any customer who wants to obtain the electronic coupon needs to search the electronic coupon on the internet with care, and all customers who search the coupon on the internet are consumers who have a consumption desire, so that the electronic coupon obtained by paying time and energy to the customer is higher in utilization rate than the traditional coupon.
According to the conventional coupon electronic issuing system, when a user receives a coupon or uses the coupon on a front-end page, the front-end page logs in a server through addressing, and the front-end page and the server finish read-write interaction of coupon information until the coupon or the coupon is finished, based on huge transaction amount of the internet, the sending of the electronic coupon is often high in concurrency and cross-platform, the high concurrency refers to the fact that the electronic coupon can attract a large number of users to participate as marketing activities, and meanwhile, the number of the electronic coupons is generally limited, so that the instantaneous flow at the beginning moment of receiving is very large; the cross-platform mode refers to that kinds of spot securities are various, and electronic certificates of all platform systems need to be interacted with corresponding systems to synchronously obtain results.
Disclosure of Invention
In view of the above, the present invention aims to provide a method for asynchronously sending an electronic coupon with high concurrency based on a SaaS platform, which formulates a set of picking flows according to the characteristics of high concurrency and cross-platform picking of an electronic coupon, separates picking steps, and adopts a SaaS deployment manner to avoid single-point failures and platform system failures and solve the problems faced by picking the electronic coupon.
The technical scheme of the invention is as follows: a high-concurrency asynchronous electronic coupon sending method based on a SaaS platform comprises the following steps:
s1, configuring basic information of the electronic coupons through the electronic coupon getting system and sending the basic information to the coupon getting SaaS system;
s2, the coupon getting SaaS system calls the basic information of the user and initiates coupon getting on the third-party coupon platform;
s3, the third party coupon collecting platform feeds back a coupon collecting result to the coupon collecting SaaS system based on the basic information of the user and the detailed information of the coupon collected by the user;
s4, writing the feedback data into a relational database by the coupon SaaS system;
and S5, the coupon SaaS system synchronously sends the feedback data to the cache system.
In the method for sending the electronic coupon, in step S1, the basic information of the electronic coupon includes a name, a type, an expiration date, a sending method, and a platform to which the electronic coupon belongs.
The above-mentioned transmission mode is synchronous or asynchronous.
The affiliated platform comprises a platform ticket, a WeChat ticket, a mall ticket or any third party ticket platform.
In the method for sending the electronic coupon, in step S2, the basic information of the user includes name, phone number, gender, and identification card information.
In the method for sending electronic coupons, in step S3, the detailed information of the received coupons includes the user id, the coupon receiving batch, the number of received coupons, whether the receiving is successful, and the reason of failure.
In the method for sending the electronic coupon, in step S4, the relational database is used for permanently saving feedback data of the third party coupon platform or relevant data thereof.
In the method for sending the electronic coupon, in step S5, the cache system is used for temporarily and rapidly storing the coupon request, the coupon result, and the coupon configuration information to provide the query system with a query.
Compared with the prior art, the invention has the beneficial effects that:
compared with the prior art, the invention discloses a high-concurrency asynchronous electronic coupon sending method based on a SaaS platform, which comprises an electronic coupon getting system, a coupon getting SaaS system and a third-party coupon getting platform, wherein the cloud-side electronic coupon getting system initiates coupons to the coupon getting SaaS system through asynchronization after receiving a coupon getting request, and synchronously inquires time, the total number of coupons, the single-person accessible number, the coupon getting SaaS system calls basic information of a user, such as name, mobile phone number, gender, identity card information and the like, and issues coupons to the third-party coupon getting platform, the third-party coupon getting platform returns the results of user identification, coupon getting batch, coupon getting number, whether coupon getting is successful or not, failure reason and the like to the SaaS coupon getting system, and the SaaS coupon getting system saves relevant data to a relational database and a high-speed cache system; the invention has the capability of issuing tickets in parallel, in batches and asynchronously, processes the business logic by the sending mode of ticket configuration, has the capability of dealing with burst flow and bearing high concurrency, and can feed back the ticket receiving result to the user in time.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings, in which:
FIG. 1 is a schematic flow diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for transmitting an electronic coupon asynchronously and highly concurrently based on a SaaS platform includes the following steps:
s1, configuring basic information of the electronic coupons through the electronic coupon getting system and sending the basic information to the coupon SaaS system, wherein the sending mode is synchronous or pseudo-asynchronous, asynchronous or true-asynchronous, the time, the total amount and the single person getting amount are inquired synchronously, and when the sending mode is synchronous, the interval time of inquiry is initiated for the front end; the coupon SaaS system can be connected with the coupon systems of all systems and platforms, thereby realizing coupon issuing logic and cluster deployment and having high throughput;
s2, the coupon getting SaaS system calls the basic information of the user and initiates coupon getting on the third-party coupon platform;
s3, the third party coupon collecting platform feeds back a coupon collecting result to the coupon collecting SaaS system based on the basic information of the user and the detailed information of the coupon collected by the user;
s4, writing the feedback data into a relational database by the coupon SaaS system;
and S5, the coupon SaaS system synchronously sends the feedback data to the cache system to be provided for the query system to query.
The SaaS platform is a platform for operating SaaS software, a SaaS provider sets up all network infrastructures, software and hardware operation platforms required by informatization for enterprises and is responsible for a series of services such as all early-stage implementation, later-stage maintenance and the like, the enterprises can use an information system through the Internet without purchasing software and hardware and building a machine room, and the SaaS is a software layout model which is specially designed for network delivery and is convenient for users to host, deploy and access through the Internet.
Synchronization in the above-described delivery method is that when a function call is issued, the call is not returned until no result is obtained, the concept of asynchrony is opposite to synchronization, when an asynchronous procedure call is issued, the caller cannot obtain a result immediately, and the component actually processing the call notifies the caller through status, notification, and callback after completion.
In step S1, the basic information of the electronic coupon includes the name, type, validity date, sending method, and the affiliated platform includes platform coupon, wechat coupon, mall coupon, or any third party coupon platform.
In step S2, the basic information of the user includes name, phone number, gender, and identification card information.
In step S3, the details of the received coupon include the user identifier, the coupon receiving batch, the number of received coupons, whether the receiving was successful, and the reason for the failure.
In step S4, the relational database is used for permanently saving feedback data or related data of the third party coupon platform.
In step S5, the cache system is used to temporarily and quickly store the coupon request, the coupon result, and the coupon configuration information.
The invention can also realize asynchronous ticket issuing through the following technical scheme:
r1, mobile terminal or other coupon device initiates a coupon demand;
r2, the electronic coupon getting system inquires coupon configuration information based on the cache system;
r3, the electronic coupon getting system returns the configuration of the coupon to the mobile terminal or other coupon devices;
r4, mobile terminal or other coupon devices are asynchronous or true asynchronous through coupon configuration, if asynchronous, the user is prompted friendly, and if synchronous or false asynchronous, the coupon result polling is carried out through the polling time configured by the coupon;
r5, inquiring the result stored in the cache system by the inquiry system;
r6, the inquiry system returns the inquiry result to the mobile terminal or other coupon equipment.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention.

Claims (8)

1. A method for high-concurrency asynchronous sending of electronic coupons based on a software as a service (SaaS) platform is characterized by comprising the following steps:
s1, configuring basic information of the electronic coupons through the electronic coupon getting system and sending the basic information to the coupon getting SaaS system;
s2, the coupon getting SaaS system calls the basic information of the user and initiates coupon getting on the third-party coupon platform;
s3, the third party coupon collecting platform feeds back a coupon collecting result to the coupon collecting SaaS system based on the basic information of the user and the detailed information of the coupon collected by the user;
s4, writing the feedback data into a relational database by the coupon SaaS system;
and S5, the coupon SaaS system synchronously sends the feedback data to the cache system.
2. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 1, wherein: in step S1, the basic information of the electronic coupon includes the name, type, expiration date, sending method, and platform to which the electronic coupon belongs.
3. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 2, wherein: the sending mode is synchronous or asynchronous.
4. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 2, wherein: the affiliated platform comprises a platform ticket, a WeChat ticket, a mall ticket or any third party ticket platform.
5. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 1, wherein: in step S2, the basic information of the user includes name, phone number, gender, and identification card information.
6. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 1, wherein: in step S3, the details of the received coupon include the user identifier, the coupon receiving batch, the number of received coupons, whether the receiving was successful, and the reason for the failure.
7. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 1, wherein: in step S4, the relational database is used for permanently saving feedback data or related data of the third party coupon platform.
8. The SaaS platform-based high-concurrency asynchronous electronic coupon sending method according to claim 1, wherein: in step S5, the cache system is used to temporarily and rapidly store the coupon request, the coupon result, and the coupon configuration information to provide to the query system for query.
CN202111619657.2A 2021-12-28 2021-12-28 High-concurrency asynchronous electronic coupon sending method based on SaaS platform Pending CN114155047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619657.2A CN114155047A (en) 2021-12-28 2021-12-28 High-concurrency asynchronous electronic coupon sending method based on SaaS platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619657.2A CN114155047A (en) 2021-12-28 2021-12-28 High-concurrency asynchronous electronic coupon sending method based on SaaS platform

Publications (1)

Publication Number Publication Date
CN114155047A true CN114155047A (en) 2022-03-08

Family

ID=80452118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619657.2A Pending CN114155047A (en) 2021-12-28 2021-12-28 High-concurrency asynchronous electronic coupon sending method based on SaaS platform

Country Status (1)

Country Link
CN (1) CN114155047A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115187314A (en) * 2022-08-08 2022-10-14 企迈科技有限公司 Coupon selling method based on user intelligent recommendation algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115187314A (en) * 2022-08-08 2022-10-14 企迈科技有限公司 Coupon selling method based on user intelligent recommendation algorithm
CN115187314B (en) * 2022-08-08 2024-04-09 企迈科技有限公司 Method for issuing tickets based on intelligent user recommendation algorithm

Similar Documents

Publication Publication Date Title
US20120185378A1 (en) System and Method for Adaptive Selection of Bank Card for Payment
US20120253958A1 (en) System for generating digital receipts
CN109889426A (en) Information processing method, apparatus and system based on instant messaging
CN101114358A (en) Group-buy settlement payments system and method with communicating technology
CN102257527A (en) Systems and methods for mobile transactions
CN107194810A (en) Asset allocation system and method
CN114155047A (en) High-concurrency asynchronous electronic coupon sending method based on SaaS platform
CN111127009A (en) Wrong account positioning method and device applied to self-service equipment
JP5633984B1 (en) Unauthorized transaction prevention device, method, and program
CN109598603B (en) Account opening task processing method and account opening service system
CN109448210A (en) Interaction queuing system and method
CN111127224B (en) Information processing method, information processing device, electronic equipment and storage medium
CN113112344A (en) Business processing method, device, storage medium and computer program product
CN112950191A (en) Service data processing method and device based on fee refunding service and computer equipment
CN103107976A (en) Content provider/service provider (CP/SP) user identification authentication method and system and authentication support device
CN104780519A (en) Phone bill query method and system
CN101299259A (en) System and method for resolving data resource access hot point problem
CN102393852B (en) Comprehensive monitoring system of keyword flow data and calling data and method thereof
CN101685524A (en) Business information platform relating to mobile communication
CN112612807B (en) Distributed transaction data consistency system design method
KR102169265B1 (en) Checking Method for Information about Client's Mobile Phone Number, Information Providing Server, Client Managing Server, and Telecommunications Company Server Used Therein
CN101370184A (en) Consumer information transmitting and receiving system and method based on short message platform
CN112346886B (en) Transaction data processing method and device, storage medium and server
Onasoga The Use of Mobile Phones in Enhancing High Profitability among Small and Medium Enterprise Owners in Odeda Local Government Area of Ogun State
CN102185825A (en) System and method for identifying user on basis of advance information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication