CN107481042A - A kind of preferential system of selection of online booking and electronic equipment - Google Patents
A kind of preferential system of selection of online booking and electronic equipment Download PDFInfo
- Publication number
- CN107481042A CN107481042A CN201710626935.4A CN201710626935A CN107481042A CN 107481042 A CN107481042 A CN 107481042A CN 201710626935 A CN201710626935 A CN 201710626935A CN 107481042 A CN107481042 A CN 107481042A
- Authority
- CN
- China
- Prior art keywords
- coupon
- user
- stored
- selecting
- value card
- 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
Links
- 238000000034 method Methods 0.000 claims description 42
- 238000010187 selection method Methods 0.000 claims description 11
- 230000007717 exclusion Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 8
- 238000003491 array Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009191 jumping Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0208—Trade or exchange of goods or services in exchange for incentives or rewards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0211—Determining the effectiveness of discounts or incentives
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Embodiments of the invention disclose preferential system of selection and the electronic equipment of a kind of online booking, are related to internet arena, user can be helped to select this film to be best suitable for user automatically preferential, time saving and energy saving.The preferential system of selection of the online booking includes:Receive the payment request that user confirms booking;Judge whether the user currently has workable reward voucher;It is optimal using strategy according to reward voucher set in advance if the user currently has workable reward voucher, select, when the secondary reward voucher that can preferentially use, to choose the reward voucher used to show user by default from the user currently workable reward voucher.The present invention is applied to the client electronic device of various online bookings.
Description
Technical Field
The invention relates to the field of internet, in particular to a preference selection method for online ticket purchasing and electronic equipment.
Background
With the development of the internet, namely the development of mobile phone applications, online ticket purchasing of a client side by a viewer becomes a main mode for purchasing tickets before watching a movie, online ticket purchasing systems are more and more, various ticket purchasing websites can often release various preferential activities for attracting more users, however, the problem of difficulty in selection for the users after the preferential activities are more exists, the user has more advantages, the user does not know what advantages are the most suitable, and the user can compare specific strength advantages only by checking and calculating the provided advantages one by one at present, so that the time and labor are wasted, and the user is not humanized.
Disclosure of Invention
In view of the above, the embodiment of the invention selects a preference selection method for online ticket purchasing and an electronic device, which are used for solving the problem of difficulty in selecting a preference during online ticket purchasing in the prior art.
In a first aspect, an embodiment of the present invention provides a method for selecting a preference for online ticket purchasing, where the method is used for a client-side electronic device for online ticket purchasing, and the method includes:
receiving a payment request for confirming ticket purchase by a user;
judging whether the user has available coupons currently;
and if the user currently has available coupons, selecting the coupons which can be preferentially used at the current time from the coupons currently available to the user according to a preset optimal coupon use strategy, and displaying the coupons to the user as default selected coupons.
With reference to the first aspect, in a first implementation manner of the first aspect, the coupons issued by the server include any one or more of a first coupon, a second coupon, a third coupon, a fourth coupon, and a fifth coupon;
the coupon optimal use strategy comprises the following steps:
if the user currently has a first coupon available, selecting the first coupon;
if the user does not have a first coupon which can be used currently, a second coupon which can be used currently and a third coupon which can not be used currently, selecting the second coupon;
if the user does not have a first coupon which can be used currently, and a second coupon and a third coupon which can be used currently exist, selecting the second coupon and the third coupon;
if the user does not have the first coupon and the second coupon which can be used currently, and if the user has a third coupon which can be used and does not have a fourth coupon which can be used, selecting the third coupon;
if the user does not have the first coupon and the second coupon which can be used currently, and has a third coupon and a fourth coupon which can be used currently, selecting the third coupon and the fourth coupon;
if the user does not have the first coupon, the second coupon and the third coupon which can be used currently and has a fourth coupon which can be used currently, selecting the fourth coupon;
and if the user does not have the available first coupon, the available second coupon, the available third coupon and the available fourth coupon, and has the available fifth coupon, selecting the fifth coupon.
With reference to the first aspect, in a second implementation manner of the first aspect, the coupon selected by default is displayed to the user through a preset coupon information window;
the preference selection method for online ticket purchasing further comprises the following steps:
responding to the click of the user on the preferential information window;
displaying a coupon information list, and displaying coupons currently available for the user in the coupon information list according to the sequence of priorities from high to low;
responding to a click of a coupon displayed in the coupon information list by a user;
and selecting or deselecting the coupon clicked by the user.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, after responding to a user click on a coupon presented in the coupon information list, the method further includes:
and judging whether the coupon clicked by the user and the selected coupon are not simultaneously selectable or not according to a preset coupon mutual exclusion rule, and prompting the user if the coupon clicked by the user and the selected coupon are not simultaneously selectable.
With reference to the first implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the first coupon is a friend coupon, the second coupon is a seat selection coupon, the third coupon is a decline coupon, the fourth coupon is a cash coupon, and the fifth coupon is a red package; wherein,
the friend coupon is a coupon given by a friend, is used for deducting the designated amount of the coupon face, and cannot be used with other coupons at the same time;
the seat selection tickets, one seat selection ticket is used for deducting money of a movie ticket, and can be used simultaneously with the seat selection ticket which is immediately reduced to the ticket;
the discount coupon is used for directly discount to a specified amount and can be used together with the seat selection coupon and the cash coupon;
the cash coupon is used for directly deducting the designated sum of the face of the coupon and can be used together with the coupon reduced immediately;
the red packet is used for directly giving a discount to the specified money amount of the red packet and cannot be used with other discount.
With reference to the fourth implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the priority of use of the friend's coupon, seat selection coupon, cuo-reduction coupon, cash coupon, and red packet is from high to low: friend's coupon, pick seat coupon, Lijian to coupon, cash coupon, red envelope.
With reference to any one of the second to third implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, after selecting, according to a preset optimal coupon usage policy, a coupon that can be preferentially used at the present time from coupons that are currently available to the user, and presenting the selected coupon to the user as a default, the method further includes:
calculating a first payment amount after the coupon is used according to the selected coupon;
determining the number of stored value cards owned by the user;
if the number of the stored value cards owned by the user is 0, the first payment amount is used as the final ticket purchasing amount and is sent to the user;
if the number of the stored value cards owned by the user is 1, the unique stored value card is selected by default;
if the number of the stored value cards owned by the user is more than 1, judging whether stored value cards with the remaining expiration time less than a preset time interval exist;
if only one stored-value card with the residual expiration time less than the preset time interval exists, selecting the stored-value card with the residual expiration time less than the preset time interval by default;
if a plurality of stored value cards with the residual expiration time less than the preset time interval exist, judging whether the balance of each stored value card in the stored value cards with the residual expiration time less than the preset time interval is less than the first payment amount;
if the balance of each stored-value card in the stored-value cards with the residual expiration time less than the preset time interval is less than the first payment amount, one stored-value card with the maximum default selected balance is selected from the stored-value cards with the residual expiration time less than the preset time interval;
if the stored-value cards with the balance not less than the first payment amount exist in the stored-value cards with the residual expiration time less than the preset time interval, selecting a stored-value card with the minimum default selected balance from the stored-value cards with the residual expiration time less than the preset time interval and the balance not less than the first payment amount;
if no stored-value card with the remaining expiration time less than the preset time interval exists, judging whether the balance of each stored-value card is less than the first payment amount;
if the balance of each stored value card is less than the first payment amount, selecting a stored value card with the maximum balance by default from all stored value cards owned by the user;
if the stored value card with the balance not less than the first payment amount exists, selecting the stored value card with the minimum balance as a default among the stored value cards with the balance not less than the first payment amount owned by the user.
With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, after selecting one stored-value card by default, the method further includes:
displaying a default selected stored value card through a preset stored value card information window;
responding to a user click on the stored-value card information window;
displaying a stored-value card list owned by the user;
receiving a user selection of one stored-value card in the stored-value card list;
and calculating the remaining amount due after the first payment amount is paid by using the selected stored-value card to be used as the final ticket purchasing amount.
In a second aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor reads the executable program code stored in the memory to run a program corresponding to the executable program code, and is used for executing the method for selecting the online ticket purchasing preference according to any one of the foregoing embodiments.
According to the coupon selection method for online ticket purchasing provided by the embodiment of the invention, when the user needs to pay the ticket purchasing amount, the coupon which can be used preferentially at the current time is selected for the user from the currently available coupons of the user according to the preset optimal coupon use strategy, so that the user can be automatically helped to select the most suitable coupon for the user of the movie, the time and the labor are saved, and the intelligent degree of ticket purchasing is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a first embodiment of a method for selecting a coupon for online ticketing according to the present invention;
FIG. 2 is a flowchart of a second embodiment of a method for selecting offers for online ticketing according to the present invention;
FIG. 3 is a flowchart of a third embodiment of a method for selecting offers for online ticketing according to the present invention;
FIG. 4 is a flow diagram of a method of receiving a manual selection of a stored value card by a user;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The following describes a coupon selection method for online ticket purchasing according to an embodiment of the present invention in detail with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and 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.
Fig. 1 is a flowchart of a first embodiment of a method for selecting a coupon for online ticketing, where as shown in fig. 1, the method of this embodiment may include:
step 101, receiving a payment request for confirming ticket purchasing by a user.
In this embodiment, after selecting a movie ticket to be purchased, the user clicks a relevant confirmation button on the ticket purchasing page to confirm ticket purchasing, and the client receives the payment request for confirming ticket purchasing initiated by the user.
And 102, judging whether the user has available coupons currently.
In this embodiment, after receiving the payment request, the client provides a payment page to the user, automatically initiates a request to the server to obtain the existing coupons of the user, and classifies the coupons available to the user according to data returned by the server, for example: one array for each type of coupon, and no array is empty. If the user currently has a usable coupon, the process continues to step 103.
103, selecting the coupon which can be used preferentially at the current time from the coupons which can be used by the user according to a preset optimal coupon use strategy, and displaying the selected coupon to the user as a default.
And selecting the coupons which can be used preferentially from the coupons currently used by the user according to the optimal coupon use strategy and recommending the coupons to the user.
Preferably, the coupons issued by the server side include any one or more of a first coupon, a second coupon, a third coupon, a fourth coupon and a fifth coupon. The preset optimal coupon use strategy comprises the following steps: if the user currently has a first coupon available, selecting the first coupon; if the user does not have a first coupon which can be used currently, a second coupon which can be used currently and a third coupon which can not be used currently, selecting the second coupon; if the user does not have a first coupon which can be used currently, and a second coupon and a third coupon which can be used currently exist, selecting the second coupon and the third coupon; if the user does not have the first coupon and the second coupon which can be used currently, and if the user has a third coupon which can be used and does not have a fourth coupon which can be used, selecting the third coupon; if the user does not have the first coupon and the second coupon which can be used currently, and has a third coupon and a fourth coupon which can be used currently, selecting the third coupon and the fourth coupon; if the user does not have the first coupon, the second coupon and the third coupon which can be used currently and has a fourth coupon which can be used currently, selecting the fourth coupon; and if the user does not have the available first coupon, the available second coupon, the available third coupon and the available fourth coupon, and has the available fifth coupon, selecting the fifth coupon.
According to the embodiment, when the user needs to pay the ticket purchasing amount, the coupon which can be used preferentially at the next time is selected for the user from the currently available coupons of the user according to the preset coupon optimal use strategy, so that the user can be automatically helped to select the most suitable discount of the movie for the user, time and labor are saved, the ticket purchasing intelligence degree is high, and the problem that the existing ticket purchasing website is difficult to select due to the coupon is solved.
Fig. 2 is a flowchart of a second embodiment of the method for selecting a coupon for online ticketing, where as shown in fig. 2, the method in this embodiment may include:
step 201, receiving a payment request for confirming ticket purchasing by a user.
Step 202, judging whether the user has available coupons, if yes, continuing to execute step 203.
In this embodiment, the process of step 201-202 is similar to that of step 101-102 in the above method embodiment, and is not described herein again.
And 203, selecting the coupon which can be preferentially used at the current time from the coupons which can be currently used by the user according to a preset optimal coupon use strategy, and using the selected coupon as a default coupon.
And step 204, displaying the coupon selected by default to be used to the user through a preset coupon information window.
For example, a coupon window may be preset to be displayed at a certain position in the displayed payment page, for displaying the coupon information used in the selection. When the payment page is opened for the first time, the coupon selected by default is displayed in the coupon information window.
And step 205, responding to the click of the user on the preference information window.
Step 206, displaying the coupon information list; and displaying the coupons currently available for the user in the coupon information list according to the priority from high to low.
In this embodiment, if the user clicks the coupon information window, a coupon information list is popped up, where the coupon information list at least includes coupon information such as a coupon name and a coupon amount, and coupons that can be used by the current user are arranged in the coupon information list from front to back according to the order of priority of the coupons from high to low. And coupons that can be preferentially used are selected by default.
And step 207, responding to the click of the user on the coupon displayed in the coupon information list.
And step 208, selecting or deselecting the coupon clicked by the user.
In this embodiment, the discount activity may be selected or cancelled, and the user clicks each item in the list to switch the corresponding discount. After responding to the user clicking the coupon displayed in the coupon information list, judging whether the coupon clicked by the user and the selected coupon are not simultaneously selectable according to a preset coupon mutual exclusion rule, and if not, prompting the user. For example, if the coupon available to the user includes a first coupon and a second coupon, and the first coupon and the second coupon are not available at the same time, in the coupon information list, if the first coupon is already in the selected state, if the user clicks the second coupon in the list again, the second coupon is selected and the selection of the first coupon is automatically cancelled (i.e., the first coupon is changed into the unselected state), and a prompt box pops up to prompt the user that the second coupon is not available at the same time with the first coupon.
When implemented in the background, for example: the client can classify the offers according to the data returned by the server, each offer has an array, if not, the arrays are empty arrays, the arrays are placed in an object called bonus, the attribute name is the offer name, and the offer array with high priority is placed on the top. Then storing the selected preference information in a selected keys object, and determining whether the selected state is rendered in the rendered preference list by the preference list according to the object data; then, taking out a dispabelslect array according to the object of the selectbones, wherein each item of the array is an object, and the most basic of the array is three fields: the coupon type is English identification of the coupon set by the background for identifying each coupon. The group is used for rendering the selected preferential label displayed on the outermost layer of the client, so that the user can know what preferential is used by the user.
According to the embodiment, all currently available coupon information is provided for the user through the coupon information window, the most favorable information is automatically ranked in the top, the user can manually replace the coupon to be used through the coupon information list, corresponding coupon use prompts exist during replacement, and therefore the humanization of coupon selection during online ticket purchasing is improved.
Fig. 3 is a flowchart of a third embodiment of the method for selecting an on-line ticket purchasing according to the present invention, and the present embodiment further includes a step of calculating a first payment amount after using an offer and automatically selecting an optimal stored-value card that can be used for the user to deduct all or part of the first payment amount based on the method embodiment shown in the first embodiment or the second embodiment. As shown in fig. 3, the method of this embodiment may include:
step 301, receiving a payment request for confirming ticket purchase by a user
Step 302, judging whether the user has available coupons currently; if the user currently has a coupon available, go to step 304; if the user does not currently have a coupon available, step 303 is performed.
Step 303, taking the current amount of the movie ticket payable as the first payment amount, and skipping to step 306.
And 304, selecting the coupon which can be preferentially used at the current time from the coupons which can be currently used by the user according to a preset optimal coupon use strategy, and displaying the selected coupon to the user as a default.
In this embodiment, the process of step 301-.
Obviously, after this step, if the user clicks the coupon window, step 205 and 208 may be further included similarly to the second embodiment, so as to receive the coupon manually selected by the user.
Step 305, calculating a first payment amount after using the coupon according to the selected coupon.
In this step, if the user does not manually select the coupon, the first payment amount is calculated using the default selected coupon, and if the user manually selects the coupon, the first payment amount is calculated using the coupon selected by the user.
Step 306, determining the number of stored value cards owned by the user; if the number of the stored value cards owned by the user is 0, executing step 307; if the number of the stored value cards owned by the user is 1, executing step 308; if the number of stored value cards owned by the user is greater than 1, then step 309 is performed.
And step 307, sending the first payment amount as the final ticket purchasing amount to the user.
The unique stored value card is selected by default, step 308, and then execution jumps to step 318.
Step 309, judging whether a stored value card with the remaining expiration time less than a preset time interval exists, if so, continuing to execute step 310; otherwise, step 315 is performed.
For example, a predetermined time interval of 7 days may be preset to determine whether there is a stored-value card that will expire within 7 days.
Step 310, judging whether the number of the stored value cards of which the remaining expiration time is less than the preset time interval is greater than 1, if so, executing step 312; otherwise, step 311 is performed.
At step 311, a single stored-value card with a remaining expiration time less than a predetermined time interval is selected by default, and then execution jumps to step 318.
Step 312, determining whether the balance of each of the stored-value cards with the remaining expiration time less than the predetermined time interval is less than a first payment amount; if the balance of each of the stored-value cards with the remaining expiration time less than the predetermined time interval is less than the first payment amount, execute step 313; otherwise (i.e., if there is a stored-value card with a remaining balance not less than the first payment amount among the stored-value cards with remaining expiration time less than the predetermined time interval), step 314 is executed.
Step 313, selecting the stored-value card with the maximum default balance from the stored-value cards with the remaining expiration time less than the predetermined time interval and the balance less than the first payment amount, and then jumping to step 318.
Step 314, selecting a stored-value card with the smallest default selected balance from the stored-value cards with the remaining expiration time less than the preset time interval and the balance not less than the first payment amount, and then jumping to step 318.
Step 315, judging whether the balance of each stored-value card is less than the first payment amount; if yes (i.e., the balance of each stored-value card is less than the first payment amount), go to step 316; otherwise (i.e., there is a stored-value card with a balance not less than the first payable amount), step 317 is performed.
Step 316, selecting a stored-value card with the largest balance by default from all stored-value cards owned by the user, and then jumping to step 318.
Step 317, selecting a stored value card with the minimum default balance from the stored value cards with the balance not less than the first payment amount owned by the user, and then executing step 318.
Step 318, display the default selected stored value card through the preset stored value card information window.
Preferably, after step 318, the step of receiving a manual selection of a stored-value card by a user as shown in FIG. 4 may also be included:
step 401, in response to a user clicking on a stored value card information window.
Step 402, displaying the list of stored value cards owned by the user.
If the user clicks the information window of the stored value card, a stored value card list owned by the user is popped up for the user to select, and the stored value card list at least comprises basic information of the stored value card, such as expiration time and balance of the stored value card.
Step 403, receiving a user selection of one stored value card in the stored value card list.
The user can click on the stored value card in the stored value card list, so that the currently clicked stored value card is selected, and the previously selected stored value card is deselected.
Step 319, calculating the remaining amount due after the first payment amount is paid by using the selected stored-value card, and sending the calculated remaining amount due as the final ticket purchasing amount to the user.
In this embodiment, if the stored-value card is not manually selected by the user after step 318, the remaining amount due after the first payment amount is paid by using the default selected stored-value card is calculated as the final ticket-buying amount in step 319, and if another (non-default) stored-value card is autonomously selected by the user after step 318, the remaining amount due after the first payment amount is paid by using the stored-value card selected by the user is calculated as the final ticket-buying amount in step 319.
Preferably, after the final amount of the ticket purchase fund is calculated and sent to the user, if a payment confirmation instruction of the user is received, the user can directly link and jump to a payment page of the application program corresponding to the pre-specified payment mode, which is not described herein again.
In the embodiment, after the coupon is provided for the user, the user can automatically select the available optimal stored-value card to cover the first payment amount which should be paid after using the coupon, and the stored-value card which is about to expire at first and can cover the first payment amount which should be paid after using the coupon as much as possible is preferentially used for payment, so that the problem that the user needs to check each stored-value card one by one when selecting the stored-value card, and the time and labor are wasted is solved. Meanwhile, the function of manually selecting the value card is provided for the user, and the method is very humanized.
The following describes in detail the technical solution of the method embodiment shown in any one of fig. 1 to 3, using a specific embodiment.
In this embodiment, the first coupon is a friend coupon, the second coupon is a seat selection coupon, the third coupon is a decline to decline coupon, the fourth coupon is a cash coupon, and the fifth coupon is a red packet. The coupon of the friend is a coupon given by the friend, is used for deducting the designated amount of the coupon face, and cannot be used with other coupons at the same time; a seat selection ticket is used for deducting money of a movie ticket and can be used simultaneously with a ticket reduced immediately; reducing to a coupon for directly preferential use to a specified amount, and simultaneously using the seat selection coupon and the cash coupon; the cash coupon is used for directly deducting the designated sum of the face of the coupon and can be used together with the coupon reduced immediately; the red packet is used for directly giving preference to the specified money amount of the red packet and cannot be used with other preference at the same time.
Preferably, the use priority of the friend's coupon, seat selection coupon, club discount coupon, cash coupon and red packet is from high to low: friend's coupon, pick seat coupon, Lijian to coupon, cash coupon, red envelope.
The implementation process of the preference selection method for online ticket purchasing of the embodiment is as follows:
(1) after a user enters a payment page for confirming ticket purchasing, a client automatically initiates a request to a server to acquire the information of the existing coupons of the user, the client classifies the coupons according to the data returned by the server, each coupon has an array, if not, the coupon is a null array, the arrays are placed in an object called a bonus, the attribute name is the name of the coupon, and the high-priority coupon array is placed at the top;
(2) the client judges which coupon should be automatically selected according to the coupon array in the bonus, and the specific selection process is as follows: firstly, judging whether a coupon of a friend is owned, if so, automatically selecting the coupon, and not selecting other coupons; judging whether available seat selection tickets exist or not if no friends tickets exist, and judging that the user can select several seat selection tickets according to the seat number selected by the user and the number of seat selection tickets owned by the user; after the seat selection roll exists, if the user also has the seat deduction coupon, the seat deduction coupon can be selected even if the seat number selected by the user is the same as the seat selection coupon number, and at the moment, the user can use the seat selection coupon plus the seat deduction coupon to give off the discount coupon, and does not select other coupons any more; if the seat selection coupon is not available, whether the user owns the discount coupon is judged, if yes, the discount coupon is selected, and at the time, the user also can select the cash coupon if the user owns the cash coupon, and at the moment, the user can use the discount coupon + the cash coupon at the same time without selecting other coupons; if the user does not reduce the cash voucher to the voucher, judging whether the user has the cash voucher or not, and if so, selecting the cash voucher, wherein at the moment, the user can use the discount of the cash voucher without selecting other discount vouchers; if no cash coupon exists, whether the user owns the red packet is judged, if yes, the red packet is selected, and at the moment, the user can use the discount of the red packet and does not select other discount coupons any more; finally, the selected coupon information is stored in a selectbones object, and the coupon information list determines whether to render the selected state in the rendered coupon list according to the object data;
(3) then, a dispabelselect array is taken out according to the selectbones object, each item of the array is an object, and the most basic of the array is three fields, namely a coupon name, a coupon amount and a coupon type. The group is used for rendering the selected coupon label displayed on the outermost layer, so that the user can know what coupon is used by the user, the coupon information list is popped up by clicking the label, and the user can select the corresponding coupon by clicking each item in the list;
(4) calculating the preferential total sum of the user watching the movie according to the number group of the dispelselect, and then calculating the first payment sum which the user should pay according to the movie ticket money;
(5) judging whether a user has a value storage card, if only one value storage card exists, automatically selecting the value storage card, calculating the money to be paid by the user, if the user has a plurality of value storage cards and can directly use one v card to directly deduct the electricity-loss movie ticket money, selecting the minimum v card amount, and if not, selecting the oldest value. And the selected v card is stored in a selectVCard, the data is used for rendering the selected v card and a preferential bar of the v card, the preferential bar of the v card is clicked to display a v card list, and the v card list is clicked to switch the state of the v card.
(6) And calculating the final ticket purchasing amount still to be paid by the user according to the movie ticket money, the discount money of the discount coupon and the money paid by the stored value card, and pulling up an application program appointed for third-party payment for the user to pay.
The embodiment of the invention also provides the electronic equipment. Fig. 5 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which may implement the process of the embodiment shown in fig. 1, fig. 2, or fig. 3 of the present invention, and as shown in fig. 5, the electronic device may include: the device comprises a shell 21, a processor 22, a memory 23, a circuit board 24 and a power circuit 25, wherein the circuit board 24 is arranged in a space enclosed by the shell 21, and the processor 22 and the memory 23 are arranged on the circuit board 24; a power supply circuit 25 for supplying power to each circuit or device of the electronic apparatus; the memory 23 is used for storing executable program codes; the processor 22 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 23, and is configured to execute the method for selecting an online ticket purchasing offer according to any of the foregoing embodiments.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio and video playing modules (such as an iPod), handheld game consoles, electronic books, and intelligent toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. A method for selecting a preference for online ticket purchasing is characterized in that the method is used for client-side electronic equipment for online ticket purchasing and comprises the following steps:
receiving a payment request for confirming ticket purchase by a user;
judging whether the user has available coupons currently;
and if the user currently has available coupons, selecting the coupons which can be preferentially used at the current time from the coupons currently available to the user according to a preset optimal coupon use strategy, and displaying the coupons to the user as default selected coupons.
2. The coupon selection method for the online ticket purchase according to claim 1, wherein the coupons issued by the server side include any one or more of a first coupon, a second coupon, a third coupon, a fourth coupon and a fifth coupon;
the coupon optimal use strategy comprises the following steps:
if the user currently has a first coupon available, selecting the first coupon;
if the user does not have a first coupon which can be used currently, a second coupon which can be used currently and a third coupon which can not be used currently, selecting the second coupon;
if the user does not have a first coupon which can be used currently, and a second coupon and a third coupon which can be used currently exist, selecting the second coupon and the third coupon;
if the user does not have the first coupon and the second coupon which can be used currently, and if the user has a third coupon which can be used and does not have a fourth coupon which can be used, selecting the third coupon;
if the user does not have the first coupon and the second coupon which can be used currently, and has a third coupon and a fourth coupon which can be used currently, selecting the third coupon and the fourth coupon;
if the user does not have the first coupon, the second coupon and the third coupon which can be used currently and has a fourth coupon which can be used currently, selecting the fourth coupon;
and if the user does not have the available first coupon, the available second coupon, the available third coupon and the available fourth coupon, and has the available fifth coupon, selecting the fifth coupon.
3. The method for selecting the coupon for the online ticket purchase according to claim 1, wherein the coupon selected for use by default is displayed to the user through a preset coupon information window;
the preference selection method for online ticket purchasing further comprises the following steps:
responding to the click of the user on the preferential information window;
displaying a coupon information list, and displaying coupons currently available for the user in the coupon information list according to the sequence of priorities from high to low;
responding to a click of a coupon displayed in the coupon information list by a user;
and selecting or deselecting the coupon clicked by the user.
4. The method of claim 3, wherein after responding to a user click on a coupon presented in the list of coupon information, the method further comprises:
and judging whether the coupon clicked by the user and the selected coupon are not simultaneously selectable or not according to a preset coupon mutual exclusion rule, and prompting the user if the coupon clicked by the user and the selected coupon are not simultaneously selectable.
5. The coupon selection method for online ticketing according to claim 2, wherein the first coupon is a friend coupon, the second coupon is a seat-choosing coupon, the third coupon is a Lixiao-to coupon, the fourth coupon is a cash coupon, and the fifth coupon is a red package; wherein,
the friend coupon is a coupon given by a friend, is used for deducting the designated amount of the coupon face, and cannot be used with other coupons at the same time;
the seat selection tickets, one seat selection ticket is used for deducting money of a movie ticket, and can be used simultaneously with the seat selection ticket which is immediately reduced to the ticket;
the discount coupon is used for directly discount to a specified amount and can be used together with the seat selection coupon and the cash coupon;
the cash coupon is used for directly deducting the designated sum of the face of the coupon and can be used together with the coupon reduced immediately;
the red packet is used for directly giving a discount to the specified money amount of the red packet and cannot be used with other discount.
6. The method for selecting the coupon for the online ticket purchase according to claim 5, wherein the priority of using the friend's ticket, seat selection ticket, discount ticket, cash ticket and red packet is from high to low as: friend's coupon, pick seat coupon, Lijian to coupon, cash coupon, red envelope.
7. The method for selecting the on-line coupon according to any one of claims 1 to 4, wherein after selecting the coupon which can be used with priority at the next time from the coupons currently used by the user according to the preset coupon optimal use strategy, the method is used for displaying the coupon which can be used with priority as the default selection to the user, and the method further comprises the following steps:
calculating a first payment amount after the coupon is used according to the selected coupon;
determining the number of stored value cards owned by the user;
if the number of the stored value cards owned by the user is 0, the first payment amount is used as the final ticket purchasing amount and is sent to the user;
if the number of the stored value cards owned by the user is 1, the unique stored value card is selected by default;
if the number of the stored value cards owned by the user is more than 1, judging whether stored value cards with the remaining expiration time less than a preset time interval exist;
if only one stored-value card with the residual expiration time less than the preset time interval exists, selecting the stored-value card with the residual expiration time less than the preset time interval by default;
if a plurality of stored value cards with the residual expiration time less than the preset time interval exist, judging whether the balance of each stored value card in the stored value cards with the residual expiration time less than the preset time interval is less than the first payment amount;
if the balance of each stored-value card in the stored-value cards with the residual expiration time less than the preset time interval is less than the first payment amount, one stored-value card with the maximum default selected balance is selected from the stored-value cards with the residual expiration time less than the preset time interval;
if the stored-value cards with the balance not less than the first payment amount exist in the stored-value cards with the residual expiration time less than the preset time interval, selecting a stored-value card with the minimum default selected balance from the stored-value cards with the residual expiration time less than the preset time interval and the balance not less than the first payment amount;
if no stored-value card with the remaining expiration time less than the preset time interval exists, judging whether the balance of each stored-value card is less than the first payment amount;
if the balance of each stored value card is less than the first payment amount, selecting a stored value card with the maximum balance by default from all stored value cards owned by the user;
if the stored value card with the balance not less than the first payment amount exists, selecting the stored value card with the minimum balance as a default among the stored value cards with the balance not less than the first payment amount owned by the user.
8. The method of claim 7, further comprising, after selecting a stored-value card by default:
displaying a default selected stored value card through a preset stored value card information window;
responding to a user click on the stored-value card information window;
displaying a stored-value card list owned by the user;
receiving a user selection of one stored-value card in the stored-value card list;
and calculating the remaining amount due after the first payment amount is paid by using the selected stored-value card to be used as the final ticket purchasing amount.
9. An electronic device, comprising: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing the online ticket purchasing preference selection method of any one of the preceding claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626935.4A CN107481042A (en) | 2017-07-27 | 2017-07-27 | A kind of preferential system of selection of online booking and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626935.4A CN107481042A (en) | 2017-07-27 | 2017-07-27 | A kind of preferential system of selection of online booking and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107481042A true CN107481042A (en) | 2017-12-15 |
Family
ID=60597276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710626935.4A Pending CN107481042A (en) | 2017-07-27 | 2017-07-27 | A kind of preferential system of selection of online booking and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107481042A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109615410A (en) * | 2018-10-25 | 2019-04-12 | 口碑(上海)信息技术有限公司 | Data processing method, device, computer equipment and computer readable storage medium |
CN110751464A (en) * | 2019-10-24 | 2020-02-04 | 中国建设银行股份有限公司 | Information prompting method, device, equipment and storage medium |
CN110866771A (en) * | 2018-08-28 | 2020-03-06 | 北京京东尚科信息技术有限公司 | Information processing method, system, medium, and computer system |
CN112634473A (en) * | 2020-12-30 | 2021-04-09 | 深圳市顺易通信息科技有限公司 | Parking payment method and system based on Internet of vehicles |
CN112950190A (en) * | 2021-03-10 | 2021-06-11 | 支付宝(杭州)信息技术有限公司 | Payment channel recommendation processing method, device and system |
CN115396832A (en) * | 2022-08-24 | 2022-11-25 | 中国银行股份有限公司 | Telephone charge information processing method and device based on block chain |
CN115526658A (en) * | 2022-09-23 | 2022-12-27 | 重庆旅游云信息科技有限公司 | Ticket buying scheme customizing method and system based on client data |
CN115545724A (en) * | 2022-09-23 | 2022-12-30 | 重庆旅游云信息科技有限公司 | Client data-based ticket refunding scheme customization method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887615A (en) * | 2010-06-29 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for realizing mobile payment of mobile terminal, and mobile terminal |
KR20150000049A (en) * | 2013-06-21 | 2015-01-02 | 임춘택 | Method for purchasing products applying discount rate which purchasers select |
CN104732383A (en) * | 2013-12-23 | 2015-06-24 | 华为技术有限公司 | Transaction method, device and system based on electronic purse |
CN105046486A (en) * | 2015-07-17 | 2015-11-11 | 百度在线网络技术(北京)有限公司 | NFC-based mobile payment method and device |
CN105550893A (en) * | 2015-12-01 | 2016-05-04 | 小米科技有限责任公司 | Method, device and equipment for displaying coupons |
CN105894260A (en) * | 2014-10-13 | 2016-08-24 | 李策 | Method for settlement after using electronic coupon |
CN106779661A (en) * | 2017-02-15 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | The system of selection of mobile payment mode and system |
CN106886891A (en) * | 2015-12-16 | 2017-06-23 | 中国移动通信集团公司 | A kind of near field payment method, relevant device and system |
-
2017
- 2017-07-27 CN CN201710626935.4A patent/CN107481042A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887615A (en) * | 2010-06-29 | 2010-11-17 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for realizing mobile payment of mobile terminal, and mobile terminal |
KR20150000049A (en) * | 2013-06-21 | 2015-01-02 | 임춘택 | Method for purchasing products applying discount rate which purchasers select |
CN104732383A (en) * | 2013-12-23 | 2015-06-24 | 华为技术有限公司 | Transaction method, device and system based on electronic purse |
CN105894260A (en) * | 2014-10-13 | 2016-08-24 | 李策 | Method for settlement after using electronic coupon |
CN105046486A (en) * | 2015-07-17 | 2015-11-11 | 百度在线网络技术(北京)有限公司 | NFC-based mobile payment method and device |
CN105550893A (en) * | 2015-12-01 | 2016-05-04 | 小米科技有限责任公司 | Method, device and equipment for displaying coupons |
CN106886891A (en) * | 2015-12-16 | 2017-06-23 | 中国移动通信集团公司 | A kind of near field payment method, relevant device and system |
CN106779661A (en) * | 2017-02-15 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | The system of selection of mobile payment mode and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110866771A (en) * | 2018-08-28 | 2020-03-06 | 北京京东尚科信息技术有限公司 | Information processing method, system, medium, and computer system |
CN109615410A (en) * | 2018-10-25 | 2019-04-12 | 口碑(上海)信息技术有限公司 | Data processing method, device, computer equipment and computer readable storage medium |
CN109615410B (en) * | 2018-10-25 | 2021-02-09 | 口碑(上海)信息技术有限公司 | Data processing method and device, computer equipment and computer readable storage medium |
CN110751464A (en) * | 2019-10-24 | 2020-02-04 | 中国建设银行股份有限公司 | Information prompting method, device, equipment and storage medium |
CN112634473A (en) * | 2020-12-30 | 2021-04-09 | 深圳市顺易通信息科技有限公司 | Parking payment method and system based on Internet of vehicles |
CN112634473B (en) * | 2020-12-30 | 2023-11-10 | 深圳市顺易通信息科技有限公司 | Parking payment method and system based on Internet of vehicles |
CN112950190A (en) * | 2021-03-10 | 2021-06-11 | 支付宝(杭州)信息技术有限公司 | Payment channel recommendation processing method, device and system |
CN115396832A (en) * | 2022-08-24 | 2022-11-25 | 中国银行股份有限公司 | Telephone charge information processing method and device based on block chain |
CN115526658A (en) * | 2022-09-23 | 2022-12-27 | 重庆旅游云信息科技有限公司 | Ticket buying scheme customizing method and system based on client data |
CN115545724A (en) * | 2022-09-23 | 2022-12-30 | 重庆旅游云信息科技有限公司 | Client data-based ticket refunding scheme customization method and system |
CN115545724B (en) * | 2022-09-23 | 2023-07-18 | 重庆旅游云信息科技有限公司 | Ticket return scheme customization method and system based on client data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107481042A (en) | A kind of preferential system of selection of online booking and electronic equipment | |
CN108242016B (en) | Product recommendation method and device | |
CN110807649A (en) | Invitation reward method and system for financial products | |
CN107526582B (en) | Web game control method and device | |
US20130132133A1 (en) | Methods and systems for mob booking of hotel rooms | |
CN108876349A (en) | Electronic device, payment channel determine method and storage medium | |
US20130117073A1 (en) | Price determination system, price determination system control method, program, and information storage medium | |
JP2022158871A (en) | Information processing device, information processing method and information processing program | |
CN106296178A (en) | Method of payment based on NFC and device | |
US20150347994A1 (en) | Information-processing system, information-processing device, storage medium, and electronic money charging method | |
US8356057B2 (en) | Crowd-sourcing for gap filling in social networks | |
CN111054078A (en) | Object information acquisition method and device | |
CN114177624A (en) | Game resource transaction method and system based on live broadcast and storage medium | |
KR101735287B1 (en) | The method, server and system for providing application funding service | |
US20120079087A1 (en) | Online help system using session details | |
KR101188125B1 (en) | Method and apparatus for lottery of item in online game | |
CN109857492A (en) | Loan transaction processing method, device, computer equipment and readable storage medium storing program for executing | |
KR101222251B1 (en) | Method and apparatus for recommending item in online game | |
CN114298707A (en) | Intelligent payment recommendation method, device, equipment and storage medium | |
CN115239438A (en) | Task pushing method and system, electronic equipment and storage medium | |
CN107122963B (en) | Payment method and equipment | |
JP7356862B2 (en) | Information processing device, method and program | |
CN109714381B (en) | Consumption tracking based information pushing method, equipment, storage medium and device | |
KR101313241B1 (en) | Method and server for providing item trade information | |
CN102918556B (en) | Access management server, access management method, supervisor call and the computer-readable recording medium for recording the program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |
|
RJ01 | Rejection of invention patent application after publication |