Invention content
One of the objects of the present invention is to provide a kind of both safety the system that can be convenient for checking electronic invoice voucher, it isThe electronic invoice voucher to be matched to the push of the television set of set-top box users with set-top box users ID by set-top box, can eitherEnsure not leaking for set-top box users Transaction Information, also allows for user and check and preserve.
To achieve the goals above, the present invention provides a kind of system receiving electronic invoice voucher by set-top box:It is wrappedIt includes whole electronic invoice local side front server, electronic invoice and service platform, radio and television services quotient's electronic invoice platform is prepositionServer, radio and television services quotient's service server, each service provider's electronic invoice platform front server;
The electronic invoice application that electronic invoice local side front server is used to receive and handle each service provider instructs, and according toThe electronic invoice management information needed for each service provider that application instruction generates, while the electronic invoice management information is sent to electricitySub- invoice is whole and service platform;
Radio and television services quotient's electronic invoice platform front server, for being obtained respectively from electronic invoice integrated service platformService provider's electronic invoice voucher is screened and is stored, and the electronic invoice voucher filtered out is sent to radio and television servicesQuotient's service server;
Radio and television services quotient's service server, each service provider to match with set-top box users ID for that will receiveElectronic invoice voucher, and pushed to the TV user that User ID matches by set-top box;
Each service provider's electronic invoice platform front server, for being sent out to electronic invoice local side front server applying for electronicTicket, and according to tax local side front server distribution electronic invoice management information and Transaction Information generate electronic invoice withCard;And electronic invoice voucher is sent to electronic invoice integrated service platform;
Electronic invoice integrated service platform, the electronics for acquiring each service provider's electronic invoice platform front server transmissionInvoice voucher, and the electronic invoice voucher is sent to electronic invoice local side front server and radio and television services quotient's electronics hairTicket platform front server;
The tax local side front server is led to by encrypting private network cable with electronic invoice integrated service platform there, instituteState radio and television services quotient electronic invoice platform front server and each service provider's electronic invoice platform front server pass through it is mutualNetworking is connect with electronic invoice integrated service platform;Radio and television services quotient's electronic invoice platform front server passes throughCable television dedicated network and radio and television services quotient's service server unicom;Radio and television services quotient's service serverPass through network and user's set-top box unicom.
The tax local side front server is the processing and transmission by realizing electronic invoice management information with lower module,It includes:Electronic invoice management information handles module, data transmitting module, data reception module and data memory module;
The electronic invoice management information handles module, for handling each service provider's electronic invoice application instruction, generatesElectronic invoice management information, the electronic invoice management information is by each service provider's information, electronic invoice number and electronic invoice generationCode, electronic invoice number and electronic invoice code are uniquely corresponding;Signal by its signal output interface and data transmitting module is defeatedIncoming interface connects;
The data transmitting module, for electronic invoice management information to be sent to electronic invoice integrated service platform;
The data reception module, the electronic invoice voucher transmitted for receiving electronic invoice integrated service platform;NumberIt is connect with the signal output interface of electronic invoice integrated service platform according to the signal input interface of receiving module;
The data memory module, for storing electronic invoice management information and electronic invoice voucher;Data store mouldOne input interface of signal of block and the signal input interface of data reception module connect, another input interface and electronic invoiceManagement information handles the signal output interface connection of module;
Electronic invoice management information includes mainly three parts:The tax registration information of service provider distributes to service providerElectronic invoice number and electronic invoice code, the electronic invoice number have unique corresponding relation with electronic invoice code;
Radio and television services quotient's front server mainly comprises the following modules:Electronic invoice voucher acquisition module,Electronic invoice voucher screening module, electronic invoice voucher transmission module;
Electronic invoice voucher acquisition module is opened for receiving each service provider transmitted from electronic invoice integrated service platformThe electronic invoice voucher of tool;The electronic invoice voucher that electronic invoice voucher screening module is used to issue each service provider receivedScreening and classification storage are carried out according to set-top box customer ID;The signal input interface and electronic invoice of electronic invoice voucher acquisition moduleThe signal output end of integrated service platform connects, signal output interface and the electronic invoice voucher of electronic invoice voucher acquisition moduleThe signal input interface of screening module connects, and signal output interface and the electronic invoice voucher of electronic invoice voucher screening module passThe signal input part of defeated module connects.
Electronic invoice voucher transmission module is for the electronic invoice voucher for being stored in same set-top box users ID to be sent toRadio and television services quotient's service server;The signal output end of electronic invoice voucher transmission module is engaged in radio and television services businessThe signal input part of server connects.
Each service provider's electronic invoice platform front server with lower module mainly by being realized:Electronic invoice management is believedAcquisition module, electronic invoice essential information generation module, electronic invoice essential information memory module, electronic invoice voucher is ceased to generateModule;
The electronic invoice management information acquisition module is transmitted for acquiring and store electronic invoice integrated service platformElectronic invoice management information;Electronic invoice management information acquisition module is equipped with signal input, output end;Its signal input part and electricityThe signal input part of sub- invoice integrated service platform connects, for acquiring electronic invoice management information;Its signal output end and electricityThe signal input part of sub- invoice essential information generation module connects, for electronic invoice management information to be input to electronic invoice baseThis information generating module;
The electronic invoice essential information generation module of each service provider, for by collected electronic invoice management information according toElectronic invoice number generation and the unique corresponding Quick Response Code of the electronic invoice number and random code, ultimately form electronic invoice and believe substantiallyBreath;The signal input part of electronic invoice essential information generation module is defeated from electronic invoice management information acquisition module for receivingThe electronic invoice management information that outlet is sent;The signal output end and electronic invoice of electronic invoice essential information generation module are basicThe signal input part of information storage module connects, the electronic invoice essential information for teaching generation;
The electronic invoice essential information memory module of each service provider, is deposited successively according to the sequence of electronic invoice number from small to largeStorage;The signal output end of electronic invoice essential information memory module is used for the signal input part to electronic invoice voucher generation moduleElectronic invoice essential information is transmitted according to first in first out;
The electronic invoice voucher generation module of each service provider, is opened for handling from what each service provider's local server was sentTicket instructs and Transaction Information, and the electronic invoice base of electronic invoice essential information memory module is transferred according to the principle of first in first outThis information generates electronic invoice voucher together with the Transaction Information received, and the electronic invoice voucher includes electronic invoiceNumber, electronic invoice code, each service provider's information, Quick Response Code, random code, negotiator ID, transaction content, Transaction Information, trade goldVolume, exchange hour;The signal input part of electronic invoice voucher generation module is for receiving my electronic invoice essential information storageThe electronic invoice essential information that module transmits, signal output end and the signal input part of electronic invoice voucher transmission module connectIt connects, the electronic invoice voucher generated to the input of electronic invoice voucher transmission module;
The electronic invoice voucher transmission module of each service provider integrates clothes for electronic invoice voucher to be transmitted to electronic invoiceBusiness platform is used to the electronic invoice voucher issued being transferred to electronic invoice integrated service platform;Electronic invoice voucher transmission moduleSignal output end connect with the signal input part of electronic invoice integrated service platform, the electronic invoice voucher of each service provider is defeatedEnter to electronic invoice integrated service platform.
The electronic invoice integrated service platform includes invoice information acquisition module, invoice information transmission module, invoiceInformation storage module;The invoice information acquisition module be equipped with multiple signals input and signal output end, respectively with each serviceThe letter of quotient's electronic invoice platform front server, electronic invoice local side front server, radio and television services quotient's front serverNumber output is connected with signal input part.
The second object of the present invention is to provide a kind of method receiving electronic invoice using set-top box, this method include withLower step:
1) each service provider is to tax authority's applying for electronic invoice;
2) after the tax authority receives this application, by each service provider's application record in electronic invoice local side front server;
3) electronic invoice local side front server calls electronic invoice management information to handle module, for each service provider distribution electricitySub- managing bill information, and the electronic invoice management information of distribution is distributed to electronic invoice integrated service platform;
4) electronic invoice integrated service platform receives each service provider's electronic invoice management information of step 3), passes through internetIt is transmitted to each service provider's electronic invoice platform front server;
5) each service provider's electronic invoice platform front server receives the electronic invoice management information from step 4), callsRespective electronic invoice essential information generation module generates electronic invoice essential information, and electronic invoice essential information is transmittedTo each service provider's local server;
6) it after each service provider's local server receives the electronic invoice essential information from step 5), waits for from transaction eventuallyMake out an invoice instruction and the Transaction Information at end;
7) after each service provider's local server receives make out an invoice instruction and the Transaction Information of transaction terminal, Transaction Information is transmittedTo each service provider's electronic invoice platform front server, and it is sent to instruction of making out an invoice;
8) it after each service provider's electronic invoice platform front server receives make out an invoice instruction and the Transaction Information of step 7), callsEach service provider's electronic invoice voucher generation module generates electronic invoice voucher, and is sent electronic invoice voucher by internetElectron invoice integrated service platform;
9) it after electronic invoice integrated service platform receives the electronic invoice voucher of each service provider that step 8) transmits, is sent toRadio and television services quotient's electronic invoice platform front server;
10) radio and television services quotient electronic invoice platform front server receives the electronic invoice voucher that step 9) transmitsAfterwards, it calls the electronic invoice voucher of each service provider of the screening of electronic invoice voucher and memory module to receiving to screen, finds outIt is stored after the electronic invoice voucher that each service provider that negotiator ID and set-top box users ID matches issues, and is sent to broadcast electricityDepending on service provider's service server;
11) it after radio and television services quotient service server receives the electronic invoice voucher that step 10) transmits, is used to set-top boxThe user that family ID matches pushes electronic invoice voucher collection, to realize the purpose for receiving electronic invoice voucher.
The invention has the advantages that the cost without increasing negotiator can be realized to electronic invoice voucher check andIt preserves, issuing and storing for invoice can be realized without providing paper invoice for service transacting quotient.