The online invoice issuing method of terminal opened by a kind of cloud net based on CSOI technology
Technical field
The present invention relates to a kind of in tax field, CSOI technology is used to open the method for terminal being carried out online invoice issuing at cloud net, one provides the SAAS stratus of " invoice opens service online " to serve to existing specifically, carry out data stream monitoring, and decompiling analysis is carried out to monitored data, obtain order format wherein and data packet, then open in terminal at cloud net and use CSOI agency service, these instruction and data packages are edited, recombinated, realizes the method that invoice is opened.
Background technology
At present, tax office in all parts of the country provides the SAAS stratus service of " invoice opens service online " more, but, these services are all almost the B/S infrastructure services based on browser, taxpayer, when these services of use, must have the PC that is provided with Windows operating system and printer to use; And, each Local Tax Bureau is for the consideration of the aspects such as safety, how not provide data-interface to third party producer or only to provide interface to partial service producer, even to provide the identification apparatus media such as UKEY or CA to carry out authentication, so just expose some problems:
A., time due to these service uses, require uses Windows operating system more, and provides browser and function of surfing the Net, easily suffers virus attack, and is unfavorable for that taxpayer manages;
B. the use of these services, require that taxpayer must possess PC and printer, be also no small burden for little micro-corporate tax people;
C. many system interfaces restriction, identification restriction, make system be that the secure accessing of third party device provides heavy resistance.
The existence of these problems, causing taxpayer when using " invoice opens service online ", there is no small pressure, constraining the popularization of cloud service.
This invention proposes a kind of new use CSOI technology and the method that terminal carries out online invoice issuing opened by cloud net, pass through the method, terminal opened by the cloud net that taxpayer only needs use cost lower, by being arranged on the regular traffic operating process of the CSOI agency service analog subscriber on its embedded OS, invoice can be realized open online, and can process supporting business data flexibly, realize the operations such as off-line invoice issuing, solve existing issue, and without the need to changing any function interface of original system and increasing additional interface, there is taxpayer's use cost low, stability is high, anti-virus, implementation cycle is fast, take resource few, data accurate positioning, have wide range of applications, the advantage such as easy to use.
Summary of the invention
The object of this invention is to provide a kind of cloud net based on CSOI technology and open the online invoice issuing method of terminal.
The object of the invention is to realize in the following manner, this method is the SAAS stratus application to providing invoice to open service online, carry out " application layer " services listen beyond the clouds, by carrying out decompiling classification to its transmission sample data based on http protocol or soap protocol plaintext transmission agreement, abandon other application system interfaces towards taxpayer, obtain communication protocol instruction wherein and business datum package, use the cloud net based on embedded OS to open terminal to reconfigure communication protocol instruction and business datum package, encapsulation, and use CSOI service to carry out business operation simulation, with provide the SAAS stratus of " invoice opens service online " to apply to carry out mutual, the online invoice issuing of terminal opened by the cloud net completed based on CSOI technology, forming surface opens terminal device application to new " invoice is opened online " cloud net of taxpayer, concrete steps are as follows:
1) on a testing machine, " data decryptor service " is started;
2) use the test account of taxpayer, password access invoice opens service online, log in the application of SAAS stratus;
3) by " data decryptor service ", binary data stream is carried out to login process and copies, obtain and log in sample data and decompiling, extraction logging on communication protocol instructions wherein and purview certification business datum package content;
4) open in terminal at the cloud net being provided with " embedded OS ", secondary encapsulation is carried out to login protocol instruction, and the manual typing of " purview certification data items ", editor, modify feature interface are provided, by the CSOI agency service with browser kernel that embedded OS is installed, send to " invoice opens cloud service online " and log in instruction, as the login interface of Embedded Application;
5) respectively day to day operation operation is carried out to the supporting business function of the invoice surplus inquiry of operation system, the inquiry of tax category tax items, control of authority information inquiry of making out an invoice, data knot report, data query, use " data decryptor service " to carry out data flow replication respectively to each operation flow, obtain supporting business sample data;
6) decompiling classification is carried out to the supporting business sample data obtained, abandon other application system interface data, ad data, control datas towards taxpayer, only extract supporting business communication protocol instruction wherein and business datum package content, as the atomic operation interface that will carry out subsequent treatment;
7) open in terminal at the cloud net being provided with " embedded OS ", for supporting business communication protocol and data carry out Workflow restructuring, and corresponding graphical operation interface is provided, all supporting business flow data should before carrying out invoice issuing, by CSOI agency service, download to this locality;
8) identical according to step 6) step, obtains invoice issuing, comprises normal invoice issuing, credit note is opened, the communication protocol instruction and data package of blank invoice calcellation business;
9) open in terminal at the cloud net being provided with " embedded OS ", by reorganizing supporting business data, to making out an invoice, secondary encapsulation is carried out in service communication instruction, order format after encapsulation with by browser, the access instruction of operation system is kept completely the same on core keyword, then by CSOI agency service, corresponding business datum is carried out corresponding with the business datum package form of making out an invoice got item by item, and be socketed according to corresponding communication protocol instruction, be sent to " invoice opens cloud service online ", namely corresponding business operation is completed.
Adopt the mode of APIHOOK to carry out interception to the data stream of operation system to copy, neither affect the operation of former operation system, also synchronously can copy and obtain Business Stream information, the method can copy for all agreements based on clear data transmission of http protocol, soap protocol.
Cloud net is opened in terminal must support embedded OS, comprises built-in Linux, Android.
Embedded OS client needs to install CSOI agency service, and this agency service must have browser kernel, can all behaviors of simulation browser.
User is when using embedded OS service application to carry out the business operation of invoice issuing, and must carry out safety inspection to the business datum of user's input, security clearance level can not lower than the appropriate level of former operation system.
CSOI agency service, must provide bi-directional proxy service, and can set up business rules filters, namely can filter out the advertisement non-core services data message from cloud service, also can filter out the non-traffic request of data from high in the clouds.
Embedded OS cloud terminal, must provide corresponding software development framework.
The invention has the beneficial effects as follows: the inventive method utilizes CSOI technology, open in terminal at cloud net and set up agent data service, by data retransmission, filtration, the package of CSOI technology, the function such as to unpack, secondary encapsulation is carried out to the communication protocol instruction and data package of " invoice opens cloud service online ", realizes the data seamless that cloud net opens between terminal and " invoice opens cloud service online " and exchange.Meanwhile, utilize cloud net to open terminal and use embedded OS, have antiviral, cost is low, can the feature such as offline cache, for taxpayer provides reliable, the economic and practical invoice of a kind of lower security to open method online.
Accompanying drawing explanation
Fig. 1 is the enforcement Organization Chart opening the online invoice issuing method of terminal based on the cloud net of CSOI technology.
Embodiment
With reference to Figure of description, method of the present invention is described in detail below.
There is provided a kind of cloud net based on CSOI technology to open the online invoice issuing method of terminal, solve existing " invoice opens cloud service online " and do not provide interface, and not there is the problems such as offline functionality, taxpayer's use cost are high, susceptible viral attack.This invention is the SAAS stratus application to providing invoice to open service online, carry out " application layer " services listen beyond the clouds, by carrying out decompiling classification to its transmission sample data based on http protocol other plaintext transmission agreements such as (or) soap protocols, abandon other application system interfaces towards taxpayer, obtain communication protocol instruction wherein and business datum package, use the cloud net based on embedded OS to open terminal to reconfigure communication protocol instruction and business datum package, encapsulation, and use CSOI service to carry out business operation simulation, with provide the SAAS stratus of " invoice opens service online " to apply to carry out mutual, the online invoice issuing of terminal opened by the cloud net completed based on CSOI technology, forming surface opens terminal device application to new " invoice is opened online " cloud net of taxpayer.
Implementation step is as follows:
A. on a testing machine, " data decryptor service " is started.
B. use the test account of taxpayer, password access invoice opens service online, log in the application of SAAS stratus.
C. by " data decryptor service ", binary data stream is carried out to login process and copies, obtain and log in sample data and decompiling, extraction logging on communication protocol instructions wherein and purview certification business datum package content.
D. open in terminal at the cloud net being provided with " embedded OS ", secondary encapsulation is carried out to login protocol instruction, and the manual typing of " purview certification data items ", editor, modify feature interface are provided, by the CSOI agency service with browser kernel that embedded OS is installed, send to " invoice opens cloud service online " and log in instruction, as the login interface of Embedded Application.
E. respectively day to day operation operation is carried out to the supporting business function such as invoice surplus inquiry, the inquiry of tax category tax items, control of authority information inquiry of making out an invoice, data knot report, data query of operation system, use " data decryptor service " to carry out data flow replication respectively to each operation flow, obtain supporting business sample data.
F. decompiling classification is carried out to the supporting business sample data obtained, abandon other application system interface data, ad data, control datas towards taxpayer, only extract supporting business communication protocol instruction wherein and business datum package content, as the atomic operation that will carry out subsequent treatment.
G. open in terminal at the cloud net being provided with " embedded OS ", for supporting business communication protocol and data carry out Workflow restructuring, and provide corresponding graphical operation interface.All supporting business flow data before carrying out invoice issuing, by CSOI agency service, should download to this locality.
H. identical according to step F step, obtains the communication protocol instruction and data package of the business of making out an invoice such as invoice issuing business such as (comprise normal invoice issuing, credit note is opened) blank invoice calcellations.
I. open in terminal at the cloud net being provided with " embedded OS ", by reorganizing supporting business data, to making out an invoice, secondary encapsulation is carried out in service communication instruction, order format after encapsulation with by browser, the access instruction of operation system is kept completely the same on core keyword, then by CSOI agency service, corresponding business datum is carried out corresponding with the business datum package form of making out an invoice got item by item, and be socketed according to corresponding communication protocol instruction, be sent to " invoice opens cloud service online ", corresponding business operation can be completed.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.