CN101430800B - Electronic bill system, apparatus and method - Google Patents

Electronic bill system, apparatus and method Download PDF

Info

Publication number
CN101430800B
CN101430800B CN200810238924XA CN200810238924A CN101430800B CN 101430800 B CN101430800 B CN 101430800B CN 200810238924X A CN200810238924X A CN 200810238924XA CN 200810238924 A CN200810238924 A CN 200810238924A CN 101430800 B CN101430800 B CN 101430800B
Authority
CN
China
Prior art keywords
attribute
electronic ticket
property parameters
bit information
ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200810238924XA
Other languages
Chinese (zh)
Other versions
CN101430800A (en
Inventor
乐祖晖
李征
任晓明
赵旭
刘斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile 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 Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN200810238924XA priority Critical patent/CN101430800B/en
Publication of CN101430800A publication Critical patent/CN101430800A/en
Application granted granted Critical
Publication of CN101430800B publication Critical patent/CN101430800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

The invention relates to the field of electronic ticket, in particular to an electronic ticket system which has universality and can prevent non-buyers from illegally duplicating the electronic tickets. The invention provides an electronic ticket system, a device and a method thereof. The method comprises the following steps: firstly, the property identification information of each property of a ticket is determined according to the property list of the ticket secondly, the corresponding relation of the properties of various tickets and the identification information of the property is recorded in the property list of the ticket thirdly, the property identification information of each property and the property parameters of the ticket are correspondingly recorded in the electronic ticket and fourthly, the electronic ticket is transmitted to the secure memory chip of a mobile terminal. The property identification information of each property and the property parameters of various tickets can be recorded in the electronic ticket according to the property list of the ticket to form various electronic tickets, thereby ensuring the universality of the electronic ticket system; furthermore, the electronic ticket can be transmitted to the secure memory chip, so as to prevent the electronic ticket from being duplicated illegally.

Description

A kind of electronic bill system, device and method
Technical field
The present invention relates to field of electronic ticket, relate in particular to and a kind ofly have versatility, can prevent that non-buyer from duplicating the electronic bill system of electronic ticket, device and method.
Background technology
In daily life, no matter be see a film, by train, the visit tourist attractions, watch sports tournament or participate in exhibition activity, all need to buy bill usually.At present, the electronic ticket of release has substituted traditional paper-bill, can conserves paper, improve bill security, make things convenient for ticket-holder's booking.Therefore, the application of electronic ticket becomes a kind of trend.Substitute traditional paper-bill in order to use electronic ticket, need a corresponding cover electronic bill system, be used for generation, distribution, verification electronic ticket.The electronic bill system of widespread use at present has following three kinds:
A kind of is the electronic bill system of two-dimension code form: the electronic ticket that this electronic bill system generates is the two-dimension code form, promptly billing information is encoded by black, the different distributions of white pixel in matrix at a coffin, thereby generates electronic ticket.What the two-dimensional code electronic ticket carried contains much information, and can transmit by cordless communication network with multimedia message, short message mode, can show on mobile terminal display screen.Because the two-dimensional code electronic ticket can duplicate between portable terminal by modes such as notes, thereby makes non-buyer can obtain bill easily, and the wicket need adopt online mode to prevent that a bill is used multiple times.Like this, the two-dimensional code electronic ticket can't be applied to not have the system of online ticket checking.
A kind of is the electronic bill system of set form: the electronic ticket that this electronic bill system generates, and its length, size are fixed, and the field that wherein comprises is also fixed.Such as, a system that is used to generate the film electronic ticket, the field that comprises in the film electronic ticket with set form of its generation has: movie theatre title, the shadow Room, seat number, fare ticket type type, film title, viewing date, viewing time, admission fee etc.Yet the electronic bill system versatility of set form is poor, and for the bill of other type, for example park admission ticket, train ticket etc. can't be suitable for, and needs the system that an other cover generated, checked electronic ticket.
A kind of is the masterplate electronic bill system: in order to strengthen the versatility of electronic bill system, the masterplate electronic bill system can generate the electronic ticket of masterplate formula.The electronic ticket of this kind masterplate formula comprises the attribute information that various bills should comprise as much as possible.Such as, in order to generate the electronic ticket of the park system that can be common to, movie system, train system, then need to comprise the attribute information of park admission ticket, film ticket, train ticket in the electronic ticket of masterplate formula.Like this, the electronic ticket of masterplate formula will take bigger storage space; And have the masterplate formula electronic ticket of versatility more, its storage space that takies is big more, is unfavorable for storage and transmission.And the attribute information of the impossible various bills of limit of the electronic ticket of masterplate formula, therefore, the versatility of masterplate electronic bill system also is limited.
In sum, above-mentioned electronic bill system all can't have the anti-replicability of versatility and electronic ticket concurrently.
Summary of the invention
The embodiment of the invention provides a kind of electronic bill system, electronic ticket disposal route and electronic ticket sending method and device, makes electronic bill system can generate, send the electronic ticket with versatility.
The embodiment of the invention provides a kind of electronic ticket display packing and device, in order to show a kind of electronic ticket with versatility.
The embodiment of the invention provides a kind of electronic ticket method of inspection and device, in order to check a kind of electronic ticket with versatility.
A kind of electronic ticket sending method comprises:
Determine the attribute-bit information of each attribute of bill according to bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
With the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket;
Described electronic ticket is sent in the safe storage chip of portable terminal.
In the described safe storage chip that described electronic ticket is sent to portable terminal, be specially:
By card reader/writer, perhaps the air download mode sends in the safe storage chip of portable terminal with described electronic ticket.
The attribute-bit information of described each attribute with bill and property parameters corresponding record are specially in electronic ticket:
For an attribute of bill, in described electronic ticket, write down attribute-bit information, the property parameters length information of this attribute successively, and property parameters; The storage space that the attribute-bit information of this attribute takies is first setting value, and the property parameters length information takies the size of storage space in order to the property parameters of indicating this attribute, and its storage space that takies is second setting value.
Perhaps, the attribute-bit information of described each attribute with bill and property parameters corresponding record are specially in electronic ticket:
For an attribute of bill, in described electronic ticket, write down length information, attribute-bit information, the property parameters length information of the attribute-bit information of this attribute successively, and property parameters; The storage space that the length information of the attribute-bit information of this attribute takies is first setting value, and it takies the size of storage space in order to the attribute-bit information of indicating this attribute; The storage space that the property parameters length information of this attribute takies is second setting value, and it takies the size of storage space in order to the property parameters of indicating this attribute.
A kind of electronic ticket dispensing device comprises:
Bill attribute inventory memory module is used for storing bill attribute inventory, and described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The identification information determination module is used for determining according to described bill attribute inventory the attribute-bit information of each attribute of bill;
The electronic ticket generation module is used for the attribute-bit information of each attribute of described bill and property parameters corresponding record to electronic ticket;
The electronic ticket sending module is used for described electronic ticket is sent to the safe storage chip of portable terminal.
A kind of electronic ticket display packing comprises:
According to the electronic ticket selection instruction, determine electronic ticket to display;
Obtain the attribute-bit information and the property parameters of each attribute of described electronic ticket corresponding record;
Determine the pairing attribute of attribute-bit information of acquisition according to bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
Corresponding each attribute and the property parameters thereof that shows described electronic ticket.
A kind of electronic ticket display device comprises:
The electronic ticket determination module is used for determining electronic ticket to display according to the electronic ticket selection instruction;
Attribute information obtains module, is used to obtain the attribute-bit information and the property parameters of each attribute of described electronic ticket corresponding record;
The attribute determination module is used for according to the definite pairing attribute of attribute-bit information that obtains of bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
Display module is used for corresponding each attribute and the property parameters thereof that shows described electronic ticket.
A kind of electronic ticket method of inspection comprises:
Obtain the electronic ticket to be checked in the portable terminal safe storage chip;
Obtain the attribute-bit information and the property parameters of each attribute of corresponding record in the described electronic ticket;
With the attribute-bit information of each attribute of ticket checking information and acquisition and property parameters relatively, carry out ticket checking; Described ticket checking information comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation;
When ticket checking was passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip.
A kind of electronic bill system comprises:
The electronic ticket dispensing device, after being used for determining the attribute-bit information of each attribute of bill according to bill attribute inventory, the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket, and are sent to described electronic ticket in the safe storage chip of portable terminal; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The electronic ticket verifying attachment is used for the safe storage chip electron gain ticket from described portable terminal; In obtaining described electronic ticket after the attribute-bit information and property parameters of each attribute of corresponding record,, carry out ticket checking with the attribute-bit information and the property parameters comparison of each attribute of ticket checking information and acquisition; If ticket checking is passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip; Described ticket checking information obtains from described electronic ticket dispensing device, and it comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation.
A kind of electronic ticket disposal route comprises:
The electronic ticket dispensing device is determined the attribute-bit information of each attribute of bill according to bill attribute inventory after, the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket, and are sent to described electronic ticket in the safe storage chip of portable terminal; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The electronic ticket verifying attachment is from the safe storage chip electron gain ticket of described portable terminal; In obtaining described electronic ticket after the attribute-bit information and property parameters of each attribute of corresponding record,, carry out ticket checking with the attribute-bit information and the property parameters comparison of each attribute of ticket checking information and acquisition; If ticket checking is passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip; Described ticket checking information obtains from described electronic ticket dispensing device, and it comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation.
The electronic bill system of the embodiment of the invention is owing to write down the attribute of various bills and the corresponding relation of attribute-bit information in the bill attribute inventory, therefore, can in electronic ticket, write down the attribute-bit information and the property parameters of each attribute of various bills according to this bill attribute inventory, form various electronic ticket, thereby make this electronic bill system can generate electronic ticket with versatility; And the electronic ticket of this generation can send in the safe storage chip of portable terminal and store, thereby has prevented the bootlegging of electronic ticket.
Description of drawings
Fig. 1 is the electronic bill system synoptic diagram of the embodiment of the invention;
Fig. 2 a is that the electronic ticket of the embodiment of the invention generates the sending method process flow diagram;
Fig. 2 b is the method flow diagram of the generation TLV form electronic ticket of the embodiment of the invention;
Fig. 3 a is the electronic ticket display packing process flow diagram of the embodiment of the invention;
Fig. 3 b is the attribute-bit information of acquisition TLV form electronic ticket of the embodiment of the invention and the method flow diagram of property parameters;
Fig. 4 is the electronic ticket method of inspection process flow diagram of the embodiment of the invention;
Fig. 5 is that the electronic ticket of the embodiment of the invention generates the dispensing device structural representation;
Fig. 6 is the electronic ticket display device structure synoptic diagram of the embodiment of the invention;
Fig. 7 is the ticket-checked device structural representation of the embodiment of the invention.
Embodiment
Bill is used for can carrying out ticket checking according to the bill loaded information in the wicket as a kind of information carrier.The bill of same type has some identical attributes usually, and ticket checking then is to test according to the parameter of these attributes.Such as, the attribute that train ticket has usually comprises: whether train number, compartment, seat, riding time, admission fee, bill be effective etc.; And the park ticket comprises attribute: whether park title, bill be effective etc.
The embodiment of the invention provides a kind of electronic bill system to generate various electronic ticket (for example, plane ticket, park admission ticket, film ticket etc.) flexibly according to bill attribute inventory.The attribute of various bills and the corresponding relation of attribute-bit information in bill attribute inventory, have been write down.For example, a kind of concrete bill attribute inventory can be as shown in table 1:
Table 1
Property Name Attribute-bit information
Bill type 0?x?01
Train number 0?x?02
The compartment 0?x?03
The seat 0?x?04
Riding time 0?x?05
Whether effective 0?x?06
The park title 0?x?07
Obviously, those skilled in the art can formulate bill attribute inventory according to actual conditions.Each attribute according to bill, can from bill attribute inventory, find corresponding attribute-bit information, the attribute-bit information of each attribute and property parameters corresponding record in electronic ticket, and are downloaded to the mode of this electronic ticket by card reader/writer or air download in the safe storage chip (as SIM card) of portable terminal.So just can generate dissimilar electronic ticket, thereby make this electronic bill system have versatility according to dissimilar bills; And this electronic ticket can be directly downloaded to the safe storage chip of portable terminal, thereby prevents that electronic ticket from duplicating between portable terminal, propagating, and has prevented the non-buyer's of electronic ticket bootlegging.
As shown in Figure 1, a kind of electronic bill system that the embodiment of the invention provides comprises: electronic ticket generates dispensing device 101, ticket-checked device 102.
Electronic ticket generates and by card reader/writer 103 or air interface electronic ticket is sent in the safe storage chip of portable terminal 104 after dispensing device 101 generates electronic ticket.
Ticket-checked device 102 can generate from electronic ticket and obtain ticket checking information the dispensing device 101, and according to ticket checking information the electronic ticket of obtaining from the safe storage chip of portable terminal 104 is carried out ticket checking.
Electronic ticket generates the method flow diagram that dispensing device 101 generated, sent electronic ticket, shown in Fig. 2 a, comprises following concrete steps:
S201, determine the attribute-bit information of each attribute of bill according to bill attribute inventory.
The bill of the electronic ticket form that generates for needs is determined each attribute that this bill possesses, and then is determined the attribute-bit information of each attribute of bill according to bill attribute inventory.For example, for a train bill, it attribute that possesses comprises: whether bill type, train number, compartment, seat, riding time, admission fee, bill be effective.So, can determine that according to bill attribute inventory (the bill attribute inventory that example is as shown in table 1) the attribute-bit information of each attribute of this train bill is respectively: 0x01,0x02,0x03,0x04,0x05,0x06.
S202, with the attribute-bit information of each attribute of bill and property parameters corresponding record to electronic ticket.
For each attribute of bill, the attribute-bit information of this attribute of corresponding record and property parameters are in electronic ticket respectively.The attribute-bit information of corresponding record bill attribute and the method for property parameters can have multiple, will be introduced at further part.
S203, described electronic ticket is sent in the safe storage chip of portable terminal.Specifically can be by card reader/writer, perhaps the air download mode downloads to electronic ticket in the safe storage chip of portable terminal.The air download mode is such as being data SMS, GPRS (General Packet Radio Service, GPRS (General Packet Radio Service)) etc.
Because the electronic ticket that this method generates can be directly downloaded in the safe storage chip of portable terminal, as SIM (Subscriber Identity Module, Subscriber Identity Module) card, mobile phone users can not directly read, duplicate this electronic ticket, that is to say, direct demonstration is not provided in portable terminal, reads the interface of electronic ticket, thereby improve the security of electronic ticket.
Electronic ticket can be kept at electronic ticket with the form of file and use down: electronic ticket increases corresponding fileinfo (as file identification, file type, file size, file access control etc.) after being applied in and receiving electronic ticket, forms the electronic ticket file.Electronic ticket is used download, renewal and the deletion that realizes electronic ticket with external entity mutual (generating dispensing device, ticket-checked device as card reader/writer, electronic ticket).
Among the above-mentioned steps S202 method of the attribute-bit information of corresponding record bill attribute and property parameters can have multiple, such as:
Write down the attribute-bit information and the property parameters of each attribute successively in electronic ticket, and the shared storage space of each attribute-bit information is setting value A, the shared storage space of property parameters is setting value B.Promptly write down the attribute-bit information of first attribute earlier, the shared storage size of this attribute-bit information equals setting value A, writes down the property parameters of first attribute then, and the shared storage size of this property parameters equals setting value B; Write down the attribute-bit information of second attribute afterwards ... and the like.
Perhaps, with the attribute-bit information and the property parameters of TLV (Tag, Length, Value, label, length, parameter) each attribute of form corresponding record: attribute-bit information promptly is equivalent to Tag, and shared storage space is a setting value; The storage space of property parameters (being equivalent to Value) is unfixing, and property parameters length information (being equivalent to Length) takies the size of storage space in order to the property parameters of indicating this attribute.Just write down the attribute-bit information of first attribute earlier, the shared storage size of this attribute-bit information equals setting value C, write down the property parameters length information (the shared storage size of property parameters length information equals setting value D) of first attribute then, write down the property parameters of first attribute afterwards; Write down the attribute-bit information of second attribute afterwards ... and the like.This recording mode has more dirigibility than last kind recording mode.Fig. 2 b shows a kind of method flow of electronic ticket of the TLV of generation form, comprising: S211, search corresponding attribute-bit information according to an attribute of electronic ticket from bill attribute inventory and record in the electronic ticket; S212, determine the property parameters of this attribute; S213, determine the property parameters length information of this attribute according to the shared storage size of this property parameters; Property parameters length information and property parameters that S214, record are determined; S215, judge whether this attribute is last attribute of electronic ticket; If not, jump procedure S211; If, process ends.
Further, also increased the length information of attribute-bit information before the attribute-bit information of record, thereby the storage space of the attribute-bit information of record needn't fixed size, its storage size can be by the length information indication of attribute-bit information.And the storage space of the length information of attribute-bit information is a fixed size, and such as two bits: length information+attribute-bit information that length information+attribute-bit information that length information+attribute-bit information that the length information of 00 representation attribute identification information+attribute-bit information takies 1 byte, 01 representation attribute identification information takies 2 bytes, 10 representation attribute identification informations takies 3 bytes, 11 representation attribute identification informations takies 4 bytes.Because the storage space of the length information of attribute-bit information is a fixed size, therefore, length information+attribute-bit information that the length information of attribute-bit information has indicated attribute-bit information accounts for storage size altogether, has also just indicated the shared storage size of attribute-bit information.
Table 2 item shows a kind of train ticket of the electronic ticket form that generates according to table 1 bill attribute inventory, and wherein property parameters can be encoded by GB coding or ASCII character or other and be expressed.For example, the parameter of bill type is " train ticket ", then the property parameters that writes down in the electronic ticket can be the GB sign indicating number of " train ticket "---0 x BBF0B3B5C6B1, the parameter of " train number " is " T56 ", and then the property parameters that writes down in the electronic ticket can be the GB sign indicating number of " T56 "---0 x A3D4A3B5A3B6.
Table 2
The length information of attribute-bit information (scale-of-two) Attribute-bit information (sexadecimal) Property parameters length information (sexadecimal) Property parameters (sexadecimal)
00 0?x?01 0?x?06 0 x BBF0B3B5C6B1 (train ticket)
00 0?x?02 0?x?06 0?x?A3D4A3B5A3B6(T56)
00 0?x?03 0?x?04 0?x?A3B0A3B9(09)
00 0?x?04 0?x?06 0?x?A3B1A3B2A3B1(121)
00 0?x?05 0?x?10 0?x?A3B2A3B0A3B0 A3B8A3AEA3B5A3AEA3B6(2008.5.6)
00 0?x?06 0?x?02 0 x D3D0D0A7 (effectively)
Further, the storage space of property parameters length information also needn't fixed size, and the storage size of property parameters length information can be described by the byte information of the property parameters length information that increases.For example, equal bit 0 with the byte information of property parameters length information, the byte information of representation attribute parameter length information+property parameters length information takies 1 byte; Byte information with the property parameters length information equals bit 1, and the byte information of representation attribute parameter length information+property parameters length information takies 2 bytes.And the byte information of property parameters length information can be the highest-order bit in the byte information+property parameters length information of property parameters length information.
In addition, whether visible label information of attribute can also be increased, whether the user can be shown to thereby identify this attribute for each attribute of electronic ticket.For example, between the byte information of property parameters length information and property parameters length information, increase whether visible label information of attribute, just with the byte information+attribute of property parameters length information whether second bit in visible label information+property parameters length information as the attribute storage space of visible label information whether.
Portable terminal 104 can not directly show the electronic ticket in the safe storage chip behind the electron gain ticket, operation such as also this electronic ticket can't be duplicated.If the user need check the relevant information of electronic ticket by portable terminal 104, then can show the information that electronic ticket is put down in writing by the following method, process flow diagram comprises the steps: shown in Fig. 3 a
S301, electronic ticket are used the electronic ticket selection instruction according to the mobile phone users that receives, and determine electronic ticket to display.
Electronic ticket is used can pass through STK (SIM Application Toolkit, the SIM application toolkit) instruction that sends of mode or the client software by portable terminal obtains the electronic ticket selection instruction of mobile phone users, and determines the electronic ticket that user's needs are checked according to this electronic ticket selection instruction.
S302, electronic ticket are used the attribute-bit information and the property parameters of each attribute of corresponding record in the electronic ticket that obtains to determine.
The method of the attribute-bit information of concrete each attribute of acquisition and the method for property parameters and record is corresponding.Such as being attribute-bit information and property parameters, then obtain the attribute-bit information and the property parameters of each attribute according to the TLV form with each attribute of TLV form corresponding record.Fig. 3 b shows a kind of acquisition with the attribute-bit information of each attribute of TLV form corresponding record and the method flow of property parameters, comprising: S311, basis account for storage space setting value C obtains an attribute from electronic ticket attribute-bit information; S312, basis account for storage space setting value D obtains this attribute from electronic ticket property parameters length information; S313, from electronic ticket, obtain the property parameters of this attribute according to the property parameters length information of this attribute; S314, judge whether this attribute is last attribute of electronic ticket; If not, jump to S311; If, process ends.
Because the information that is write down according to the form acquisition of record is well known to those skilled in the art, and therefore, no longer tells about concrete preparation method one by one at above-mentioned various recording methods herein.
S303, electronic ticket are used the pairing attribute of attribute-bit information of determining acquisition according to bill attribute inventory.
This bill attribute inventory and above-mentioned electronic ticket generate dispensing device 101, and to be used to generate the bill attribute inventory of electronic ticket the same.Use according to this bill attribute inventory electronic ticket and can determine the pairing attribute of attribute-bit information that obtains.
S304, corresponding each attribute and the property parameters thereof of showing.
Electronic ticket is used by the STK mode or to the client software of portable terminal and is sent relevant information, thus on display screen corresponding each attribute and the property parameters thereof of showing.
Ticket-checked device 102 can be tested to the electronic ticket in the safe storage chip of portable terminal 104, and concrete method of inspection flow process as shown in Figure 4, comprises following concrete steps:
S400, before ticket checking, select an electronic ticket that needs check in many (or one) electronic ticket that the user can store by portable terminal from the safe storage chip, portable terminal is made as " to be checked " state according to user's selection with the state of this electronic ticket.
S401, ticket-checked device 102 and the mutual acquisition of the safe storage chip of portable terminal 104 electronic ticket to be checked.
Ticket-checked device 102 can pass through NFC (Near Field Communication, wireless near field communication) interface and the safe storage chip mutual, obtain user-selected electronic ticket to be checked.
The attribute-bit information and the property parameters of each attribute of corresponding record in S402, the described electronic ticket of acquisition.
The attribute-bit information of ticket-checked device 102 each attribute of acquisition and the method for property parameters can be identical with the method that above-mentioned electronic ticket is used, and repeat no more herein.
S403, the attribute-bit information and the property parameters of each attribute of corresponding record in the electronic ticket are tested according to ticket checking information.
The correlation parameter that comprises the attribute (attribute to be tested) of needs check in the ticket checking information, for example property parameters of this attribute of the attribute-bit information of attribute to be tested and expectation.If need in the ticket checking information property parameters of the attribute-bit information of this attribute of checking and expectation identical with attribute-bit information, the property parameters of respective attributes in the electronic ticket, then ticket checking is passed through; Otherwise ticket checking is not passed through.
Ticket-checked device 102 generates from electronic ticket and obtains ticket checking information the dispensing device 101.Because electronic ticket generates the ticket checking information that dispensing device 101 can upgrade ticket-checked device 102, therefore, ticket-checked device 102 can be realized the check of various electronic ticket flexibly.
S404, if ticket checking is passed through, the property parameters of then revising the association attributes in the electronic ticket is as standard inspection note.
After ticket checking is passed through, the property parameters of association attributes makes an amendment in 102 pairs of electronic ticket of ticket-checked device, is revised as engineering noise such as property parameters that will " whether effective " attribute, then shows this electronic ticket, perhaps follow-up must not re-using passed through in the some projects ticket checking in this electronic ticket.
S405, amended electronic ticket returned to the safe storage chip of portable terminal.
Though it will be understood by those skilled in the art that in the above-mentioned explanation, for ease of understanding, the step of method has been adopted the succession description, should be pointed out that for the order of above-mentioned steps and do not do strict the restriction.
A kind of concrete structure that above-mentioned electronic ticket generates dispensing device 101 can comprise as shown in Figure 5: bill attribute inventory memory module 501, identification information determination module 502, electronic ticket generation module 503, electronic ticket sending module 504.
Bill attribute inventory memory module 501 is used for storing bill attribute inventory, and described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information.
Identification information determination module 502 is used for determining according to described bill attribute inventory the attribute-bit information of each attribute of bill.
Electronic ticket generation module 503 is used for the attribute-bit information of each attribute of described bill and property parameters corresponding record to electronic ticket.Method is described as described above for the method for electronic ticket generation module 503 generation electronic ticket, such as the attribute-bit information that adopts each attribute of TLV format record and property parameters corresponding record in electronic ticket, promptly for each attribute of bill, in described electronic ticket, write down attribute-bit information, the property parameters length information of this attribute successively, and property parameters; The storage space that the attribute-bit information of this attribute takies is first setting value, and the property parameters length information takies the size of storage space in order to the property parameters of indicating this attribute, and its storage space that takies is second setting value.Perhaps adopt other method to come corresponding record attribute-bit information and property parameters.
Electronic ticket sending module 504 is used for described electronic ticket is passed through card reader/writer, and perhaps the air download mode sends in the safe storage chip of portable terminal.
The concrete structure of a kind of electronic ticket display device that the embodiment of the invention provides can be as shown in Figure 6, and this electronic ticket display device is arranged in portable terminal, also can be to be arranged in the safe storage chip of portable terminal; It comprises: electronic ticket determination module 601, attribute information obtain module 602, attribute determination module 603, display module 604.
Electronic ticket determination module 601 is used for determining electronic ticket to display according to the electronic ticket selection instruction.Electronic ticket determination module 601 is determined the electronic ticket that will show according to user's electronic ticket selection instruction in the electronic ticket of determining to store in the safe storage chip of portable terminal.
Attribute information obtains the attribute information that module 602 is used for each attribute of the electronic ticket that obtains to determine, is specially the attribute-bit information and the property parameters that obtain each attribute of corresponding record in the described electronic ticket.
Attribute determination module 603 is used for determining according to bill attribute inventory the pairing attribute of attribute-bit information of acquisition; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information.
Display module 604 is used for corresponding each attribute and the property parameters thereof that shows described electronic ticket.
A kind of concrete structure of above-mentioned ticket-checked device 102 can comprise as shown in Figure 7: electronic ticket obtains module 701, attribute information obtains module 702, ticket checking module 703, electronic ticket sending module 704.
Electronic ticket obtains module 701 and is used for obtaining the electronic ticket that portable terminal safe storage chip is stored.
Attribute information obtains the attribute information that module 702 is used for obtaining each attribute of described electronic ticket, is specially the attribute-bit information and the property parameters that obtain each attribute of corresponding record in the described electronic ticket.
Ticket checking module 703 is used for the attribute-bit information of each attribute of ticket checking information and acquisition and property parameters are compared, and carries out ticket checking; The property parameters conduct of the association attributes after ticket checking is passed through in the modification electronic ticket is the standard inspection note; Described ticket checking information comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation.
Electronic ticket sending module 704 is used for amended electronic ticket is sent to described portable terminal safe storage chip.
The electronic bill system of the embodiment of the invention is owing to write down the attribute of various bills and the corresponding relation of attribute-bit information in the bill attribute inventory, therefore, can in electronic ticket, write down the attribute-bit information and the property parameters of each attribute of various bills according to this bill attribute inventory, form various electronic ticket, thereby make this electronic bill system have versatility; And the electronic ticket of this generation can send in the safe storage chip of portable terminal and store, thereby has prevented the bootlegging of electronic ticket.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
Will also be appreciated that the apparatus structure shown in accompanying drawing or the embodiment only is schematically, the presentation logic structure.Wherein the module that shows as separating component may or may not be physically to separate, and the parts that show as module may be or may not be physical modules.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. an electronic ticket sending method is characterized in that, comprising:
Determine the attribute-bit information of each attribute of bill according to bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
With the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket;
Described electronic ticket is sent in the safe storage chip of portable terminal.
2. the method for claim 1 is characterized in that, in the described safe storage chip that described electronic ticket is sent to portable terminal, is specially:
By card reader/writer, perhaps the air download mode sends in the safe storage chip of portable terminal with described electronic ticket.
3. the method for claim 1 is characterized in that, the attribute-bit information of described each attribute with bill and property parameters corresponding record are specially in electronic ticket:
For an attribute of bill, in described electronic ticket, write down attribute-bit information, the property parameters length information of this attribute successively, and property parameters; The storage space that the attribute-bit information of this attribute takies is first setting value, and the property parameters length information takies the size of storage space in order to the property parameters of indicating this attribute, and its storage space that takies is second setting value.
4. the method for claim 1 is characterized in that, the attribute-bit information of described each attribute with bill and property parameters corresponding record are specially in electronic ticket:
For an attribute of bill, in described electronic ticket, write down length information, attribute-bit information, the property parameters length information of the attribute-bit information of this attribute successively, and property parameters; The storage space that the length information of the attribute-bit information of this attribute takies is first setting value, and it takies the size of storage space in order to the attribute-bit information of indicating this attribute; The storage space that the property parameters length information of this attribute takies is second setting value, and it takies the size of storage space in order to the property parameters of indicating this attribute.
5. as the arbitrary described method of claim 1-4, it is characterized in that described safe storage chip is a SIM card.
6. an electronic ticket dispensing device is characterized in that, comprising:
Bill attribute inventory memory module is used for storing bill attribute inventory, and described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The identification information determination module is used for determining according to described bill attribute inventory the attribute-bit information of each attribute of bill;
The electronic ticket generation module is used for the attribute-bit information of each attribute of described bill and property parameters corresponding record to electronic ticket;
The electronic ticket sending module is used for described electronic ticket is sent to the safe storage chip of portable terminal.
7. device as claimed in claim 6 is characterized in that,
Described electronic ticket generation module specifically is used for each attribute for bill, writes down attribute-bit information, the property parameters length information of this attribute in described electronic ticket successively, and property parameters; The storage space that the attribute-bit information of this attribute takies is first setting value, and the property parameters length information takies the size of storage space in order to the property parameters of indicating this attribute, and its storage space that takies is second setting value.
8. an electronic ticket display packing is characterized in that, comprising:
According to the electronic ticket selection instruction, determine electronic ticket to display;
Obtain the attribute-bit information and the property parameters of each attribute of described electronic ticket corresponding record;
Determine the pairing attribute of attribute-bit information of acquisition according to bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
Corresponding each attribute and the property parameters thereof that shows described electronic ticket.
9. an electronic ticket display device is characterized in that, comprising:
The electronic ticket determination module is used for determining electronic ticket to display according to the electronic ticket selection instruction;
Attribute information obtains module, is used to obtain the attribute-bit information and the property parameters of each attribute of described electronic ticket corresponding record;
The attribute determination module is used for according to the definite pairing attribute of attribute-bit information that obtains of bill attribute inventory; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
Display module is used for corresponding each attribute and the property parameters thereof that shows described electronic ticket.
10. an electronic ticket method of inspection is characterized in that, comprising:
Obtain the electronic ticket to be checked in the portable terminal safe storage chip;
Obtain the attribute-bit information and the property parameters of each attribute of corresponding record in the described electronic ticket;
With the attribute-bit information of each attribute of ticket checking information and acquisition and property parameters relatively, carry out ticket checking; Described ticket checking information comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation;
When ticket checking was passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip.
11. an electronic ticket verifying attachment is characterized in that, comprising:
Electronic ticket obtains module, is used for obtaining the electronic ticket that portable terminal safe storage chip is stored;
Attribute information obtains module, is used for obtaining the attribute-bit information and the property parameters of each attribute of described electronic ticket corresponding record;
The ticket checking module is used for attribute-bit information and property parameters comparison with each attribute of ticket checking information and acquisition, carries out ticket checking; The property parameters conduct of the association attributes after ticket checking is passed through in the modification electronic ticket is the standard inspection note; Described ticket checking information comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation;
The electronic ticket sending module is used for amended electronic ticket is sent to described portable terminal safe storage chip.
12. an electronic bill system is characterized in that, comprising:
The electronic ticket dispensing device, after being used for determining the attribute-bit information of each attribute of bill according to bill attribute inventory, the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket, and are sent to described electronic ticket in the safe storage chip of portable terminal; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The electronic ticket verifying attachment is used for the safe storage chip electron gain ticket from described portable terminal; In obtaining described electronic ticket after the attribute-bit information and property parameters of each attribute of corresponding record,, carry out ticket checking with the attribute-bit information and the property parameters comparison of each attribute of ticket checking information and acquisition; If ticket checking is passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip; Described ticket checking information obtains from described electronic ticket dispensing device, and it comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation.
13. system as claimed in claim 12 is characterized in that, also comprises:
The electronic ticket display device, be used for electronic ticket selection instruction according to the user, determine electronic ticket to display in the electronic ticket of safe storage chip-stored of described portable terminal, the attribute-bit information and the property parameters of each attribute of corresponding record in the electronic ticket that obtains to determine; And according to the definite pairing attribute of attribute-bit information that obtains of bill attribute inventory, corresponding each attribute and the property parameters thereof that shows this electronic ticket; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information.
14. an electronic ticket disposal route is characterized in that, comprises the following steps:
The electronic ticket dispensing device is determined the attribute-bit information of each attribute of bill according to bill attribute inventory after, the attribute-bit information of each attribute of bill and property parameters corresponding record in electronic ticket, and are sent to described electronic ticket in the safe storage chip of portable terminal; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information;
The electronic ticket verifying attachment is from the safe storage chip electron gain ticket of described portable terminal; In obtaining described electronic ticket after the attribute-bit information and property parameters of each attribute of corresponding record,, carry out ticket checking with the attribute-bit information and the property parameters comparison of each attribute of ticket checking information and acquisition; If ticket checking is passed through, the property parameters conduct of the association attributes in the modification electronic ticket is the standard inspection note, and amended electronic ticket is sent in the described portable terminal safe storage chip; Described ticket checking information obtains from described electronic ticket dispensing device, and it comprises the attribute-bit information of this attribute of needs check, and the property parameters of this attribute of expectation.
15. method as claimed in claim 14 is characterized in that, also comprises:
After described electronic ticket is sent to the safe storage chip of portable terminal, the electronic ticket display device is according to user's electronic ticket selection instruction, determine electronic ticket to display in the electronic ticket of safe storage chip-stored of described portable terminal, the attribute-bit information and the property parameters of each attribute of corresponding record in the electronic ticket that obtains to determine; And according to the definite pairing attribute of attribute-bit information that obtains of bill attribute inventory, corresponding each attribute and the property parameters thereof that shows this electronic ticket; Described bill attribute inventory records the attribute of various bills and the corresponding relation of attribute-bit information.
CN200810238924XA 2008-12-04 2008-12-04 Electronic bill system, apparatus and method Active CN101430800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810238924XA CN101430800B (en) 2008-12-04 2008-12-04 Electronic bill system, apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810238924XA CN101430800B (en) 2008-12-04 2008-12-04 Electronic bill system, apparatus and method

Publications (2)

Publication Number Publication Date
CN101430800A CN101430800A (en) 2009-05-13
CN101430800B true CN101430800B (en) 2011-06-15

Family

ID=40646180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810238924XA Active CN101430800B (en) 2008-12-04 2008-12-04 Electronic bill system, apparatus and method

Country Status (1)

Country Link
CN (1) CN101430800B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894422A (en) * 2009-05-20 2010-11-24 广州盛华信息技术有限公司 System and method for obtaining electronic ticket
CN101964953A (en) * 2009-07-24 2011-02-02 广州盛华信息技术有限公司 Communication system for acquiring electronic bills
CN101916459B (en) * 2010-08-03 2012-01-04 江苏科技大学 Safe electronic ticket method
CN102136160B (en) * 2011-04-20 2013-05-08 铁道部运输局 Electronic ticket system for railway
CN102402771A (en) * 2011-10-31 2012-04-04 北京亿阳汇智通科技股份有限公司 Secure portable distribution method and device for electronic certificate
SG193752A1 (en) * 2012-03-29 2013-10-30 Live Styles Inc Ticket processing method and program of the same
CN103383763A (en) * 2012-05-03 2013-11-06 盈科泛利股份有限公司 Activity management online platform
JP6129612B2 (en) * 2013-03-27 2017-05-17 株式会社フェイス E-ticket computing
CN103780606A (en) * 2014-01-10 2014-05-07 苏州江河行信息技术有限公司 Data exchange method based on wireless network
CN108257225B (en) * 2016-12-29 2020-12-29 方正国际软件(北京)有限公司 Method for applying electronic ticket, self-service ticket checking equipment and rail transit equipment
CN109657763A (en) * 2017-10-10 2019-04-19 方正国际软件(北京)有限公司 A kind of application method of electronic ticket and electronic ticket
CN109118597A (en) * 2018-08-29 2019-01-01 上海哔哩哔哩科技有限公司 Intelligent terminal, ticketing service verifying system, method and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453744A (en) * 2002-04-23 2003-11-05 株式会社Ntt都科摩 IC card, portable terminal and access control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453744A (en) * 2002-04-23 2003-11-05 株式会社Ntt都科摩 IC card, portable terminal and access control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张斌,张明显.基于JSP技术的影院网络售票系统设计.《电脑知识与技术》.2007,全文. *

Also Published As

Publication number Publication date
CN101430800A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101430800B (en) Electronic bill system, apparatus and method
US9697448B2 (en) Techniques for providing an electronic representation of a card
CN102842081A (en) Method for generating two-dimensional code and implementing mobile payment by mobile phone
CN1863049B (en) Radio communication system, reader/writer apparatus, key managing method, and computer program
US20080140667A1 (en) Device and method for creating a transaction log of data exchanges between a portable mobile communications device and other wireless devices
CN102439616A (en) Method and apparatus for managing services using reusable bearer tags
CN102054185A (en) Two-dimension code generation method, user mobile terminal and mobile communication system
CN101091187A (en) Payment brand announcement at a wireless payment point of sale device
CN110148014B (en) Information processing method, information processing device, blockchain node equipment and storage medium
CN102184499A (en) Account information binding method, financial transaction method and mobile terminal
CN101727647A (en) Multiple bank account consumption information management method and device
CN101841910B (en) Positioning method and system as well as server
RU2393541C2 (en) System of orders and sales of goods and services (versions), method for offering for sale and ordering, method for sales of goods and services
CN114625483A (en) Virtual IC card, manufacturing method and device thereof, virtual IC card testing system and method
CN107342931A (en) Security message sending method using personalized template and the equipment using this method
CN107203877A (en) The method and apparatus for closely realizing business between account
KR101767122B1 (en) Internet messaging based alert service processing apparatus and operating method thereof
CN101436278A (en) Method, apparatus and system for processing data
CN108038403B (en) Card reading method based on NFC technology and client
CN110555693B (en) System and method for realizing two-dimension code safety by using SIM card
CN101232374B (en) Ubiquitous audio reproducing and servicing method and apparatus
KR20090025987A (en) Method and system for reading rfid(radio frequency identification) tag
CN102376102A (en) Electronic information detection method, device and system
JP2938832B2 (en) Card authentication system and method and recording medium
CN111144867B (en) Method and device for generating region code mapping relation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant