CN112633986B - Intelligent online movie ticket exchange method and system - Google Patents

Intelligent online movie ticket exchange method and system Download PDF

Info

Publication number
CN112633986B
CN112633986B CN202011639697.9A CN202011639697A CN112633986B CN 112633986 B CN112633986 B CN 112633986B CN 202011639697 A CN202011639697 A CN 202011639697A CN 112633986 B CN112633986 B CN 112633986B
Authority
CN
China
Prior art keywords
exchange
information
movie
movie ticket
ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011639697.9A
Other languages
Chinese (zh)
Other versions
CN112633986A (en
Inventor
张现丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hualu Media Information Technology Co ltd
China Hualu Group Co Ltd
Original Assignee
Beijing Hualu Media Information Technology Co ltd
China Hualu Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hualu Media Information Technology Co ltd, China Hualu Group Co Ltd filed Critical Beijing Hualu Media Information Technology Co ltd
Priority to CN202011639697.9A priority Critical patent/CN112633986B/en
Publication of CN112633986A publication Critical patent/CN112633986A/en
Application granted granted Critical
Publication of CN112633986B publication Critical patent/CN112633986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation
    • G06Q30/0625Directed, with specific intent or strategy
    • G06Q30/0629Directed, with specific intent or strategy for generating comparisons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of cultural entertainment classified ticket exchange, and particularly relates to an intelligent online movie ticket exchange method and system, wherein the method comprises the following steps: step 1: generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library; and 2, step: receiving an exchange request comprising an exchange code, and auditing the exchange request according to an exchange rule, product information and movie ticket resource library information to obtain an audit result; and 3, step 3: when the movie ticket information does not exist in the audit result, forbidding exchange; and 4, step 4: when the audit result comprises the movie ticket information, displaying the movie ticket information in the audit result for the user to select, and obtaining a movie ticket selection result; and 5: and exchanging the movie tickets according to the movie ticket selection result, updating the movie ticket resource library and recording exchange information. By the method, cost control is effectively achieved, interference of malicious users is avoided through anti-cheating identification, and identification accuracy is greatly improved.

Description

Intelligent online movie ticket exchange method and system
Technical Field
The invention belongs to the technical field of cultural entertainment classified ticket exchange, and particularly relates to an intelligent online movie ticket exchange method and system.
Background
Along with the development of the internet, more and more exchange systems, such as point exchange, card number exchange and the like, appear, such systems mainly take exchange functions as main points, and the exchange systems achieve the purpose of income by improving sales price and eating and retaining users, on one hand, the improvement of the price can cause bad user experience to the users and is easy to tie up the users, on the other hand, if the price is not retained, the risk of loss is generated, and once wool appears, the exchange systems are greatly influenced; the existing exchange system lacks data analysis and corresponding coping plans, and does not effectively analyze and add control cost to users;
based on the reasons, the existing exchange system does not effectively control the cost, and has weak anti-cheating effect and low stability.
Therefore, in view of the above disadvantages, the present invention provides an intelligent redemption system, which effectively controls the cost through data analysis, prevents pulling wool by using an anti-cheating module, and improves the user experience through system stability.
Disclosure of Invention
The invention aims to provide an intelligent online movie ticket redemption method and system to solve the problems that the redemption method in the prior art cannot solve the problems of cost control, a mechanism of pulling wool and system stability.
The invention provides an intelligent online movie ticket exchange method, which comprises the following steps: step 1: generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library, wherein the exchange codes can exchange movie tickets which accord with the exchange rules and the product information in the movie ticket resource library; step 2: receiving an exchange request comprising the exchange code in the step 1, and auditing the exchange request according to the exchange rule, the product information and the movie ticket resource library in the step 1 to obtain an auditing result, wherein the auditing result is the movie ticket information which accords with the exchange rule and the product information in the movie ticket resource library; and 3, step 3: when the movie ticket information does not exist in the audit result obtained in the step (2), forbidding the exchange; and 4, step 4: when the audit result obtained in the step 2 comprises the movie ticket information, displaying the movie ticket information in the audit result for the user to select, and obtaining a movie ticket selection result; and 5: and 4, exchanging the movie tickets according to the movie ticket selection result obtained in the step 4, and updating the movie ticket resource library according to the exchange information.
The above method for intelligently exchanging online movie tickets further preferably includes, in step 1, specifically: step 1.1: docking resource merchants by adopting a token verification mechanism and a black-and-white list mechanism to obtain resource merchant data, wherein the resource merchant data comprise supplier information, cinema venue information, movie information and field seat information of movie tickets; step 1.2: integrating the resource quotient data obtained in the step 1.1 by adopting a chain storage method, and creating to obtain a movie ticket resource library, wherein the movie ticket resource library comprises supplier information, cinema information, movie information and field seat information; step 1.3: creating a product according to the movie ticket resource library obtained in the step 1.2, wherein the product comprises a plurality of movie tickets with exchange rules; step 1.4: generating exchange codes comprising exchange rules and product information in batches according to the products obtained in the step 1.3 by adopting a unique identification method and an exchange code identification rule, wherein the product information is associated with the products obtained in the step 1.3; the exchange code can be exchanged for movie tickets which accord with exchange rules and product information.
The method for intelligently exchanging the movie tickets online as described above is further preferred, where the exchange rules include one or more of a movie exchange rate limiting rule, a movie sales area limiting rule, a movie exchange frequency limiting rule, a movie ticket price rate limiting rule, a movie exchange date limiting rule, a user location limiting rule, a user distance limiting rule, a user exchange frequency limiting rule, a user location limiting rule, and a user exchange number limiting rule.
In the method for intelligently redeeming online movie tickets as described above, it is further preferred that the product information includes a redemption unit price, a redemption cost price, an activation state, a type, an effective time, a redemption area, associated work information and price compensation limitation information, and the associated work information is associated with the product created in step 1.3.
The above method for intelligently exchanging online movie tickets further preferably includes, in step 2: step 2.1: receiving an exchange request, wherein the exchange request comprises user account information, user address information and the exchange code obtained in the step 1; step 2.2: obtaining a product associated with the product information according to the product information in the redemption code obtained in the step 2.1; step 2.3: checking the exchange rules in the exchange codes obtained in the step 2.1 one by one according to the user account information and the user address information obtained in the step 2.1, and removing movie tickets which do not accord with the exchange rules in the products obtained in the step 2.2 to obtain an audit result.
In the above method for intelligently exchanging online movie tickets, it is further preferable that the exchange rules are divided into a first level, a second level and a third level according to the limiting strength, and the first level, the second level and the third level are checked one by one according to the sequence; after the first-level check is completed, a first-level audit result is obtained, and if the first-level audit result does not have movie ticket information, the exchange is prohibited; otherwise, continuously checking the second grade to obtain a secondary audit result, and forbidding the exchange if the secondary audit result does not have the movie ticket information; otherwise, continuously checking the third grade to obtain a third grade audit result, wherein the third grade audit result is the audit result obtained in the step 2.
The above method for intelligently exchanging online movie tickets further preferably includes, in step 4: step 4.1: carrying out classified display on the auditing result obtained in the step (2) according to the cinema information to obtain a cinema information classified list of the movie tickets for the user to select, and obtaining a cinema selection result; step 4.2: classifying and displaying the cinema selection results obtained in the step 4.1 according to the film information to obtain a film information classification list of the movie tickets for the user to select, and obtaining a film selection result; step 4.3: and (3) performing classified display on the film selection result obtained in the step (4.2) according to the event seat information to obtain an event seat information list of the movie tickets for the user to select, and obtaining an event seat selection result, wherein the event seat selection result is the movie ticket selection result.
More preferably, the cinema ticket classification list obtained in step 4.1 and the movie work information classification list obtained in step 4.2 are obtained by weighting recommendation coefficients.
The above method for intelligently exchanging online movie tickets further preferably includes, in step 5, specifically: step 5.1: calling corresponding ticket price information according to the movie ticket selection result obtained in the step (4); and step 5.2: generating a movie ticket order according to the ticket price information obtained in the step 5.1 and the exchange unit price information of the exchange code obtained in the step 2, wherein the price of the movie ticket order is the difference value between the ticket price information and the exchange unit price of the exchange code; step 5.3: starting a payment gateway according to the movie ticket order obtained in the step 5.2, and acquiring payment information of the movie ticket order in the payment gateway; step 5.4: according to the payment information obtained in the step 5.3, drawing a ticket of the movie ticket corresponding to the movie ticket selection result in the step 4; and updating the movie ticket resource library according to the exchange information.
The invention also discloses an intelligent online movie ticket exchange system which is used for realizing the intelligent online movie ticket exchange method, and the system comprises the following steps: the exchange code generation module is used for generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library, and the exchange codes can be exchanged for movie tickets meeting the exchange rules and the product information in the movie ticket resource library; the interactive display module is used for receiving the exchange request comprising the exchange code and sending the exchange request to the exchange code auditing module; the system is also used for displaying the auditing result, displaying the movie ticket information in the auditing result for the user to select when the auditing result comprises the movie ticket information, and obtaining a movie ticket selecting result; the exchange code auditing module is used for receiving the exchange request and auditing the exchange request according to the movie ticket resource library, the exchange rule of the exchange code in the exchange request and the product information to obtain an auditing result; the system is also used for sending an audit result to the interactive display module, wherein the audit result is movie ticket information which accords with exchange rules in the movie ticket resource library; the ticket drawing module is used for exchanging the movie tickets according to the movie ticket selection results obtained by the interactive display module and updating the movie ticket resource library according to the exchange information; the movie ticket resource library stores movie tickets.
Compared with the prior art, the intelligent online movie ticket exchange method and system disclosed by the invention have the following beneficial effects:
according to the intelligent online movie ticket exchange method, various resources are generated through resource library initialization to be provided for a front end to use, cost control is effectively achieved, interference of malicious users is avoided through cheating prevention identification, and the identification accuracy is greatly improved.
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 embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an intelligent online movie ticket exchange method according to the present invention;
fig. 2 is a connection diagram of a framework of an intelligent online movie ticket exchange system according to the present invention.
Detailed Description
Example 1:
as shown in fig. 1, this embodiment provides an intelligent online movie ticket redemption method, which includes:
step 1: generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library, wherein the exchange codes can exchange movie tickets which accord with the exchange rules and the product information in the movie ticket resource library;
and 2, step: receiving an exchange request comprising the exchange code in the step 1, and auditing the exchange request according to the exchange rule, the product information and the movie ticket resource library in the step 1 to obtain an auditing result, wherein the auditing result is the movie ticket information which accords with the exchange rule and the product information in the movie ticket resource library;
and 3, step 3: when the movie ticket information does not exist in the audit result obtained in the step 2, forbidding exchange;
and 4, step 4: when the audit result obtained in the step 2 comprises the movie ticket information, displaying the movie ticket information in the audit result for the user to select, and obtaining a movie ticket selection result;
and 5: and 4, exchanging the movie tickets according to the movie ticket selection result obtained in the step 4, and updating the movie ticket resource library according to the exchange information.
Further, step 1 specifically includes:
step 1.1: docking resource merchants by adopting a token verification mechanism and a black-and-white list mechanism to obtain resource merchant data, wherein the resource merchant data comprise supplier information, cinema venue information, movie information and field seat information of movie tickets;
step 1.2: integrating the resource quotient data obtained in the step 1.1 by adopting a chain type storage method, and creating to obtain a movie ticket resource library, wherein the movie ticket resource library comprises supplier information, cinema information, film information and occasion seat information;
step 1.3: creating a product according to the movie ticket resource library obtained in the step 1.2, wherein the product comprises a plurality of movie tickets with exchange rules;
step 1.4: generating exchange codes comprising exchange rules and product information in batches according to the products obtained in the step 1.3 by adopting a unique identification method and an exchange code identification rule, wherein the product information is associated with the products obtained in the step 1.3; the redemption code is redeemable for movie tickets that conform to redemption rules and product information.
In step 1.1, a Token verification mechanism interface is adopted to interface the metadata resource of the resource provider to obtain the resource provider data. The Token value is generated by the MD5 algorithm from the request source string and the Secret, and is used to improve the tamper resistance of the transmission process parameters. Further, the generation of Token values has 2 steps in total: constructing a source string and generating a token value. Constructing a source string includes: a. acquiring a URI to be requested, b, generating JSON strings by input parameters, sorting the parameters in an ascending order according to initials, c, splicing the character strings obtained from the URI and the b in the a and the secret to obtain a source string; generating a token value: the MD5 algorithm is used to operate on the source string obtained above to obtain the Token value.
Specifically, the resource quotient set a = { a1, a2, A3, … An }, and n =1,2,3 … is known. Further exemplifying the acquisition of cinema metadata for An asset provider, it is known that screct: bb7cc8a8fa604c60866413f5256389c, get URI to request: the service/getlinem is connected with the service/statueapi; the input parameters generate JSON strings: { "appkey": 1 "," twin ": 1479364577369", "opurasuid": 4 "," ramenauuuid ": 126", "setZoneUuid": 11d0e4938 "}.
Splicing the character string obtained above with the secret to obtain a source string:
/hualuapi/service/getcinema {“appkey”:”1”,”bime”:1479364577369,” opUserUuid”:”4”,”rameraUuid”:”126”,”setZoneUuid”:”11d0e4938”}
and (3) operating the source string by using an MD5 algorithm to obtain a 32-bit capitalization token: 12E4A66746C294F16901D957A326AA5E
Md5(/hualuapi/service/ getcinema{“appkey”:”1”, ”bime”:1479364577369,” opUserUuid”:”4”,”rameraUuid”:”126”,”setZoneUuid”:”11d0e4938”})
Through the interface data acquisition in the steps, the following metadata are further obtained:
cinema data set:
Figure DEST_PATH_IMAGE002
={c1,c2,c3,…},
Figure 963314DEST_PATH_IMAGE002
representing yard activity data for resource trader An.
Movie data collection: anf ={f1,f2,f3,…}, AncMovie data representing the asset trader An.
Field data set: and={d1,d2,d3,…},AndField position data representing the resource quotient An.
In step 1.2, the metadata obtained in step 1.1 is integrated by adopting a structure granulation method and matrix calculation, and specifically comprises the following steps: and adopting chain storage to respectively combine different metadata of all resource providers.
Further exemplifying is the asset quotient a = { a1, a2, A3, … } cinema data merging step:
firstly, creating an empty cinema list, using a linear storage structure such as a variable array and the like which supports certain rule access, and then creating an index map to execute the following steps:
1) go through
Figure DEST_PATH_IMAGE004
-
Figure 411613DEST_PATH_IMAGE002
The elements in the collection. If it is in the index map, the row number corresponding to the map is fetched and the data is merged into that row of data.
2) Traversing other elements except the elements in the step 1), if the elements are also found in the index map, taking out all the elements in the row, and changing the row numbers of the elements into the row numbers corresponding to the step 1).
3) If the condition in step 1) does not match, then the new incoming set is added to the list last.
4) And finally, taking out the value set of the map, and taking out the corresponding subscript set.
The method for combining the film and the session data sets is sequentially executed to obtain a formatted resource library:
cinema data set: c = { C1, C2, C3, … }, and C represents the latest merged cinema data.
Movie data collection: f = { F1, F2, F3, … }, and F represents the latest merged movie data.
Field data set: d = { D1, D2, D3, … }, and D represents the latest merged session data.
The step 1.3 specifically comprises the following steps:
1) according to the movie ticket resource library C = { C1, C2, C3, … }, a general product P = { P1, P2, P3, … } is created through a general algorithm.
2) According to the movie ticket resource library C = { C1, C2, C3, … }, a popular product HP = { HP1, HP2, HP3, … } is created through an intelligent recommendation algorithm.
Further, the intelligent recommendation algorithm creates products including a popularity recommendation algorithm and user behavior personalized recommendations, recommendations with popularity from high to low are adopted, specifically expressed as popularity recommendations, and the popularity of each cinema is calculated as follows:
Score = ( S0(Type) + S(Users) ) / T(Time)。
score is the heat Score, Type represents Type, S0 represents the initial heat Score of the Type, Users represents the heat Score generated by user interaction, and Time is the heat Score decaying with Time.
Popularity of a movie by user behavior:
S(Users) = 1*click + 5*favor + 10*comment + 20*share
click-to-read (click), favorite (favorite), share (share), comment (comment) and other user behaviors, wherein the scores given to different behaviors are 1, 5, 10 and 20.
Step 1.4 specifically includes:
1) and generating a conversion code according to batches, and generating N = { N1, N2, N3 … } by the conversion code batches by adopting a unique identification method, so that the method has a certain anti-cracking function. A sixteen digit card number formation rule:
the card number and the area identification code are 1-6 bits, and the area to which the card number and the area belong can be visually seen through the area identification code.
And 7-15 bits are code identifiers, and the self-definition is finished and is not repeated.
And thirdly, 16 bits are check codes which identify the industry, 1 culture, 2 finance, 3IT, 4 manufacture and the like.
Further examples are redemption code 10004310000001, 100043 for rocky mountain area 1000000 code id, 1 for cultural trade.
2) And (3) endowing certain redemption code batch Ns product information, wherein the product information comprises redemption unit price, redemption cost price, activation state, type, effective time, state, redemption area, associated work information and price supplement limit information, and the associated work information is associated with the product created in the step 1.3.
Ns={price,sprice,activate,type,begtime,endtime,status,cid,area,isbuy}
Price: exchange unit price; the speed of the spread: cost price; and (3) Activate: whether activation is required; type: a code type; begtime: an effective start time; endtime: an effective end time; status: a state; cid: an associated product; S21-S22; area: a redemption area; the isbuy: whether to allow for subsidization, allowed or not.
3) The method comprises the steps of giving a certain exchange code batch exchange rule and giving exchange rules of different exchange code batches, wherein the exchange rules specifically comprise one or more of a film exchange ratio limit rule, a film sales area limit rule, a film exchange frequency limit rule, a film ticket price ratio limit rule, a film exchange date limit rule, a user position limit rule, a user distance limit rule, a user exchange frequency limit rule, a user position limit rule and a user exchange quantity limit rule. Specifically, the method comprises the following steps:
movie redemption ratio limiting rules: the condition exchange proportion is more than N% of the whole order; the trigger action forbids the exchange; further examples are: when the N in a certain batch has 100 exchange codes and the exchange proportion reaches 80%, forbidding exchange;
movie sales area restriction rule: the current position is not in the sales area when the condition is met; the trigger action forbids the exchange; further exemplifying: the batch setting is that the exchange can be carried out only in the success areas in the sales areas, and the exchange cannot be carried out in other cities;
movie redemption frequency restriction rules: within H hours of meeting the condition, the conversion reaches N sheets; the trigger action forbids the exchange; further examples are: if the N in a certain batch is exchanged for 100 sheets in 2 hours, forbidding the exchange;
film fare ratio limit rule: the ratio of the cost price (average price) to the sales price reaches N%, and the exchange is prohibited by triggering the action; further examples are: the converted account cost is 90%, and the conversion is prohibited;
movie exchange date restriction rule: setting time period when the conditions are met; the execution result blocks the position for H hours, blocks the user with the radius of M meters and blocks the exchange for M meters away from the position for H hours, blocks the micro signal for H hours and blocks the exchange; further examples are: adding time limit on the basis of S48 and S49;
user location restriction rules: the radius of the current position is M meters under the condition, and the exchange amount exceeds N sheets within H hours; the triggering action comprises H hours of a user who forbids the position, has a forbidding radius of M meters and carries out exchange at a distance of M meters from the position; further examples are: current position longitude of user: 34.264648 latitude: 108.952736, setting conditions that the current radius of the user is within 500 meters, the exchange amount can not exceed 50 sheets within 2 hours, otherwise, the user can not exchange within 500 meters and within 2 hours;
user distance restriction rules: if the conditions are met, the reasonable moving speed is N km/h, the distance between the current exchange position and the cinema/the reasonable moving speed is greater than the time of starting the movie, and the rule is triggered; the trigger action forbids the exchange; further illustrative examples are: setting a reasonable moving speed to be 10Km/H, setting the distance from the starting time of a film = film playing time-current time to be 2 hours, setting the current position longitude X1 of a user: 34.264648 latitude Y1: 108.952736, theatre longitude X2: 34.265641 latitude Y2: 108.955716, two points apart by a distance d = R × arccos [ cos (Y1) × cos (Y2) × cos (X1-X2) + sin (Y1) × sin (Y2) ], and the sphere radius is R =6371.0 km. If the distance between the two points/the moving speed is larger than the time of starting the film, the exchange is forbidden;
user redemption frequency limit rules: when the number of the users reaches N within H hours, triggering the user H hours, which forbids the position for H hours and forbids the users with the radius of M meters and the position for exchanging M meters, forbidding the micro signal for H hours and forbidding the exchanging; further examples are: when a certain user U exchanges 10 pieces in 2 hours, forbidding the exchange of the user U within the longitude and latitude radius of 500 meters, forbidding the user U or forbidding the user U2 hours;
user location restriction rules: the radius of the current position is M meters under the condition, and the exchange amount exceeds N sheets within H hours; the triggering action comprises H hours of a user who forbids the position, has a forbidding radius of M meters and carries out exchange at a distance of M meters from the position; further examples are: current position longitude of user: 34.264648 latitude: 108.952736, setting conditions that the current radius of the user is within 500 meters, the exchange amount can not exceed 50 sheets within 2 hours, otherwise, the user can not exchange within 500 meters and within 2 hours;
user redemption number limiting rules: the same user exchanges N pieces; the triggering action is used for forbidding the position for H hours, forbidding the user with the radius of M meters and forbidding the exchange at the position for M meters for H hours, forbidding the micro signal for H hours and forbidding the exchange; further examples are: if the total exchange of a certain user U exceeds 100, forbidding the user U for forbidding to exchange, forbidding the user U or forbidding the user U for 20 hours within the longitude and latitude radius of 500 meters.
Further, step 2 specifically includes:
step 2.1: receiving an exchange request, wherein the exchange request comprises user account information, user address information and the exchange code obtained in the step 1;
step 2.2: obtaining a product associated with the product information according to the product information in the redemption code obtained in the step 2.1;
step 2.3: checking the exchange rules in the exchange codes obtained in the step 2.1 one by one according to the user account information and the user address information obtained in the step 2.1, removing the movie tickets which do not accord with the exchange rules in the products obtained in the step 2.2, and obtaining an audit result.
Specifically, in step 2.1, the exchange address is input, the system automatically detects the user-agent of the user U device, automatically jumps to the corresponding mobile phone terminal or PC computer, and the PC computer guides the code scanning to the mobile terminal for operation and obtains user information UI ═ uid, phone, lat, lon, and area. Further inputting a redemption code to obtain code information: n _ s = { price, spread, activate, type, begtime, endtime, status, cid, area, ibuy }.
uid is a user ID; phone, user phone number; lat is longitude; the latitude is lon; area is the region.
Specifically, in step 2.2, the relationship between the redemption code and the product is searched, and a cinema list is obtained through a common algorithm or a classical recommendation algorithm. After the cinema list is obtained, when the conversion code Ns and isuby are false price-not-allowed prices, price is converted and is proportional to actual cinema price, and the price in cinema occasions is larger than price sale price, and filtering is carried out; and then, according to lat and lon in the UI of the current position, the cinema list is sorted according to the near and the far of the current position.
Specifically, in step 2.3, the exchange rule list is searched according to the exchange codes, the rule priority is called, and the user information and the exchange rule priority are checked one by one.
Preferably, the exchange rules are divided into a first grade, a second grade and a third grade according to the limiting strength, and the first grade, the second grade and the third grade are checked one by one according to the sequence; after the first-level check is completed, a first-level audit result is obtained, and if the first-level audit result does not have movie ticket information, the exchange is prohibited; otherwise, continuously checking the second grade to obtain a secondary audit result, and forbidding exchange if the secondary audit result does not have the movie ticket information; and otherwise, continuously checking the third grade to obtain a third grade audit result, wherein the third grade audit result is the audit result obtained in the step 2.
Further, step 4 specifically includes:
step 4.1: according to the cinema information, carrying out classification display on the auditing result obtained in the step (2), obtaining a cinema information classification list of the movie tickets for a user to select, and obtaining a cinema selection result;
step 4.2: classifying and displaying the cinema selection results obtained in the step 4.1 according to the film information to obtain a film information classification list of the movie tickets for the user to select, and obtaining a film selection result;
step 4.3: and 4, performing classified display on the film selection result obtained in the step 4.2 according to the event seat information to obtain an event seat information list of the movie tickets for the user to select, and obtaining an event seat selection result, wherein the event seat selection result is the movie ticket selection result.
Further, the cinema information classification list of the movie tickets obtained in the step 4.1 and the movie work information classification list of the movie tickets obtained in the step 4.2 are obtained through recommendation coefficient weighting processing.
Further, step 5 specifically includes:
step 5.1: calling corresponding ticket price information according to the movie ticket selection result obtained in the step 4;
step 5.2: generating a movie ticket order according to the ticket price information obtained in the step 5.1 and the exchange unit price information of the exchange code obtained in the step 2, wherein the price of the movie ticket order is the difference value between the ticket price information and the exchange unit price of the exchange code;
step 5.3: starting a payment gateway according to the movie ticket order obtained in the step 5.2, and acquiring payment information of the movie ticket order in the payment gateway;
step 5.4: according to the payment information obtained in the step 5.3, drawing a ticket of the movie ticket corresponding to the movie ticket selection result in the step 4; and updating the movie ticket resource library according to the exchange information.
Specifically, in step 4 and step 5, a certain cinema is entered according to the obtained cinema list, and the movie showing on the show is displayed according to the movie popularity algorithm; and entering a certain film field seat to display a film hall seat bitmap. By an intelligent price comparison algorithm, taking a field data set: d = { D1, D2, D3, … } obtains a certain resource provider price lowest local time for drawing a ticket. When the isbuy is true and the difference price is allowed to be compensated, price comparison is carried out to determine whether the compensation price is needed so as to call a WeChat or pay the treasure. Otherwise, directly drawing the ticket from the resource provider. After the ticket is successfully drawn, the relevant data informs the anti-cheating module S6. The correlation data includes UI = { uid, phone, lat, lon, area } and Ns = { price, spread, activate, type, begtime, endtime, status, cid, area, issue }.
Example 2:
as shown in fig. 2, the present embodiment discloses an intelligent online movie ticket exchange system, which is configured to implement any one of the above intelligent online movie ticket exchange methods, and includes:
the exchange code generation module is used for generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library, and the exchange codes can be exchanged for movie tickets meeting the exchange rules and the product information in the movie ticket resource library;
the interactive display module is used for receiving the exchange request comprising the exchange code and sending the exchange request to the exchange code auditing module; the system is also used for displaying the auditing result, displaying the movie ticket information in the auditing result for the user to select when the auditing result comprises the movie ticket information, and obtaining a movie ticket selecting result;
the exchange code auditing module is used for receiving the exchange request and auditing the exchange request according to the movie ticket resource library, the exchange rule of the exchange code in the exchange request and the product information to obtain an auditing result; the system is also used for sending an audit result to the interactive display module, wherein the audit result is movie ticket information which accords with exchange rules in the movie ticket resource library;
the ticket drawing module is used for exchanging the movie tickets according to the movie ticket selection results obtained by the interactive display module and updating the movie ticket resource library according to the exchange information;
the movie ticket resource library stores movie tickets.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An intelligent online movie ticket exchange method is characterized by comprising the following steps:
step 1: generating exchange codes with exchange rules and product information in batch according to the movie ticket resource library, wherein the exchange codes can be used for exchanging movie tickets which accord with the exchange rules and the product information in the movie ticket resource library;
step 2: receiving an exchange request comprising the exchange code in the step 1, and auditing the exchange request according to the exchange rule, the product information and the movie ticket resource library in the step 1 to obtain an auditing result, wherein the auditing result is the movie ticket information which accords with the exchange rule and the product information in the movie ticket resource library;
and 3, step 3: when the movie ticket information does not exist in the audit result obtained in the step 2, forbidding exchange;
and 4, step 4: when the audit result obtained in the step 2 comprises the movie ticket information, displaying the movie ticket information in the audit result for a user to select, and obtaining a movie ticket selection result;
and 5: exchanging the movie tickets according to the movie ticket selection result obtained in the step 4, and updating a movie ticket resource library according to the exchange information; the step 1 specifically comprises:
step 1.1: docking resource merchants by adopting a token verification mechanism and a black and white list mechanism to obtain resource merchant data, wherein the resource merchant data comprises provider information, cinema information, film information and occasion seat information of movie tickets;
step 1.2: integrating the resource quotient data obtained in the step 1.1 by adopting a chain type storage method, and creating to obtain a movie ticket resource library, wherein the movie ticket resource library comprises supplier information, cinema information, film information and occasion seat information;
step 1.3: creating a product according to the movie ticket resource library obtained in the step 1.2, wherein the product comprises a plurality of movie tickets with exchange rules;
step 1.4: generating exchange codes comprising exchange rules and product information in batches according to the products obtained in the step 1.3 by adopting a unique identification method and an exchange code identification rule, wherein the product information is associated with the products obtained in the step 1.3; the redemption code is redeemable for movie tickets that conform to redemption rules and product information.
2. The intelligent online movie ticket exchange method according to claim 1, wherein the exchange rules include one or more of movie exchange rate limit rules, movie sales area limit rules, movie exchange frequency limit rules, movie ticket price rate limit rules, movie exchange date limit rules, user location limit rules, user distance limit rules, user exchange frequency limit rules, user location limit rules, and user exchange number limit rules.
3. The intelligent online movie ticket exchange method according to claim 2, wherein the product information includes exchange unit price, exchange cost price, activation status, type, valid time, exchange area, associated work information and subsidy limit information, and the associated work information is associated with the product created in step 1.3.
4. The intelligent online movie ticket exchange method according to claim 3, wherein the step 2 specifically comprises:
step 2.1: receiving an exchange request, wherein the exchange request comprises user account information, user address information and the exchange code obtained in the step 1;
step 2.2: obtaining a product associated with the product information according to the product information in the redemption code obtained in the step 2.1;
step 2.3: checking the exchange rules in the exchange codes obtained in the step 2.1 one by one according to the user account information and the user address information obtained in the step 2.1, removing the movie tickets which do not accord with the exchange rules in the products obtained in the step 2.2, and obtaining an audit result.
5. The intelligent online movie ticket exchange method according to claim 4, wherein the exchange rules are divided into a first level, a second level and a third level according to the restriction strength, and the first level, the second level and the third level are checked one by one according to the sequence; after the first-level check is finished, a first-level audit result is obtained, and if the first-level audit result does not have movie ticket information, the exchange is prohibited; otherwise, continuously checking the second grade to obtain a secondary audit result, and forbidding the exchange if the secondary audit result does not have the movie ticket information; and otherwise, continuously checking the third grade to obtain a third grade audit result, wherein the third grade audit result is the audit result obtained in the step 2.
6. The intelligent online movie ticket exchange method according to claim 5, wherein the step 4 specifically comprises:
step 4.1: carrying out classified display on the auditing result obtained in the step (2) according to the cinema information to obtain a cinema information classified list of the movie tickets for the user to select, and obtaining a cinema selection result;
step 4.2: classifying and displaying the cinema selection results obtained in the step 4.1 according to the film information to obtain a film information classification list of the movie tickets for the user to select, and obtaining a film selection result;
step 4.3: and 4, performing classified display on the film selection result obtained in the step 4.2 according to the event seat information to obtain an event seat information list of the movie tickets for the user to select, and obtaining an event seat selection result, wherein the event seat selection result is the movie ticket selection result.
7. The intelligent online movie ticket exchange method of claim 6, wherein the classification list of cinema information obtained in step 4.1 and the classification list of movie work information obtained in step 4.2 are obtained by weighting recommendation coefficients.
8. The intelligent online movie ticket exchange method according to claim 7, wherein the step 5 specifically comprises:
step 5.1: calling corresponding ticket price information according to the movie ticket selection result obtained in the step (4);
step 5.2: generating a movie ticket order according to the ticket price information obtained in the step 5.1 and the exchange unit price information of the exchange code obtained in the step 2, wherein the price of the movie ticket order is the difference value between the ticket price information and the exchange unit price of the exchange code;
step 5.3: starting a payment gateway according to the movie ticket order obtained in the step 5.2, and acquiring payment information of the movie ticket order in the payment gateway;
step 5.4: according to the payment information obtained in the step 5.3, drawing a ticket of the movie ticket corresponding to the movie ticket selection result in the step 4; and updating the movie ticket resource library according to the exchange information.
9. An intelligent online movie ticket exchange system, which is used for realizing the intelligent online movie ticket exchange method of any one of claims 1-8, and comprises the following steps:
the exchange code generating module is used for generating exchange codes with exchange rules and product information in batches according to the movie ticket resource library, and the exchange codes can exchange movie tickets which accord with the exchange rules and the product information in the movie ticket resource library;
docking resource merchants by adopting a token verification mechanism and a black-and-white list mechanism to obtain resource merchant data, wherein the resource merchant data comprise supplier information, cinema venue information, movie information and field seat information of movie tickets;
integrating the obtained resource quotient data by adopting a chain type storage method, and creating to obtain a movie ticket resource library, wherein the movie ticket resource library comprises supplier information, cinema information, film information and field seat information;
creating a product according to the obtained movie ticket resource library, wherein the product comprises a plurality of movie tickets with exchange rules;
generating an exchange code comprising an exchange rule and product information in batches by using the product obtained by adopting a unique identification method and an exchange code identification rule, wherein the product information is associated with the obtained product; the exchange code can be exchanged into a movie ticket according with exchange rules and product information;
the interactive display module is used for receiving a conversion request comprising a conversion code and sending the conversion request to the conversion code auditing module; the system is also used for displaying the auditing result, displaying the movie ticket information in the auditing result for the user to select when the auditing result comprises the movie ticket information, and obtaining a movie ticket selecting result;
the exchange code auditing module is used for receiving the exchange request and auditing the exchange request according to the movie ticket resource library, the exchange rule of the exchange code in the exchange request and the product information to obtain an auditing result; the system is also used for sending an audit result to the interactive display module, wherein the audit result is movie ticket information which accords with exchange rules in the movie ticket resource library;
the ticket drawing module is used for exchanging the movie tickets according to the movie ticket selection results obtained by the interactive display module and updating the movie ticket resource library according to the exchange information;
the movie ticket resource library stores movie tickets.
CN202011639697.9A 2020-12-31 2020-12-31 Intelligent online movie ticket exchange method and system Active CN112633986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011639697.9A CN112633986B (en) 2020-12-31 2020-12-31 Intelligent online movie ticket exchange method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011639697.9A CN112633986B (en) 2020-12-31 2020-12-31 Intelligent online movie ticket exchange method and system

