A kind of method of using GPS equipment control tax-control cash register
Technical field
The present invention relates to the management application of tax-control cash register in tax control industry, in a kind of tax control industry, pass through specifically the method for GPS equipment control tax-control cash register.
Technical background
Along with the popularization of national three phases of Golden Taxes, the related application of tax control industry gets more and more.At present, tax-control cash register in use, is to use in fixed location mostly, but also has the movement of the small part demand of making out an invoice, such as selling at a special price or tourism industry issues invoice etc. in market.No matter be fixedly to make out an invoice or mobile office is made out an invoice, all there is the stolen possibility of loss in tax-control cash register.Because tax-control cash register belongs to exclusive equipment, and its invoice data of opening is paid taxes for trade company and the management of tax office is significant, how tax-control cash register is carried out to safety management, becomes the major issue that trade company and tax situation are faced.
Meanwhile, because the operator of trade company is when carrying out normal invoice issuing, the problem that often there will be invoice amount to open by mistake, very likely for owner brings heavy economic losses, therefore, the handling safety of making out an invoice becomes one of safety management demand too.
The method of the use GPS equipment that the method proposes to tax-control cash register management, just based under this background, a kind of Real-time Monitor Management method to tax-control cash register of proposition.The method not only can be monitored the geography information of tax-control cash register at any time, and the information that more can issue invoice to tax-control cash register is monitored, occur stolen, while opening by mistake invoice, more can to tax-control cash register, carry out lock machine by the method and warning is processed.
Summary of the invention
The invention provides a kind of is the method for using GSP equipment control tax-control cash register, GPS wireless module equipment is installed in tax-control cash register, satellite positioning functions by this equipment obtains the current latitude and longitude information of tax-control cash register, in real time tax-control cash register is carried out to geo-location; And set up communication channel by the GPRS (General Packet Radio Service) GPRS on equipment with the tax control background server that is deployed in Shui Ju administrative center; the geography information of this tax-control cash register, business datum, control information etc. are carried out alternately on this channel; this communication channel belongs to full duplex mode of operation, and data interaction request all can initiatively be initiated to the other side in two ends simultaneously; Content step is as follows:
1) if channel in normal connection status, this tax control machine is marked as " online " state at tax control background server so, otherwise is marked as " off-line " state;
2), when tax-control cash register is in line states, tax control cash receiving chance, regularly by self geographical position information, business datum etc., is packed according to host-host protocol, and is upload the data on tax control background server;
3) after tax control background server receives these data, first to carry out verification to the integrality of data, after judgement data integrity, to sending the machine of data, carry out identification again, check whether this machine belongs to machine legal, registration, after above security inspection, tax control background server can be unpacked the data that receive according to communication protocol, and geography information wherein, business datum classification are processed;
Wherein, geographic information data can be forwarded in < < GIS information management system > > by tax control background server, by < < GIS information management system > >, after calculating, at front end electronic chart, provide figure to show, the managerial personnel of tax office, on electronic chart, know intuitively the residing position of current tax-control cash register, whether move, whether exceeded the safe handling region that user sets, if < < GIS information management system > > finds that the geography information of tax-control cash register is abnormal, can send note to the keeper of tax office and owner so and carry out early warning, and notify < < tax-controlling device management system > > to carry out lock machine to this machine, the control commands such as pintle hook lock, suspend the use of tax-control cash register,
Wherein, business datum in packet can be forwarded in < < tax-controlling device management system > > by tax control background server, related protocol regulation via this system with reference to < < GB18240.* > >, data are carried out to inverse, log, storage, here, < < tax-controlling device management system > > can receive two kinds of command types, a kind of is clear data host-host protocol, a kind of is request processing command, for clear data host-host protocol, < < tax-controlling device management system > > is after data reduction, can whether exceed the early warning range of making out an invoice of this cashing machine setting by the judgement amount of money of making out an invoice wherein, if exceed early warning range, < < tax-controlling device management system > > can send short message prompt from the trend tax keeper of office and owner so, and it is pending that this data recording is entered to database, if data are normal, can directly be stored in system database so, day to day operation data as user are carried out record, after finishing dealing with, by channel loopback, " operate successfully " information, inform that tax-control cash register carries out next record business processing, and process for request command, system can comprise according to the action type of request: request is authorized, invoice is distributed in request, request offline authorization information, after using different functional modules to calculate, again the result of calculating is sent it back to tax-control cash register by channel, gathering cashing machine is carried out to Long-distance Control,
4) invoice that tax-control cash register exceeds zone of reasonableness to the limit of making out an invoice carries out early warning, retains that invoice of declaring the cycle is detailed, the data of making out an invoice extremely, and by GPS equipment, these data is sent to tax control background server;
Tax-control cash register uses GPS equipment, by the local administration of GPRS (General Packet Radio Service) GPRS and tax tax control background server on the internet, set up communication channel, in all data of this channel according to < < GB18240.1 first: the defined message transmission form transmission of packing in machine standard > >;
5) tax control background server reply tax-control cash register state manages; If successfully set up communication channel between backstage and cashing machine and keep being connected, backstage is labeled as cashing machine " online " state so; Otherwise be labeled as " off-line " state.
excellent effect of the present invention:method of the present invention can be carried out to tax-control cash register early warning when the volume of transfiniting is made out an invoice, and can monitor the geography information of tax-control cash register, meets that it is lost, the safety management demand such as stolen.
Accompanying drawing explanation
Fig. 1 is the schematic network structure that < < tax-controlling device management system > >, < < GIS information management system > >, GPS wireless module equipment, tax control background server etc. manage tax-control cash register.
Embodiment
Main contents of the present invention comprise as follows:
GPS wireless module equipment is installed in tax-control cash register, and the satellite positioning functions by this equipment obtains the current latitude and longitude information of tax-control cash register, in real time tax-control cash register is carried out to geo-location; And by the GPRS(GPRS (General Packet Radio Service) on equipment) set up communication channel with the tax control background server that is deployed in Shui Ju administrative center, the geography information of this tax-control cash register, business datum, control information etc. are carried out alternately on this channel.This communication channel belongs to full duplex mode of operation, and data interaction request all can initiatively be initiated to the other side in two ends simultaneously.
If channel is in normal connection status, this tax control machine is marked as " online " state at tax control background server so, otherwise is marked as " off-line " state.
When tax-control cash register is in line states, tax control cash receiving chance, regularly by self geographical position information, business datum etc., is packed according to host-host protocol, and is upload the data on tax control background server.
After tax control background server receives these data, first to carry out verification to the integrality of data, after judgement data integrity, then carry out identification to sending the machine of data, check whether this machine belongs to machine legal, registration.After above security inspection, tax control background server can be unpacked the data that receive according to communication protocol, and geography information wherein, business datum classification are processed.
Wherein, geographic information data can be forwarded in < < GIS information management system > > by tax control background server, by < < GIS information management system > >, after calculating, at front end electronic chart, provide figure to show.Whether the managerial personnel of tax office can know intuitively the residing position of current tax-control cash register on electronic chart, move, and whether have exceeded safe handling region of user's setting etc.If < < GIS information management system > > finds that the geography information of tax-control cash register is abnormal, can send note to the keeper of tax office and owner so and carry out early warning, and notify < < tax-controlling device management system > > this machine to be carried out to the control commands such as lock machine, pintle hook lock, suspend the use of tax-control cash register.< < tax-controlling device management system > > can initiatively send order data by channel to tax-control cash register.
Wherein, business datum in packet can be forwarded in < < tax-controlling device management system > > by tax control background server, related protocol regulation via this system with reference to < < GB18240.* > >, carries out inverse, log, storage etc. to data.Here, < < tax-controlling device management system > > can receive two kinds of command types, and a kind of is clear data host-host protocol, and a kind of is request processing command.For clear data host-host protocol, < < tax-controlling device management system > > is after data reduction, can whether exceed the early warning range that this cashing machine arranges by the judgement amount of money of making out an invoice wherein, if exceed early warning range, < < tax-controlling device management system > > can send short message prompt from the trend tax keeper of office and owner so, and this data recording is entered to database wait assistant.If data are normal, can directly be stored in system database so, as user's day to day operation data, carry out record.After finishing dealing with, by channel loopback, " operate successfully " information, inform that tax-control cash register carries out next record business processing.And process for request command, system can according to the action type of request (such as: request is authorized, request distribution invoice, request offline authorization information etc.), after using different functional modules to calculate, again the result of calculating is sent it back to tax-control cash register by channel, gathering cashing machine is carried out to Long-distance Control.
Embodiment
The inventive method is to utilize GPS wireless module equipment, tax-control cash register is carried out to space orientation, and utilize GPRS(grouping service wireless) wireless transmission function, tax control business datum is monitored, reach tax control machine is carried out to safety management, split ticket data and carry out the object of safety management, implementation step is as follows:
1) tax-control cash register is when carrying out invoice issuing, the invoice that can exceed zone of reasonableness to the limit of making out an invoice carries out early warning, can retain that invoice of declaring the cycle is detailed, the data etc. of making out an invoice extremely, and by GPS equipment, these data be sent to tax control background server.
2) tax-control cash register uses GPS equipment, by GPRS(GPRS (General Packet Radio Service)) set up communication channel with the local administration of tax tax control background server on the internet, in all data of this channel according to < < GB18240.1 first: the defined message transmission form transmission of packing in machine standard > >.This communication channel belongs to full duplex mode of operation, and channel both sides can initiatively send datagram to the other side simultaneously.
3) tax control background server reply tax-control cash register state manages.If successfully set up communication channel between backstage and cashing machine and keep being connected, backstage is labeled as cashing machine " online " state so; Otherwise be labeled as " off-line " state.
4) tax control background server has security row authentication function for the data that receive, and comprises the integrality of packet, the identity legitimacy of data receiver etc.
5) tax control background server possesses for valid data the ability that classification transmission is processed, and can be respectively geographic information data and business information data is sent in relevant operation system and is processed.
6) < < GIS information management system > > has and on electronic chart, implements to upgrade the function showing geographic information data, can intuitively show that this information institute is in region; Can carry out safe range judgement to geographic information data, for the tax-control cash register that is more than safe range, send note automatically to the keeper of tax office and cashing machine business and carry out early warning, automatically notify < < tax-controlling device management system > > to carry out lock machine, pintle hook lock to cashing machine.
7) < < tax-controlling device management system > > has the function that tax-controlling device is managed, can be according to < < GB18240.1 first: the data layout of defined in machine standard > >, generates and divide photos and sending messages, the off-line information etc. of making out an invoice to the authorization message of tax-control cash register, invoice.This system can initiatively send control command to tax-control cash register by tax control background server.
8) between < < GIS information management system > > and < < tax-controlling device management system > >, pass through the method for standard Web service WebService, use XML file to carry out data interaction, to guarantee security and the promptness of data interaction.