CN103049412A - Asynchronous device with protection signal transmission function - Google Patents
Asynchronous device with protection signal transmission function Download PDFInfo
- Publication number
- CN103049412A CN103049412A CN2012102642418A CN201210264241A CN103049412A CN 103049412 A CN103049412 A CN 103049412A CN 2012102642418 A CN2012102642418 A CN 2012102642418A CN 201210264241 A CN201210264241 A CN 201210264241A CN 103049412 A CN103049412 A CN 103049412A
- Authority
- CN
- China
- Prior art keywords
- communication
- asynchronous
- interrupt pin
- card reader
- signal transmission
- 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
- 230000008054 signal transmission Effects 0.000 title abstract 3
- 238000004891 communication Methods 0.000 abstract description 33
- 230000000977 initiatory effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000019491 signal transduction Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses an asynchronous device with a protection signal transmission function. The asynchronous device with the protection signal transmission function comprises a positioning device and a reading and writing card device connected with the positioning device, an interrupt pin is arranged between the positioning device and the reading and writing card device, and a control device is arranged on the interrupt pin. The asynchronous device is simple in operating principle. After the interrupt pin is designed, states of another system can be confirmed firstly before one system initiates communication requirements, communication can start after the system is in an idle communication state, communication conflict is avoided, smooth communication is guaranteed, and double insurance is achieved through the control device.
Description
Technical field
The present invention relates to a kind of asynchronous device, especially relate to a kind of asynchronous device with guard signal propagation function, belong to the communications field.
Background technology
UART is a kind of general serial data bus, is used for asynchronous communication.This bus two-way communication can realize full duplex transmission and reception.In embedded design, UART is used for communicating with PC, comprises and monitoring debugger and other device, communicates by letter such as EEPROM.Asynchronous communication is a kind of communication mode that is in daily use.With respect to synchronous communication, asynchronous communication is when sending character, time slot between the character that sends can be arbitrarily, certainly, receiving end must be carried out the preparation of reception constantly (if the power supply of receiving end main frame does not all add, it is just nonsensical that transmitting terminal sends character so, because receiving end can't receive at all).Transmitting terminal can begin to send character at any time, therefore must add sign in the beginning of each character and the place of end, namely adds start bit and position of rest, in order to receiving end can correctly be got off each receive character.Asynchronous communication transfer efficiency in leisurely and carefree channel is high, and shortcoming is that equipment is complicated, channel utilization lower (because the expense proportion of start bit and position of rest is larger), but along with the development of optical-fiber network, these have not been root problem.
Asynchronous communication also can be as sending unit with frame.Receiving end must be carried out the preparation of received frame at any time.At this moment, the stem of frame must be provided with some special bit combinations, so that receiving end can be found out the beginning of a frame.This is also referred to as frame and delimits.Frame is delimited and is also comprised the end position of determining frame.This has two kinds of methods.A kind of is that afterbody at frame is provided with the end that certain special bit combination is come marker frames.Perhaps in the frame stem, be provided with the field of frame length.It should be noted that, when the asynchronous transmission frame, be not to send again after transmitting terminal must add start bit and position of rest to each character in the frame, but say, transmitting terminal can send a frame at any time, and the time interval between frame and the frame also can be arbitrarily.All bits in a frame are to send continuously.Transmitting terminal need to not coordinated (not needing to carry out first bit synchronous) with receiving end before sending a frame.UART is used for the communication between the dual system, two at any time all initiatively initiating communication requirements of system, and the conflict when causing easily initiating communication simultaneously is under the limiting case even can cause two systems all by deadlock.
Summary of the invention
The object of the invention is to overcome the shortcoming and defect of above-mentioned prior art; a kind of asynchronous device with guard signal propagation function is provided; this asynchronous device principle of work is simple, designs after the interrupt pin, before system's initiating communication requires; another system state is confirmed first in the capital; confirm that the other side is in after the idle communicable state, communication just can begin, and has avoided communication contention aware; guarantee the unimpeded of communication, realized double-layer safety by control device.
Purpose of the present invention is achieved through the following technical solutions: the asynchronous device with guard signal propagation function; comprise locating device and the card reader device that is connected with locating device; be provided with interrupt pin between described locating device and the card reader device, be provided with control device on the described interrupt pin.
Described interrupt pin is connected with card reader device with locating device respectively.
Be provided with simultaneously sender unit one and signal receiver one on the described locating device.
Be provided with simultaneously sender unit two and signal receiver two on the described card reader device.
Described sender unit one is connected with signal receiver two, and described signal receiver one is connected with sender unit two.
In sum, the invention has the beneficial effects as follows: this asynchronous device principle of work is simple, design after the interrupt pin, before system's initiating communication requires, all can confirm first another system state, confirm that the other side is in after the idle communicable state, communication just can begin, avoid communication contention aware, guaranteed the unimpeded of communication, realized double-layer safety by control device.
Description of drawings
Fig. 1 is schematic diagram frame diagram of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited only to this.
Embodiment:
As shown in Figure 1, have the asynchronous device of guard signal propagation function, comprise locating device and the card reader device that is connected with locating device, be provided with interrupt pin between described locating device and the card reader device, be provided with control device on the described interrupt pin.Control device is avoided realizing the effect of parking brake because the conflict of signal transduction process impacts interrupt pin to the effect of interrupt pin realization one deck discharge cock.Positioning system is installed in the locating device, read-write card operating system is installed in the card reader device, a system can initiate a communication request by interrupt pin before another one system initiating communication, another system just can begin UART communication after confirming this request.
Described interrupt pin is connected with card reader device with locating device respectively.Interrupt pin as the connectedness between locating device and the card reader device, play a part the supervision and the insurance, avoid the element at two ends to send simultaneously signal, cause the conflict of communication.
Be provided with simultaneously sender unit one and signal receiver one on the described locating device.Be provided with simultaneously sender unit two and signal receiver two on the described card reader device.
Described sender unit one is connected with signal receiver two, and described signal receiver one is connected with sender unit two.The signal of launching on the locating device is by signal receiver two receptions on the card reader device, the signal that card reader device sends signal receiver one reception on the device that is positioned.Adopt minute other signal projector and a signal receiver, signal conflict can not occur, cause communication to be obstructed.
Adopt the present invention, avoided communication contention aware, guaranteed that two system states are normal, guaranteed communication 100% success.
UART is a kind of general serial data bus, is used for asynchronous communication.
Take aforesaid way, just can realize preferably the present invention.
Claims (4)
1. the asynchronous device that has the guard signal propagation function; it is characterized in that: comprise locating device and the card reader device that is connected with locating device; be provided with interrupt pin between described locating device and the card reader device, be provided with control device on the described interrupt pin.
2. the asynchronous device with guard signal propagation function as claimed in claim 1 is characterized in that: be provided with simultaneously sender unit one and signal receiver one on the described locating device; Be provided with simultaneously sender unit two and signal receiver two on the described card reader device.
3. the asynchronous device with guard signal propagation function as claimed in claim 2, it is characterized in that: described sender unit one is connected with signal receiver two, and described signal receiver one is connected with sender unit two.
4. the asynchronous device with guard signal propagation function as claimed in claim 1, it is characterized in that: described interrupt pin is connected with card reader device with locating device respectively.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012102642418A CN103049412A (en) | 2011-10-15 | 2012-07-30 | Asynchronous device with protection signal transmission function |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110311910 | 2011-10-15 | ||
| CN201110311910.8 | 2011-10-15 | ||
| CN2012102642418A CN103049412A (en) | 2011-10-15 | 2012-07-30 | Asynchronous device with protection signal transmission function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103049412A true CN103049412A (en) | 2013-04-17 |
Family
ID=48062057
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2012102642418A Pending CN103049412A (en) | 2011-10-15 | 2012-07-30 | Asynchronous device with protection signal transmission function |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103049412A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050010925A1 (en) * | 2003-07-10 | 2005-01-13 | Charbel Khawand | Interprocessor communication protocol with smart streaming port |
| CN1573723A (en) * | 2003-05-15 | 2005-02-02 | 三星电子株式会社 | Method and apparatus for communication via serial multi-port |
| CN101520763A (en) * | 2009-04-16 | 2009-09-02 | 成都市华为赛门铁克科技有限公司 | Method for switching serial ports and sharing device of serial ports |
| CN101576867A (en) * | 2009-06-17 | 2009-11-11 | 北京星网锐捷网络技术有限公司 | Extended universal asynchronous serial interface method, device and system |
| CN202662005U (en) * | 2012-07-30 | 2013-01-09 | 成都锐奕信息技术有限公司 | Asynchronous device with protection signal transmitting function |
-
2012
- 2012-07-30 CN CN2012102642418A patent/CN103049412A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1573723A (en) * | 2003-05-15 | 2005-02-02 | 三星电子株式会社 | Method and apparatus for communication via serial multi-port |
| US20050010925A1 (en) * | 2003-07-10 | 2005-01-13 | Charbel Khawand | Interprocessor communication protocol with smart streaming port |
| CN101520763A (en) * | 2009-04-16 | 2009-09-02 | 成都市华为赛门铁克科技有限公司 | Method for switching serial ports and sharing device of serial ports |
| CN101576867A (en) * | 2009-06-17 | 2009-11-11 | 北京星网锐捷网络技术有限公司 | Extended universal asynchronous serial interface method, device and system |
| CN202662005U (en) * | 2012-07-30 | 2013-01-09 | 成都锐奕信息技术有限公司 | Asynchronous device with protection signal transmitting function |
Non-Patent Citations (1)
| Title |
|---|
| 麻桃花: "MCS51单片机双机并行通信的实现", 《内蒙古科技与经济》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN202435400U (en) | Equipment for managing information exchange | |
| US9661448B2 (en) | Method for managing information communication between a NFC controller and a secure element within an apparatus, and corresponding apparatus and NFC controller | |
| EP2453713B1 (en) | Communication terminal and communication control method | |
| WO2014056248A1 (en) | Lpc2468-based mvb-wtb gateway and working method thereof | |
| WO2011084251A3 (en) | Short headway communications based train control system | |
| CN101908157B (en) | NFC-SIM (Near Field Communication-Subscriber Identity Module) chip | |
| CN109313623A (en) | Switch the method and device of serial data transmission state | |
| CN205302255U (en) | Bluetooth printer and bluetooth print system | |
| CN103034604A (en) | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof | |
| CN102929830A (en) | Software simulation rapid communication protocol | |
| CN202662005U (en) | Asynchronous device with protection signal transmitting function | |
| CN102958142B (en) | Method and system for starting sleep and wakeup modes | |
| CN103049412A (en) | Asynchronous device with protection signal transmission function | |
| CN202217269U (en) | Asynchronous device capable of ensuring smooth signal transmission | |
| CN101626320A (en) | Method and device for detecting loopback of channel | |
| EP2916523B1 (en) | Data stream and data packet transmission method and device | |
| CN102592105A (en) | Low power consumption design method based on close-range wireless communication | |
| CN114490474B (en) | A system for implementing multi-channel UART interface expansion through CPLD | |
| CN202306540U (en) | Asynchronous device controlled by using switch | |
| US20140068130A1 (en) | Information processing apparatus and controlling method | |
| CN105988541A (en) | Communication resetting method and system for electric energy metering chip | |
| CN110896349B (en) | Secret key safety device | |
| CN103731888A (en) | Wireless communication method, device and system | |
| CN103092789A (en) | Asynchronous device controlled by switch | |
| CN202218273U (en) | Data forwarding device of GPS (Global Position System) receiver |
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 |
Application publication date: 20130417 |