Publications (2)

Publication Number Publication Date
CN112633986A CN112633986A (en) 2021-04-09
CN112633986B true CN112633986B (en) 2022-07-22

Family

ID=75290092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011639697.9A Active CN112633986B (en) 2020-12-31 2020-12-31 Intelligent online movie ticket exchange method and system

Country Status (1)

Country Link
CN (1) CN112633986B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504561A (en) * 2014-12-04 2015-04-08 李政德 Offline payment and exchange system based on electronic note
WO2016154829A1 (en) * 2015-03-27 2016-10-06 海天科技控股公司 Data processing method and system
WO2017016275A1 (en) * 2015-07-30 2017-02-02 腾讯科技(深圳)有限公司 Data processing method in on-line ticketing system, and on-line ticketing system
WO2018090839A1 (en) * 2016-11-16 2018-05-24 阿里巴巴集团控股有限公司 Identity verification system, method, device, and account verification method
CN109087147A (en) * 2018-08-15 2018-12-25 郑卫兵 A kind of mobile phone application software distribution extension system and method based on block chain technology
CN110580641A (en) * 2019-09-12 2019-12-17 京东数字科技控股有限公司 method and apparatus for exchanging articles

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336519B2 (en) * 2010-03-08 2016-05-10 Qualcom Incorporated System and method for determining appropriate redemption presentations for a virtual token associated with a stored value account
US10373175B2 (en) * 2010-09-09 2019-08-06 Disney Enterprises, Inc. Method and system for associating a consumer with product redemption data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504561A (en) * 2014-12-04 2015-04-08 李政德 Offline payment and exchange system based on electronic note
WO2016154829A1 (en) * 2015-03-27 2016-10-06 海天科技控股公司 Data processing method and system
WO2017016275A1 (en) * 2015-07-30 2017-02-02 腾讯科技(深圳)有限公司 Data processing method in on-line ticketing system, and on-line ticketing system
WO2018090839A1 (en) * 2016-11-16 2018-05-24 阿里巴巴集团控股有限公司 Identity verification system, method, device, and account verification method
CN109087147A (en) * 2018-08-15 2018-12-25 郑卫兵 A kind of mobile phone application software distribution extension system and method based on block chain technology
CN110580641A (en) * 2019-09-12 2019-12-17 京东数字科技控股有限公司 method and apparatus for exchanging articles

