Disclosure of Invention
In view of the above, a first object of the present invention is to provide a ticket-buying system based on mobile communication, which is convenient for a user to complete ticket-buying by making a call to a certain extent.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a ticket buying system based on mobile communication comprises a ticket service platform and a telecommunication service platform;
the ticket service platform comprises a verification module, a registration module, a butt joint module and a ticket selling module; the verification module is used for confirming the qualification of a user who wants to purchase tickets according to a preset verification method, opening the ticket purchasing qualification to the user after the user successfully confirms the qualification, and sending corresponding information to the telecommunication service platform; wherein the valid time of the ticket purchasing qualification is T1; the registration module is used for pre-registering user information by a user and registering ticket purchasing information by the user after the user has ticket purchasing qualification, wherein the ticket purchasing information at least comprises a passenger, a seat type, a departure station, an arrival station and a train number; the docking module is used for receiving the ticket purchasing label from the telecommunication service platform, generating a ticket purchasing order based on the ticket purchasing label matched with the corresponding ticket purchasing information, generating ticket purchasing success information or ticket purchasing failure information based on the processing result of the ticket selling module on the ticket purchasing order and sending the ticket purchasing success information or the ticket purchasing failure information to the second communication module; the ticketing module is used for receiving the order of purchasing tickets and processing the order of purchasing tickets;
the telecommunication service platform comprises a user database, a first communication module and a second communication module; the user database is used for storing the identity information of all users; the first communication module is used for opening the calling authority to the preset number for the user after the verification module opens the ticket purchasing qualification to the user; the second communication module is used for calling corresponding identity information from the user database based on the calling behavior of the user to the preset number, generating a ticket purchasing label based on the identity information, and then sending the ticket purchasing label to the docking module in a preset period until the calling is stopped or ticket purchasing success information is received from the docking module.
Preferably, the authentication method comprises:
a user uploads N photos of people and registration numbers of corresponding people on a ticket service platform through a registration module, and each photo of people is endowed with first-level title information representing the relationship between the photo of people and the user's own interpersonal relationship; the registration number can be a mobile phone number or an identity card number of real-name authentication;
the verification module sends a piece of confirmation information to a registered user corresponding to the figure photo uploaded by the user;
the registered user who is uploaded with the character photo by the user confirms the confirmation information through the verification module;
the verification module generates second-level title information for every two photos according to the first-level title information corresponding to the people photos;
the verification module randomly selects M photos of people, and opens the qualification of buying tickets for the user when the user correctly inputs the secondary title information among the M photos of people.
Preferably, the verification module calls face identification information pre-uploaded by a registered user corresponding to the N photos of the people uploaded by the user, and verifies the N photos of the people; and if the verification fails, prompting the user to upload the character photo again.
Preferably, the authentication method comprises: the user uploads N character photos and the mobile phone number of the corresponding character through the registration module, and gives first-level title information representing the relationship between each character photo and the user's own interpersonal relationship to each other;
the verification module packs the identity information of the user and the mobile phone number corresponding to the figure photo uploaded by the user into verification data and sends the verification data to the telecommunication service platform; the telecommunication service platform is provided with an intelligent voice confirmation module, the intelligent voice confirmation module calls the mobile phone number based on the received verification data, obtains confirmation from a user of the mobile phone number in an intelligent voice mode and returns a confirmation result to the verification module;
after obtaining a correct return result, the verification module generates secondary title information for every two photos according to the primary title information corresponding to the character photos;
the verification module randomly selects M photos of people, and opens the qualification of buying tickets for the user when the user correctly inputs the secondary title information among the M photos of people.
Preferably, if the number of the preset types in the secondary title information exceeds half of the total number, the user is prompted to upload the personal photo again.
Preferably, the second communication module is further configured to monitor an incoming call condition of the mobile phone number of the user, and if there is another third person calling the user, maintain a preset duration T2 of the current call state for the user, and then access the call of the third person for the user; if the user disconnects the call with the third person within the time T2, the previous call with the preset number is resumed.
Preferably, the ticket purchasing information comprises a plurality of sets of expected data, each set of expected data has a priority, and each set of expected data comprises different train numbers;
the method for processing the ticket purchase order by the ticket purchase module comprises the following steps:
and matching the tickets for the expected data according to the priority order, and after the matching is failed for Y times, switching to matching for the next group of expected data, and circulating until the tickets are matched.
The second purpose of the present invention is to provide a ticket-buying method based on mobile communication, which is very convenient for the user to complete ticket-buying by making a call to a certain extent.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a ticket buying method based on mobile communication comprises the following steps:
the verification module confirms the qualification of the user who wants to buy the ticket according to a preset verification method, opens the ticket buying qualification to the user after successful confirmation, and sends a piece of corresponding information to the first communication module; wherein the valid time of the ticket purchasing qualification is T1;
after the user has the qualification of ticket buying, the user can register ticket buying information, wherein the ticket buying information at least comprises a passenger, a seat type, a departure station, an arrival station and a train number;
the docking module receives the ticket purchasing label from the second communication module, generates a ticket purchasing order based on the ticket purchasing label matched with the corresponding ticket purchasing information, generates ticket purchasing success information or ticket purchasing failure information based on the processing result of the ticket selling module on the ticket purchasing order and sends the ticket purchasing success information or the ticket purchasing failure information to the second communication module;
the ticketing module receives the order of buying the tickets and processes the order of buying the tickets;
after the verification module opens the ticket purchasing qualification to the user, the first communication module opens the calling authority to the preset number for the user;
and the second communication module calls corresponding identity information from the user database based on the calling behavior of the user to the preset number, generates a ticket purchasing label based on the identity information, and then sends the ticket purchasing label to the docking module at a preset period until the calling is stopped or ticket purchasing success information is received from the docking module.
Preferably, the authentication method comprises:
a user uploads N photos of people and registration numbers of corresponding people on a ticket service platform through a registration module, and each photo of people is endowed with first-level title information representing the relationship between the photo of people and the user's own interpersonal relationship; the registration number can be a mobile phone number or an identity card number of real-name authentication;
the verification module sends a piece of confirmation information to a registered user corresponding to the figure photo uploaded by the user;
the registered user who is uploaded with the character photo by the user confirms the confirmation information through the verification module;
the verification module generates second-level title information for every two photos according to the first-level title information corresponding to the people photos;
the verification module randomly selects M photos of people, and opens the qualification of buying tickets for the user when the user correctly inputs the secondary title information among the M photos of people.
Preferably, the authentication method comprises: the user uploads N character photos and the mobile phone number of the corresponding character through the registration module, and gives first-level title information representing the relationship between each character photo and the user's own interpersonal relationship to each other;
the verification module packs the identity information of the user and the mobile phone number corresponding to the figure photo uploaded by the user into verification data and sends the verification data to the telecommunication service platform; the telecommunication service platform is provided with an intelligent voice confirmation module, the intelligent voice confirmation module calls the mobile phone number based on the received verification data, obtains confirmation from a user of the mobile phone number in an intelligent voice mode and returns a confirmation result to the verification module;
after obtaining a correct return result, the verification module generates secondary title information for every two photos according to the primary title information corresponding to the character photos;
the verification module randomly selects M photos of people, and opens the qualification of buying tickets for the user when the user correctly inputs the secondary title information among the M photos of people.
The technical effects of the invention are mainly reflected in the following aspects:
1. the user can finish ticket robbing by dialing the phone, and the communication can be kept without hanging up, and ticket purchasing software does not need to be refreshed continuously;
2. a brand-new ticket purchasing qualification verification mode is adopted, and the problem of malicious ticket robbery of cattle can be avoided to a certain extent.
Detailed Description
The following detailed description of the embodiments of the present invention is provided in order to make the technical solution of the present invention easier to understand and understand.
Example 1:
referring to fig. 1, the present embodiment provides a ticket purchasing system based on mobile communication, which includes aticketing service platform 100 and atelecommunication service platform 200. Thetelecommunication service platform 200 is provided by various large telecommunication operators, including telecommunication companies, mobile companies and unicom companies, namely: each operator is provided with atelecommunication service platform 200.
Theticketing services platform 100 includes anauthentication module 101, a registration module, adocking module 102, and aticketing module 103.
Theverification module 101 is configured to perform qualification confirmation on a user who wants to purchase a ticket according to a preset verification method, open a ticket purchasing qualification to the user after successful confirmation, and send a corresponding open message to thetelecommunication service platform 200; wherein, the valid time of the ticket purchasing qualification is T1.
The registration module is used for the user to pre-register user information (which may include identity information, face information, fingerprint information, mobile phone number, etc.), and after the user has the qualification of ticket buying, the user registers ticket buying information, wherein the ticket buying information at least includes a passenger, a seat type, a departure station, an arrival station and a train number.
Thedocking module 102 is configured to receive the ticket purchasing label from thetelecommunication service platform 200, match corresponding ticket purchasing information based on the ticket purchasing label to generate a ticket purchasing order, and generate ticket purchasing success information or ticket purchasing failure information based on a processing result of theticketing module 103 on the ticket purchasing order and send thesecond communication module 203.
Theticketing module 103 is used for receiving a ticket order and processing the ticket order; specifically, for the purpose of ticket robbery, the user may select multiple train numbers at a time, namely: the ticket purchasing information comprises a plurality of sets of expected data, each set of expected data has a priority, and each set of expected data comprises different train numbers. Therefore, the method for processing the ticket order by the ticket purchasing module can be as follows: and matching the tickets for the expected data according to the priority order, and after the matching is failed for Y times, switching to matching for the next group of expected data, and circulating until the tickets are matched. It should be noted that if all the train numbers in the expected data are not available for purchase (exceeding the specified advance purchase time), theticketing module 103 returns a cancellation instruction to thetelecommunication service platform 200.
Thetelecommunication service platform 200 comprises asubscriber database 201, afirst communication module 202 and asecond communication module 203.
Theuser database 201 is used for storing identity information of all users; each identity information is authenticated by real name and is bound with a corresponding mobile phone number.
Thefirst communication module 202 is configured to open a call right to a preset number for the user after theverification module 101 opens the ticket purchasing qualification for the user. That is, after thefirst communication module 202 receives the opening message from theverification module 101, a calling number (i.e., the preset number) is generated for the user, where the form of the calling number may be a representative number of an operator + a mobile phone number of the user, or may be other forms, and the embodiment is not limited.
Thesecond communication module 203 is configured to retrieve corresponding identity information from theuser database 201 based on the call behavior of the user to the preset number, generate a ticket purchasing label based on the identity information, and then send the ticket purchasing label to thedocking module 102 at a preset period until the call is stopped or ticket purchasing success information is received from thedocking module 102. The preset period is set based on the refresh frequency specified by the website of the railway bureau 12306, so that the 12306 is prevented from marking the user as an abnormal user.
In this embodiment, theauthentication module 101 has two authentication methods for the user, which are specifically as follows:
in a first way,
A1, uploading N photos of people and the registration numbers of corresponding people on theticketing service platform 100 by a user through a registration module, and giving first-level title information representing the relationship between each photo of people and the user's own interpersonal relationship to each photo of people; the registration number can be a mobile phone number or an identity card number of real-name authentication;
the first-level name here can be dad, brother, aunt, epiglot, friend, junior college, senior high school college, etc.
A2, theverification module 101 sends a piece of confirmation information to the registered user corresponding to the person photo uploaded by the user;
the confirmation information may be in the form of: "user XXX is uploading your photo of people information as ticket buying qualification proof, you agree". Meanwhile, a similar short message is sent to the registered user in a short message mode.
A3, the registered user who has uploaded the character photo by the user confirms the confirmation information through theverification module 101;
specifically, the registered user logs in to the ticket-buying platform, and confirms the information in the ticket-buying platform.
A4, theverification module 101 generates second-level title information for every two photos according to the first-level title information corresponding to the people photos;
the second-level title here is that the user is used as a middle person to infer the relationship between the people in the two photos, for example, if the first photo is dad of the user and the second photo is bur of the user, then the first photo and the second photo are in a brother relationship, and then the corresponding second-level title is brother; if the first photo is the junior middle school student of the user and the second photo is the senior middle school student of the user, the corresponding second-level name is a stranger; and so on. In addition, if the number of strangers in the secondary title information exceeds half of the total number, the user is prompted to upload the personal photos again.
A5, theverification module 101 randomly picks M (M < N) personal photos, and opens the user the qualification of buying tickets when the user correctly inputs the secondary title information among the M personal photos.
It should be noted that, in order to further determine the authenticity of the personal photos, theverification module 101 retrieves the face recognition information pre-uploaded by the registered user corresponding to the N personal photos uploaded by the user, and verifies the N personal photos; and if the verification fails, prompting the user to upload the character photo again.
The second way,
B1, uploading N photos of people and the mobile phone numbers of the corresponding people by the user through the registration module, and giving first-level title information representing the relationship between the photos of the people and the interpersonal relationship of the user to each photo of people;
b2, theverification module 101 packages the identity information of the user and the mobile phone number corresponding to the person photo uploaded by the user into verification data and sends the verification data to thetelecommunication service platform 200; thetelecommunication service platform 200 is configured with an intelligent voice confirmation module, which calls the mobile phone number based on the received verification data, obtains confirmation from the user of the mobile phone number in an intelligent voice manner, and returns a confirmation result to theverification module 101;
the form of smart speech may be: "hello, user XXX is verifying whether you agree by uploading your photo information of a character as a ticket buying qualification certificate"; if the received answer is "agree", "yes" or other information of similar meaning, the check is passed, otherwise the check is not passed. If the number of times that the telephone can not be dialed exceeds D, selecting to send a text message and prompting to reply corresponding confirmation content.
B3, after obtaining a correct return result, theverification module 101 generates second-level title information for every two photos according to the first-level title information corresponding to the personal photos;
b4, theverification module 101 randomly picks M photos of people, and opens the user to be eligible for ticket purchase when the user correctly inputs the second-level title information between the M photos of people.
The steps B1, B3, and B4 are substantially the same as those in the first embodiment, and therefore are not described again.
Thesecond communication module 203 is further configured to monitor an incoming call condition of the mobile phone number of the user, and if there is another third person calling the user, maintain a preset duration T2 of the current call state for the user, and then access the call of the third person for the user; if the user disconnects the call with the third person within the time T2, the previous call with the preset number is resumed. Through the arrangement, the interruption of ticket robbing behavior caused by temporary call answering of the user can be avoided, so that the opportunity of buying tickets is missed.
In addition, if thesecond communication module 203 receives the cancel instruction, the call with the user is automatically disconnected.
Example II,
On the basis of the first embodiment, the present embodiment further provides a ticket purchasing method based on mobile communication, and with reference to fig. 2, the method includes:
theverification module 101 performs qualification confirmation on a user who wants to purchase a ticket according to a preset verification method, opens ticket purchasing qualification to the user after successful confirmation, and sends a piece of corresponding information to thefirst communication module 202; wherein, the valid time of the ticket purchasing qualification is T1;
after the user has the qualification of ticket buying, the user registers ticket buying information, wherein the ticket buying information at least comprises a passenger, a seat type, a departure station, an arrival station and a train number;
thedocking module 102 receives the ticket purchasing label from thesecond communication module 203 and matches corresponding ticket purchasing information based on the ticket purchasing label to generate a ticket purchasing order;
theticketing module 103 receives the order form and processes the order form;
thedocking module 102 generates ticket-buying success information or ticket-buying failure information based on the processing result of theticketing module 103 on the ticket-buying order and sends the ticket-buying success information or the ticket-buying failure information to thesecond communication module 203;
after theverification module 101 opens the ticket purchasing qualification to the user, thefirst communication module 202 opens the call authority to the preset number for the user;
thesecond communication module 203 retrieves corresponding identity information from theuser database 201 based on the calling behavior of the user to the preset number, generates a ticket purchasing label based on the identity information, and then sends the ticket purchasing label to thedocking module 102 at a preset period until the call is stopped or ticket purchasing success information is received from thedocking module 102.
The verification method of theverification module 101 can refer to the first embodiment, and is not described herein again.
The above are only typical examples of the present invention, and besides, the present invention may have other embodiments, and all the technical solutions formed by equivalent substitutions or equivalent changes are within the scope of the present invention as claimed.