CN101944225A - Method for subscribing and checking electronic ticket and relevant system - Google Patents
Method for subscribing and checking electronic ticket and relevant system Download PDFInfo
- Publication number
- CN101944225A CN101944225A CN2009100880123A CN200910088012A CN101944225A CN 101944225 A CN101944225 A CN 101944225A CN 2009100880123 A CN2009100880123 A CN 2009100880123A CN 200910088012 A CN200910088012 A CN 200910088012A CN 101944225 A CN101944225 A CN 101944225A
- Authority
- CN
- China
- Prior art keywords
- electronic ticket
- carrier
- electronic
- ticket
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000004891 communication Methods 0.000 claims description 19
- 238000007689 inspection Methods 0.000 claims description 13
- 230000008676 import Effects 0.000 claims description 7
- 239000000969 carrier Substances 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 14
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000005012 migration Effects 0.000 description 2
- 238000013508 migration Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种电子票的订购、检票方法及相关系统,用以解决现有技术中由于电子票载体的存储能力有限,导致订票者能够订购的电子票数量受到严格限制的问题。本发明提供的电子票的订购方法,包括:票务中心服务器接收电子票的订购消息,其中携带电子票载体的标识信息;根据所述订购消息生成相应的电子票,确认所述电子票载体当前不满足电子票存储条件时,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备。
The invention discloses an electronic ticket ordering and checking method and a related system, which are used to solve the problem in the prior art that the number of electronic tickets that a ticket orderer can order is strictly limited due to the limited storage capacity of the electronic ticket carrier. The electronic ticket ordering method provided by the present invention includes: the ticketing center server receives an electronic ticket order message, which carries the identification information of the electronic ticket carrier; generates a corresponding electronic ticket according to the order message, and confirms that the electronic ticket carrier is currently not When the electronic ticket storage condition is satisfied, the generated electronic ticket and the identification information of the corresponding electronic ticket carrier are sent to the electronic ticket storage device on the network side.
Description
技术领域technical field
本发明涉及移动通信领域,尤其涉及一种电子票的订购方法及系统、以及电子票的检票方法及系统。The invention relates to the field of mobile communications, in particular to a method and system for ordering electronic tickets, and a method and system for checking electronic tickets.
背景技术Background technique
电子票是普通纸制票的电子存在形式,订票者发送电子票的订购消息至售票方网络侧的票务中心服务器,票务中心服务器根据订购消息生成相应的电子票,并将电子票通过有线或无线方式下发至订票者的电子票载体。电子票载体可以是插入SIM(Subscriber Identity Module,用户识别模块)卡的移动终端,也可以是一张逻辑卡或CPU(中央处理器)卡,电子票载体起到一个电子票箱的作用,用于存储票务中心服务器下发的所有电子票。订票者在售票方提供的各种使用场合使用预先订购的某一张电子票时,售票方通过安装在使用场合的设置有RFID(Radio Frequency Identification,射频识别)模块的检票设备对存储在电子票载体中的该电子票进行识读和检验,完成对电子票的检票功能,从而为订票者提供相应服务。电子票相对于普通纸制票,提升了使用的便利性和安全性。Electronic ticket is the electronic existence form of ordinary paper ticket. The ticket orderer sends the order message of electronic ticket to the ticket center server on the network side of the ticket seller. The ticket center server generates the corresponding electronic ticket according to the order message, and sends the electronic ticket through wired or The electronic ticket carrier that is sent wirelessly to the booker. The electronic ticket carrier can be a mobile terminal inserted into a SIM (Subscriber Identity Module, Subscriber Identity Module) card, or a logic card or a CPU (central processing unit) card. The electronic ticket carrier acts as an electronic ticket box. Store all electronic tickets issued by the server of the ticket center. When a ticket booker uses a pre-ordered electronic ticket in various usage occasions provided by the ticket seller, the ticket seller uses the ticket checking device installed on the usage occasion and equipped with an RFID (Radio Frequency Identification, radio frequency identification) module to store in the electronic ticket. The electronic ticket in the ticket carrier is read and checked, and the checking function of the electronic ticket is completed, so as to provide corresponding services for the booker. Compared with ordinary paper tickets, electronic tickets improve the convenience and security of use.
在电子票载体中存储的每一张电子票的内容,实质上是将普通纸制票上印刷的内容经电子化处理后所得的信息,包括:售票方名称、电子票类型、电子票标识(电子票标识对每一张电子票是唯一的)、使用日期、使用时间、电子票价格、座位号码、使用说明等等。其中部分信息可以占用固定的字节长度,例如电子票类型占用1Byte(字节),电子票标识占用10Byte,使用日期(XXXX年XX月XX日)占用4Byte,使用时间(XX时XX分)占用2Byte,电子票价格占用4Byte;而其它信息需要占用的字节长度是可变的,例如售票方名称、座位号码、使用说明等。上述信息一般为文本类型,如果文本中包括汉字,则一个汉字至少占用2Byte。The content of each electronic ticket stored in the electronic ticket carrier is essentially the information obtained by electronically processing the content printed on the ordinary paper ticket, including: the name of the ticket seller, the type of the electronic ticket, the identification of the electronic ticket ( The electronic ticket identification is unique to each electronic ticket), the date of use, the time of use, the price of the electronic ticket, the seat number, the instructions for use, etc. Part of the information can occupy a fixed byte length. For example, the electronic ticket type occupies 1 Byte (byte), the electronic ticket identification occupies 10 Byte, the use date (XXXX, XX, XX) occupies 4 Byte, and the use time (XX hour and XX minutes) occupies 4 Byte. 2Byte, e-ticket price occupies 4Byte; and other information needs to occupy variable byte length, such as ticket seller name, seat number, instruction, etc. The above information is generally of text type, and if the text includes Chinese characters, a Chinese character occupies at least 2Byte.
由于每一张电子票均需要占用电子票载体中一定的存储空间,而电子票载体的存储能力非常有限,并且提升电子票载体的存储能力需要付出的硬件成本较高,使得电子票载体能够存储的电子票数量受到限制,导致订票者能够订购的电子票数量受到严格限制,从而严重制约了电子票的使用。电子票载体以插入SIM卡的移动终端为例进行说明,在移动终端的SIM卡上一般为电子票预留1~2KB的存储空间,如果为每一张电子票分配大约255Byte的存储空间,使得插入SIM卡的移动终端上最多能够存储5~10张电子票。Since each electronic ticket needs to occupy a certain storage space in the electronic ticket carrier, and the storage capacity of the electronic ticket carrier is very limited, and the hardware cost required to improve the storage capacity of the electronic ticket carrier is relatively high, so that the electronic ticket carrier can store The number of e-tickets is limited, resulting in a strict limit on the number of e-tickets that bookers can order, thus seriously restricting the use of e-tickets. The e-ticket carrier is illustrated by taking a mobile terminal inserted with a SIM card as an example. Generally, 1-2KB of storage space is reserved for electronic tickets on the SIM card of the mobile terminal. If about 255Byte of storage space is allocated for each electronic ticket, making A mobile terminal with a SIM card inserted can store up to 5 to 10 electronic tickets.
发明内容Contents of the invention
本发明提供一种电子票的订购、检票方法及相关系统,用以解决现有技术中由于电子票载体的存储能力有限,导致订票者能够订购的电子票数量受到严格限制的问题。The invention provides an electronic ticket ordering and checking method and a related system, which are used to solve the problem in the prior art that the number of electronic tickets that a ticket orderer can order is strictly limited due to the limited storage capacity of the electronic ticket carrier.
本发明提供一种电子票的订购方法,包括:The invention provides a method for ordering an electronic ticket, comprising:
票务中心服务器接收电子票的订购消息,其中携带电子票载体的标识信息;The ticketing center server receives the electronic ticket order message, which carries the identification information of the electronic ticket carrier;
根据所述订购消息生成相应的电子票,确认所述电子票载体当前不满足电子票存储条件时,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备。Generate a corresponding electronic ticket according to the order message, and send the generated electronic ticket and the identification information of the corresponding electronic ticket carrier to the electronic ticket storage device on the network side when confirming that the electronic ticket carrier does not meet the storage conditions for the electronic ticket .
本发明提供一种电子票的订购系统,包括票务中心服务器和电子票存储设备,其中:The present invention provides an electronic ticket ordering system, including a ticketing center server and an electronic ticket storage device, wherein:
所述票务中心服务器,用于接收电子票的订购消息,其中携带电子票载体的标识信息;根据所述订购消息生成相应的电子票,确认所述电子票载体当前不满足电子票存储条件时,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备;The ticketing center server is configured to receive an electronic ticket order message, which carries the identification information of the electronic ticket carrier; generate a corresponding electronic ticket according to the order message, and confirm that the electronic ticket carrier does not currently meet the electronic ticket storage conditions, Send the generated electronic ticket and the identification information of the corresponding electronic ticket carrier to the electronic ticket storage device on the network side;
所述电子票存储设备,用于存储所述票务中心服务器生成并下发的电子票以及对应的电子票载体的标识信息。The electronic ticket storage device is configured to store the electronic tickets generated and delivered by the ticketing center server and the identification information of the corresponding electronic ticket carriers.
本发明提供一种电子票的检票方法,包括:The invention provides a method for checking an electronic ticket, comprising:
检票设备从电子票载体中读取待检验的电子票进行检验,并改变检票通过的电子票的存储状态;The ticket inspection device reads the electronic ticket to be inspected from the electronic ticket carrier for inspection, and changes the storage status of the electronic ticket that passes the ticket inspection;
所述电子票载体在本地电子票的存储状态发生变化时,向电子票存储设备发送通知消息,其中携带根据检票通过的电子票确定出的本地电子票的可用存储数量或者可用存储空间;When the storage state of the local electronic ticket changes, the electronic ticket carrier sends a notification message to the electronic ticket storage device, which carries the available storage quantity or available storage space of the local electronic ticket determined according to the electronic ticket that passed the ticket inspection;
所述电子票存储设备根据接收到的通知消息,将本地存储的不超过所述可用存储数量或者占用的存储空间不超过所述可用存储空间的未检验的电子票迁移至所述电子票载体。According to the received notification message, the electronic ticket storage device migrates the unverified electronic tickets stored locally that do not exceed the available storage amount or occupy a storage space that does not exceed the available storage space to the electronic ticket carrier.
本发明提供一种电子票的检票系统,包括检票设备、电子票载体和电子票存储设备,其中:The present invention provides a ticket checking system for electronic tickets, including ticket checking equipment, electronic ticket carriers and electronic ticket storage devices, wherein:
所述检票设备,用于从电子票载体中读取待检验的电子票进行检验,并改变检票通过的电子票的存储状态;The ticket checking device is used to read the electronic ticket to be checked from the electronic ticket carrier for checking, and change the storage state of the electronic ticket that passes the ticket checking;
所述电子票载体,用于在本地电子票的存储状态发生变化时,向电子票存储设备发送通知消息,其中携带根据检票通过的电子票确定出的本地电子票的可用存储数量或者可用存储空间;The electronic ticket carrier is used to send a notification message to the electronic ticket storage device when the storage state of the local electronic ticket changes, which carries the available storage quantity or available storage space of the local electronic ticket determined according to the electronic ticket that passes the ticket check ;
所述电子票存储设备,用于根据接收到的通知消息,将本地存储的不超过所述可用存储数量或者占用的存储空间不超过所述可用存储空间的未检验的电子票迁移至所述电子票载体。The electronic ticket storage device is configured to migrate locally stored unchecked electronic tickets that do not exceed the available storage amount or occupy a storage space that does not exceed the available storage space to the electronic ticket according to the received notification message. ticket carrier.
本发明提供的电子票的订购方法及系统,在网络侧增加了电子票存储设备,用于存储电子票以及对应的电子票载体的标识信息,票务中心服务器根据电子票的订购消息生成相应的电子票之后,如果电子票载体当前不满足电子票存储条件,则将生成的电子票下发至网络侧的电子票存储设备。本发明无需增加电子票载体的存储能力即可解决电子票载体存储能力有限的问题,突破了对订票者能够订购电子票数量的限制,提升电子票的订购、管理以及使用的自由度和灵活性。The method and system for ordering electronic tickets provided by the present invention adds an electronic ticket storage device on the network side for storing electronic tickets and identification information of corresponding electronic ticket carriers, and the ticket center server generates corresponding electronic tickets according to the electronic ticket order message After the ticket is issued, if the electronic ticket carrier does not currently meet the electronic ticket storage conditions, the generated electronic ticket will be sent to the electronic ticket storage device on the network side. The present invention can solve the problem of limited storage capacity of the electronic ticket carrier without increasing the storage capacity of the electronic ticket carrier, breaks through the limit on the number of electronic tickets that can be ordered by ticket bookers, and improves the freedom and flexibility of ordering, management and use of electronic tickets sex.
本发明提供的电子票的检票方法及系统,检票设备可以改变电子票载体上检票通过的电子票的存储状态,电子票载体在本地电子票的存储状态发生变化时通知电子票存储设备,从而可以将电子票存储设备中存储的未检验的电子票及时迁移至电子票载体,方便了电子票的检票和使用。In the electronic ticket checking method and system provided by the present invention, the ticket checking device can change the storage state of the electronic ticket passed through the electronic ticket carrier, and the electronic ticket carrier notifies the electronic ticket storage device when the storage state of the local electronic ticket changes, so that The unchecked electronic ticket stored in the electronic ticket storage device is transferred to the electronic ticket carrier in time, which facilitates the checking and use of the electronic ticket.
附图说明Description of drawings
图1为本发明实施例中电子票的订购系统框图;Fig. 1 is the order system block diagram of electronic ticket in the embodiment of the present invention;
图2为本发明实施例中电子票的订购方法流程图;Fig. 2 is the flowchart of the method for ordering electronic tickets in the embodiment of the present invention;
图3为本发明实施例中第一种订购流程图;Fig. 3 is the first order flow chart in the embodiment of the present invention;
图4为本发明实施例中第二种订购流程图;Fig. 4 is the second order flow chart in the embodiment of the present invention;
图5为本发明实施例中第三种订购流程图;Fig. 5 is the third order flow chart in the embodiment of the present invention;
图6为本发明实施例中电子票的迁入方法流程图;Fig. 6 is the flow chart of the import method of electronic ticket in the embodiment of the present invention;
图7为本发明实施例中第一种电子票的交换方法流程图;7 is a flowchart of the first electronic ticket exchange method in the embodiment of the present invention;
图8为本发明实施例中第二种电子票的交换方法流程图;Fig. 8 is a flow chart of the second electronic ticket exchange method in the embodiment of the present invention;
图9为本发明实施例中电子票的检票方法流程图;Fig. 9 is a flow chart of the ticket checking method of the electronic ticket in the embodiment of the present invention;
图10为本发明实施例中电子票的检票系统框图。Fig. 10 is a block diagram of the electronic ticket checking system in the embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例针对现有技术中由于电子票载体的存储能力有限,导致订票者能够订购的电子票数量受到严格限制的问题,提供了相应的解决方案,预先在售票方网络侧设置独立于电子票载体的电子票存储设备,可以存储多个订票者订购的电子票。本发明实施例中可以将电子票存储设备形象地称为“公共虚拟票箱”,该电子票存储设备可以为一台服务器,也可以为一个存储器,例如硬盘、磁盘等。电子票存储设备的存储空间可以足够大或者不受限制,一般可以达到几百甚至上千GB,从而实现海量存储多个订票者订购的电子票的目的。The embodiment of the present invention provides a corresponding solution to the problem that the number of electronic tickets that a ticket booker can order is strictly limited due to the limited storage capacity of the electronic ticket carrier in the prior art. The electronic ticket storage device of the electronic ticket carrier can store the electronic tickets ordered by multiple ticket orderers. In the embodiment of the present invention, the electronic ticket storage device can be vividly called a "public virtual ticket box", and the electronic ticket storage device can be a server or a memory, such as a hard disk or a magnetic disk. The storage space of the electronic ticket storage device can be large enough or not limited, and generally can reach hundreds or even thousands of GB, so as to realize the purpose of massively storing electronic tickets ordered by multiple ticket orderers.
本发明实施例首先提供了一种电子票的订购系统,如图1所示,包括网络侧的票务中心服务器101和电子票存储设备102。在实际系统架构中,票务中心服务器101与电子票存储设备102可以是相互独立的物理设备,也可以合并设置为同一物理设备。其中:The embodiment of the present invention firstly provides an electronic ticket ordering system, as shown in FIG. 1 , which includes a ticket center server 101 and an electronic ticket storage device 102 on the network side. In an actual system architecture, the ticketing center server 101 and the electronic ticket storage device 102 may be independent physical devices, or may be combined to form the same physical device. in:
票务中心服务器101,用于接收电子票的订购消息,其中携带电子票载体的标识信息;根据电子票的订购消息生成相应的电子票,确认电子票载体当前不满足电子票存储条件时,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备102;The ticketing center server 101 is used to receive the order message of the electronic ticket, which carries the identification information of the electronic ticket carrier; generate the corresponding electronic ticket according to the order message of the electronic ticket, and when it is confirmed that the electronic ticket carrier does not meet the storage conditions of the electronic ticket, it will generate The electronic ticket and the identification information of the corresponding electronic ticket carrier are issued to the electronic ticket storage device 102 on the network side;
其中,电子票载体的标识信息能够唯一标识电子票载体,针对电子票载体为插入SIM卡的移动终端的情况,电子票载体的标识信息可以为MSISDN(Mobile Station International ISDN Number,移动台国际ISDN号码;ISDN:Integrated Services Digital Network,综合业务数字网)、IMSI(International Mobile Subscriber Identifier,国际移动用户标识)、或者其它与电子票载体相关联的唯一性标识符;针对电子票载体为逻辑卡或者CPU卡的情况,电子票载体的标识信息可以为卡序列号、用户名或者其它与电子票载体相关联的唯一性标识符;Among them, the identification information of the electronic ticket carrier can uniquely identify the electronic ticket carrier. For the case where the electronic ticket carrier is a mobile terminal inserted into a SIM card, the identification information of the electronic ticket carrier can be MSISDN (Mobile Station International ISDN Number, Mobile Station International ISDN Number ; ISDN: Integrated Services Digital Network, IMSI (International Mobile Subscriber Identifier, International Mobile Subscriber Identifier), or other unique identifiers associated with electronic ticket carriers; logic cards or CPUs for electronic ticket carriers In the case of a card, the identification information of the electronic ticket carrier may be the card serial number, user name or other unique identifiers associated with the electronic ticket carrier;
电子票存储设备102,用于存储票务中心服务器101生成并下发的电子票以及对应的电子票载体的标识信息。The electronic ticket storage device 102 is configured to store the electronic ticket generated and issued by the ticket center server 101 and the identification information of the corresponding electronic ticket carrier.
具体实施中,该系统还包括电子票载体103,其中:In specific implementation, the system also includes an electronic ticket carrier 103, wherein:
票务中心服务器101,还用于确认电子票载体当前满足电子票存储条件时,根据电子票载体的标识信息将生成的电子票下发至电子票载体103;The ticketing center server 101 is also used to confirm that the electronic ticket carrier currently satisfies the electronic ticket storage conditions, and issue the generated electronic ticket to the electronic ticket carrier 103 according to the identification information of the electronic ticket carrier;
在电子票载体当前满足电子票存储条件的情况下,票务中心服务器101也可以将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备102;或者,将生成的部分电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备102,其余电子票下发至电子票载体103;When the electronic ticket carrier currently satisfies the electronic ticket storage conditions, the ticket center server 101 can also send the generated electronic ticket and the identification information of the corresponding electronic ticket carrier to the electronic ticket storage device 102 on the network side; Part of the electronic ticket and the identification information of the corresponding electronic ticket carrier are sent to the electronic ticket storage device 102 on the network side, and the rest of the electronic tickets are sent to the electronic ticket carrier 103;
电子票载体103,用于存储票务中心服务器101生成并下发的电子票。The electronic ticket carrier 103 is used to store the electronic tickets generated and issued by the ticketing center server 101 .
对本发明实施例中涉及的电子票及存储方式进行简单说明。每一张电子票的内容包括:售票方名称、电子票类型、电子票标识(电子票标识对每一张电子票是唯一的)、使用日期、使用时间、电子票价格、座位号码、使用说明等等。电子票的一种较佳存储方式为:电子票载体和电子票存储设备为每一张电子票分配固定字节长度的存储空间,例如为每一张电子票分配255Byte的存储空间,根据电子票载体本地电子票的最大存储空间即可确定电子票载体本地电子票的最大存储数量;由于每一张电子票实际占用的字节长度并不是固定的,电子票的另一种存储方式为:电子票载体和电子票存储设备根据每一张电子票实际占用的字节长度为电子票灵活分配存储空间。Briefly describe the electronic ticket and its storage method involved in the embodiment of the present invention. The content of each electronic ticket includes: the name of the ticket seller, the type of electronic ticket, the electronic ticket identification (the electronic ticket identification is unique to each electronic ticket), the date of use, the time of use, the price of the electronic ticket, the seat number, and the instructions for use etc. A better storage method for electronic tickets is: the electronic ticket carrier and electronic ticket storage device allocate a storage space of fixed byte length for each electronic ticket, for example, allocate 255Byte storage space for each electronic ticket, according to the electronic ticket The maximum storage space of the carrier's local electronic ticket can determine the maximum storage quantity of the electronic ticket carrier's local electronic ticket; since the actual byte length of each electronic ticket is not fixed, another storage method for electronic tickets is: electronic The ticket carrier and the electronic ticket storage device flexibly allocate storage space for the electronic ticket according to the byte length actually occupied by each electronic ticket.
如果订票者的电子票载体是插入SIM卡的移动终端,本身具备与票务中心服务器的直接通信能力,可以直接通过无线通信能力(短信、彩信、GPRS等)直接与票务中心服务器进行通信,则电子票的订购消息可以由电子票载体直接发送给票务中心服务器;如果电子票载体是一张逻辑卡或者CPU卡,本身不具备与票务中心服务器的直接通信能力,当逻辑卡或者CPU卡需要与票务中心服务器进行通信时,需要借助接触式或非接触式通信终端与票务中心服务器相连,则电子票的订购消息可以由订票者通过登陆售票方提供的订票网站(www渠道),或者语音方式等发送给票务中心服务服务器。If the electronic ticket carrier of the ticket booker is a mobile terminal inserted into a SIM card, which itself has direct communication capabilities with the ticketing center server, and can directly communicate with the ticketing center server through wireless communication capabilities (SMS, MMS, GPRS, etc.), then The electronic ticket order message can be directly sent to the ticketing center server by the electronic ticket carrier; if the electronic ticket carrier is a logic card or CPU card, it does not have the ability to communicate directly with the ticketing center server. When the ticketing center server communicates, it needs to be connected to the ticketing center server with the help of a contact or non-contact communication terminal, and the order message of the electronic ticket can be obtained by the ticket booker by logging in to the ticket booking website (www channel) provided by the ticket seller, or by voice The way, etc. are sent to the ticketing center service server.
下面给出几种票务中心服务器判定电子票载体当前是否满足电子票存储条件的较佳实施方式。Several preferred implementation modes for the ticketing center server to determine whether the electronic ticket carrier currently satisfies the electronic ticket storage conditions are given below.
具体实施中,电子票的订购消息可以由电子票载体直接发送给票务中心服务器,并且电子票载体和电子票存储设备采用为每一张电子票分配固定字节长度的存储空间的存储方式,则较佳的:In a specific implementation, the electronic ticket order message can be directly sent to the ticket center server by the electronic ticket carrier, and the electronic ticket carrier and the electronic ticket storage device adopt a storage method of allocating a storage space with a fixed byte length for each electronic ticket, then Better:
电子票载体103,还用于发送电子票的订购消息,该订购消息中还携带将生成的电子票以及对应的标识信息下发至电子票存储设备的第一指示信息,或者将生成的电子票下发至电子票载体的第二指示信息;The electronic ticket carrier 103 is also used to send an order message for the electronic ticket, and the order message also carries the first instruction information for sending the generated electronic ticket and corresponding identification information to the electronic ticket storage device, or the generated electronic ticket The second instruction information issued to the electronic ticket carrier;
票务中心服务器101,进一步用于如果电子票的订购消息中携带第一指示信息,则确认电子票载体当前不满足电子票存储条件,如果电子票的订购消息中携带第二指示信息,则确认电子票载体当前满足电子票存储条件;The ticketing center server 101 is further configured to confirm that the electronic ticket carrier does not currently meet the electronic ticket storage conditions if the electronic ticket order message carries the first indication information, and if the electronic ticket order message carries the second indication information, then confirm that the electronic ticket The ticket carrier currently meets the e-ticket storage conditions;
具体的,如果电子票的订购消息中携带第一指示信息,则票务中心服务器101将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备102,如果电子票的订购消息中携带第二指示信息,则票务中心服务器101根据电子票载体的标识信息将生成的电子票下发至电子票载体103。Specifically, if the order message of the electronic ticket carries the first indication information, the ticket center server 101 sends the generated electronic ticket and the identification information of the corresponding electronic ticket carrier to the electronic ticket storage device 102 on the network side, if the electronic ticket If the second instruction information is carried in the order message, the ticket center server 101 will issue the generated electronic ticket to the electronic ticket carrier 103 according to the identification information of the electronic ticket carrier.
具体的,电子票载体103,还用于在发送电子票的订购消息之前,判断本地电子票的已存储数量与电子票的订购数量之和是否大于本地电子票的最大存储数量;如果是,则在电子票的订购消息中携带将生成的电子票以及对应的标识信息下发至电子票存储设备的第一指示信息,如果否,则在电子票的订购消息中携带将生成的电子票下发至电子票载体的第二指示信息。Specifically, the electronic ticket carrier 103 is also used to determine whether the sum of the stored quantity of the local electronic ticket and the ordered quantity of the electronic ticket is greater than the maximum stored quantity of the local electronic ticket before sending the order message of the electronic ticket; if yes, then Carry in the order message of the electronic ticket the first indication information that the generated electronic ticket and the corresponding identification information will be sent to the electronic ticket storage device, if not, carry the generated electronic ticket in the order message of the electronic ticket The second instruction information to the electronic ticket carrier.
具体实施中,电子票的订购消息可以由电子票载体直接发送给票务中心服务器,并且电子票载体和电子票存储设备可以采用任意一种存储方式,则较佳的:In specific implementation, the electronic ticket order message can be directly sent to the ticket center server by the electronic ticket carrier, and the electronic ticket carrier and the electronic ticket storage device can adopt any storage method, then preferably:
电子票载体103,还用于发送电子票的订购消息,该订购消息中还携带电子票载体本地电子票的剩余存储数量;以及,票务中心服务器101,进一步用于在电子票载体本地电子票的剩余存储数量小于电子票的订购数量时,确认电子票载体当前不满足电子票存储条件,否则,确认电子票载体当前满足电子票存储条件;The electronic ticket carrier 103 is also used to send an order message for the electronic ticket, which also carries the remaining storage quantity of the local electronic ticket of the electronic ticket carrier; When the remaining storage quantity is less than the ordered quantity of electronic tickets, confirm that the electronic ticket carrier does not meet the electronic ticket storage conditions; otherwise, confirm that the electronic ticket carrier currently meets the electronic ticket storage conditions;
或者,or,
电子票载体103,还用于发送电子票的订购消息,该订购消息中还携带电子票载体本地电子票的剩余存储空间;以及,票务中心服务器101,进一步用于在电子票载体本地电子票的剩余存储空间小于生成的电子票需要占用的存储空间时,确认电子票载体当前不满足电子票存储条件,否则,确认电子票载体当前满足电子票存储条件。The electronic ticket carrier 103 is also used to send an order message for the electronic ticket, which also carries the remaining storage space of the local electronic ticket of the electronic ticket carrier; When the remaining storage space is less than the storage space required by the generated electronic ticket, confirm that the electronic ticket carrier does not meet the electronic ticket storage conditions; otherwise, confirm that the electronic ticket carrier currently meets the electronic ticket storage conditions.
具体实施中,也可以不考虑电子票的订购消息的发送主体,而由票务中心服务器在下发电子票之前作出电子票载体当前是否满足电子票存储条件的判定,则较佳的:In the specific implementation, the sender of the electronic ticket order message can also be ignored, and the ticketing center server can make a judgment on whether the electronic ticket carrier currently satisfies the storage conditions of the electronic ticket before issuing the electronic ticket. It is better:
票务中心服务器101,进一步用于在下发生成的电子票之前,判断电子票载体103当前是否具备与票务中心服务器101的直接通信能力;并当判断出电子票载体103当前不具备与票务中心服务器101的直接通信能力时,确认电子票载体当前不满足电子票存储条件,从而将生成的电子票以及对应的标识信息下发至电子票存储设备102。The ticketing center server 101 is further used to determine whether the electronic ticket carrier 103 currently possesses direct communication capability with the ticketing center server 101 before issuing the generated electronic ticket; When the direct communication capability of the electronic ticket is confirmed, the electronic ticket carrier does not meet the storage conditions of the electronic ticket, and then the generated electronic ticket and the corresponding identification information are sent to the electronic ticket storage device 102 .
如果电子票载体为一张逻辑卡或者CPU卡,则本身不具备与票务中心服务器的直接通信能力,票务中心服务器可以预先对该电子票载体的标识信息作出标记,表示该标识信息对应的电子票载体不具备与票务中心服务器的直接通信能力,从而作为电子票载体当前是否具备与票务中心服务器的直接通信能力的判断依据。如果电子票载体为插入SIM卡的移动终端,本身具备与票务中心服务器的直接通信能力,而当移动终端未开机、不在服务区等情况下,当前也不具备与票务中心服务器的直接通信能力,则票务中心服务器可以对该电子票载体进行探测,根据探测结果确定电子票载体当前是否具备与票务中心服务器的直接通信能力;具体的探测方式可以向电子票载体发送请求消息,如果接收到电子票载体返回的响应消息,可以确定电子票载体当前具备与票务中心服务器的直接通信能力,否则,确定电子票载体当前不具备与票务中心服务器的直接通信能力。If the electronic ticket carrier is a logic card or CPU card, it does not have direct communication capability with the ticketing center server. The ticketing center server can mark the identification information of the electronic ticket carrier in advance, indicating that the electronic ticket corresponding to the identification information The carrier does not have the direct communication capability with the ticketing center server, so it is used as the basis for judging whether the electronic ticket carrier currently has the direct communication capability with the ticketing center server. If the carrier of the electronic ticket is a mobile terminal inserted with a SIM card, it has the ability to directly communicate with the server of the ticketing center itself, and when the mobile terminal is not turned on or is not in the service area, it does not currently have the ability to communicate directly with the server of the ticketing center. Then the ticketing center server can detect the electronic ticket carrier, and determine whether the electronic ticket carrier currently has the direct communication capability with the ticketing center server according to the detection result; the specific detection method can send a request message to the electronic ticket carrier, if the electronic ticket is received The response message returned by the carrier can determine that the electronic ticket carrier currently has the direct communication capability with the ticketing central server, otherwise, it can be determined that the electronic ticket carrier currently does not have the direct communication capability with the ticketing central server.
具体实施中,票务中心服务器101,还用于当判断出电子票载体103当前具备与票务中心服务器101的直接通信能力时,向电子票载体103发送状态查询请求;以及根据电子票载体103返回的状态查询结果,确认电子票载体本地电子票的剩余存储数量大于或等于电子票的订购数量,或者剩余存储空间大于或等于生成的电子票需要占用的存储空间时,根据电子票载体的标识信息将生成的电子票下发至电子票载体103;In specific implementation, the ticketing center server 101 is also used to send a status query request to the electronic ticket carrier 103 when it is judged that the electronic ticket carrier 103 currently has the direct communication capability with the ticketing center server 101; Status query results confirm that the remaining storage quantity of the local electronic ticket of the electronic ticket carrier is greater than or equal to the ordered quantity of the electronic ticket, or the remaining storage space is greater than or equal to the storage space that the generated electronic ticket needs to occupy, according to the identification information of the electronic ticket carrier, the The generated electronic ticket is issued to the electronic ticket carrier 103;
电子票载体103,还用于根据接收到的状态查询请求,查询本地电子票的剩余存储数量或者剩余存储空间,并返回状态查询结果。The electronic ticket carrier 103 is also used to query the remaining storage quantity or remaining storage space of the local electronic ticket according to the received status query request, and return the status query result.
票务中心服务器101,还用于确认电子票载体本地电子票的剩余存储数量小于电子票的订购数量,或者剩余存储空间小于生成的电子票需要占用的存储空间时,将生成的电子票以及对应的电子票载体的标识信息下发至电子票存储设备102;当然在上述情况下,票务中心服务器101也可以将生成的不超过剩余存储数量或者占用的存储空间不超过剩余存储空间的部分电子票下发至电子票载体103,其余电子票以及对应的电子票载体的标识信息下发至电子票存储设备102。The ticketing center server 101 is also used to confirm that the remaining storage quantity of the local electronic ticket of the electronic ticket carrier is less than the ordered quantity of the electronic ticket, or when the remaining storage space is less than the storage space that the generated electronic ticket needs to occupy, the generated electronic ticket and the corresponding The identification information of the electronic ticket carrier is sent to the electronic ticket storage device 102; of course, in the above case, the ticketing center server 101 can also download the part of the electronic ticket generated that does not exceed the remaining storage capacity or occupies no more than the remaining storage space. sent to the electronic ticket carrier 103, and the rest of the electronic tickets and the corresponding identification information of the electronic ticket carrier are sent to the electronic ticket storage device 102.
电子票载体在本地具有足够的剩余存储空间或者其它触发条件下,还可以请求从电子票存储设备中迁入若干张电子票,具体的:The electronic ticket carrier can also request to transfer several electronic tickets from the electronic ticket storage device if it has enough remaining storage space locally or other triggering conditions, specifically:
电子票载体103,还用于向电子票存储设备102发送电子票的迁入请求,其中携带电子票载体的标识信息以及待迁入电子票的特征信息;The electronic ticket carrier 103 is also used to send the import request of the electronic ticket to the electronic ticket storage device 102, which carries the identification information of the electronic ticket carrier and the feature information of the electronic ticket to be imported;
电子票存储设备102,还用于根据电子票载体的标识信息,查询本地存储的所述标识信息对应的所有电子票;从查询出的所有电子票中将满足该特征信息的电子票迁移至电子票载体103。The electronic ticket storage device 102 is also used to query all electronic tickets corresponding to the identification information stored locally according to the identification information of the electronic ticket carrier; from all the electronic tickets found out, migrate the electronic tickets that meet the characteristic information to the electronic ticket. ticket carrier 103 .
电子票载体与电子票存储设备之间还可以交换电子票,交换请求可以由电子票载体发起,具体的:Electronic tickets can also be exchanged between the electronic ticket carrier and the electronic ticket storage device, and the exchange request can be initiated by the electronic ticket carrier, specifically:
电子票载体103,还用于向电子票存储设备发送电子票的第一交换请求,其中携带电子票载体的标识信息以及本地存储的第一电子票;The electronic ticket carrier 103 is also used to send the first exchange request of the electronic ticket to the electronic ticket storage device, which carries the identification information of the electronic ticket carrier and the locally stored first electronic ticket;
电子票存储设备102,还用于根据第一交换请求中携带的标识信息查询本地存储的该标识信息对应的所有电子票;从查询出的所有电子票中选择第二电子票迁移至电子票载体103,并在本地存储第一电子票以及对应的标识信息。The electronic ticket storage device 102 is also used to query all electronic tickets corresponding to the identification information stored locally according to the identification information carried in the first exchange request; select the second electronic ticket from all the electronic tickets found out and migrate to the electronic ticket carrier 103, and locally store the first electronic ticket and the corresponding identification information.
交换请求也可以由电子票存储设备发起,具体的:The exchange request can also be initiated by the electronic ticket storage device, specifically:
电子票存储设备102,还用于根据电子票载体的标识信息,向电子票载体103发送电子票的第二交换请求;在本地存储电子票载体103发送的第一电子票以及对应的标识信息,以及从本地存储的该标识信息对应的所有电子票中选择第二电子票迁移至电子票载体103;The electronic ticket storage device 102 is further configured to send a second exchange request of the electronic ticket to the electronic ticket carrier 103 according to the identification information of the electronic ticket carrier; locally store the first electronic ticket sent by the electronic ticket carrier 103 and the corresponding identification information, And select the second electronic ticket from all the electronic tickets corresponding to the identification information stored locally to migrate to the electronic ticket carrier 103;
电子票载体103,还用于根据接收到的第二交换请求,从本地存储的所有电子票中选择第一电子票迁移至电子票存储设备102。The electronic ticket carrier 103 is further configured to select the first electronic ticket from all locally stored electronic tickets and transfer it to the electronic ticket storage device 102 according to the received second exchange request.
需要说明的是,本发明实施例中所述的将电子票存储设备本地存储的电子票迁移至电子票载体,或者将电子票载体本地存储的电子票迁移至电子票存储设备,包括将源端本地存储的电子票发送到目的端,源端将发送成功的电子票从本地删除,目的端将接收到的电子票在本地存储的流程。It should be noted that in the embodiment of the present invention, the migration of the electronic tickets stored locally in the electronic ticket storage device to the electronic ticket carrier, or the migration of the electronic tickets stored locally in the electronic ticket carrier to the electronic ticket storage device includes transferring the source The electronic ticket stored locally is sent to the destination, the source deletes the successfully sent electronic ticket locally, and the destination stores the received electronic ticket locally.
在上述电子票的订购系统基础上,基于同一技术构思,本发明实施例提供了一种电子票的订购方法,如图2所示,包括:On the basis of the above electronic ticket ordering system and based on the same technical concept, an embodiment of the present invention provides an electronic ticket ordering method, as shown in Figure 2, including:
S201、票务中心服务器接收电子票的订购消息,其中携带电子票载体的标识信息;S201. The ticketing center server receives an electronic ticket order message, which carries the identification information of the electronic ticket carrier;
S202、票务中心服务器根据电子票的订购消息生成相应的电子票,确认该电子票载体当前不满足电子票存储条件时,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备。S202. The ticketing center server generates a corresponding electronic ticket according to the order message of the electronic ticket, and sends the generated electronic ticket and the identification information of the corresponding electronic ticket carrier to the network side when confirming that the electronic ticket carrier does not meet the storage conditions of the electronic ticket. electronic ticket storage device.
下面详细介绍各种具体应用场景下电子票的订购流程。The following is a detailed introduction to the ordering process of electronic tickets in various specific application scenarios.
订购流程一Order process one
本实施例中,电子票的订购消息由电子票载体发送,并且电子票载体和电子票存储设备采用为每一张电子票分配固定字节长度的存储空间的存储方式,如图3所示,该流程包括如下步骤:In this embodiment, the electronic ticket order message is sent by the electronic ticket carrier, and the electronic ticket carrier and the electronic ticket storage device adopt a storage method of allocating a storage space with a fixed byte length for each electronic ticket, as shown in Figure 3. The process includes the following steps:
S301、电子票载体在发送电子票的订购消息之前,确定本地电子票的已存储数量与电子票的订购数量之和;S301. Before sending the electronic ticket order message, the electronic ticket carrier determines the sum of the stored quantity of the local electronic ticket and the ordered quantity of the electronic ticket;
S302、电子票载体判断本地电子票的已存储数量与电子票的订购数量之和是否大于本地电子票的最大存储数量,如果是,则执行S303、如果否,则执行S304;S302. The electronic ticket carrier judges whether the sum of the stored quantity of local electronic tickets and the ordered quantity of electronic tickets is greater than the maximum stored quantity of local electronic tickets, if yes, execute S303, and if not, execute S304;
S303、电子票载体向票务中心服务器发送电子票的订购消息,其中携带电子票载体的标识信息以及第一指示信息,第一指示信息用于指示将生成的电子票以及对应的标识信息下发至电子票存储设备,并转向执行S305;S303. The electronic ticket carrier sends an electronic ticket order message to the ticketing center server, which carries the identification information of the electronic ticket carrier and the first indication information, and the first indication information is used to indicate that the generated electronic ticket and the corresponding identification information are issued to Electronic ticket storage device, and turn to execute S305;
S304、电子票载体向票务中心服务器发送电子票的订购消息,其中携带电子票载体的标识信息以及第二指示信息,第二指示信息用于指示将生成的电子票下发至电子票载体;S304. The electronic ticket carrier sends an electronic ticket order message to the ticketing center server, which carries identification information of the electronic ticket carrier and second indication information, and the second indication information is used to instruct that the generated electronic ticket be issued to the electronic ticket carrier;
S305、票务中心服务器根据电子票的订购消息生成相应的电子票,并根据订购消息中携带的指示信息下发生成的电子票,流程结束;S305. The ticketing center server generates a corresponding electronic ticket according to the order message of the electronic ticket, and downloads the generated electronic ticket according to the instruction information carried in the order message, and the process ends;
具体的,如果电子票的订购消息中携带电子票载体的标识信息以及第一指示信息,则票务中心服务器确认该电子票载体当前不满足电子票存储条件,将生成的电子票以及对应的电子票载体的标识信息下发至网络侧的电子票存储设备;如果电子票的订购消息中携带电子票载体的标识信息以及第二指示信息,则票务中心服务器确认该电子票载体当前满足电子票存储条件,根据电子票载体的标识信息将生成的电子票下发至电子票载体。Specifically, if the electronic ticket order message carries the identification information of the electronic ticket carrier and the first indication information, the ticketing center server confirms that the electronic ticket carrier does not meet the electronic ticket storage conditions at present, and will generate the electronic ticket and the corresponding electronic ticket The identification information of the carrier is sent to the electronic ticket storage device on the network side; if the electronic ticket order message carries the identification information of the electronic ticket carrier and the second indication information, the ticketing center server confirms that the electronic ticket carrier currently meets the electronic ticket storage conditions , and deliver the generated electronic ticket to the electronic ticket carrier according to the identification information of the electronic ticket carrier.
订购流程二Order process two
本实施例中,电子票的订购消息由电子票载体发送,而电子票载体和电子票存储设备采用任意一种存储方式,如图4所示,该流程包括如下步骤:In this embodiment, the electronic ticket order message is sent by the electronic ticket carrier, and the electronic ticket carrier and the electronic ticket storage device adopt any storage method, as shown in Figure 4, the process includes the following steps:
S401、电子票载体向票务中心服务器发送电子票的订购消息,其中携带电子票载体的标识信息以及电子票载体本地电子票的剩余存储数量或者剩余存储空间;S401. The electronic ticket carrier sends an electronic ticket order message to the ticketing center server, which carries the identification information of the electronic ticket carrier and the remaining storage quantity or remaining storage space of the local electronic ticket of the electronic ticket carrier;
S402、票务中心服务器根据电子票的订购消息生成相应的电子票;S402. The ticketing center server generates a corresponding electronic ticket according to the order message of the electronic ticket;
S403、票务中心服务器判断电子票载体本地电子票的剩余存储数量是否小于电子票的订购数量,或者电子票载体本地电子票的剩余存储空间是否小于生成的电子票需要占用的存储空间,如果是,则执行S404,如果否,则执行S405;S403. The ticketing center server judges whether the remaining storage quantity of the local electronic ticket of the electronic ticket carrier is less than the ordered quantity of the electronic ticket, or whether the remaining storage space of the local electronic ticket of the electronic ticket carrier is smaller than the storage space required for the generated electronic ticket, if yes, Then execute S404, if not, execute S405;
S404、票务中心服务器将生成的电子票以及对应的标识信息下发至电子票存储设备,流程结束;S404. The ticketing center server sends the generated electronic ticket and the corresponding identification information to the electronic ticket storage device, and the process ends;
S405、票务中心服务器根据电子票的标识信息将生成的电子票下发至电子票载体,流程结束。S405. The ticketing center server sends the generated electronic ticket to the electronic ticket carrier according to the identification information of the electronic ticket, and the process ends.
订购流程三Order process three
本实施例中,不考虑电子票的订购消息的发送主体,而由票务中心服务器在下发电子票之前作出判定,电子票载体和电子票存储设备采用任意一种存储方式,如图5所示,该流程包括如下步骤:In this embodiment, regardless of the sender of the electronic ticket order message, the ticketing center server makes a judgment before issuing the electronic ticket. The electronic ticket carrier and the electronic ticket storage device adopt any storage method, as shown in Figure 5. The process includes the following steps:
S501、订票者通过电子票载体或者其它方式向票务中心服务器发送电子票的订购消息,其中携带电子票载体的标识信息;S501. The ticket orderer sends an electronic ticket order message to the ticket center server through the electronic ticket carrier or other means, which carries the identification information of the electronic ticket carrier;
S502、票务中心服务器根据接收到的电子票的订购消息生成相应的电子票;S502. The ticketing center server generates a corresponding electronic ticket according to the received order message of the electronic ticket;
S503、票务中心服务器在下发生成的电子票之前,判断电子票载体当前是否具备与票务中心服务器的直接通信能力,如果是,则执行S504,如果否,则执行S505;S503. Before issuing the generated electronic ticket, the ticketing center server determines whether the electronic ticket carrier currently has direct communication capability with the ticketing center server. If yes, execute S504, and if not, execute S505;
S504、票务中心服务器将生成的电子票以及对应的标识信息下发至电子票存储设备,流程结束;S504. The ticketing center server sends the generated electronic ticket and the corresponding identification information to the electronic ticket storage device, and the process ends;
S505、票务中心服务器向电子票载体发送状态查询请求;S505. The ticketing center server sends a status query request to the electronic ticket carrier;
S506、电子票载体根据接收到的状态查询请求,查询本地电子票的剩余存储数量或者剩余存储空间,并返回状态查询结果,在图5中仅以剩余存储数量为例进行说明;S506. The electronic ticket carrier queries the remaining storage quantity or remaining storage space of the local electronic ticket according to the received status query request, and returns the status query result. In FIG. 5, only the remaining storage quantity is taken as an example for illustration;
S507、票务中心服务器根据接收到的状态查询结果,判断电子票载体本地电子票的剩余存储数量是否大于或等于电子票的订购数量,或者电子票载体本地电子票的剩余存储空间是否大于或等于生成的电子票需要占用的存储空间,如果是,则执行S508,如果否,则执行S509;S507. The ticketing center server determines whether the remaining storage quantity of the local electronic ticket of the electronic ticket carrier is greater than or equal to the ordered quantity of the electronic ticket according to the received status query result, or whether the remaining storage space of the local electronic ticket of the electronic ticket carrier is greater than or equal to the generated The storage space that the electronic ticket needs to occupy, if yes, execute S508, if not, execute S509;
S508、票务中心服务器根据电子票载体的标识信息将生成的电子票下发至电子票载体,流程结束;S508. The ticketing center server sends the generated electronic ticket to the electronic ticket carrier according to the identification information of the electronic ticket carrier, and the process ends;
S509、票务中心服务器将生成的电子票以及对应的标识信息下发至电子票存储设备,流程结束;具体实施中,票务中心服务器也可以将不超过电子票载体本地电子票的剩余存储数量或者占用的存储空间不超过剩余存储空间的电子票下发至电子票载体,其余电子票以及对应的标识信息下发至电子票存储设备。S509. The ticketing center server sends the generated electronic ticket and the corresponding identification information to the electronic ticket storage device, and the process ends; The electronic tickets whose storage space does not exceed the remaining storage space are sent to the electronic ticket carrier, and the remaining electronic tickets and corresponding identification information are sent to the electronic ticket storage device.
具体实施中,存储在电子票存储设备中的电子票,可以迁移至电子票载体。电子票载体在本地具有足够的剩余存储空间或者剩余存储数量的情况下,或者在订票者的触发下,可以请求从电子票存储设备中迁入若干张电子票,电子票的迁入流程,如图6所示,包括如下步骤:In a specific implementation, the electronic ticket stored in the electronic ticket storage device can be migrated to the electronic ticket carrier. When the electronic ticket carrier has enough remaining storage space or remaining storage quantity locally, or under the trigger of the ticket orderer, it can request to import several electronic tickets from the electronic ticket storage device. The import process of electronic tickets, As shown in Figure 6, it includes the following steps:
S601、电子票载体向电子票存储设备发送电子票的迁入请求,其中携带电子票载体的标识信息以及待迁入电子票的特征信息;S601. The electronic ticket carrier sends an electronic ticket import request to the electronic ticket storage device, which carries the identification information of the electronic ticket carrier and the feature information of the electronic ticket to be imported;
待迁入电子票的特征信息可以根据用户需求灵活设定,例如可以设定售票方名称为特定名称的电子票为待迁入电子票、设定电子票标识为特定标识的电子票为待迁入电子票、设定使用日期为特定日期的电子票为待迁入电子票,或者设定迁入电子票的数量(N)、迁入电子票占用的存储空间(M Byte),上述信息也可以同时设定多项,例如可以设定售票方名称为特定名称的N张电子票为待迁入电子票,等等。The feature information of the electronic tickets to be imported can be flexibly set according to user needs. For example, the electronic ticket with the name of the ticket seller as a specific name can be set as the electronic ticket to be imported, and the electronic ticket with a specific logo can be set as the electronic ticket to be transferred. Enter the electronic ticket, set the electronic ticket whose use date is a specific date as the electronic ticket to be imported, or set the number (N) of the imported electronic ticket, and the storage space (M Byte) occupied by the imported electronic ticket. The above information is also Multiple items can be set at the same time, for example, N electronic tickets whose name is a specific name can be set as electronic tickets to be imported, and so on.
S602、电子票存储设备根据电子票载体的标识信息,查询本地存储的标识信息对应的所有电子票;S602. The electronic ticket storage device queries all electronic tickets corresponding to the locally stored identification information according to the identification information of the electronic ticket carrier;
S603、电子票存储设备从查询出的所有电子票中将满足该特征信息的电子票迁移至电子票载体。S603. The electronic ticket storage device migrates the electronic tickets satisfying the feature information from all the inquired electronic tickets to the electronic ticket carrier.
具体实施中,电子票载体和电子票存储设备之间可以交换电子票,如果电子票的交换请求由电子票载体发起,如图7所示,包括如下步骤:In specific implementation, the electronic ticket can be exchanged between the electronic ticket carrier and the electronic ticket storage device. If the electronic ticket exchange request is initiated by the electronic ticket carrier, as shown in Figure 7, the following steps are included:
S701、电子票载体向电子票存储设备发送电子票的第一交换请求,其中携带电子票载体的标识信息以及本地存储的第一电子票,具体实施中,第一交换请求中还携带待交换目的电子票的特征信息;S701. The electronic ticket carrier sends the first exchange request of the electronic ticket to the electronic ticket storage device, which carries the identification information of the electronic ticket carrier and the first electronic ticket stored locally. In specific implementation, the first exchange request also carries the purpose to be exchanged The characteristic information of the electronic ticket;
S702、电子票存储设备根据第一交换请求中携带的标识信息查询本地存储的该标识信息对应的所有电子票;S702. The electronic ticket storage device queries all electronic tickets corresponding to the identification information stored locally according to the identification information carried in the first exchange request;
S703~S704、电子票存储设备从查询出的所有电子票中选择第二电子票迁移至电子票载体,并在本地存储第一电子票以及对应的标识信息,如果第一交换请求中还携带待交换目的电子票的特征信息,则电子票存储设备选择出的第二电子票满足该特征信息。S703-S704. The electronic ticket storage device selects the second electronic ticket from all the electronic tickets found in the query and migrates it to the electronic ticket carrier, and stores the first electronic ticket and the corresponding identification information locally. The characteristic information of the electronic ticket of the exchange destination, and the second electronic ticket selected by the electronic ticket storage device satisfies the characteristic information.
如果电子票的交换请求由电子票存储设备发起,如图8所示,包括如下步骤:If the electronic ticket exchange request is initiated by the electronic ticket storage device, as shown in Figure 8, the following steps are included:
S801、电子票存储设备根据电子票载体的标识信息,向电子票载体发送电子票的第二交换请求,具体实施中,第二交换请求中还可以携带待交换源电子票的第一特征信息,或者待交换目的电子票的第二特征信息,或者两者全部携带;S801. The electronic ticket storage device sends a second exchange request of the electronic ticket to the electronic ticket carrier according to the identification information of the electronic ticket carrier. In specific implementation, the second exchange request may also carry the first feature information of the source electronic ticket to be exchanged, Or the second characteristic information of the electronic ticket to be exchanged, or carry both;
S802、电子票载体根据接收到的第二交换请求,从本地存储的所有电子票中选择第一电子票迁移至电子票存储设备;S802. According to the received second exchange request, the electronic ticket carrier selects the first electronic ticket from all electronic tickets stored locally and migrates it to the electronic ticket storage device;
S803、电子票存储设备在本地存储第一电子票以及对应的标识信息,以及从本地存储的该标识信息对应的所有电子票中选择第二电子票迁移至电子票载体;S803. The electronic ticket storage device locally stores the first electronic ticket and the corresponding identification information, and selects the second electronic ticket from all the electronic tickets corresponding to the identification information stored locally to migrate to the electronic ticket carrier;
具体实施中,如果第二交换请求中携带了待交换源电子票的第一特征信息,则电子票载体选择出的第一电子票满足该第一特征信息,如果第二交换请求中携带了待交换目的电子票的第二特征信息,则电子票存储设备选择出的第二电子票满足该第二特征信息。In specific implementation, if the second exchange request carries the first characteristic information of the source electronic ticket to be exchanged, the first electronic ticket selected by the electronic ticket carrier satisfies the first characteristic information; if the second exchange request carries the electronic ticket to be exchanged The second characteristic information of the electronic ticket of the exchange destination, then the second electronic ticket selected by the electronic ticket storage device satisfies the second characteristic information.
本发明实施例提供的电子票的订购方法及系统,在网络侧增加了电子票存储设备,用于存储电子票以及对应的电子票载体的标识信息,票务中心服务器根据电子票的订购消息生成相应的电子票之后,如果电子票载体当前不满足电子票存储条件,则将生成的电子票下发至网络侧的电子票存储设备。本发明无需增加电子票载体的存储能力即可解决电子票载体存储能力有限的问题,突破了对订票者能够订购电子票数量的限制,提升电子票的订购、管理以及使用的自由度和灵活性。The electronic ticket ordering method and system provided by the embodiments of the present invention add an electronic ticket storage device on the network side to store the identification information of the electronic ticket and the corresponding electronic ticket carrier, and the ticketing center server generates a corresponding After the electronic ticket is issued, if the electronic ticket carrier does not currently meet the electronic ticket storage conditions, the generated electronic ticket will be sent to the electronic ticket storage device on the network side. The present invention can solve the problem of limited storage capacity of the electronic ticket carrier without increasing the storage capacity of the electronic ticket carrier, breaks through the restriction on the number of electronic tickets that can be ordered by ticket bookers, and improves the freedom and flexibility of ordering, management and use of electronic tickets sex.
在本发明实施例提供的电子票的订购方案的基础上,本发明实施例同时提供了一种电子票的检票方案,虽然电子票可以存储在订票者的电子票载体上,也可以存储在网络侧的电子票存储设备中,但是检票设备只能对电子票载体上的电子票进行检验。如图9所示,本发明实施例提供的电子票的检票方法,包括如下步骤:On the basis of the electronic ticket ordering solution provided by the embodiment of the present invention, the embodiment of the present invention also provides an electronic ticket checking solution. Although the electronic ticket can be stored on the electronic ticket carrier of the ticket orderer, it can also be stored in In the electronic ticket storage device on the network side, but the ticket checking device can only check the electronic ticket on the electronic ticket carrier. As shown in Figure 9, the electronic ticket checking method provided by the embodiment of the present invention includes the following steps:
S901、检票设备从电子票载体中读取待检验的电子票进行检验,并改变检票通过的电子票的存储状态;S901. The ticket checking device reads the electronic ticket to be checked from the electronic ticket carrier for checking, and changes the storage state of the electronic ticket that passes the checking;
所述的改变检票通过的电子票的存储状态,具体包括将检票通过的电子票从电子票载体中删除,或者将检票通过的电子票设置为已检验状态;The changing of the storage state of the electronic ticket that has passed the ticket inspection specifically includes deleting the electronic ticket that has passed the ticket inspection from the electronic ticket carrier, or setting the electronic ticket that has passed the ticket inspection to the checked state;
S902、电子票载体在本地电子票的存储状态发生变化时,向电子票存储设备发送通知消息,其中携带根据检票通过的电子票确定出的本地电子票的可用存储数量或者可用存储空间;S902. When the storage state of the local electronic ticket changes, the electronic ticket carrier sends a notification message to the electronic ticket storage device, which carries the available storage quantity or available storage space of the local electronic ticket determined according to the electronic ticket that passes the ticket inspection;
S903、电子票存储设备根据接收到的通知消息,将本地存储的不超过该可用存储数量或者占用的存储空间不超过该可用存储空间的未检验的电子票迁移至电子票载体;S903. According to the received notification message, the electronic ticket storage device migrates the unverified electronic tickets stored locally that do not exceed the available storage amount or whose storage space does not exceed the available storage space to the electronic ticket carrier;
具体实施中,电子票载体将从电子票存储设备迁移至本地的电子票存储在检票通过的电子票被删除之后释放出的存储空间中,或者使用从电子票存储设备迁移至本地的电子票覆盖被设置为已检验状态的电子票。In a specific implementation, the electronic ticket carrier stores the electronic ticket migrated from the electronic ticket storage device locally in the storage space released after the electronic ticket that passed the check-in is deleted, or overwrites it with the electronic ticket migrated from the electronic ticket storage device to the local E-tickets that are set to checked status.
基于同一技术构思,本发明实施例提供了一种电子票的检票系统,如图10所示,包括检票设备1001、电子票载体1002和电子票存储设备1003,其中:Based on the same technical idea, an embodiment of the present invention provides an electronic ticket checking system, as shown in Figure 10, including a
检票设备1001,用于从电子票载体1002中读取待检验的电子票进行检验,并改变检票通过的电子票的存储状态;The
电子票载体1002,用于在本地电子票的存储状态发生变化时,向电子票存储设备1003发送通知消息,其中携带根据检票通过的电子票确定出的本地电子票的可用存储数量或者可用存储空间;The
电子票存储设备1003,用于根据接收到的通知消息,将本地存储的不超过可用存储数量或者占用的存储空间不超过可用存储空间的未检验的电子票迁移至电子票载体1002。The electronic
本发明实施例提供的电子票的检票方法及系统,检票设备可以改变电子票载体上检票通过的电子票的存储状态;电子票载体在本地电子票的存储状态发生变化时通知电子票存储设备,从而可以将电子票存储设备中存储的未检验的电子票及时迁移至电子票载体,方便了电子票的检票和使用。In the electronic ticket checking method and system provided by the embodiments of the present invention, the ticket checking device can change the storage state of the electronic ticket passed through the electronic ticket carrier; the electronic ticket carrier notifies the electronic ticket storage device when the storage state of the local electronic ticket changes, Therefore, the unverified electronic ticket stored in the electronic ticket storage device can be transferred to the electronic ticket carrier in time, which facilitates the checking and use of the electronic ticket.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100880123A CN101944225A (en) | 2009-07-06 | 2009-07-06 | Method for subscribing and checking electronic ticket and relevant system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100880123A CN101944225A (en) | 2009-07-06 | 2009-07-06 | Method for subscribing and checking electronic ticket and relevant system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101944225A true CN101944225A (en) | 2011-01-12 |
Family
ID=43436205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100880123A Pending CN101944225A (en) | 2009-07-06 | 2009-07-06 | Method for subscribing and checking electronic ticket and relevant system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101944225A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103065107A (en) * | 2011-10-21 | 2013-04-24 | 中国移动通信集团公司 | Method and device of achieving non-contact card swiping application |
CN105336007A (en) * | 2015-09-25 | 2016-02-17 | 深圳市嗒嗒科技有限公司 | Electronic ticket generating system and method |
TWI578246B (en) * | 2013-04-23 | 2017-04-11 | 富智康(香港)有限公司 | Electronic ticket exchange system and method |
CN106709044A (en) * | 2016-12-30 | 2017-05-24 | 中国民航信息网络股份有限公司 | Flight combinational service query method and flight combinational service query system |
CN110300403A (en) * | 2018-03-23 | 2019-10-01 | 深圳前海游惠宝网络科技有限公司 | It is a kind of that method is checked and write off based on IMSI |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1423473A (en) * | 2001-12-07 | 2003-06-11 | 明基电通股份有限公司 | Mobile electronic ticketing system and method thereof |
CN1588401A (en) * | 2004-07-30 | 2005-03-02 | 北京维深电子技术有限公司 | Anti-fake system and method for electronic bill |
CN1744135A (en) * | 2005-09-06 | 2006-03-08 | 北京魅力之旅商业管理有限公司 | Electronic evidence realizing method and device |
CN1832603A (en) * | 2005-03-10 | 2006-09-13 | 乐金电子(中国)研究开发中心有限公司 | A management method of memories in mobile station |
CN101043646A (en) * | 2006-03-21 | 2007-09-26 | 联发科技股份有限公司 | Information Processing System and Method |
CN101075353A (en) * | 2007-06-14 | 2007-11-21 | 高英杰 | Electronic multifunctional ticket system |
-
2009
- 2009-07-06 CN CN2009100880123A patent/CN101944225A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1423473A (en) * | 2001-12-07 | 2003-06-11 | 明基电通股份有限公司 | Mobile electronic ticketing system and method thereof |
CN1588401A (en) * | 2004-07-30 | 2005-03-02 | 北京维深电子技术有限公司 | Anti-fake system and method for electronic bill |
CN1832603A (en) * | 2005-03-10 | 2006-09-13 | 乐金电子(中国)研究开发中心有限公司 | A management method of memories in mobile station |
CN1744135A (en) * | 2005-09-06 | 2006-03-08 | 北京魅力之旅商业管理有限公司 | Electronic evidence realizing method and device |
CN101043646A (en) * | 2006-03-21 | 2007-09-26 | 联发科技股份有限公司 | Information Processing System and Method |
CN101075353A (en) * | 2007-06-14 | 2007-11-21 | 高英杰 | Electronic multifunctional ticket system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103065107A (en) * | 2011-10-21 | 2013-04-24 | 中国移动通信集团公司 | Method and device of achieving non-contact card swiping application |
CN103065107B (en) * | 2011-10-21 | 2015-12-02 | 中国移动通信集团公司 | A kind of noncontact swipe the card application implementation method and device |
TWI578246B (en) * | 2013-04-23 | 2017-04-11 | 富智康(香港)有限公司 | Electronic ticket exchange system and method |
CN105336007A (en) * | 2015-09-25 | 2016-02-17 | 深圳市嗒嗒科技有限公司 | Electronic ticket generating system and method |
CN105336007B (en) * | 2015-09-25 | 2018-06-01 | 深圳市嗒嗒科技有限公司 | A kind of electronic ticket generation system and electronic ticket generation method |
CN106709044A (en) * | 2016-12-30 | 2017-05-24 | 中国民航信息网络股份有限公司 | Flight combinational service query method and flight combinational service query system |
CN110300403A (en) * | 2018-03-23 | 2019-10-01 | 深圳前海游惠宝网络科技有限公司 | It is a kind of that method is checked and write off based on IMSI |
CN110300403B (en) * | 2018-03-23 | 2022-04-22 | 深圳前海游惠宝网络科技有限公司 | IMSI-based (International Mobile subscriber identity) -based cancel verification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6533085B2 (en) | Terminal, information processing method, and program | |
CN105243569A (en) | Social marketing system and method employing coupon sharing | |
WO2013061289A1 (en) | Queue remote management system and method | |
JP2003006574A (en) | Card system, card information presenting device, card issuing device, card content updating device, card data updating device, and card information providing system | |
CN101944225A (en) | Method for subscribing and checking electronic ticket and relevant system | |
CN105764027A (en) | Automatic Activating Device And Method Used For Wireless Communication Function Of Geo-fence And System Comprising Same | |
CN114549264A (en) | Management method and management server for utilizing multiple SIM cards | |
US11319089B2 (en) | Managed connecting service for mass transit baggage | |
CN103458004A (en) | Internet of things-based device subscription information changing method and equipment | |
US20140066110A1 (en) | Valet Parking System and Method | |
JP2015148891A (en) | Privilege granting system, privilege granting method, portable terminal, register terminal and program | |
CN110753339A (en) | Data downloading method and management platform | |
JP6101847B1 (en) | Delivery company selection device | |
US20150106184A1 (en) | Device and method for managing certification data | |
KR100911985B1 (en) | Short-range wireless communication-based content sharing system and method and terminal applied thereto | |
US20130254172A1 (en) | Information provision server, information provision system, information provision method and program | |
KR101106251B1 (en) | System and method for wireless network sharing based on social network service | |
CN104869531B (en) | Group member updating method and device | |
JP2019012969A (en) | Communication capacity increasing system, communication capacity increasing method, and program | |
CN103559466B (en) | NFC application processing methods, terminal and server | |
US20130102338A1 (en) | Valet parking system and method utilizing wireless text messaging | |
CN111225364A (en) | Method for operating NFC device, NFC device and communication system | |
JP2009301211A (en) | Sales promotion cost dynamic management system, token management server, mobile terminal, and sales promotion cost dynamic management method | |
KR20160087587A (en) | System and method for calling designated driver using electronic tag | |
CN101853530A (en) | Group electronic ticket distribution, ticket checking method and related equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110112 |