CN104157082A - Automatic ticket collecting method and automatic ticket collecting device - Google Patents

Automatic ticket collecting method and automatic ticket collecting device Download PDF

Info

Publication number
CN104157082A
CN104157082A CN201410367011.3A CN201410367011A CN104157082A CN 104157082 A CN104157082 A CN 104157082A CN 201410367011 A CN201410367011 A CN 201410367011A CN 104157082 A CN104157082 A CN 104157082A
Authority
CN
China
Prior art keywords
mobile terminal
management server
terminal
identifying code
tickets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410367011.3A
Other languages
Chinese (zh)
Inventor
王文治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410367011.3A priority Critical patent/CN104157082A/en
Publication of CN104157082A publication Critical patent/CN104157082A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an automatic ticket collecting method and an automatic ticket collecting device. The automatic ticket collecting method includes that a management server receives a ticket collecting request transmitted by a mobile terminal, the ticket collecting request contains device identification of a device of a ticket collecting terminal and a mobile phone number of the mobile terminal, and the device identification is obtained by scanning a two-dimensional code displayed on the ticket collecting terminal; the management server inquires whether order information corresponding to the mobile phone number exists or not in a database server of a booking system, and if yes, the management server transmits a request for acquiring a user password to the mobile terminal; the management server acquires the user password returned by the mobile terminal and inquires in the database server whether a prestored user password is identical to the user password or not, and if yes, the management server transmits a ticket printing instruction to the ticket collecting terminal according to the device identification, and the ticket printing instruction includes the order information. Therefore, personal information of the user can be effectively prevented from being revealed, and safety of user information is improved.

Description

