CN103914928A - Tax declaring system and method based on android system by use of M2M technology - Google Patents

Tax declaring system and method based on android system by use of M2M technology Download PDF

Info

Publication number
CN103914928A
CN103914928A CN201210592858.2A CN201210592858A CN103914928A CN 103914928 A CN103914928 A CN 103914928A CN 201210592858 A CN201210592858 A CN 201210592858A CN 103914928 A CN103914928 A CN 103914928A
Authority
CN
China
Prior art keywords
layer
terminal
android
android system
data
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.)
Granted
Application number
CN201210592858.2A
Other languages
Chinese (zh)
Other versions
CN103914928B (en
Inventor
陈懿
陈皓
李宁
郭东明
黄海东
王堃
符和清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN201210592858.2A priority Critical patent/CN103914928B/en
Publication of CN103914928A publication Critical patent/CN103914928A/en
Application granted granted Critical
Publication of CN103914928B publication Critical patent/CN103914928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a tax declaring system and method based on an android system by use of M2M technology. After M2M data enter into a hardware layer of a terminal via a serial interface, the android transmits the data from the hardware layer to an android system layer by calling a drive of a first hardware serial port of the system; the system layer visualizes the first serial port as the format of a file and the input and output of data as reading and writing operation of the content of the file to achieve the calling of an application layer; software developers can use a file interface provided by the android to achieve the communication function of tax data particularly using a M2M channel; and the specialness and security of tax data are achieved.

Description

A kind of tax returns system and method for utilizing M2M technology based on Android system
Technical field:
The present invention relates to a kind of M2M technology of utilizing and carry out the system and method for communication under Android system, along with the continuous maturation of the universal and M2M technology gradually of the built-in terminal of Android system, under Android system, utilize the communication of M2M technology to become a main flow direction of future development, the present invention is exactly a kind of tax returns system and method for utilizing M2M technology in the terminal of Android system.
Background technology:
Android is a kind of freedom based on Linux and the operating system of open source code, is mainly used in portable equipment, as smart mobile phone and panel computer.Android operating system is developed by Andy Rubin at first, mainly supports mobile phone, within 2005, expands to gradually on panel computer and other field, due to the operational advantage of this system itself and increasing income property, becomes gradually the mainstream operation system of embedded system.Android has occupy overlord landlord in the operating system of consumer electronics.Along with the development of android technology, Android system has been penetrated into industrial class application gradually, has occurred the increasing industrial products based on Android system.
M2M technology full name is machine to machine technology, be exactly Internet of Things mechanics of communication in brief, the general name of thing to thing mechanics of communication, M2M focuses on the radio communication of machine to machine, there are following three kinds of modes: machine is to machine, machine is to mobile phone (as user's telemonitoring), and mobile phone is to machine (as user's Long-distance Control).Future may only account for 1/3 of whole terminal market for the terminal of Human To Human's communication, and the communication of larger quantity is that machine is to machine (M2M) communication service.In fact, the quantity of current machine is at least 4 times of mankind's quantity, and therefore M2M has huge market potential.The potential market of M2M is not limited only to communication industry.Because M2M is the integration of radio communication and infotech, it can be used for two-way communication, and as remote collection information, parameters and transmission instruction, therefore M2M technology can have different application schemes, as safety monitoring, automatic vending machine, cargo tracking etc.Along with development and the country of infotech promote technology of Internet of things energetically, M2M technology is promoted at a lot of industrial circles, traditional method of declaring dutiable goods of utilizing M2M technology is all generally to carry out under other operating systems, and patent of the present invention has been created a kind of method of utilizing M2M technology to declare dutiable goods under Android system.
Along with popularizing that network is made out an invoice, the terminal facility that issue invoice all will carry out communication with tax office background server in the time issuing invoice, and after the mandate that obtains tax office background server, terminal can issue invoice.Tax office background server generally all needs dedicated network to be attached thereto, and traditional technology is the communication that utilizes M2M technology establishment dedicated network to set up make out an invoice terminal and tax office background server.Traditional facility M2M technology of making out an invoice is to be all applied in general embedded system.Along with the progress of technology, to improving constantly of the terminal capabilities requirement of making out an invoice, the terminal of making out an invoice of Android system becomes following demand.How in the terminal of making out an invoice of Android system, to utilize M2M technology to declare dutiable goods and become a difficult point.
Summary of the invention
Patent of the present invention is a kind of system and method that utilizes M2M technology to declare dutiable goods under embedded Android system of invention.Of the present invention being implemented as follows:
Based on a tax returns system that utilizes M2M technology for Android system, described system comprises:
Based on the terminal of Android system, described terminal comprises central processing unit, described central processing unit comprises serial ports one and M2M module, and described M2M module comprises serial line interface, and described serial line interface is connected with the serial ports one of the terminal central processing unit based on Android system;
The serial ports node of the hardware driving layer of the Android system layer of described tax returns system by calling android terminal is realized data communication, after the processing of Android system layer, in application layer, application program is to open file, reading and writing of files, the form of close file and M2M module are carried out read-write operation, are connected with the background server of tax office by dedicated network, be responsible for the request msg of making out an invoice of transmitting terminal, receive the response data of tax office background server transmission.
M2M data enter by serial line interface after the hardware layer of terminal, android is by the driving of the hardware serial ports one of calling system, data are sent to Android system layer by hardware layer, system layer invents serial ports one form of a file, and the input and output of data are virtual can be realized application layer to the read and write operation of this file content and call.
Described M2M module adopts SIM800DS module to realize.
The central processing unit of the described terminal based on Android system is the imx515 high-performance processor that adopts arm contex-A8 framework.
A kind of method of declaring dutiable goods of utilizing M2M technology based on Android system, described method is implemented in the terminal and M2M module based on Android system, and terminal comprises central processing unit, and described central processing unit comprises serial ports one, described M2M module comprises serial line interface, and described method comprises:
Connect the serial ports one of described serial line interface and the terminal central processing unit based on Android system; The serial ports node of the hardware driving layer of Android system layer by calling android terminal is realized data communication;
After the processing of Android system layer, in application layer, application program to be to open file, reading and writing of files, and the form of close file and M2M module are carried out read-write operation;
Be connected with the background server of tax office by dedicated network, be responsible for the request msg of making out an invoice of transmitting terminal, receive the response data of tax office background server transmission;
Wherein, M2M data enter by serial line interface after the hardware layer of terminal, android is by the driving of the hardware serial ports one of calling system, data are sent to Android system layer by hardware layer, system layer invents serial ports one form of a file, and the input and output of data are virtual can be realized application layer to the read and write operation of this file content and call.
Described M2M module adopts SIM800DS module to realize.
The central processing unit of the described terminal based on Android system is the imx515 high-performance processor that adopts arm contex-A8 framework.
Normal conditions realize at the RS232 serial ports that all utilizes of M2M module and external communication, and the terminal of Android system also all has serial ports conventionally, and on hardware, M2M module is connected and is realized hardware communication by serial ports with android terminal.This file interface that software developer can utilize android to provide, realizes the function that the specific use of tax data M2M passage is carried out to communication, has realized specificity and the security of tax data.Profit realizes and declaring dutiable goods in this way in Android system, following points benefit:
1. realize the mode of utilizing M2M technology to declare dutiable goods under Android system, opened the beginning of technique.
2. improve the security of tax data under Android system, prevented the danger that utilizes public network data data to be stolen.
3. realized at Android system in general networking passage and tax designated lane the method for depositing, when terminal realizes the function of declaring dutiable goods, user can carry out the general multimedia functions such as web page browsing.
4. this kind of method security is high, realizes technical threshold relatively low, also lower to cost requirement, is conducive to the large-scale promotion of the technology that realizes.
Accompanying drawing explanation
Accompanying drawing 1 be according under the Android system of the embodiment of the present invention by the M2M technology process flow diagram of declaring dutiable goods;
Accompanying drawing 2 is the M2M Modular circuit design figure according to the embodiment of the present invention;
Accompanying drawing 3 is according to the android terminal of the embodiment of the present invention process flow diagram of making out an invoice.
Embodiment:
The present invention realizes in the terminal of declaring dutiable goods of our company's independent research.
The hardware core of M2M terminal is GPRS communication module MC35i and arm processor
AT91SAM7S64, their Interface design as shown in Figure 1.M2M terminal externally leaves 2 RS232 serial ports, the digital command pre-defining by transmission, can realize M2M terminal startup, close etc.After M2M terminal and Internet connect, only packaged data need be sent to M2M terminal by serial ports, complete by it function that sends data to Surveillance center.Design of System Software adopts the structure of layering, from the end to be generally divided into respectively: serial port drive layer (Physical layer), ppp protocol layer (link layer), ip protocol layer (network layer), udp protocol and ICMP layer (transport layer) and application layer.In the LwIP protocol stack of having transplanted, by set up the thread of corresponding function in each layer, realize the encapsulation of data.Bottom software provides function support for upper layer software (applications), and upper layer software (applications) utilizes bottom software to complete writing and realizing of application program.The bottom-up method for designing that adopts software progressively realizes the function of each function in system, and each several part function is realized and all adopted modular method for designing.The corresponding module of each task.
As shown in Figure 1, normal conditions realize at the RS232 serial ports that all utilizes of M2M module and external communication, and the terminal of Android system also all has serial ports conventionally, and on hardware, M2M module is connected and is realized hardware communication by serial ports with android terminal.At hardware driving layer, the serial ports node of the hardware driving layer by android terminal, Android system layer drives this serial ports node of layer to realize data communication by calling, after the processing of Android system layer in application layer, application program can be to open file, reading and writing of files, the form of close file and M2M module are carried out read-write operation, thereby have realized the function that android terminal is declared dutiable goods by calling M2M module.This file interface that software developer can utilize android to provide, realizes the function that the specific use of tax data M2M passage is carried out to communication, has realized specificity and the security of tax data.
In addition, in order to guarantee the security of tax data, described tax returns system can also comprise encrypting module, by the encryption of tax data being realized to the security of tax data.
As shown in Figure 2, the M2M technology that this programme adopts is that the model based on SIMCom company is that SIM800DS module realizes, and frequency of operation is GSM/GPRS900/1800MHz, and this module can low-power consumption realizes the transmission of voice, SMS, data and facsimile message.The central processing unit of the terminal that this programme adopts is the imx515 high-performance processor of the arm contex-A8 of freescale company framework, and operation dominant frequency is up to 800MHZ.This terminal, except realizing the function of making out an invoice, can also realize printing invoice, Quick Response Code scanning, and the several functions such as magnetic stripe card scanning also possess web page browsing, the general utility functions of the internet terminals such as multimedia audio-video simultaneously.
On hardware connects, the serial line interface (9 pin shown in Fig. 2,10 pin) of SIM800DS module is connected with the serial ports one of imx515 central processing unit.In data communication, SIM800DS module is operated in GPRS900/1800MHz frequency range, the dedicated network providing by China Mobile is connected with the background server of tax office, is responsible for the request msg of making out an invoice of transmitting terminal, receives the response data of tax office background server transmission.In the realization of Android system itself, M2M data enter by serial line interface after the hardware layer of terminal, android is by the driving of the hardware serial ports 1 of calling system, data are sent to Android system layer by hardware layer, system layer invents serial ports one form of a file, and the input and output of data are virtual can be realized application layer to the read and write operation of this file content and call.
In application layer, this file calls does not open to the outside world, can a special tax of the exploitation unique legal calling program of program as this file interface of making out an invoice, in the time that user need to make out an invoice, send request msg by operating this program, request msg is by system call layer by layer, finally send to tax office background server to process by SIM800DS module, SIM800DS sends system to the result receiving again, system sends data to this tax program of making out an invoice again, after the program of making out an invoice is authorized, get invoice, the process of making out an invoice is complete.In the process of making out an invoice, because other passage of passage and system of declaring dutiable goods is independently, so can not affect the network response of other program of system.Operational flowchart as shown in Figure 3.
Used terminal full test at present in the present invention, the Android terminal of the dedicated network by using M2M technology is made out an invoice, stability, and rapidity all has significantly and improves than system in the past.
Above embodiment is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (7)

1. the tax returns system that utilizes M2M technology based on Android system, is characterized in that, described system comprises:
Based on the terminal of Android system, described terminal comprises central processing unit, described central processing unit comprises serial ports one and M2M module, and described M2M module comprises serial line interface, and described serial line interface is connected with the serial ports one of the terminal central processing unit based on Android system;
The serial ports node of the hardware driving layer of the Android system layer of described tax returns system by calling android terminal is realized data communication, after the processing of Android system layer, in application layer, application program is to open file, reading and writing of files, the form of close file and M2M module are carried out read-write operation, are connected with the background server of tax office by dedicated network, be responsible for the request msg of making out an invoice of transmitting terminal, receive the response data of tax office background server transmission.
2. the tax returns system that utilizes M2M technology based on Android system as claimed in claim 1, it is characterized in that, M2M data enter by serial line interface after the hardware layer of terminal, android is by the driving of the hardware serial ports one of calling system, data are sent to Android system layer by hardware layer, system layer invents serial ports one form of a file, and the input and output of data are virtual can be realized application layer to the read and write operation of this file content and call.
3. the tax returns system that utilizes M2M technology based on Android system as claimed in claim 1, is characterized in that, described M2M module adopts SIM800DS module to realize.
4. the tax returns system that utilizes M2M technology based on Android system as claimed in claim 1, is characterized in that, the central processing unit of the described terminal based on Android system is the imx515 high-performance processor that adopts arm contex-A8 framework.
5. the method for declaring dutiable goods of utilizing M2M technology based on Android system, it is characterized in that, described method is implemented in the terminal and M2M module based on Android system, terminal comprises central processing unit, described central processing unit comprises serial ports one, described M2M module comprises serial line interface, and described method comprises:
Connect the serial ports one of described serial line interface and the terminal central processing unit based on Android system;
The serial ports node of the hardware driving layer of Android system layer by calling android terminal is realized data communication;
After the processing of Android system layer, in application layer, application program to be to open file, reading and writing of files, and the form of close file and M2M module are carried out read-write operation;
Be connected with the background server of tax office by dedicated network, be responsible for the request msg of making out an invoice of transmitting terminal, receive the response data of tax office background server transmission;
Wherein, M2M data enter by serial line interface after the hardware layer of terminal, android is by the driving of the hardware serial ports one of calling system, data are sent to Android system layer by hardware layer, system layer invents serial ports one form of a file, and the input and output of data are virtual can be realized application layer to the read and write operation of this file content and call.
6. the method for declaring dutiable goods of utilizing M2M technology based on Android system as claimed in claim 5, is characterized in that, described M2M module adopts SIM800DS module to realize.
7. the method for declaring dutiable goods of utilizing M2M technology based on Android system as claimed in claim 5, is characterized in that, the central processing unit of the described terminal based on Android system is the imx515 high-performance processor that adopts armcontex-A8 framework.
CN201210592858.2A 2012-12-30 2012-12-30 A kind of tax returns system and method utilizing M2M technology based on Android system Active CN103914928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210592858.2A CN103914928B (en) 2012-12-30 2012-12-30 A kind of tax returns system and method utilizing M2M technology based on Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210592858.2A CN103914928B (en) 2012-12-30 2012-12-30 A kind of tax returns system and method utilizing M2M technology based on Android system

Publications (2)

Publication Number Publication Date
CN103914928A true CN103914928A (en) 2014-07-09
CN103914928B CN103914928B (en) 2016-01-20

Family

ID=51040576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210592858.2A Active CN103914928B (en) 2012-12-30 2012-12-30 A kind of tax returns system and method utilizing M2M technology based on Android system

Country Status (1)

Country Link
CN (1) CN103914928B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257333A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 The method and system that a kind of tax controlling equipment is communicated with Android platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974393A (en) * 1997-01-17 1999-10-26 Mccullough; Robert K. Automatic customer number paging system
CN101930584A (en) * 2010-09-03 2010-12-29 浪潮齐鲁软件产业有限公司 3G-based tax full-online billing system
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN201936397U (en) * 2010-11-26 2011-08-17 航天信息股份有限公司 Wireless tax declaration device
CN102324158A (en) * 2011-06-07 2012-01-18 浪潮齐鲁软件产业有限公司 Internet of things based fiscal cash register system
CN102479413A (en) * 2010-11-26 2012-05-30 航天信息股份有限公司 Network invoicing system and method thereof
CN102622830A (en) * 2012-01-29 2012-08-01 浪潮齐鲁软件产业有限公司 Method for remotely monitoring statuses of billing terminal equipment based on internet of things

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974393A (en) * 1997-01-17 1999-10-26 Mccullough; Robert K. Automatic customer number paging system
CN101930584A (en) * 2010-09-03 2010-12-29 浪潮齐鲁软件产业有限公司 3G-based tax full-online billing system
CN201910098U (en) * 2010-11-26 2011-07-27 航天信息股份有限公司 Network billing machine
CN201936397U (en) * 2010-11-26 2011-08-17 航天信息股份有限公司 Wireless tax declaration device
CN102479413A (en) * 2010-11-26 2012-05-30 航天信息股份有限公司 Network invoicing system and method thereof
CN102324158A (en) * 2011-06-07 2012-01-18 浪潮齐鲁软件产业有限公司 Internet of things based fiscal cash register system
CN102622830A (en) * 2012-01-29 2012-08-01 浪潮齐鲁软件产业有限公司 Method for remotely monitoring statuses of billing terminal equipment based on internet of things

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257333A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 The method and system that a kind of tax controlling equipment is communicated with Android platform

Also Published As

Publication number Publication date
CN103914928B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CA2815733C (en) Device, system, and method for logging near field communications tag interactions
CN103488478A (en) Device management framework based on android platform
CN106101169A (en) A kind of terminal and data reporting method
CN101287221A (en) Information transferring method between intelligent bi-mode mobile phone and wireless modem
CN103108413A (en) Internet of Things terminal equipment and business processing method thereof
CN101876904A (en) Mobile terminal, and method and device for outputting running state of application programs
CN101237256A (en) Electronic device and NFC-control method based on other electronic device
CN103107825A (en) Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal
CN105379365B (en) The method and wireless terminal component of control subsystem processing unit
CN201571108U (en) Embedded type mobile terminal operation platform
CN103914928B (en) A kind of tax returns system and method utilizing M2M technology based on Android system
CN110515662B (en) Remote control method, system, equipment and readable storage medium for dual-system equipment
CN113391559A (en) Smart home equipment control method and terminal equipment
CN102891704A (en) Communication information medium and method for realizing conversion of communication information
CN101312573A (en) GPS mobile phone and GPS monitoring system
CN103338063B (en) Android electric intelligent key and Bluetooth unlock system, as well as implementation method thereof
CN103309824A (en) EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system
CN205281472U (en) Be applied to circuit in wisdom city
CN204270419U (en) A kind of portable fast food settlement device
CN204990384U (en) Government affairs management system of wisdom community
CN102223610A (en) Method for realizing data exchange among mobile devices and mobile device
CN201662808U (en) Meal ordering device
CN101256489A (en) System and method for implementing AT command interaction with Apple computer
CN205281167U (en) Control circuit based on use in wisdom city
CN204759462U (en) Bluetooth IC -card management system who possesses safe start control circuit

Legal Events

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