CN102004619A - Method for transmitting data to printer of USB interface in single direction - Google Patents
Method for transmitting data to printer of USB interface in single direction Download PDFInfo
- Publication number
- CN102004619A CN102004619A CN2010105295877A CN201010529587A CN102004619A CN 102004619 A CN102004619 A CN 102004619A CN 2010105295877 A CN2010105295877 A CN 2010105295877A CN 201010529587 A CN201010529587 A CN 201010529587A CN 102004619 A CN102004619 A CN 102004619A
- Authority
- CN
- China
- Prior art keywords
- printer
- data
- computing machine
- controller
- unidirectional
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention provides a method for transmitting data to a printer of a universal serial bus (USB) interface in single direction. The method is characterized in that: a unidirectional printing data transmission device is connected between a computer and the printer through a data wire; and when the computer transmits the printing data to the printer, the data on the printer cannot be returned to the computer by unidirectional blocking of the unidirectional printing data transmission device, and the computer no matter on an internal network or an external network cannot acquire the data on the printer; therefore, the computers on the internal and external networks can share the printer so as to realize unidirectional transmission printing of the data and achieve good confidentiality effect.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of method of the printer one-way transmission data to USB interface.
Background technology
The printer that uses all has random access memory at present, and under the situation of not outage, the information of random access memory can not be eliminated.If printer not only connects Intranet but also connect outer net, will cause the inside and outside network physical isolated failure.Behind the net state, the Intranet information of storing in the printer random access memory will be exposed in the outer net outside the computing machine that connects printer is switched to by interior net state.So the shared printer of intranet and extranet is forbidden in present measure exactly.The government affairs inner net computer terminal that has has been installed and used isolation card, but ports such as USB do not isolate, and causes its shared printer when intranet and extranet switch.For this reason, present a lot of isolation cards are also carried out upgrading, make printer can only connect Intranet, maybe can only connect outer net, and such improvement can only solve the safeguard protection of printer memory contents, but have sacrificed the convenience of using.In order to overcome the above problems, reaching the intranet and extranet computing machine can a shared printer, can protect the safety of sensitive information in printing again.The printer isolation scheme has been proposed.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, and a kind of method of new-type printer one-way transmission data to USB interface is provided.
Technical scheme of the present invention realizes in the following manner, the unidirectional printing data transmission set that is connected by data line between computing machine and the printer, computing machine with print data when printer transmits, data on the printer can't transfer back on the computing machine through the unidirectional blocking-up of unidirectional printing data transmission set, be all can't obtain data on this printer in Intranet or at the computing machine of outer net, the computing machine of intranet and extranet all can shared this printer of safety like this, realize data sheet to the transfer printing effect, data transmission step is as follows:
The unidirectional printing data transmission set is made up of controller 1 and controller 2, inner net computer or outer net computing machine are linked on this unidirectional printing data transmission set by the USB mouth, under the pattern of unidirectional printing, the print data of computing machine sends in the controller 1 by USB interface, controller 1 sends to controller 2 by a unidirectional light communication element, controller 2 is given printer with data by the USB oral instructions, printer is with the data printout, the data of having only computing machine to transmit to printer, and computing machine can't obtain the data in the printer, thereby has guaranteed the safety of data in the printer;
Before normal the use configuration information of printer is sent in the controller 1 of unidirectional printing data transmission set and by controller 1 these information are preserved, controller 1 will replace the action of enumerating of printer acknowledge computing machine when normal the use:
The function of controller 1 has two:
1) when USB plug is inserted computing machine, will replace printer to finish enumeration process, and computing machine be thought correctly connected printer;
2) print data that computing machine is sent sends controller 2 to by half-duplex channel;
The major function of controller 2 has two:
1) finishes the enumerating of printer apparatus, printer is thought correctly connected computing machine.
2) print data that controller 1 is sent is carried out normal printout by embedded driver driving printer.
Excellent effect of the present invention is:
1) print drive of the most of USB interface of adaptation.
2) according to the feature of printer communication data, sum up printer configuration information, then with these information configuration in the printer one-way isolator, can be suitable for various printers flexibly.
Description of drawings
Fig. 1 is printer one-way transmission data principle schematic;
Fig. 2 print data one-way transmission data interaction figure.
Embodiment
Be described in further detail below in conjunction with the method for accompanying drawing the printer one-way transmission data to USB interface of the present invention.
The method of the printer one-way transmission data to USB interface of the present invention, be that computing machine is sent to print data on the printer, this process is if data owner is transmitted by computer to print machine direction, reciprocal data seldom, and all be control or status data.This transmission course can be sent to data on the printer by the equipment of an one-way transmission, and the data on the printer just can't be passed computing machine back like this, and computing machine is all can't obtain data on the printer in Intranet or at outer net.Shared this printer that the intranet and extranet computing machines just can safety like this.
Its principle is as shown in Figure 1:
Inner net computer or outer net computing machine are linked on this equipment by the USB mouth, under the pattern of unidirectional printing, the print data of computing machine sends in the controller 1 by USB interface, controller 1 sends to controller 2 by a unidirectional light communication element, controller 2 is given printer with data by the USB oral instructions, and printer is with the data printout.This process has guaranteed the data that computing machine transmits to printer, but computing machine can't obtain the data in the printer, thereby has guaranteed the safety of data in the printer.
Before normal the use printer configuration information is sent in the controller 1 of unidirectional printing equipment and by controller 1 these information are preserved, controller 1 will replace the action of enumerating of printer acknowledge computing machine when normal the use.
The major function of controller 1 has two:
1. when USB plug is inserted computing machine, will replace printer to finish enumeration process, and computing machine be thought correctly connected printer.
2. the print data that computing machine is sent sends controller 2 to by half-duplex channel.
The major function of controller 2 has two:
1, finishes the enumerating of printer apparatus, printer is thought correctly connected computing machine.
2. the print data that controller 1 is sent is carried out normal printout by embedded driver driving printer.
In inspire confidence in printer one-way isolator management system, use the data communication mode of USB printer class, the driver of compatible original printer, free drive is moving to be safeguarded.
Light communication element or photo-coupler are the standard communication devices.Controller 1 and controller 2 are general industry control programming device or industry control single-chip microcomputer.
Except that the disclosed technical characterictic of instructions of the present invention, be the known technology of those skilled in the art.
Claims (1)
1. to the method for the printer one-way transmission data of USB interface, it is characterized in that, the unidirectional printing data transmission set that is connected by data line between computing machine and the printer, computing machine with print data when printer transmits, data on the printer can't transfer back on the computing machine through the unidirectional blocking-up of unidirectional printing data transmission set, be all can't obtain data on this printer in Intranet or at the computing machine of outer net, the computing machine of intranet and extranet all can shared this printer of safety like this, and realize the same print data transmission effect of facsimile recorder: data transmission step is as follows:
The unidirectional printing data transmission set is made up of controller 1 and controller 2, inner net computer or outer net computing machine are linked on this unidirectional printing data transmission set by the USB mouth, under the pattern of unidirectional printing, the print data of computing machine sends in the controller 1 by USB interface, controller 1 sends to controller 2 by a unidirectional light communication element, controller 2 is given printer with data by the USB oral instructions, printer is with the data printout, the data of having only computing machine to transmit to printer, and computing machine can't obtain the data in the printer, thereby has guaranteed the safety of data in the printer;
Before normal the use configuration information of printer is sent in the controller 1 of unidirectional printing data transmission set and by controller 1 these information are preserved, controller 1 will replace the action of enumerating of printer acknowledge computing machine when normal the use;
The function of controller 1 has two:
1) when USB plug is inserted computing machine, will replace printer to finish enumeration process, and computing machine be thought correctly connected printer;
2) print data that computing machine is sent sends controller 2 to by half-duplex channel;
The major function of controller 2 has two:
1) finishes the enumerating of printer apparatus, printer is thought correctly connected computing machine.
2) print data that controller 1 is sent is transmitted to printer and carries out normal printout.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105295877A CN102004619B (en) | 2010-11-03 | 2010-11-03 | Method for transmitting data to printer of USB interface in single direction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105295877A CN102004619B (en) | 2010-11-03 | 2010-11-03 | Method for transmitting data to printer of USB interface in single direction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102004619A true CN102004619A (en) | 2011-04-06 |
CN102004619B CN102004619B (en) | 2012-07-25 |
Family
ID=43812004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105295877A Active CN102004619B (en) | 2010-11-03 | 2010-11-03 | Method for transmitting data to printer of USB interface in single direction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102004619B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686005A (en) * | 2017-03-01 | 2017-05-17 | 北京博众益友科技有限公司 | Safety protection system and safety protection method for industrial control system |
CN112055127A (en) * | 2020-09-10 | 2020-12-08 | 珠海奔图电子有限公司 | Image formation control method, terminal device, and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010029531A1 (en) * | 2000-03-10 | 2001-10-11 | Yasutoshi Ohta | Wireless remote printing system and method |
CN1710531A (en) * | 2005-06-14 | 2005-12-21 | 迈普(四川)通信技术有限公司 | Network printing system and method |
CN101572580A (en) * | 2008-04-30 | 2009-11-04 | 桂林光比特科技有限公司 | Computer data unidirectional read-write method and unidirectional read-write device for realizing method |
CN101676858A (en) * | 2008-09-19 | 2010-03-24 | 英业达股份有限公司 | Network print system and transmission method thereof |
CN201435073Y (en) * | 2009-06-25 | 2010-03-31 | 福州星网视易信息系统有限公司 | High-speed balance printing system of KTVs |
-
2010
- 2010-11-03 CN CN2010105295877A patent/CN102004619B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010029531A1 (en) * | 2000-03-10 | 2001-10-11 | Yasutoshi Ohta | Wireless remote printing system and method |
CN1710531A (en) * | 2005-06-14 | 2005-12-21 | 迈普(四川)通信技术有限公司 | Network printing system and method |
CN101572580A (en) * | 2008-04-30 | 2009-11-04 | 桂林光比特科技有限公司 | Computer data unidirectional read-write method and unidirectional read-write device for realizing method |
CN101676858A (en) * | 2008-09-19 | 2010-03-24 | 英业达股份有限公司 | Network print system and transmission method thereof |
CN201435073Y (en) * | 2009-06-25 | 2010-03-31 | 福州星网视易信息系统有限公司 | High-speed balance printing system of KTVs |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686005A (en) * | 2017-03-01 | 2017-05-17 | 北京博众益友科技有限公司 | Safety protection system and safety protection method for industrial control system |
CN112055127A (en) * | 2020-09-10 | 2020-12-08 | 珠海奔图电子有限公司 | Image formation control method, terminal device, and readable storage medium |
CN112055127B (en) * | 2020-09-10 | 2022-03-18 | 珠海奔图电子有限公司 | Image formation control method, terminal device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102004619B (en) | 2012-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101350001B (en) | Data sharing and transfer systems and methods | |
CN100366029C (en) | Communication controller, host-side controller, communication equipment, communication system and method | |
EP2544426B1 (en) | Image forming apparatus communicating with external device through network, network system, method of controlling image forming apparatus, program, and storage medium | |
CN106462528A (en) | Power-saving mode for USB power delivery sourcing device | |
US20170116147A1 (en) | System, device and method for transmitting signals between different communication interfaces | |
CN114564427A (en) | Bus bridge, system and method from AHB bus to I2C bus | |
CN102541791A (en) | Data transferring apparatus and control method thereof | |
CN102355409A (en) | Data one-way transmission system | |
WO2013090589A2 (en) | Serial interface for fpga prototyping | |
CN102004619B (en) | Method for transmitting data to printer of USB interface in single direction | |
CN110794971B (en) | Remote control equipment and system | |
CN201853217U (en) | Device transmitting data to printer with USB (universal serial bus) interface in unidirectional manner | |
EP3975493A1 (en) | Communication method, corresponding system and device | |
CN110766925B (en) | Circuit and system for one-way remote transmission of keyboard and mouse signals | |
CN106354448A (en) | Bluetooth wireless printing terminal, system and method based on Raspberry Pi | |
CN104361277A (en) | Identity authentication module and method for USB interface equipment | |
US9037629B2 (en) | Remote access system, electronic apparatus and method of processing remote access | |
KR102345720B1 (en) | Sata host bus adaptor using light signal and method for connecting sata storage using the same | |
KR102052866B1 (en) | System, Apparatus and Method for Packet Trasmission and Receiption | |
CN102868583A (en) | FlexRay bus joint with fault diagnosis function | |
CN109144937B (en) | High-reliability transmission method for multi-path serial port | |
WO2002009405A2 (en) | Universal serial bus datapump command interpreter | |
CN116383116A (en) | Communication method and device based on SPI bus | |
TWI405086B (en) | Usb interface apparatus with security control and management function | |
CN106709379A (en) | PCIe network bridge conversion apparatus and method |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 orsus No. 1166 building 15-16 Patentee after: Shandong Zhongfu Information Industry Co., Ltd. Address before: 250101 Shandong city of Ji'nan province high tech Zone Shun Road No. 2000 Shun Tai Plaza No. 9 Building 8 layer Patentee before: Shandong Zhongfu Information Industry Co., Ltd. |