CN101149859A - Tax controlled cashier serial time division multiplexing extension method - Google Patents
Tax controlled cashier serial time division multiplexing extension method Download PDFInfo
- Publication number
- CN101149859A CN101149859A CNA2007101134889A CN200710113488A CN101149859A CN 101149859 A CN101149859 A CN 101149859A CN A2007101134889 A CNA2007101134889 A CN A2007101134889A CN 200710113488 A CN200710113488 A CN 200710113488A CN 101149859 A CN101149859 A CN 101149859A
- Authority
- CN
- China
- Prior art keywords
- serial
- processor
- tax
- data
- time division
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 abstract description 2
- 241001269238 Data Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to a series-interface time-division multiplexing expansion method for a tax-controlled cashier, which includes: access the receiving-transmitting signal of the series interface on a processor onto the CPLD chip to lead out multiple series-interface receiving-transmitting signals to be connected with different series-interface apparatuses. Under program control, the series interface of a processor can exchange data with different peripheral apparatuses. Advantage: one series-interface can be expanded into multiple series interfaces.
Description
1, technical field
The present invention relates to the finance tax-controlling cashing machine serial ports and increase the expansion technical field, specifically a kind of tax controlled cashier serial time division multiplexing extension method that solves the lazy weight of existing tax controlled cashier serial passage.
2, background technology
The processor serial port passage number of the tax-control cash register of prior art is limited, at most can be above 4.For satisfying the function needs of high-grade tax-control cash register and finance tax-controlling cashing machine, we need connect some external units on cashing machine, concerning finance tax-controlling cashing machine, if realize the words of more full function, at least need to support simultaneously following four kinds of serial equipments: bar code scan rifle, thermal printer, code keypad, PDA also need to stay a serial ports to be used for communicating by letter with PC in addition.In this case, the quantity of the serial ports passage of the tax-control cash register of prior art does not just satisfy the demand that increases serial equipment.
3, summary of the invention
Tax controlled cashier serial time division multiplexing extension method of the present invention, be that the reception and the transmission signal of serial ports on the processor are received on the CPLD chip, draw a plurality of serial ports by the CPLD chip and receive and send signal, to connect different serial equipments, under the control of program, the serial ports of processor can with different peripheral hardware swap datas.
The serial time division multiplexing step is as follows:
1) in the CPLD program, for each group serial equipment distributes an independently address;
2) in the CPLD program, when satisfy the address, then the signal of from processor and the signal of the serial equipment of correspondence are coupled together;
3) in system initialization, the processor of tax-control cash register is in the state of monitoring serial data always, has only when a certain serial equipment sends data, and the serial ports of tax-control cash register processor is connected the data that receive its transmission with this serial equipment immediately;
4) when processor will be when a certain serial equipment sends data, the address of reference string jaws equipment at first, and then send data, after data sent and finish, the serial ports of tax-control cash register processor recovered to monitor the state of serial data.
The invention has the beneficial effects as follows: by improving and optimizing a serial ports passage is expanded to a plurality of passages, solved the problem of the lazy weight of serial ports passage.Satisfied the demand of the plug-in a plurality of serial equipments of serial ports of tax-control cash register well.
4, description of drawings
Accompanying drawing 1 is a processor serial port time division multiplex structural representation.
5, embodiment
As shown in Figure 1, tax controlled cashier serial time division multiplexing extension method of the present invention, it is the characteristic of utilizing serial equipment, the serial ports of processor is connected with the CPLD chip, each CPLD chip is drawn 2 serial ports again and is connected different serial equipments, under the control of program, realize the time division multiplex of processor serial port, the serial time division multiplexing step is as follows:
1) in the CPLD program, for each group serial equipment distributes an independently address;
2) in the CPLD program, when satisfy the address, then the signal of from processor and the signal of the serial equipment of correspondence are coupled together;
3) in system initialization, the processor of tax-control cash register is in the state of monitoring serial data always, has only when a certain serial equipment sends data, and the serial ports of tax-control cash register processor is connected the data that receive its transmission with this serial equipment immediately;
4) when processor will be when a certain serial equipment sends data, the address of reference string jaws equipment at first, and then send data, after data sent and finish, the serial ports of tax-control cash register processor recovered to monitor the state of serial data.
Use method of the present invention, when carrying out the serial data transmission, a serial ports passage can satisfy the needs of a plurality of serial equipments.
Claims (1)
1. tax controlled cashier serial time division multiplexing extension method, it is characterized in that utilizing the characteristic of serial equipment, the serial ports of processor is connected with the CPLD chip, each CPLD chip is drawn 2 serial ports again and is connected different serial equipments, under the control of program, realize the time division multiplex of processor serial port, the serial time division multiplexing step is as follows:
(1) in the CPLD program, for each group serial equipment distributes an independently address;
(2) in the CPLD program, when satisfy the address, then the signal of from processor and the signal of the serial equipment of correspondence are coupled together;
(3) in system initialization, the processor of tax-control cash register is in the state of monitoring serial data always, has only when a certain serial equipment sends data, and the serial ports of tax-control cash register processor is connected the data that receive its transmission with this serial equipment immediately;
(4) when processor will be when a certain serial equipment sends data, the address of reference string jaws equipment at first, and then send data, after data sent and finish, the serial ports of tax-control cash register processor recovered to monitor the state of serial data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101134889A CN101149859A (en) | 2007-11-05 | 2007-11-05 | Tax controlled cashier serial time division multiplexing extension method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007101134889A CN101149859A (en) | 2007-11-05 | 2007-11-05 | Tax controlled cashier serial time division multiplexing extension method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101149859A true CN101149859A (en) | 2008-03-26 |
Family
ID=39250366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007101134889A Pending CN101149859A (en) | 2007-11-05 | 2007-11-05 | Tax controlled cashier serial time division multiplexing extension method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101149859A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436432A (en) * | 2011-09-15 | 2012-05-02 | 中兴通讯股份有限公司 | Read-write method and system for embedded type microprocessor |
CN103595624A (en) * | 2012-08-14 | 2014-02-19 | 成都思迈科技发展有限责任公司 | A modularized channelized Ethernet gateway |
CN103903365A (en) * | 2012-12-27 | 2014-07-02 | 航天信息股份有限公司 | Embedded network invoice issuing system |
CN106843462A (en) * | 2016-12-16 | 2017-06-13 | 贵州中小乾信金融信息服务有限公司 | Finance device information acquisition system based on handheld terminal |
-
2007
- 2007-11-05 CN CNA2007101134889A patent/CN101149859A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436432A (en) * | 2011-09-15 | 2012-05-02 | 中兴通讯股份有限公司 | Read-write method and system for embedded type microprocessor |
CN103595624A (en) * | 2012-08-14 | 2014-02-19 | 成都思迈科技发展有限责任公司 | A modularized channelized Ethernet gateway |
CN103903365A (en) * | 2012-12-27 | 2014-07-02 | 航天信息股份有限公司 | Embedded network invoice issuing system |
CN106843462A (en) * | 2016-12-16 | 2017-06-13 | 贵州中小乾信金融信息服务有限公司 | Finance device information acquisition system based on handheld terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101198943B (en) | Point-to-point link negotiation method and apparatus | |
CN101149859A (en) | Tax controlled cashier serial time division multiplexing extension method | |
CN102929620B (en) | A kind of Flexible Measurement & Control plateform system and development approach | |
CN101794152B (en) | Embedded controller with LVDS serial interface and control method thereof | |
CN101673209A (en) | Method for updating program of multiple single chip microcomputers | |
CN101040273A (en) | Concurrent transfer of pci express protocol data and sdvo | |
CN110290227A (en) | Dynamic allocation method, system and the storage medium of IC bus address | |
CN102486741A (en) | System and method for sharing serial port | |
CA2514038A1 (en) | Tire-information administration system | |
CN107656886A (en) | A kind of cross clock domain signal processing circuit and its processing method | |
CN109656856A (en) | Multiplex bus and multiplex bus interconnect device and method are realized using FPGA | |
CN102081586A (en) | Multiple I2C (Inter-IC) slot circuit system and method for transmitting I2C signal | |
CN103105895A (en) | Computer system and display cards thereof and method for processing graphs of computer system | |
CN102222056A (en) | Electronic equipment with embedded system | |
CN101652006B (en) | LED driving circuit as well as serial communication system therewith and communication method | |
CN108667706B (en) | Ethernet serial server with dynamically adjustable serial number and data transmission method thereof | |
CN202600682U (en) | PXIe slot1 controller | |
WO2011025123A1 (en) | Embedded main board of automated teller machine | |
CN101221489A (en) | Keyboard-video-mouse switch system and switching method thereof | |
CN102214155A (en) | Serial server | |
CN102654847A (en) | PXIe zero-slot controller | |
CN102541788A (en) | APB (advanced peripheral bus) bridge and method for executing reading or writing by using APB bridge | |
CN216083478U (en) | PLC remote control system based on EtherCAT communication | |
CN202231736U (en) | Ethernet switch | |
CN1191529C (en) | General asynchronous serial port controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20080326 |