CN107516250A - Realize the method and system of the data dynamic renewal of electronic bill - Google Patents
Realize the method and system of the data dynamic renewal of electronic bill Download PDFInfo
- Publication number
- CN107516250A CN107516250A CN201610471358.1A CN201610471358A CN107516250A CN 107516250 A CN107516250 A CN 107516250A CN 201610471358 A CN201610471358 A CN 201610471358A CN 107516250 A CN107516250 A CN 107516250A
- Authority
- CN
- China
- Prior art keywords
- terminal
- electronic bill
- data
- packet
- interaction
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The embodiment of the invention discloses a kind of method and system for the data dynamic renewal for realizing electronic bill, wherein system includes:First terminal receives the billing information generation electronic bill of input, add the packet of the definition generation electronic bill of cross-platform executable code, the definition of cross-platform executable code includes the interactive operation instruction to electronic bill and the definition of User Interface, the packet of the electronic bill of generation is issued to multiple terminals, including second terminal and third terminal, second terminal parses packet, perform the cross-platform executable code in packet, the interactive operation instruction that user inputs on the User Interface of electronic bill is received to interact, data caused by interaction are attached in electronic bill, data caused by interaction are sent to third terminal, interactive data are attached in the electronic bill that third terminal receives by third terminal.Using the present invention, the dynamic renewal of the data variation of electronic bill can be achieved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method for the data dynamic renewal for realizing electronic bill
And system.
Background technology
With the high speed development of electronic technology, network technology and information technology, increasing physical tickets are gradually electric
Sonization.Typically all using digital information processing, its principle is to enter line number according to physical tickets content to the electronization of physical tickets
Realize according to technological means such as collection, encryption, data storages, or realized on platform, user is by landing platform, on the page
Electronic bill can be generated after logging data.Ticket contents and physical tickets after electronization are essentially identical, and its content is usually
Static.The electronic bill of platform page generation includes only consulting inoperable bill, also includes both to check or having
The bill of push-botton operation, but realized based on platform, it is impossible to depart from platform realization.
That is, existing electronic bill is only limitted to circulate in publisher's the system, can not be circulated in each field, and
Existing electronic bill is generally static electronic bill, but in reality, the attribute and state of bill change at any time, existing
With the presence of same electronic bill in technology the data data in different terminals or affiliated party are inconsistent the problem of.
The content of the invention
Based on this, asked to solve the technology that data of the existing electronic bill on different terminals are inconsistent in conventional art
Topic, spy propose a kind of method for the data dynamic renewal for realizing electronic bill.
A kind of method for the data dynamic renewal for realizing electronic bill, including:
First terminal receive input billing information, generate electronic bill, for the electronic bill addition it is cross-platform can
The definition of code is performed, generates the packet of electronic bill, the definition of the cross-platform executable code is included by cross-platform
The definition of interactive operation instruction and User Interface of the executable code to the electronic bill;
First terminal issues the packet of the electronic bill of the generation to multiple terminals, including second terminal and the
Three terminals, the second terminal parse the packet of the electronic bill of the issue, the electronic bill received described in execution
Cross-platform executable code in packet, receive the interactive operation that user inputs on the User Interface of electronic bill and refer to
Order interacts;
Data caused by interaction are attached in the electronic bill by the second terminal;
The second terminal also passes through the cross-platform executable generation in the packet of the electronic bill received described in execution
Data caused by the interaction are sent to the third terminal by code, and the data of the interaction are attached to institute by the third terminal
State in the electronic bill that third terminal receives.
Optionally, in one of the embodiments, the first terminal issues the packet of the electronic bill of the generation
Also include before to the step of multiple terminals:
The electronic bill is encrypted;
The second terminal receives the interactive operation instruction that user inputs on the User Interface of electronic bill and carried out
Also include before interaction:
The electronic bill is decrypted;
Cross-platform executable code in packet by performing the electronic bill obtains making for the electronic bill
With mandate.
Optionally, in one of the embodiments, the first terminal issues the packet of the electronic bill of the generation
Also include to the step of multiple terminals:
In center type framework, first terminal is by the packet of the electronic bill of the generation on first terminal or first
The storage address on center type server that terminal is specified is sent to the second terminal;
Or
In distributed structure/architecture, first terminal obtains the address of the second terminal defined in cross-platform executable code, root
The packet of the electronic bill of the generation is sent to the second terminal according to the address of the second terminal.
Optionally, in one of the embodiments, the definition of the cross-platform executable code is script file, the pin
This document includes at least one of javascript, flash, JS+H5 and/or silver.
Optionally, in one of the embodiments, the first terminal issues the packet of the electronic bill of the generation
Also include after to multiple terminals:
The second terminal parses the packet of the electronic bill of the issue, the electronic bill received described in execution
Cross-platform executable code in packet, receive the terminal interaction that user inputs on the User Interface of electronic bill and refer to
Order, terminal interaction instruction is sent to the third terminal;
The third terminal instructs generation interaction after the terminal interaction instruction is received, according to the terminal interaction
Data, the interaction data of generation is attached in the electronic bill that the third terminal receives, and the interaction data is returned
To the second terminal, the interaction data is attached in the electronic bill that the second terminal receives by the second terminal.
In addition, asked to solve the technology that data of the existing electronic bill on different terminals are inconsistent in conventional art
Topic, spy propose a kind of system for the data dynamic renewal for realizing electronic bill.
It is a kind of realize electronic bill data dynamic renewal system, the system include first terminal, second terminal with
And third terminal, wherein:
The first terminal is used for the billing information for receiving input, generates electronic bill, is added for the electronic bill
The definition of cross-platform executable code, generates the packet of electronic bill, and the definition of the cross-platform executable code includes leading to
Cross the definition of interactive operation instruction and User Interface of the cross-platform executable code to the electronic bill;
The first terminal is additionally operable to issue the packet of the electronic bill of the generation to multiple terminals, including institute
State second terminal and the third terminal;
The second terminal is used for the packet for parsing the electronic bill of the issue, the electronic ticket received described in execution
According to packet in cross-platform executable code, receive user inputted on the User Interface of electronic bill interaction behaviour
Interacted as instruction;
The second terminal is additionally operable to data caused by interaction being attached in the electronic bill;
The second terminal is additionally operable to can also by cross-platform in the packet of the electronic bill received described in execution
Perform code and data caused by the interaction are sent to the third terminal;
The third terminal is additionally operable to the electronic bill that the data of the interaction are attached to the third terminal and received
In.
Optionally, in one of the embodiments, the first terminal is additionally operable to encrypt the electronic bill;
The second terminal is additionally operable to decrypt the electronic bill;In packet by performing the electronic bill
Cross-platform executable code obtains the use mandate of the electronic bill.
Optionally, in one of the embodiments, the first terminal is additionally operable to the number of the electronic bill of the generation
Described the is sent to according to storage address of the bag on the first terminal or on center type server that the first terminal is specified
Two terminals;
Or
The first terminal is additionally operable to obtain the address of the second terminal defined in cross-platform executable code, according to
The address of the second terminal sends the packet of the electronic bill of the generation to the second terminal.
Optionally, in one of the embodiments, the definition of the cross-platform executable code is script file, the pin
This document includes at least one of javascript, flash, JS+H5 and/or silver.
Optionally, in one of the embodiments, the second terminal is additionally operable to parse the electronic bill of the issue
Packet, the cross-platform executable code in the packet of the electronic bill received described in execution, receives user in electronic ticket
According to User Interface on the terminal interaction that inputs instruct, terminal interaction instruction is sent to the third terminal;
The third terminal is additionally operable to after the terminal interaction instruction is received, and is instructed and given birth to according to the terminal interaction
Into interaction data, the interaction data of generation is attached in the electronic bill that the third terminal receives, and by the interactive number
According to the second terminal is returned to, the interaction data is attached to the electronic ticket of the second terminal reception by the second terminal
In.
Implement the embodiment of the present invention, will have the advantages that:
After the method and system for employing the above-mentioned data dynamic renewal for realizing electronic bill, in the generation of electronic bill
During, the definition of cross-platform executable code is added for electronic bill, and it is put into the data of electronic bill in the lump
Bao Zhong, so that other users are when receiving the packet of electronic bill, by performing cross-platform executable code displaying pair
The User Interface for the electronic bill answered, and receive user and interact operation for the electronic bill and produce interaction
Update the data and be illustrated in current User Interface, and this is updated the data and is sent to other-end, received with realizing
The other-end of the electronic bill receive update the data after will update the data and be attached on electronic bill.Namely
Say, after the method and system for employing the above-mentioned data dynamic renewal for realizing electronic bill, the circulation of electronic bill is no longer only
Free platform or system are confined to, and user can be directed to user mutual circle of the interaction results in terminal of electronic bill
Face is shown, and the renewal of corresponding data is attached to other terminals for receiving electronic bill are synchronized on electronic bill, real
Show the synchronization of the locally, remotely data of electronic bill, ensure that electronic bill after data renewal is produced in all terminals
On data uniformity.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of composition schematic diagram of the system for the data dynamic renewal for realizing electronic bill in one embodiment;
Fig. 2 is a kind of interaction schematic diagram of the method for the data dynamic renewal for realizing electronic bill in one embodiment;
Fig. 3 is the flow of the method for the data for the realizing electronic bill dynamic renewal that first terminal performs in one embodiment
Schematic diagram;
Fig. 4 is the flow of the method for the data for the realizing electronic bill dynamic renewal that second terminal performs in one embodiment
Schematic diagram;
Fig. 5 is the data transfer schematic diagram of the system for the data dynamic renewal that electronic bill is realized in one embodiment;
Fig. 6 is a kind of film ticket schematic diagram in one embodiment;
Fig. 7 is the computer equipment for the method that the foregoing data dynamic renewal for realizing electronic bill is run in one embodiment
Structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
To solve the technical problem that data of the existing electronic bill on different terminals are inconsistent in conventional art, spy carries
A kind of method for the data dynamic renewal for realizing electronic bill is gone out, the realization of this method can be dependent on computer program, the meter
Calculation machine program can run on the computer system based on von Neumann system.Specifically, the computer program can be electricity
The generation of sub- bill and release application program, can realize whole network circulation electronic bill operating platform application program.Should
Computer system can run the service such as the smart mobile phone of above computer program, tablet personal computer, palm PC, PC
Device or terminal device.
In the specific implementation, the method for the above-mentioned data dynamic renewal for realizing electronic bill is based on realization as shown in Figure 1
The system of the data dynamic renewal of electronic bill, the system include publisher's (i.e. first terminal) and the electronic ticket of electronic bill
According to recipient and user (i.e. second terminal and third terminal, and in the present embodiment or are third terminal at second terminal
Can have multiple).In the present embodiment, above-mentioned first terminal, second terminal, third terminal can be smart mobile phone, flat board
The intelligent terminals such as computer, palm PC, PC.It should be noted that in the present embodiment, it is above-mentioned to realize electronic ticket
According to data dynamic renewal system in can also include its other party, for example, the management server or electronic ticket of electronic bill
According to database server.
Specifically, as shown in Fig. 2 Fig. 2 illustrates the interaction of the method for the data dynamic renewal for realizing electronic bill.
As shown in figure 3, first terminal performs following steps S102-S106:
Step S102:First terminal receives the billing information of input, generates electronic bill.
It should be noted that in the present embodiment, electronic bill include but is not limited to can self-operating network electronic with
Bill of exchange in card, the bill of commodity transaction, network electronic identity bill, electronics property rights bill, bank account etc..With this reality
Apply physical tickets corresponding to the electronic bill in example or voucher include among reality various commercial bill or voucher, financial document or
Voucher, various media bills.Financial document such as bank draft, commercial draft, cashier's cheque, check, the bill of lading, deposit receipt, stock, bond
Deng, commercial bill such as invoice, lottery ticket, declaration form, penalty note, driver's trip ticket, film ticket, ticket, air ticket, various media such as books, report
Paper, periodicals and magazines, certificate etc..
Billing information refers to the particular content of each form item included on bill, for example, the list on bank transfer list
Number, produce the particular content of account, target account, transfer amounts, date etc. form item.In the present embodiment, first terminal
Receive input billing information process can be user for example, by modes such as ATM, webpage, clients according to right
The form item content of the form item label input for the bill answered, in other embodiments, above-mentioned first terminal receives the ticket of input
It is believed that the process of breath can also be obtains billing information by scanning the modes such as bill, identification image.
First terminal is after billing information is got, according to the particular content of billing information, that is to say, that believed according to bill
Cease the relation and other bills between form item label, form item content and each form item of all form items included
Information, generate corresponding electronic bill.In one embodiment, the generating process of above-mentioned electronic bill is analysis bill letter
The related data included in breath, the dependency relation between every content of billing information is analyzed, the data of bill corresponding to foundation
Structure, the database store structure of billing information is established using relevant database or non-relational database, so as to complete
The generating process of electronic bill.
Step S104:The definition of cross-platform executable code is added for the electronic bill, generates the number of electronic bill
According to bag, the definition of the cross-platform executable code includes grasping by interaction of the cross-platform executable code to the electronic bill
Instruct and the definition of User Interface.
In the present embodiment, in order that electronic bill can be with cross-platform operation, it is also necessary to for electronic bill addition across flat
The definition of platform executable code, the definition of so-called cross-platform executable code are the compiler language of general-purpose platform, can be only
Vertical script file, or it is defined on electronic bill file according to default form is interspersed.That is, each operating platform passes through
Perform script file shows electronic bill and electronic bill is operated.For example, above-mentioned script file includes
At least one of javascript, flash, JS+H5 and/or silver.Because the compiling of the compiler language of pin general-purpose platform
Be not limited to some specific operating platform, thus user be able to can be performed in other operating platform pages it is corresponding with electronic bill
Cross-platform executable code, realize the cross-platform use of electronic bill, expand the sphere of circulation of electronic bill.
In the present embodiment, for the cross-platform executable code of electronic bill, include by cross-platform executable generation
Definition of the code to the operational order of the electronic bill and the user by cross-platform executable code to the electronic bill
The definition of interactive interface.Specifically, for the function of electronic bill, application scenarios, achievable operational order, and electronic ticket
It is defined according to the User Interface being shown in terminal, and this definition is realized by cross-platform executable code
's.
First terminal obtains it in electronic bill and for the definition of the cross-platform executable code of the electronic bill
Afterwards, according to the definition of electronic bill and corresponding cross-platform executable code, the packet of electronic bill is generated, that is,
Say, in the packet of electronic bill, not only contain the specific data of electronic bill, further comprises corresponding cross-platform hold
Line code.That is, the user of other packets for getting the electronic bill, while electronic bill is opened, also beats
Open and perform corresponding cross-platform executable code.
In the present embodiment, the database of the billing information of above-mentioned storage electronic bill can be local data base, also may be used
To be cloud database.Specifically, if local data base, then include the local data base in the packet of electronic bill
In corresponding data;If cloud database, that is to say, that electronic bill storehouse is stored in Cloud Server, in such a situation
Under, also include the step of above-mentioned generation electronic bill:The generation electronic bill is stored in Cloud Server, obtains the cloud
The storage address that server returns;Storage address on the Cloud Server of the return is added to the packet of electronic bill
In.That is, if above-mentioned database is cloud server, the electronic bill of generation is sent to Cloud Server by first terminal,
Cloud Server is stored after the electronic bill of first terminal transmission is received, and storage address is returned into first eventually
End, and the storage address that Cloud Server is returned is added in the packet of electronic bill, so that user can pass through electronic ticket
According to packet in storage address obtain electronic bill corresponding to billing information, specifically, receiving the data of electronic bill
The terminal of bag obtains storage address of the electronic bill on Cloud Server by reading the packet of electronic bill, is deposited by this
Store up address acquisition billing information corresponding with the electronic bill.
Step S106:First terminal issues the packet of the electronic bill of the generation to multiple terminals, including the
Two terminals and third terminal.
First terminal is issued the packet, issue object can be after the packet generation of electronic bill
Specifically, can also be indefinite, for example, the packet of electronic bill can be published to some platform or be published in network
Go, for example, issue object can be second terminal.In the present embodiment, first terminal is issuing the data of the electronic bill
Bao Shi, issued according to default promulgated standard, specifically, promulgated standard include package identification, issue object information,
Published method, data transmit/receive the information such as standard.
Wherein, issue object information includes own system and external system, that is, issue where, can include default flat
The calling interface of platform, system, call external communication instrument program code, and provide share external communication instrument word and
Address link Template Information etc., can also be the direct address information pre-set, such as specific page, the email address of user
Deng.Published method includes packet, address links etc., as can be realized in distributed structure/architecture by issuing packet, center type frame
Can be by issuing storage address realization etc. in structure.Data transmit/receive outputting standard when standard is issued for bill and receive issue
The input interface standard of bill.Packet or address information are transferred in network by the interface pre-set, this sets in advance
The interface put includes software interface and network electronic bill place terminal device in the program code of network electronic bill
Hardware interface.The packet of each network electronic bill can set unique mark, such as character string, binary value.
Electronic bill can be published to by promulgated standard by the own platform, system, immediate communication tool, the electronics that pre-set
Mail, display platform etc., so as to realize on line or line under type distributing electronic bill.Each user in the whole network domain is published to, from
And each user is browsable or consults.The mode of issue includes the packet of network electronic bill or the number of network electronic bill
According to the address information of bag, wherein, address information includes link, index or the data summarization of the packet of network electronic bill
Deng.
Own platform or system, when generating system such as bill generation side for the bill of certain enterprise, pass through the generation of the enterprise
The packet of network electronic bill is pushed to user or is sent to related platform, webpage etc. by system.By external communication
Instrument is issued, and can store the address of user, generation information issue template in storehouse in advance, and straight line program is pushed.
In one embodiment, above-mentioned first terminal issues the packet of the electronic bill of the generation to multiple terminals
Step includes:In center type framework, first terminal is by the packet of the electronic bill of the generation on first terminal or
The storage address on center type server that one terminal is specified is sent to the second terminal (that is, first terminal is not
Have and the contents such as the specific billing information of electronic bill are directly sent to second terminal, but by electronic bill in center type service
Storage address on device is sent to second terminal, and second terminal can obtain the phase of the electronic bill according to storage address inside the Pass
Hold);Or in distributed structure/architecture, first terminal obtains the address of the second terminal defined in cross-platform executable code, root
According to the second terminal address by the packet of the electronic bill of the generation send to the second terminal (that is,
Second terminal is that all the elements of electronic bill are directly got from the packet of first terminal issue, without from its
He obtains in place).
After the packet of electronic bill is distributed to second terminal by first terminal, second terminal can detect first eventually
The related data packets sent are held, and perform step S202-S208 as shown in Figure 4:
Step S202:Receive the packet of the electronic bill of the generation of first terminal issue;
Step S204:Parse the packet of the electronic bill of the issue;
Step S206:Cross-platform executable code in the packet of the electronic bill received described in execution, receive and use
The interactive operation instruction that family inputs on the User Interface of electronic bill interacts;
Step S208:It data will be updated caused by interaction into the electronic bill, and correspondingly update the electronic ticket
According to User Interface;
Step S210:By the cross-platform executable code in the packet of the electronic bill received described in execution by institute
Data caused by stating interaction are sent to the third terminal, and the third terminal is described for the data of the interaction to be attached to
In the electronic bill that third terminal receives.
Specifically, second terminal receive first terminal issue electronic bill packet after, to what is received
Packet is parsed, and obtains the electronic bill included in the packet and corresponding cross-platform executable code, then
Perform the cross-platform executable code got.According to first terminal generate electronic bill and add in electronic bill across
Platform executable code understands that the definition of cross-platform executable code is included by cross-platform executable code to the electronic ticket
According to operational order definition and by definition of the cross-platform executable code to the User Interface of the electronic bill,
Therefore the cross-platform executable code in the packet that second terminal passes through the electronic bill received described in execution, can generate exhibition
Show the User Interface of electronic bill, and the electronic bill is shown by the User Interface of the electronic bill.In electricity
The form item content that electronic bill includes, single user mutual circle for example, bank electronic is transferred accounts are illustrated on the interface of sub- bill
The content shown on face, which contains, to be produced account, is transferred to the contents such as account, transfer amounts.
In the present embodiment, user corresponding to second terminal can operate to electronic bill, that is, pass through the electricity of displaying
The interface of sub- bill is operated, and the User Interface is also the interactive operation interface of the electronic bill.Second terminal is being examined
Measure user be directed to the electronic bill operational order when, obtain the operational order and electronic bill entered according to the operational order
Row processing.
The operational order of user may produce certain interface to electronic bill to be changed, for example, in film ticket
Buy in scene, user is by selecting different seats, its seat information corresponding to displaying corresponding to meeting on interface, such as several
It is row several, corresponding admission fee, whether commercially available etc..User instructs for all interactive operations that the electronic bill inputs, eventually
End upon receipt, is interacted according to interactive operation instruction to electronic bill, and data renewal caused by interaction is arrived
In electronic bill, and it is shown in User Interface, that is, refreshes user mutual circle of the electronic bill of terminal current presentation
Face.
After the data of electronic bill change, terminal can broadcast bill change notification message to the whole network domain, its
His terminal can receive the notification message of bill change, and the delta data that receiving terminal is sent (can be with incremental form
Delta data is sent, delta data can also be attached in the packet of electronic bill, deliver a packet to other ends
End), so as to which the data of the electronic bill to local terminal are updated.It should be noted that in the present embodiment, other-end is connecing
Receive after updating the data, it is not absolutely required to update the data and be updated in itself in electronic bill, it is only necessary to by electronic ticket
According to update the data and be attached on electronic bill.
Specifically, in one embodiment, it can will pass through network electronic ticket after data message encapsulation caused by interactive operation
According to other-end itself is passed to, that is, the difference value of the data message of network electronic bill is transmitted, other-end updates after receiving
It will update the data and be attached on electronic bill after data.
Operational order or User Interface corresponding to renewal setting on local terminal electronic bill, and renewal result is added
In local terminal electronic bill.Other-end handles the data message, is updated on electronic bill, specifically, being existed by data message
Operational order, UI or modification state etc. corresponding to being set on electronic bill, such as newly-increased operation button, increase a data newly, repair
Change state of bill etc., data are packaged after being provided with, presented on electronic bill.Renewal result is added
In on electronic bill, renewal result is passed into other-end by local terminal electronic bill.
It should be noted that other users of electronic bill can carry out different operations, also, root to electronic bill
According to the difference of user, it also can be different for the operation of electronic bill, for example, corresponding to the reception account that bank electronic is transferred accounts single
User, the Electronic Transfer list can be determined or be cancelled, other users do not possess operating right then.
It should be noted that for the security of electronic bill and subscriber data, in one of the embodiments, may be used also
So that electronic bill to be encrypted, so as to improve the security of electronic bill and subscriber data.
Specifically, before the first terminal issues packet to the step of multiple terminals of the electronic bill of the generation
Also include:First terminal is encrypted to the electronic bill;The second terminal receives user mutual circle of the user in electronic bill
The interactive operation instruction inputted on face also includes before interacting:Second terminal is decrypted to the electronic bill;Second terminal is led to
The cross-platform executable code crossed in the packet for performing the electronic bill obtains the use mandate of the electronic bill.
In the present embodiment, cipher mode can be digital envelope dynamic encryption and digital envelope encryption, to electronic bill
Core content be encrypted, and be digitally signed after encryption.Specifically, can be that first terminal is directly added using numeral
Data after encapsulation are encrypted secret skill art, or receive the digital encryption integer of outside input, by digital encryption certificate pair
Data after encapsulation are encrypted.
After electronic bill is encrypted, other users after reception of the data packet, are just needed to encryption first
Data are decrypted, and could continue to access the packet of the electronic bill only in the case of successful decryption.For example, second is whole
By the way that the encrypted content of electronic bill is decrypted, successful decryption can obtain the operating right of the electronic bill, that is, obtain at end
It must authorize, obtain the electronic bill after decryption, so as to further be operated to electronic bill.In other embodiments, use
Family can also be obtains electronic bill by the cross-platform executable code included in the packet that performs above-mentioned electronic bill
Corresponding operating authority, for example, second terminal obtains the packet of the electronic bill after decryption according to decryption, and by performing data
The cross-platform executable code included in bag obtains operating right.
In the present embodiment, the process of decryption can also be the process of user's user identity verification, also, different use
Family can also correspond to different operating rights, and different operating rights corresponds to different operational orders and user interface, for example, pipe
The user of reason person's identity possesses highest operating right, and the publisher of electronic bill possesses the access limit to electronic bill, but
It is the read right that other users only possess the electronic bill.
Assuming that being provided with purchase on film ticket electronic bill, confirming, return ticket, selecting five seat, viewing scenes, it may be related to
And user include film ticket publisher, cinema, consumer, bank or other financial institutions.Film ticket publisher is by electricity
After movie ticket is issued according to generation, consumer can click on purchase on film bill, then wait film ticket publisher to be confirmed,
After film ticket publisher confirms, consumer can select to return ticket or select seat on bill;If consumer selects seat, can
Cinema, screen times and seat for wanting viewing with selection etc., after selecting seat, above- mentioned information can be delivered to selected film
Institute;When reaching the viewing time, consumer clicks on viewing on film bill, and the viewing of consumer is asked to transmit by film bill
To cinema, cinema confirms that the consumer can be with viewing.From the example above it can be seen that, the bill as one of user
Publisher has the authority of operable bill after consumer buys, and such as confirms transaction or refusal transaction, afterwards note issuing
Person will no longer have that the operating right to bill, be only capable of viewing the relevant information of bill.And bank or other financial institutions are not
It can directly be operated with approval book, but the information on bill can be got, perform corresponding processing, and will processing
Result be attached on bill.Specifically, bank can get sequence information, purchaser's information, ticket when consumer buys
According to issuer information, complete to pay according to above- mentioned information after ticket issuer confirms, and payment result is attached into film ticket
According to upper.
Further, in the present embodiment, optional step also includes:The first terminal issues the electronics of the generation
Also include after the packet of bill to multiple terminals:The second terminal parses the packet of the electronic bill of the issue,
Cross-platform executable code in the packet of the electronic bill received described in execution, receive user of the user in electronic bill
The terminal interaction instruction inputted on interactive interface, terminal interaction instruction is sent to the third terminal;Described 3rd eventually
End instructs generation interaction data after the terminal interaction instruction is received, according to the terminal interaction, by the interaction of generation
Data are attached in the electronic bill that the third terminal receives, and the interaction data is returned into the second terminal, institute
Second terminal is stated to be attached to the interaction data in the electronic bill that the second terminal receives.
In the distributed structure/architecture of the present embodiment, comprising terminal in addition to first terminal, second terminal, also have other
User, i.e. third terminal, after the packet generation of electronic bill, the issue object of first terminal not only includes second
Terminal, third terminal is further comprises, and third terminal also possesses for the electronic bill operating right.User is whole second
Electronic bill is operated on end, such as input terminal interactive instruction, in the present embodiment, terminal interaction instruction is for another
For one terminal or user, for example, user have input terminal interaction instruction, and the terminal interaction in second terminal
Object corresponding to instruction is third terminal, then the instruction of corresponding terminal interaction is sent into third terminal, third terminal is receiving
After the terminal interaction instruction sent to second terminal, operation is interacted according to the particular content that terminal interaction instructs.
Third terminal can produce corresponding interaction data, i.e. pin after operation is interacted according to terminal interaction instruction
The related data that the data of electronic bill are updated.For updating the data for generation, it is appended on electronic bill;Enter one
Step, it is also necessary to will update the data and return to second terminal, and second terminal will update the data after receiving and updating the data
It is attached on local electronic bill.
That is, for any side because the data caused by the behavior such as interaction, operation for electronic bill update, all
The data of renewal can be attached on local electronic bill, yet the data of renewal can be sent to affiliated party or needs
The terminal of data record is preserved, these terminals receive before the data of renewal are attached to after receiving thinner data
Electronic bill on.
In a specific embodiment, as shown in figure 5, user A interactive operations on its electronic bill of first party
Afterwards, data message caused by its interactive operation is attached on its electronic bill, and the change information can arrive it by network advertisement
He is each user, i.e. B and C, receives the result data of first party A transmission from network with the related second party B of the change
Information, second party B carry out data veritification, authentication and mandate after receiving result data information, by rear, packet are entered
Row instruction parsing and data parsing, the data after parsing include operational order, UI, static data and dynamic data, dynamic data
Including state, daily record and interactive information, according to the state of bill and user's identity, displaying is available for second party user B to check
Or the User Interface of operation, or analytically after data in obtain related data information and perform corresponding processing.
Second party user B can have different authorities under current bill state, during if that can check operable, then
Show that User Interface receives the operation of the second user, during if that can not check operable, then obtain the bill of correlation
Information performs corresponding processing, whether that mode, and data message caused by its operation will be affixed to electronic bill.With this
Analogize, until the state of electronic bill is termination.
To sum up, user operated on network electronic bill caused by the information such as operating result, execution state can be constantly attached
It is added on network electronic bill, so that the data dynamic change of network electronic bill, this is network electronic bill because of local terminal
Data dynamic change caused by interactive operation, and the information energy real-time delivery of this dynamic change, to other users, other make
With side network electronic bill data also change, this be because receive the data of its other party and caused by network electronic bill
Data dynamic change, it is achieved thereby that the data syn-chronization between the mobilism of electronic bill data and each user.First party A
Electronic bill 1 electronic bill 2 of the result data information transmission to second party B, second party B electronic bill 2 are believed data
Breath passes to third party C electronic bill 3, while result data information transmission can also be given the 3rd by first party A electronic bill 1
Square C electronic bill 3, other sides used in connection with can be also passed to, are not shown in Figure 5.
In another specific embodiment, as shown in fig. 6, in application scenarios corresponding to a film ticket, Yong Huke
Directly to carry out interactive operation on the film ticket body.Specifically, the UI of bill include can interact button " purchase ", " turn
Allow ", " returned ticket ", " ticket checking ", user can on network film ticket respectively pass through realize purchase, transfer the possession of, return ticket and ticket checking etc.
The operation of several intermediate links, in addition, user can to data messages such as the operating result of network film ticket and execution states
Dynamic is presented in UI in time sequentially in time.
As shown in fig. 6, before user clicks " purchase " button, only " buying " button can operate.User clicks
After " purchase " button, " purchase " button is inoperable, and " transfer " and " returned ticket " button is operable, and " ticket checking " button is arrival film
It is operable after institute, while transaction status information is shown, it is one of the presentation of dynamic data.User clicks " purchase " button,
Then user's selection have purchased this film ticket, and payment information is sent to each side used in connection with itself by network bill, such as silver
Row side, bill generation side or film school, returned in bank side after confirming successfully to pay, success payment information is delivered to the network
On electronic bill, the element successfully paid is presented in the network electronic bill on UI, and such as " purchase " button is graying, is inoperable
State.
It should be noted that in the present embodiment, after user clicks purchase button and buys film ticket success, the electricity
The state of sub- bill is changed, that is, data renewal is generated, in this case, for the data " 2016-06- of renewal
01 16:15 Zhang San buy " be sent to other-end, wherein terminal after the data of the renewal are received by the number of the renewal
According to being attached on electronic bill.It should be noted that in the present embodiment, the terminal of data of renewal is received except electronic ticket
According to affiliated party outside, other unrelated terminals can also be included, the terminal receives electronic bill and receives the number of renewal
According to and be attached on the electronic bill of reception, equivalent to the related content and record of the electronic bill in its terminal storage,
In the case where other-end needs to check the record, the record of the associated electrical bill in the terminal can be called to carry out
Verification.
In addition, in other embodiments, originally it is because being only limitted to publisher to solve existing electronic bill in conventional art
Circulate and can not additionally provide one kind in the technical problem of universality deficiency existing for the circulation of each field and realize electronic bill in system
Data dynamic renewal system, specifically, it is above-mentioned realize electronic bill data dynamic renewal system can as shown in figure 1,
Including first terminal 10 and second terminal 20, wherein:
The first terminal 10 is used for the billing information for receiving input, electronic bill is generated, for the electronic bill
The definition of cross-platform executable code is added, generates the packet of electronic bill, the definition bag of the cross-platform executable code
Include by interactive operation instruction of the cross-platform executable code to the electronic bill and the definition of User Interface;
The first terminal 10 is additionally operable to issue the packet of the electronic bill of the generation to multiple terminals, including
The second terminal 20 and the third terminal 30;
The second terminal 20 is used for the packet for parsing the electronic bill of the issue, the electronics received described in execution
Cross-platform executable code in the packet of bill, receive the interaction that user inputs on the User Interface of electronic bill
Operational order interacts;
The second terminal 20 is additionally operable to data caused by interaction being attached in the electronic bill;
The second terminal 20 be additionally operable in the packet by the electronic bill received described in execution it is cross-platform can
Perform code and data caused by the interaction are sent to the third terminal 30;
The third terminal 30 is additionally operable in the data of the interaction are attached into the electronics that the third terminal receives
In bill.
Optionally, in one of the embodiments, the first terminal 10 is additionally operable to encrypt the electronic bill;It is described
Second terminal 20 is additionally operable to decrypt the electronic bill;Cross-platform in packet by performing the electronic bill is held
Line code obtains the use mandate of the electronic bill.
Optionally, in one of the embodiments, the first terminal 10 is additionally operable to the electronic bill of the generation
Storage address of the packet on the first terminal 10 or on center type server that the first terminal 10 is specified is sent to
The second terminal 20;Or the first terminal 10 be additionally operable to obtain defined in cross-platform executable code described second
The address of terminal 20, the packet of the electronic bill of the generation is sent to described according to the address of the second terminal 20
Two terminals 20.
Optionally, in one of the embodiments, the definition of the cross-platform executable code is script file, the pin
This document includes at least one of javascript, flash, JS+H5 and/or silver.
Optionally, in one of the embodiments, the second terminal 20 is additionally operable to parse the electronic bill of the issue
Packet, the cross-platform executable code in the packet of the electronic bill received described in execution, receive user in electronics
The terminal interaction instruction inputted on the User Interface of bill, terminal interaction instruction is sent to the third terminal
30;The third terminal 30 is additionally operable to after the terminal interaction instruction is received, and is instructed and generated according to the terminal interaction
Interaction data, the interaction data of generation is attached in the electronic bill that the third terminal 30 receives, and by the interactive number
According to the second terminal 20 is returned to, the interaction data is attached to what the second terminal 20 received by the second terminal 20
In electronic bill.
Implement the embodiment of the present invention, will have the advantages that:
After the method and system for employing the above-mentioned data dynamic renewal for realizing electronic bill, in the generation of electronic bill
During, the definition of cross-platform executable code is added for electronic bill, and it is put into the data of electronic bill in the lump
Bao Zhong, so that other users are when receiving the packet of electronic bill, by performing cross-platform executable code displaying pair
The User Interface for the electronic bill answered, and receive user and interact operation for the electronic bill and produce interaction
Update the data and be illustrated in current User Interface, and this is updated the data and is sent to other-end, received with realizing
The other-end of the electronic bill receive update the data after will update the data and be attached on electronic bill.Namely
Say, after the method and system for employing the above-mentioned data dynamic renewal for realizing electronic bill, the circulation of electronic bill is no longer only
Free platform or system are confined to, and user can be directed to user mutual circle of the interaction results in terminal of electronic bill
Face is shown, and the renewal of corresponding data is attached to other terminals for receiving electronic bill are synchronized on electronic bill, real
Show the synchronization of the locally, remotely data of electronic bill, ensure that electronic bill after data renewal is produced in all terminals
On data uniformity.
In one embodiment, as shown in fig. 7, Fig. 7 illustrates a kind of above-mentioned data dynamic for realizing electronic bill of operation
The terminal of the computer system based on von Neumann system of the method for renewal.The computer system can be smart mobile phone, put down
The terminal devices such as plate computer, palm PC, notebook computer or PC.Specifically, it may include to connect by system bus
Outer input interface 1001, processor 1002, memory 1003 and output interface 1004.Wherein, outer input interface 1001
Network interface 10012 can optionally be comprised at least.Memory 1003 may include external memory 10032 (such as hard disk, CD or soft
Disk etc.) and built-in storage 10034.Output interface 1004 can comprise at least the equipment such as display screen 10042.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in
In the external memory 10032 of the foregoing computer system 10 based on von Neumann system, built-in storage is operationally loaded into
In 10034, then it is compiled as being transferred in processor 1002 after machine code performing.And in the above-mentioned number for realizing electronic bill
In method implementation procedure according to dynamic renewal, the parameter of input is received by outer input interface 1001, and is transferred to storage
Cached in device 1003, be then input in processor 1002 and handled, the result data of processing or be cached in memory 1003
It is middle subsequently to be handled, or be passed to output interface 1004 and exported.
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (10)
- A kind of 1. method for the data dynamic renewal for realizing electronic bill, it is characterised in that including:First terminal receives the billing information of input, generates electronic bill, cross-platform executable for electronic bill addition The definition of code, generates the packet of electronic bill, and the definition of the cross-platform executable code includes holding by cross-platform The definition of interactive operation instruction and User Interface of the line code to the electronic bill;First terminal issues the packet of the electronic bill of the generation to multiple terminals, whole including second terminal and the 3rd End, the second terminal parse the packet of the electronic bill of the issue, the data of the electronic bill received described in execution Cross-platform executable code in bag, receive the interactive operation that is inputted on the User Interface of electronic bill of user instruct into Row interaction;Data caused by interaction are attached in the electronic bill by the second terminal;The second terminal will also by the cross-platform executable code in the packet of the electronic bill received described in execution Data caused by the interaction are sent to the third terminal, and the data of the interaction are attached to described by the third terminal In the electronic bill that three terminals receive.
- 2. the method for the data dynamic renewal according to claim 1 for realizing electronic bill, it is characterised in that described first Terminal also includes before issuing the step of packet to multiple terminals of the electronic bill of the generation:The electronic bill is encrypted;The second terminal receives the interactive operation instruction that user inputs on the User Interface of electronic bill and interacted It is preceding also to include:The electronic bill is decrypted;The use that cross-platform executable code in packet by performing the electronic bill obtains the electronic bill is awarded Power.
- 3. the method for the data dynamic renewal according to claim 1 for realizing electronic bill, it is characterised in that described first The step of packet to multiple terminals of the electronic bill of the terminal issue generation, also includes:In center type framework, first terminal is by the packet of the electronic bill of the generation on first terminal or first terminal The storage address on center type server specified is sent to the second terminal;OrIn distributed structure/architecture, first terminal obtains the address of the second terminal defined in cross-platform executable code, according to institute The address for stating second terminal sends the packet of the electronic bill of the generation to the second terminal.
- 4. the method for the data dynamic renewal according to claim 1 for realizing electronic bill, it is characterised in that described across flat The definition of platform executable code is script file, the script file include javascript, flash, JS+H5 and/or At least one of silver.
- 5. the method for the data dynamic renewal according to claim 1 for realizing electronic bill, it is characterised in that described first Terminal also includes after issuing packet to multiple terminals of the electronic bill of the generation:The second terminal parses the packet of the electronic bill of the issue, the data of the electronic bill received described in execution Cross-platform executable code in bag, the terminal interaction instruction that user inputs on the User Interface of electronic bill is received, Terminal interaction instruction is sent to the third terminal;The third terminal instructs generation interaction number after the terminal interaction instruction is received, according to the terminal interaction According to the interaction data of generation being attached in the electronic bill that the third terminal receives, and the interaction data is returned to The interaction data is attached in the electronic bill that the second terminal receives by the second terminal, the second terminal.
- 6. a kind of system for the data dynamic renewal for realizing electronic bill, it is characterised in that the system includes first terminal, the Two terminals and third terminal, wherein:The first terminal is used for the billing information for receiving input, generates electronic bill, for electronic bill addition across flat The definition of platform executable code, generates the packet of electronic bill, the definition of the cross-platform executable code include by across The definition of interactive operation instruction and User Interface of the platform executable code to the electronic bill;The first terminal is additionally operable to issue the packet of the electronic bill of the generation to multiple terminals, including described Two terminals and the third terminal;The second terminal is used for the packet for parsing the electronic bill of the issue, the electronic bill received described in execution Cross-platform executable code in packet, receive the interactive operation that user inputs on the User Interface of electronic bill and refer to Order interacts;The second terminal is additionally operable to data caused by interaction being attached in the electronic bill;The second terminal is additionally operable to also by cross-platform executable in the packet of the electronic bill received described in execution Data caused by the interaction are sent to the third terminal by code;The third terminal is additionally operable to the data of the interaction being attached in the electronic bill that the third terminal receives.
- 7. the system of the data dynamic renewal according to claim 6 for realizing electronic bill, it is characterised in that described first Terminal is additionally operable to encrypt the electronic bill;The second terminal is additionally operable to decrypt the electronic bill;In packet by performing the electronic bill across flat Platform executable code obtains the use mandate of the electronic bill.
- 8. the system of the data dynamic renewal according to claim 6 for realizing electronic bill, it is characterised in that described first During terminal is additionally operable to the packet of the electronic bill of the generation on the first terminal or the first terminal specifies Storage address on core type server is sent to the second terminal;OrThe first terminal is additionally operable to obtain the address of the second terminal defined in cross-platform executable code, according to described The address of second terminal sends the packet of the electronic bill of the generation to the second terminal.
- 9. the system of the data dynamic renewal according to claim 6 for realizing electronic bill, it is characterised in that described across flat The definition of platform executable code is script file, the script file include javascript, flash, JS+H5 and/or At least one of silver.
- 10. the system of the data dynamic renewal according to claim 6 for realizing electronic bill, it is characterised in that described the Two terminals are additionally operable to parse the packet of the electronic bill of the issue, in the packet of the electronic bill received described in execution Cross-platform executable code, receive user inputted on the User Interface of electronic bill terminal interaction instruction, by institute State terminal interaction instruction and be sent to the third terminal;The third terminal is additionally operable to after the terminal interaction instruction is received, and instructs generation to hand over according to the terminal interaction Mutual data, the interaction data of generation is attached in the electronic bill that the third terminal receives, and the interaction data is returned Back to the second terminal, the interaction data is attached to the electronic bill of the second terminal reception by the second terminal In.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610471358.1A CN107516250A (en) | 2016-06-24 | 2016-06-24 | Realize the method and system of the data dynamic renewal of electronic bill |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610471358.1A CN107516250A (en) | 2016-06-24 | 2016-06-24 | Realize the method and system of the data dynamic renewal of electronic bill |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107516250A true CN107516250A (en) | 2017-12-26 |
Family
ID=60719947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610471358.1A Withdrawn CN107516250A (en) | 2016-06-24 | 2016-06-24 | Realize the method and system of the data dynamic renewal of electronic bill |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107516250A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750036A (en) * | 2004-09-07 | 2006-03-22 | 韩国超级票据株式会社 | System and method for mnaging, exchanging and purchasing medium of electronic bill and electronic check |
CN104838401A (en) * | 2014-09-12 | 2015-08-12 | 深圳市银信网银科技有限公司 | Transaction system based on electronic certificate |
CN104838402A (en) * | 2014-09-12 | 2015-08-12 | 深圳市银信网银科技有限公司 | Article circulation system based on electronic certificates |
-
2016
- 2016-06-24 CN CN201610471358.1A patent/CN107516250A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750036A (en) * | 2004-09-07 | 2006-03-22 | 韩国超级票据株式会社 | System and method for mnaging, exchanging and purchasing medium of electronic bill and electronic check |
CN104838401A (en) * | 2014-09-12 | 2015-08-12 | 深圳市银信网银科技有限公司 | Transaction system based on electronic certificate |
CN104838402A (en) * | 2014-09-12 | 2015-08-12 | 深圳市银信网银科技有限公司 | Article circulation system based on electronic certificates |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2494455C2 (en) | Electronic certification, identification and transmission of information using coded graphic images | |
US7908216B1 (en) | Internet payment, authentication and loading system using virtual smart card | |
US6879965B2 (en) | Method, system and computer readable medium for web site account and e-commerce management from a central location | |
CN104680361B (en) | A kind of enchashment method and system based on third-party platform | |
CN106412041A (en) | System for connecting mobile terminal with service providing equipment and service providing method | |
CN106846506A (en) | A kind of method and system that Information Authentication is carried out based on message identification code | |
CN107004195A (en) | The safe handling of data | |
CN109191212A (en) | Determine method, apparatus, equipment and the computer readable storage medium for sharing user | |
CN108009822A (en) | A kind of cloud method of payment, system and payment mechanism, user terminal | |
US20080230599A1 (en) | System and method for processing transactions | |
CN107230068A (en) | Use the method and system of viewable numbers currency chip card payout figure currency | |
CN102496112B (en) | Three-screen payment system based on intelligent SD card and realization method thereof | |
CN107230053A (en) | Use the method and system of cash redemption digital cash | |
CN110097349A (en) | Method for processing resource, device and storage medium | |
CN105160776B (en) | City one-card card, business platform, card operation system and implementation method | |
CN104200365A (en) | Writing and paying method for electronic check | |
WO1997019414A1 (en) | Computer network value payment system | |
CN111062717A (en) | Data transfer processing method and device and computer readable storage medium | |
CN100397812C (en) | Communication method and system basenon vertual link customer terminal and bank network | |
CN107516251A (en) | The method and system of interactive operation based on electronic bill | |
CN107645481A (en) | A kind of data processing method, system and device | |
CN107230078A (en) | The method and system of digital cash payment is carried out using viewable numbers currency chip card | |
US20170337604A1 (en) | Method, system and computer readable medium for web site account and e-commerce management from a central location | |
CA2398419A1 (en) | Cable television payment and load system using smart card | |
WO2001011515A2 (en) | Method and system for making anonymous electronic payments on the world wide web |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171226 |