Automatically the method and apparatus of getting tickets
Technical field
The present invention relates to the communication technology, relate in particular to the one method and apparatus of automatically getting tickets.
Background technology
Along with developing rapidly and network day by day universal of science and technology, increasing user selects to adopt internet booking, and the mode of getting tickets by the terminal of getting tickets, and solves user queue up for a long time and cause the problem that booking efficiency is lower with this.
In prior art, in the time that user gets tickets, the terminal of getting tickets reads personally identifiable information by user's I.D., and after user's personally identifiable information is verified, the terminal of getting tickets gets order corresponding to this user from database server, carries out ticket printing.
But in existing technology, user need get tickets by I.D., after user identity card is lost, may there is the situation that ticket is stolen, and in ticket, often comprise all multi-users' personal information, thereby cause user's personal information to be revealed, cause user information safety lower.
Summary of the invention
The invention provides the one method and apparatus of automatically getting tickets, can effectively prevent that user's personal information from being revealed, improve the security of user profile.
The invention provides the one method of automatically getting tickets, comprising:
The getting tickets request that management server mobile terminal receive sends, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification;
Described management server inquires about whether there be the sequence information corresponding with described cell-phone number in the database server of seat reservation system, if having, sends the request of obtaining user cipher to described mobile terminal;
Described management server obtains the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises the ticket information in described sequence information.
Automatically the method for getting tickets as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Automatically the method for getting tickets as above, wherein, described send and obtain the request of user cipher to described mobile terminal before, described method also comprises:
Described management server generates identifying code, sends to respectively described mobile terminal and described database server;
Described management server receives the identifying code that described mobile terminal returns, and judges that according to the identifying code of described database server stores whether the two is consistent, so that described mobile terminal is carried out to authentication.
The present invention also provides the one method of automatically getting tickets, and comprising:
Mobile terminal is got tickets described in getting after the device identification of terminal by the get tickets Quick Response Code that shows in terminal of scanning, sends to management server getting tickets request, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal;
Described mobile terminal receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after;
User cipher is sent to described management server by described mobile terminal, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
Automatically the method for getting tickets as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Automatically the method for getting tickets as above, wherein, described mobile terminal receive that described management server sends for before obtaining the request of user cipher, described method also comprises:
Described mobile terminal receives the identifying code that described management server sends, and described management server generates after described identifying code, sends to respectively described mobile terminal and described database server;
Described identifying code is returned to described management server by described mobile terminal, the identifying code returning according to described mobile terminal for described management server and the identifying code of described database server stores judge that whether the two is consistent, so that described mobile terminal is carried out to authentication.
The invention provides a kind of management server, comprising:
Receiver module, the getting tickets request sending for mobile terminal receive, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification;
Whether enquiry module, have the sequence information corresponding with described cell-phone number for the database server inquiry at seat reservation system, if having, sends the request of obtaining user cipher to described mobile terminal;
Processing module, for obtaining the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
Management server as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Management server as above, also comprises:
Sending module, for generating identifying code, sends to respectively described mobile terminal and described database server;
Judge module, the identifying code returning for receiving described mobile terminal, and judge that according to the identifying code of described database server stores whether the two is consistent, so that described mobile terminal is carried out to authentication.
The present invention also provides a kind of mobile terminal, comprising:
Sending module, after the device identification of the terminal of getting tickets described in getting for the Quick Response Code showing in the terminal of getting tickets by scanning, sends to management server getting tickets request, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal;
Receiver module, for receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after;
Enquiry module, for user cipher is sent to described management server, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
Mobile terminal as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Mobile terminal as above, also comprises:
Identifying code receiver module, the identifying code sending for receiving described management server, described management server generates after described identifying code, sends to respectively described mobile terminal and described database server;
Identifying code returns to module, for described identifying code is returned to described management server, the identifying code returning according to described mobile terminal for described management server and the identifying code of described database server stores judge that whether the two is consistent, so that described mobile terminal is carried out to authentication.
Automatically the method and apparatus of getting tickets provided by the invention, the request of getting tickets that management server mobile terminal receive sends, this request of getting tickets comprises the device identification of the terminal of getting tickets and the cell-phone number of mobile terminal; When the sequence information corresponding with this cell-phone number inquired about and judged to management server in the database server of seat reservation system, send the request of obtaining user cipher to mobile terminal; Management server obtains the user cipher that mobile terminal returns, and judgement knows that this user cipher is consistent with pre-stored user cipher in database server, according to device identification to the terminal transmission ticket print command of getting tickets.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Brief description of the drawings
Fig. 1 is automatically the get tickets process flow diagram of embodiment of the method one of the present invention;
Fig. 2 is automatically the get tickets signaling diagram of embodiment of the method two of the present invention;
Fig. 3 is automatically the get tickets process flow diagram of embodiment of the method two of the present invention;
Fig. 4 is the structural representation of management server embodiment mono-of the present invention;
Fig. 5 is the structural representation of management server embodiment bis-of the present invention;
Fig. 6 is the structural representation of mobile terminal embodiment mono-of the present invention;
Fig. 7 is the structural representation of mobile terminal embodiment bis-of the present invention;
Fig. 8 is embodiment of the present invention fetching system structural representation.
Embodiment
Fig. 1 is automatically the get tickets process flow diagram of embodiment of the method one of the present invention, and the executive agent of the present embodiment is management server, and this management server can be by software and/or hardware are realized arbitrarily.As shown in Figure 1, the method for the present embodiment can comprise:
The getting tickets request that step 101, management server mobile terminal receive send, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification.
In the present embodiment, in the Quick Response Code showing in the terminal of getting tickets, include the device identification of this terminal of getting tickets, wherein, device identification can be device id, each terminal of getting tickets has unique device id, stores device id list, in database server after management server receives device id, this device id is sent in database server and inquired about, distinguish user with this and in which terminal of getting tickets get tickets.When user gets tickets, first need to open the client of getting tickets of installing in mobile terminal, in this client of getting tickets, be embedded with the function of scanning Quick Response Code, when user opens the client of getting tickets in mobile terminal, and after selecting Quick Response Code scan function, mobile terminal first call self with camera, for example, in Android system, adopt following code to realize calling of camera:
Intent?camera=new?Intent(MediaStore.ACTION_IMAGE_CAPTURE)
startActivityForResult(camera,CAMERA);
Mobile terminal utilizes after camera scanning Quick Response Code identification, it will be appreciated by those skilled in the art that, mobile terminal is by the cell-phone number of the device identification of this terminal of getting tickets and this mobile terminal, by transmission control protocol/Internet Interconnection agreement (Transmission Control Protocol/Internet Protocol, be called for short TCP/IP), with extend markup language (Extensible Markup Language, being called for short XML) mode of data stream sends to management server, management server is resolved the XML data stream receiving, the device identification of terminal and the cell-phone number of this mobile terminal obtain getting tickets.
To obtaining the method for mobile terminal cell-phone number, in the present embodiment with (the Application Programming Interface of the application programming interface by system, be called for short API), adopt code to be directly retrieved as example and describe, but the present invention is not limited to this.
Particularly, API is some predefined functions, is the calling interface that operating system is left application program for, therefore, can obtain by the API of call operation system the cell-phone number of mobile terminal, taking Android system as example, can adopt following code to realize:
TelephonyManager?tm=(TelephonyManager)
this.getSystemService(Context.TELEPHONY_SERVICE);
String?phoneid=tm.getphoneId();
String?phonenumber=tm.getphonenumber();
String?phoneimei=tm.getSimSerialNumber();
String?phoneimsi=tm.getSubscriberId();
Meanwhile, need in authority configuration, add android.permission.READ_PHONE_STATE to obtain access rights, just can obtain the cell-phone number that mobile phone terminal is corresponding.
Step 102, described management server inquire about whether there be the sequence information corresponding with described cell-phone number in the database server of seat reservation system, if having, send the request of obtaining user cipher to described mobile terminal.
Management server receives after the request of getting tickets of mobile terminal transmission, and in the database server of seat reservation system, whether inquiry has the cell-phone number comprising in this request of getting tickets, if having, further whether inquiry has the sequence information corresponding with this cell-phone number; If this cell-phone number not in database server, management server is to mobile terminal link order, to inform that user gets tickets unsuccessfully.
If management server inquires the sequence information that this cell-phone number is corresponding in database server, trigger and be integrated in note control center in management server, wherein, note control center can be realized by software arbitrarily.It will be appreciated by those skilled in the art that, for different operators, between note control center and Short Message Service Gateway center, be all connected by different agreements between Short Message Service Gateway center and sms center, for example: China Linked Network Communication Group Co.,Ltd adopts ICP/IP protocol that note control center is connected with Short Message Service Gateway center, and Short Message Service Gateway center adopts short messaging gateway system interface agreement (Short Message Gateway Interface Protocol is called for short SGIP) to be connected to sms center.Concrete, note control center sends to Short Message Service Gateway center by the note of obtaining user cipher with ICP/IP protocol, and sms center is issued according to SGIP agreement in Short Message Service Gateway center, then by sms center, this note is sent to user again.
The database server that it will be understood by those skilled in the art that the seat reservation system in the present embodiment can be for example oracle database server, ACCESS database server, SQL-SERVER database server etc., and the present embodiment is not particularly limited this.
Step 103, described management server obtain the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises the ticket information in described sequence information.
Concrete, the note control center being integrated in management server receives after the user cipher of mobile terminal transmission, in database server, inquire about, judge that whether this user cipher is consistent with the user cipher that user preserves in the time that seat reservation system is registered, if consistent, illustrate that user cipher is verified, database server sends user cipher to management server and compares successful instruction, management server sends ticket print command according to device identification to the terminal of getting tickets, this ticket print command comprises the ticket information in sequence information, carry out the printing of ticket with this.Management server sends note to mobile terminal simultaneously, and reminding user is got tickets successfully, completes the process of automatically getting tickets, and wherein, ticket print command comprises sequence information.If the user cipher that this user cipher and user preserve in the time that seat reservation system is registered is inconsistent, management server returns to response to mobile terminal, to inform that user gets tickets unsuccessfully.
The method of automatically getting tickets that the embodiment of the present invention provides, the request of getting tickets that management server mobile terminal receive sends, this request of getting tickets comprises the device identification of the terminal of getting tickets and the cell-phone number of mobile terminal; When the sequence information corresponding with this cell-phone number inquired about and judged to management server in the database server of seat reservation system, send the request of obtaining user cipher to mobile terminal; Management server obtains the user cipher that mobile terminal returns, and judgement knows that this user cipher is consistent with pre-stored user cipher in database server, according to device identification to the terminal transmission ticket print command of getting tickets, to carry out the printing of ticket.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Automatically the method for getting tickets as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.In concrete application, if when the corresponding sequence information of the cell-phone number of mobile terminal comprises more than two, user can select the current ticket number that needs printing by seat reservation system, has improved the dirigibility that ticket is printed.
Wherein, this info web can be for example URL(uniform resource locator) (Uniform Resource Locator, be called for short URL), and on WWW, each information resources has unified and in online unique address, this address is URL.Mobile terminal is by scanning Quick Response Code, obtain getting tickets after the device identification of terminal and the URL of seat reservation system, this device identification and this URL are passed through to ICP/IP protocol, mode with XML data stream sends to management server, management server is resolved the data that receive, obtain the URL of device identification and seat reservation system, mobile terminal is by built-in webkit control access seat reservation system.Meanwhile, the device identification that management server obtains parsing sends to database server, gets tickets in which terminal of getting tickets to distinguish user.
Further, the method for automatically getting tickets as above, management server can also generate identifying code before obtaining the request of user cipher to mobile terminal transmission, sends to respectively mobile terminal and database server; The identifying code that management server mobile terminal receive returns, and judge that according to the identifying code of database server stores whether the two is consistent, so that mobile terminal is carried out to authentication.
In concrete implementation procedure, after management server inquires order in database server, send the random identifying code generating by note control center to mobile terminal, send to database server to preserve this identifying code simultaneously.After mobile terminal receives identifying code, this identifying code is turned back to management server by form by note, the identifying code that management server returns to mobile terminal is compared with the identifying code of preserving in advance, thereby the identity to mobile terminal is verified, can improve the security of user profile.
In the present embodiment, management server is by generating identifying code and sending to respectively mobile terminal and database server, the identifying code that mobile terminal is returned is compared with the identifying code being kept in database server, mobile terminal is carried out to authentication, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Further, after the terminal of getting tickets completes ticket printing, send ticket print successful instruction to management server, management server and database server communicate, make database server automatically revise sequence information, to ensure the real-time update of sequence information in database server.
Fig. 2 is automatically the get tickets signaling diagram of embodiment of the method two of the present invention, while having three with the corresponding sequence information of cell-phone number of mobile terminal in the present embodiment, user is got tickets by mobile scanning terminal, and to obtain a wherein ticket be that example elaborates technical solution of the present invention for the Quick Response Code that shows in terminal, for the purpose of being described clearly, three sequence informations comprise: Beijing-Xi'an, Beijing-Shanghai, Shanghai-Beijing, the ticket that user need to obtain is Beijing-Shanghai.Concrete, the present embodiment comprises the steps:
Step 201, user are by being arranged on the client scan of getting tickets that is embedded with Quick Response Code scan function on the mobile terminal Quick Response Code showing in terminal of getting tickets.
The device identification of step 202, this terminal of getting tickets of acquisition for mobile terminal and the info web of seat reservation system.
Step 203, mobile terminal are accessed seat reservation system according to info web.
Step 204, mobile terminal send to management server the request of getting tickets, and this request of getting tickets comprises the device identification of the terminal of getting tickets and the cell-phone number of mobile terminal.
Step 205, management server are inquired about the sequence information that this cell-phone number is corresponding in the database server of seat reservation system.
Step 206, management server send the random identifying code generating to mobile terminal.
Step 207, management server send and identifying code identical in step 206 to database server.
Step 208, mobile terminal turn back to management server by the form of note by the identifying code of receiving.
The identifying code receiving is sent to database server by step 209, management server, and with in step 207, send to the identifying code of storing in database server and compare.
If the comparison of step 210 identifying code is consistent, database server sends to management server the instruction that identifying code is verified.
Step 211, management server send the request of obtaining user cipher to mobile terminal.
Step 212, mobile terminal send to management server by the form of note by user cipher,
Step 213, management server send to the user cipher receiving in database server, and whether the user cipher of preserving when inquiring about this user cipher and registering in seat reservation system with user is consistent.
If the comparison of step 214 user cipher is consistent, database server sends to management server the instruction that user cipher is verified.
Step 215, management server send user cipher to mobile terminal and are verified instruction.
Step 216, mobile terminal jump to the individual subscriber sequence information page automatically, and this sequence information comprises Beijing-Xi'an, Beijing-Shanghai, three, Shanghai-Beijing order.
Step 217, user select the sequence information in Beijing-Shanghai, and the request of printing ticket is sent to management server by mobile terminal.
Step 218, management server send ticket print command to the terminal of getting tickets.
The ticket in Beijing-Shanghai that step 219, this user of end print that gets tickets select.
Step 220, the terminal of getting tickets are returned to ticket to management server and are printed successful instruction.
Step 221, management server send ticket to mobile terminal and print successful instruction.
Step 222, management server send the request of amendment sequence information to database server, make the sequence information in Beijing-Shanghai in sequence information corresponding to this user in database server synchronously be revised as completed state.
Fig. 3 is automatically the get tickets process flow diagram of embodiment of the method two of the present invention, and the executive agent of the present embodiment is mobile terminal.As shown in Figure 3, the method for the present embodiment can comprise:
Step 301, mobile terminal are got tickets described in getting after the device identification of terminal by the get tickets Quick Response Code that shows in terminal of scanning, send to management server getting tickets request, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal.
In this step, Quick Response Code comprises the device identification of the terminal of getting tickets, and wherein, device identification can be device id, and each terminal of getting tickets has unique device id, distinguishes user in which terminal of getting tickets get tickets with this.
It will be appreciated by those skilled in the art that, utilize after the mobile scanning terminal Quick Response Code with Quick Response Code scan function, mobile terminal, by the cell-phone number of the device identification of this terminal of getting tickets and this mobile terminal, by ICP/IP protocol, sends to management server in the mode of XML data stream.
Step 302, mobile terminal receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after.
Management server receives after the request of getting tickets of mobile terminal transmission, inquire about in the database server of seat reservation system according to the cell-phone number of the mobile terminal receiving, if inquire the sequence information that this cell-phone number is corresponding, trigger the note control center being integrated in management server, note control center and Short Message Service Gateway center connect by wireless, Short Message Service Gateway center adopts SGIP agreement to be connected to sms center, and transmitting short message is to this cell-phone number, to obtain user cipher.Wherein, note control center can be by software and/or hardware are realized arbitrarily.If do not find corresponding sequence information, management server is to mobile terminal link order, to inform that user gets tickets unsuccessfully.
User cipher is sent to described management server by step 303, mobile terminal, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises the ticket information in described sequence information.
Mobile terminal receives after the request of obtaining user cipher of management server transmission, user cipher is sent to the note control center being integrated in management server with note form, after note control center gets user cipher, in database server, inquire about, judge that whether this user cipher is consistent with the user cipher that user preserves in the time that seat reservation system is registered, if consistent, illustrate that user cipher is verified, database server sends user cipher to management server and compares successful instruction, management server sends ticket print command according to device identification to the terminal of getting tickets, this ticket print command comprises the ticket information in sequence information, carry out the printing of ticket with this.Management server sends note to mobile terminal simultaneously, and reminding user is got tickets successfully.If the user cipher that this user cipher and user preserve in the time that seat reservation system is registered is inconsistent, management server returns to response to mobile terminal, to inform that user gets tickets unsuccessfully.
The method of automatically getting tickets that the embodiment of the present invention provides, mobile terminal gets after the device identification of the terminal of getting tickets by the scanning Quick Response Code showing in terminal of getting tickets, send to management server the request of getting tickets, the request of getting tickets comprises the cell-phone number of device identification and mobile terminal; Management server is inquired about in database server according to cell-phone number and is obtained after corresponding sequence information, sends the request of obtaining user cipher to mobile terminal; User cipher is sent to management server by mobile terminal, knows that this user cipher is consistent with pre-stored user cipher if management server is inquired about, and sends ticket print command according to device identification to the terminal of getting tickets.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Automatically the method for getting tickets as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.This info web can be for example URL(uniform resource locator) (Uniform Resource Locator, be called for short URL), in WWW (World Wide Web ", be called for short WWW); each information resources has unified and in online unique address, this address is URL.Mobile terminal, by the scanning Quick Response Code showing in terminal of getting tickets, after getting the URL of seat reservation system, calls the built-in webkit control of mobile terminal, thus access seat reservation system.
Further, automatically the method for getting tickets as above, mobile terminal receiving management server send for before obtaining the request of user cipher, also need receiving management server send identifying code, management server generates after identifying code, sends to respectively mobile terminal and database server; Identifying code is returned to management server by mobile terminal, and the identifying code returning according to mobile terminal for management server and the identifying code of database server stores judge that whether the two is consistent, so that mobile terminal is carried out to authentication.
In concrete implementation procedure, after management server inquires order in database server, can generate at random identifying code, by note, control center sends to mobile terminal, sends to database server to preserve this identifying code simultaneously.After mobile terminal receives identifying code, this identifying code is returned to management server by form by note, the identifying code that management server returns to mobile terminal is compared with the identifying code of preserving in advance, thereby the identity to mobile terminal is verified, can improve the security of user profile.
In the present embodiment, the identifying code that mobile terminal sends by receiving management server, and this identifying code is returned to management server, the identifying code that management server returns to mobile terminal is compared with the identifying code being kept in database server, so that mobile terminal is carried out to authentication, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Fig. 4 is the structural representation of management server embodiment mono-of the present invention, as shown in Figure 4, the management service implement body that the present embodiment provides can be realized each step of the method that is applied to management server that any embodiment of the present invention provides, and specific implementation process does not repeat them here.The management server that the embodiment of the present invention provides comprises receiver module 11, enquiry module 12 and processing module 13.
Wherein, receiver module 11, the getting tickets request sending for mobile terminal receive, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification;
Whether enquiry module 12, have the sequence information corresponding with described cell-phone number for the database server inquiry at seat reservation system, if having, sends the request of obtaining user cipher to described mobile terminal;
Processing module 13, for obtaining the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
The management server that the embodiment of the present invention provides, the request of getting tickets that management server mobile terminal receive sends, this request of getting tickets comprises the device identification of the terminal of getting tickets and the cell-phone number of mobile terminal; When the sequence information corresponding with this cell-phone number inquired about and judged to management server in the database server of seat reservation system, send the request of obtaining user cipher to mobile terminal; Management server obtains the user cipher that mobile terminal returns, and judgement knows that this user cipher is consistent with pre-stored user cipher in database server, according to device identification to the terminal transmission ticket print command of getting tickets.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Further, management server as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Fig. 5 is the structural representation of management server embodiment bis-of the present invention, and as shown in Figure 5, the management server of the present embodiment, on the basis of the structure of management server shown in Fig. 4, further, can also comprise:
Sending module 14, for generating identifying code, sends to respectively described mobile terminal and described database server;
Judge module 15, the identifying code returning for receiving described mobile terminal, and judge that according to the identifying code of described database server stores whether the two is consistent, so that described mobile terminal is carried out to authentication.
After management server inquires order in database server, send the random identifying code generating by note control center to mobile terminal, send to database server to preserve this identifying code simultaneously.After mobile terminal receives identifying code, this identifying code is turned back to management server by form by note, the identifying code that management server returns to mobile terminal is compared with the identifying code of preserving in advance, thereby the identity to mobile terminal is verified, can improve the security of user profile.
The management server that the present embodiment provides, management server is by generating identifying code and sending to respectively mobile terminal and database server, the identifying code that mobile terminal is returned is compared with the identifying code being kept in database server, mobile terminal is carried out to authentication, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Fig. 6 is the structural representation of mobile terminal embodiment mono-of the present invention, and as shown in Figure 6, the mobile terminal that the embodiment of the present invention provides comprises sending module 21, receiver module 22 and enquiry module 23.
Wherein, sending module 21, after the device identification of the terminal of getting tickets described in the Quick Response Code showing in terminal for getting tickets by scanning gets, send to management server the request of getting tickets, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal;
Receiver module 22, for receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after;
Enquiry module 23, for user cipher is sent to described management server, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
The mobile terminal that the embodiment of the present invention provides, mobile terminal gets after the device identification of the terminal of getting tickets by the scanning Quick Response Code showing in terminal of getting tickets, send to management server the request of getting tickets, the request of getting tickets comprises the cell-phone number of device identification and mobile terminal; Management server is inquired about in database server according to cell-phone number and is obtained after corresponding sequence information, sends the request of obtaining user cipher to mobile terminal; User cipher is sent to management server by mobile terminal, knows that this user cipher is consistent with pre-stored user cipher if management server is inquired about, and sends ticket print command according to device identification to the terminal of getting tickets.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Further, mobile terminal as above, wherein, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
Fig. 7 is the structural representation of mobile terminal embodiment bis-of the present invention, and as shown in Figure 7, the mobile terminal of the present embodiment, on the basis of the structure of mobile terminal shown in Fig. 6, further, can also comprise:
Identifying code receiver module 24, the identifying code sending for receiving described management server, described management server generates after described identifying code, sends to respectively described mobile terminal and described database server;
Identifying code returns to module 25, for described identifying code is returned to described management server, the identifying code returning according to described mobile terminal for described management server and the identifying code of described database server stores judge that whether the two is consistent, so that described mobile terminal is carried out to authentication.
The mobile terminal that the present embodiment provides, the identifying code that mobile terminal sends by receiving management server, and this identifying code is returned to management server, the identifying code that management server returns to mobile terminal is compared with the identifying code being kept in database server, so that mobile terminal is carried out to authentication, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
Fig. 8 is embodiment of the present invention fetching system structural representation, and as shown in Figure 8, this system comprises database server 801, management server 802, the terminal of getting tickets 803 and mobile terminal 804.Wherein, database server 801 can be oracle database server, ACCESS database server, SQL-SERVER database server etc.Management server 802 carries out data communication by fire wall 805 and radio access point 806 and mobile terminal 804.
The management server 802 relating in this fetching system embodiment is described in management server embodiment mono-, embodiment bis-, and mobile terminal 804 is described in mobile terminal embodiment mono-, embodiment bis-, and its concrete structure and function repeat no more herein.
The fetching system that the present embodiment provides is realized all flow processs of the method for automatically getting tickets, and can, with reference to above-mentioned each embodiment of the method, repeat no more herein.In this fetching system, the request of getting tickets that management server mobile terminal receive sends, this request of getting tickets comprises the device identification of the terminal of getting tickets and the cell-phone number of mobile terminal; Management server queries is also judged have the sequence information corresponding with cell-phone number in the database server of seat reservation system time, sends the request of obtaining user cipher to mobile terminal; Management server obtains the user cipher that mobile terminal returns, and judgement knows that this user cipher of inquiry is consistent with pre-stored user cipher in database server, according to device identification to the terminal transmission ticket print command of getting tickets.Due in the process of getting tickets, need to user cipher be sent to management server in the mode of note at mobile terminal, after user cipher is verified, just can carry out ticket printing, thereby the personal information that can effectively prevent user is revealed, and has improved the security of user profile.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of programmed instruction.Aforesaid program can be stored in a computer read/write memory medium.This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. the method for automatically getting tickets, is characterized in that, comprising:
The getting tickets request that management server mobile terminal receive sends, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification;
Described management server inquires about whether there be the sequence information corresponding with described cell-phone number in the database server of seat reservation system, if having, sends the request of obtaining user cipher to described mobile terminal;
Described management server obtains the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises the ticket information in described sequence information.
2. method according to claim 1, is characterized in that, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
3. method according to claim 1 and 2, is characterized in that, described send and obtain the request of user cipher to described mobile terminal before, described method also comprises:
Described management server generates identifying code, sends to respectively described mobile terminal and described database server;
Described management server receives the identifying code that described mobile terminal returns, and judges that according to the identifying code of described database server stores whether the two is consistent, so that described mobile terminal is carried out to authentication.
4. the method for automatically getting tickets, is characterized in that, comprising:
Mobile terminal is got tickets described in getting after the device identification of terminal by the get tickets Quick Response Code that shows in terminal of scanning, sends to management server getting tickets request, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal;
Described mobile terminal receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after;
User cipher is sent to described management server by described mobile terminal, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises the ticket information in described sequence information.
5. method according to claim 4, is characterized in that, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
6. according to the method described in claim 4 or 5, it is characterized in that, described mobile terminal receive that described management server sends for before obtaining the request of user cipher, described method also comprises:
Described mobile terminal receives the identifying code that described management server sends, and described management server generates after described identifying code, sends to respectively described mobile terminal and described database server;
Described identifying code is returned to described management server by described mobile terminal, the identifying code returning according to described mobile terminal for described management server and the identifying code of described database server stores judge that whether the two is consistent, so that described mobile terminal is carried out to authentication.
7. a management server, is characterized in that, comprising:
Receiver module, the getting tickets request sending for mobile terminal receive, described in get tickets and ask to comprise the device identification of the terminal of getting tickets and the cell-phone number of described mobile terminal; To be described mobile terminal get by the Quick Response Code showing in the terminal of getting tickets described in scanning in described device identification;
Whether enquiry module, have the sequence information corresponding with described cell-phone number for the database server inquiry at seat reservation system, if having, sends the request of obtaining user cipher to described mobile terminal;
Processing module, for obtaining the user cipher that described mobile terminal returns, and whether inquiry is consistent with pre-stored user cipher in described database server, if consistent, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
8. management server according to claim 7, is characterized in that, also comprises the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
9. according to the management server described in claim 7 or 8, it is characterized in that, also comprise:
Sending module, for generating identifying code, sends to respectively described mobile terminal and described database server;
Judge module, the identifying code returning for receiving described mobile terminal, and judge that according to the identifying code of described database server stores whether the two is consistent, so that described mobile terminal is carried out to authentication.
10. a mobile terminal, is characterized in that, comprising:
Sending module, after the device identification of the terminal of getting tickets described in getting for the Quick Response Code showing in the terminal of getting tickets by scanning, sends to management server getting tickets request, described in get tickets and ask to comprise the cell-phone number of described device identification and described mobile terminal;
Receiver module, for receive that described management server sends for obtaining the request of user cipher, described request is to send to described mobile terminal described management server inquire about sequence information corresponding to acquisition in described database server according to described cell-phone number after;
Enquiry module, for user cipher is sent to described management server, after inquiring about in the database server of seat reservation system for described management server and knowing that described user cipher is consistent with pre-stored user cipher, send ticket print command according to described device identification to the described terminal of getting tickets, described ticket print command comprises described sequence information.
11. mobile terminals according to claim 10, is characterized in that, also comprise the info web of described seat reservation system in described Quick Response Code, for seat reservation system described in described mobile terminal accessing.
12. according to the mobile terminal described in claim 10 or 11, it is characterized in that, also comprises:
Identifying code receiver module, the identifying code sending for receiving described management server, described management server generates after described identifying code, sends to respectively described mobile terminal and described database server;
Identifying code returns to module, for described identifying code is returned to described management server, the identifying code returning according to described mobile terminal for described management server and the identifying code of described database server stores judge that whether the two is consistent, so that described mobile terminal is carried out to authentication.
CN201410367011.3A 2014-07-29 2014-07-29 Automatic ticket collecting method and automatic ticket collecting device Pending CN104157082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410367011.3A CN104157082A (en) 2014-07-29 2014-07-29 Automatic ticket collecting method and automatic ticket collecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410367011.3A CN104157082A (en) 2014-07-29 2014-07-29 Automatic ticket collecting method and automatic ticket collecting device

Publications (1)

Publication Number Publication Date
CN104157082A true CN104157082A (en) 2014-11-19

Family

ID=51882570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410367011.3A Pending CN104157082A (en) 2014-07-29 2014-07-29 Automatic ticket collecting method and automatic ticket collecting device

Country Status (1)

Country Link
CN (1) CN104157082A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096389A (en) * 2015-08-20 2015-11-25 百度在线网络技术(北京)有限公司 Ticket fetching machine and implementation method thereof
CN106504341A (en) * 2016-10-21 2017-03-15 广州广电运通金融电子股份有限公司 Automatic selling ticket taking machine and automatic selling fetching system and operation method
CN109376809A (en) * 2018-08-13 2019-02-22 盘缠科技股份有限公司 The method and apparatus for realizing secure payment using two dimensional code
CN110942556A (en) * 2019-12-27 2020-03-31 合肥美的智能科技有限公司 Authentication method of unmanned retail terminal, server and client
CN112085900A (en) * 2019-06-13 2020-12-15 中国民航信息网络股份有限公司 Self-service printing method and device and mobile device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055748A1 (en) * 2002-12-13 2004-07-01 Ipag Inter Personal Ag Device and method for pre-booking and issuing tickets by means of dispensing machines
CN1851762A (en) * 2005-10-27 2006-10-25 华为技术有限公司 Mobile payment system and mobile payment transaction information processing method
CN1874387A (en) * 2006-06-30 2006-12-06 上海序参量科技发展有限公司 Method and system of mobile terminal in use for financial transactions
CN101236675A (en) * 2008-01-30 2008-08-06 信雅达系统工程股份有限公司 Method for checking bank terminal equipment legitimacy by user mobile phones SMS
CN101388125A (en) * 2007-09-12 2009-03-18 上海亿动信息技术有限公司 System and method for controlling sale of dispenser by user terminal
CN101520924A (en) * 2008-12-31 2009-09-02 上海序参量科技发展有限公司 Terminal, system and realization method for realizing financial transactions by two-dimensional bar code
CN201638269U (en) * 2010-05-10 2010-11-17 杭州视界科技有限公司 Network ID-based ticket booking and picking-up system
CN102411817A (en) * 2011-09-19 2012-04-11 中国工商银行股份有限公司 Method and system for identifying bank self-service machine
CN102637265A (en) * 2011-02-09 2012-08-15 中兴通讯股份有限公司 Ticket booking and checking system, ticket checking terminal and ticket checking method
CN103106749A (en) * 2012-12-25 2013-05-15 中国工商银行股份有限公司 Banking service device, automatic teller machine (ATM) equipment, banking system and banking service system
CN103150837A (en) * 2013-02-01 2013-06-12 深圳市怡化电脑有限公司 System and method for achieving cardless withdrawal on automatic teller machine (ATM)
CN103914922A (en) * 2014-03-20 2014-07-09 上海合合信息科技发展有限公司 Self-service office equipment and control device and method thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055748A1 (en) * 2002-12-13 2004-07-01 Ipag Inter Personal Ag Device and method for pre-booking and issuing tickets by means of dispensing machines
CN1851762A (en) * 2005-10-27 2006-10-25 华为技术有限公司 Mobile payment system and mobile payment transaction information processing method
CN1874387A (en) * 2006-06-30 2006-12-06 上海序参量科技发展有限公司 Method and system of mobile terminal in use for financial transactions
CN101388125A (en) * 2007-09-12 2009-03-18 上海亿动信息技术有限公司 System and method for controlling sale of dispenser by user terminal
CN101236675A (en) * 2008-01-30 2008-08-06 信雅达系统工程股份有限公司 Method for checking bank terminal equipment legitimacy by user mobile phones SMS
CN101520924A (en) * 2008-12-31 2009-09-02 上海序参量科技发展有限公司 Terminal, system and realization method for realizing financial transactions by two-dimensional bar code
CN201638269U (en) * 2010-05-10 2010-11-17 杭州视界科技有限公司 Network ID-based ticket booking and picking-up system
CN102637265A (en) * 2011-02-09 2012-08-15 中兴通讯股份有限公司 Ticket booking and checking system, ticket checking terminal and ticket checking method
CN102411817A (en) * 2011-09-19 2012-04-11 中国工商银行股份有限公司 Method and system for identifying bank self-service machine
CN103106749A (en) * 2012-12-25 2013-05-15 中国工商银行股份有限公司 Banking service device, automatic teller machine (ATM) equipment, banking system and banking service system
CN103150837A (en) * 2013-02-01 2013-06-12 深圳市怡化电脑有限公司 System and method for achieving cardless withdrawal on automatic teller machine (ATM)
CN103914922A (en) * 2014-03-20 2014-07-09 上海合合信息科技发展有限公司 Self-service office equipment and control device and method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096389A (en) * 2015-08-20 2015-11-25 百度在线网络技术(北京)有限公司 Ticket fetching machine and implementation method thereof
CN106504341A (en) * 2016-10-21 2017-03-15 广州广电运通金融电子股份有限公司 Automatic selling ticket taking machine and automatic selling fetching system and operation method
CN109376809A (en) * 2018-08-13 2019-02-22 盘缠科技股份有限公司 The method and apparatus for realizing secure payment using two dimensional code
CN112085900A (en) * 2019-06-13 2020-12-15 中国民航信息网络股份有限公司 Self-service printing method and device and mobile device
CN110942556A (en) * 2019-12-27 2020-03-31 合肥美的智能科技有限公司 Authentication method of unmanned retail terminal, server and client

Similar Documents

Publication Publication Date Title
CN105307169B (en) The cut-in method of guest network, device and system
CN104157082A (en) Automatic ticket collecting method and automatic ticket collecting device
US20170161721A1 (en) Method and system for opening account based on euicc
JP5693575B2 (en) Method and apparatus for verification of telephone numbers
CN103067911B (en) The method and apparatus that control hardware module uses
US9641575B2 (en) Method for sharing multimedia content between two users
CN108600376B (en) Data transmission method and device based on LoRa, LoRa gateway, system and storage medium
US20050227669A1 (en) Security key management system and method in a mobile communication network
CN104244227A (en) Terminal access authentication method and device in internet of things system
US10645568B2 (en) Carrier configuration processing method, device and system, and computer storage medium
KR20160067776A (en) A method of provisioning a subscriber profile for a secure module
WO2016045478A1 (en) Sim card reading and writing method, and terminal
RU2006114719A (en) METHOD FOR SECURITY MANAGEMENT OF APPLICATIONS USING THE SECURITY MODULE
CN104283848A (en) Terminal access method and device
JP2017535122A (en) Sensor code verification processing method, apparatus, network platform device, and Internet gateway of things
US11201928B2 (en) Method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method
EP1637003B1 (en) Databases synchronization
US8982403B2 (en) System and method for context-aware printing service
CN104767614A (en) Information authentication method and device
CN105336013B (en) It is a kind of that the method and system called the roll is realized by beacon broadcast
CN110176091A (en) A method of smart lock safety is improved by mobile terminal device code
KR100766020B1 (en) Mobile communication terminal, control method thereof, and method for controlling a mobile communication service
KR20150105292A (en) Mobile sender controlled data access and data deletion method and system
CN105165035B (en) Have both the multimedia message transmission of text message transmission
US20180027354A1 (en) Method of configuring a smart mobile device for remote control of a target process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141119