Also Published As

Publication number Publication date
CN112633986A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US20160283923A1 (en) Dispensing digital objects to an electronic wallet
CN100418060C (en) Prioritization of response activities
US20140058812A1 (en) System and method for interactive mobile ads
CN103577988A (en) Method and device for recognizing specific user
CN103218732A (en) Electronic commerce system, method and apparatus
EP2784740A1 (en) Automated appraisal system for cards
CN110163661A (en) Marketing message promotion method, device, electronic equipment and computer-readable medium
CN109325845A (en) A kind of financial product intelligent recommendation method and system
US20210192496A1 (en) Digital wallet reward optimization using reverse-engineering
CN109670845A (en) A kind of data resource distribution method and device
Wang et al. An empirical study on Snapshot DAOs
JP5365948B1 (en) Content sales system and method
CN112633986B (en) Intelligent online movie ticket exchange method and system
US20220230165A1 (en) Blockchain-based outlet site selection method and apparatus, device and storage medium
CN116091055A (en) Electronic gift processing method and system and electronic equipment
CN114298707A (en) Intelligent payment recommendation method, device, equipment and storage medium
Zhou et al. Why do platform multinational companies struggle abroad? A multi-method study of the role of informal institutional distance
CN114693377A (en) Intelligent online movie ticket exchange system and method
CN111222924A (en) Internet trading platform uncertainty evaluation filtering system based on normal distribution probability density function
KR20100121898A (en) System and method for making event by using one time password and game item
CN110990742A (en) Intelligent testing and learning system
CN111494960A (en) Establishment method and system for cloned game account
CN111818118B (en) Internet trading platform uncertainty evaluation filtering system based on CIWN-II
CN112657198B (en) User data processing method, device, medium and equipment
Cheng Approaches to Assess Market Power in the Online Networking Market

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant