WO2014059904A1 - 一种复用usb接口传输数据的系统 - Google Patents
一种复用usb接口传输数据的系统 Download PDFInfo
- Publication number
- WO2014059904A1 WO2014059904A1 PCT/CN2013/085095 CN2013085095W WO2014059904A1 WO 2014059904 A1 WO2014059904 A1 WO 2014059904A1 CN 2013085095 W CN2013085095 W CN 2013085095W WO 2014059904 A1 WO2014059904 A1 WO 2014059904A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data transmission
- usb interface
- data
- terminal
- serial port
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 418
- 238000004891 communication Methods 0.000 claims description 143
- 230000008054 signal transmission Effects 0.000 claims description 61
- 238000000034 method Methods 0.000 claims description 24
- 238000001514 detection method Methods 0.000 claims description 19
- 238000010586 diagram Methods 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 11
- 238000012546 transfer Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 230000002238 attenuated effect Effects 0.000 description 6
- 239000003990 capacitor Substances 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000009365 direct transmission Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0853—Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/34—User authentication involving the use of external additional devices, e.g. dongles or smart cards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
Definitions
- the present invention relates to the field of electronic technologies, and in particular, to a system for multiplexing data transmitted by a USB interface. Background technique
- Digital signature technology is a network information security technology that ensures that user data is not maliciously modified during network transmission.
- the so-called digital signature technology is a technology for identity authentication that can be used to securely transfer commands and files.
- the digital signature technique processes the user data to be transmitted through a one-way function to obtain an alphanumeric string that authenticates the source of the data and verifies that the data has changed.
- the digital signature uses a hash algorithm such as MD5, SHA-1, etc. to calculate a digest value for the data to be transmitted, and encrypts the digest value and then transmits it using an encryption algorithm.
- digital signatures are more commonly used in public key encryption technologies, such as PKCS (Public Key Cryptography Standards) based on RSA Date Security, Digital Signature Algorithm x.509, and PGP (Pretty Good Privacy). Published by the American Institute of Standards and Technology in 1994.
- PKCS Public Key Cryptography Standards
- PGP Pretty Good Privacy
- DSS Digital Signature Standard
- the perfect digital signature technology should meet the following three conditions: First, the signer cannot refute his signature afterwards; second, no other person can forge the signature; third, if the parties have a dispute over the authenticity of the signature, they can A fair arbitrator confirms the authenticity by verifying the signature.
- Digitally signing data can greatly increase the security of the data.
- hacker technology still makes users very worried, because once a malicious attacker controls the user's computer, they can intercept the data appearing in the computer's memory and cause harm to the legitimate users of the computer. Therefore, a portable and portable electronic signature tool, also known as a USB Key, has been developed.
- This is a small hardware device with a microprocessor that establishes a connection with the host through the data communication interface of the host.
- the processor in the device is generally implemented by a secure design chip, and uses its built-in security mechanism to implement key generation. Key security storage and preset encryption algorithms, and key-related operations are performed entirely within the authentication device, so security is high.
- the existing electronic signature tool with a USB interface can only receive the transaction information transmitted by the terminal through the USB transmission protocol, and after generating the signature data, upload the signature data to the terminal connected thereto through the USB transmission protocol.
- the transmission protocol supported by the terminal is a serial port protocol or an audio transmission protocol, and the data supporting the above protocol is delivered to an existing electronic signature tool with a USB interface, the electronic signature tool cannot process the support other than the USB protocol. Data supported by the protocol.
- the terminal can only use the transmission interface it carries to transmit data that conforms to the transmission protocol supported by the interface.
- an electronic signature tool with a USB interface needs to transmit data with the terminal, and the transmission protocol supported by the electronic signature tool is different from the transmission protocol supported by the terminal, the terminal cannot be implemented due to the limitation of the interface and the transmission protocol supported by the terminal. Data transfer with an electronic signature tool.
- Serial device which only includes the serial port.
- the serial device does not have a USB interface and does not support USB transmission protocol transmission.
- the data makes the serial device unable to transmit data with the electronic signature tool with USB interface, which limits the use of the electronic signature tool.
- the smartphone supports the USB transmission protocol, it can only be used as a USB slave device, and the electronic signature tool with a USB interface is also a USB slave device. Therefore, data cannot be transmitted through the USB transmission protocol. If the smartphone uses the audio transmission protocol to interact with the electronic signature tool with USB interface, the existing electronic signature tool with USB interface does not support the data transmission protocol other than the USB transmission protocol, and cannot pass the USB interface. Data transmission with a smartphone via an audio transmission protocol. Summary of the invention
- the present invention is directed to solving at least one of the above problems.
- the main object of the present invention is to provide a system for multiplexing data transmitted by a USB interface.
- An aspect of the present invention provides a system for multiplexing data transmitted by a USB interface, the system comprising: a terminal, a data transmission line, and an electronic signature tool.
- One end of the data transmission line is a first USB interface connected to the electronic signature tool, and the other end is an interface suitable for connecting the terminal, and the data transmission line directly transmits information sent by the terminal to the electronic signature tool.
- the electronic signature tool includes: a second USB interface, the second USB interface is connected to the first USB interface, and configured to receive information sent by the terminal; the security chip, the security chip and the second The USB interface is connected, detecting the information received by the second USB interface, determining, according to the information, a data transmission protocol type, generating control information according to the data transmission protocol type, and adopting the data transmission protocol a type matching demodulation method, demodulating the received information to obtain demodulated data; a strobe circuit, The strobing circuit is connected to the second USB interface and the security chip, and is configured to receive control information sent by a control end of the security chip, and connect the second USB interface and the The modem side of the data transmission protocol is supported in the security chip.
- the security chip adopts a modulation mode matched with the data transmission protocol type, and modulates the data to be transmitted to obtain information to be sent, and directly sends the information to be sent through the gated circuit and the data transmission line that have been connected. Transfer to the terminal.
- the security chip includes: a signature module, the signature module signs the obtained demodulated data to obtain the to-be-sent data; and the to-be-sent data includes signature data.
- the security chip includes: a detection module and a determination module.
- the detecting module detects the information received by the second USB interface, and obtains a waveform of the information; the determining module determines the type of the data transmission protocol to be used according to the waveform of the information detected by the detecting module, according to The data transmission protocol type outputs control information to the gating circuit through the control terminal; the data transmission protocol type is: a serial communication protocol, an audio transmission protocol, or
- Serial communication protocols include serial half-duplex communication protocols and/or serial full-duplex communication protocols.
- the serial communication protocol may include a serial port half-duplex communication protocol and a serial port full-duplex communication protocol;
- the second USB interface includes a first signal transmission end and a second signal transmission end, where the first signal transmission end is One of the D+ end and the D-end of the second USB interface, the second signal transmission end is the other of the D+ end and the D-end of the second USB interface; Whether one of the first signal transmission end and the second signal transmission end receives the control information to determine the type of the serial communication protocol; if one of the first signal transmission end and the second signal transmission end receives the control information And receiving the data information, determining that the serial communication protocol is a serial port half-duplex communication protocol; if one of the first signal transmission end and the second signal transmission end receives the data information, the other one does not receive the The control information determines that the serial communication protocol is a serial port full duplex communication protocol.
- the serial communication protocol may be a serial port half-duplex communication protocol, and the interface connected to the terminal is a serial port;
- the data transmission line further includes: a connection between the serial port and the first USB interface
- the first serial port includes a data transmitting end, a data receiving end, and a control end
- the first USB interface includes a first data transmitting end and a second data transmitting end
- the first data transmitting end is the first USB One of a D+ end and a D-end of the interface, the second data transmission end being the other of the D+ end and the D-end of the first USB interface
- the first circuit to the data transmitting end and The data receiving end is connected to the first data transmission end;
- the first circuit connects the control end to the second data transmission end.
- the first circuit includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor.
- the anode of the diode is connected to the first data transmission end; the cathode of the diode is connected to the data transmitting end; one end of the first pull-up resistor is connected to a high level, and the other end is connected to the first data transmission end
- One of the second pull-up resistors The terminal is connected to the high level, and the other end is connected to the second data transmission terminal through the current limiting resistor.
- the serial communication protocol may be a serial port full-duplex communication protocol, and the interface that is applicable to the terminal is a serial port; the serial port includes a transmitting end and a receiving end, and the first USB interface includes the first data. a transmitting end and a second data transmitting end, wherein the first data transmitting end is one of a D+ end and a D-end end of the first USB interface, and the second data transmitting end is a D+ of the first USB interface The other one of the terminal and the D-end; the transmitting end is connected to the first data transmitting end; and the receiving end is connected to the second data transmitting end.
- the data transmission line further includes: a connection between the audio interface and the first USB interface
- the audio interface includes a channel output end and a microphone end
- the first USB interface includes a first data transmission end and a second data transmission end
- the first data transmission end is the first USB interface
- the second data transmission end is the other of the D+ end and the D-end of the first USB interface
- the channel output end receives the audio information sent by the terminal Transmitting and transmitting the audio information to the first data transmission end by using the second circuit
- the second data transmission end receiving audio information sent by the electronic signature tool, and using the second circuit
- the audio information is attenuated and sent to the microphone end.
- the gating circuit includes: at least two groups of strobe sub-circuits, each of the strobe sub-circuits includes two controllable switches; and the controlled end of the controllable switch is connected to the control end of the security chip.
- the security chip further includes: a modulation and demodulation module connected to each group of the strobe sub-circuits through the modem end, each of the modem modules supporting a different data transmission protocol.
- Another aspect of the present invention also provides a system for multiplexing data transmitted by a USB interface, the system comprising: a terminal, a data transmission line, and an electronic signature tool.
- One end of the data transmission line is a first USB interface connected to the electronic signature tool, and the other end is an interface suitable for connecting the terminal, and the data transmission line directly transmits information sent by the terminal to the electronic signature tool.
- the electronic signature tool includes: a second USB interface, the second USB interface is connected to the first USB interface, and configured to receive information sent by the terminal; a selecting unit, the selecting unit, and the second USB The interface is connected, detecting the information received by the second USB interface, and determining a type of data transmission protocol to be used according to the information; a modem unit, the modem unit is connected to the selecting unit, and adopting The data transmission protocol type matching demodulation method demodulates the information to obtain demodulated data.
- the modulation and demodulation unit further modulates the data to be transmitted by using a modulation mode matched with the data transmission protocol type, obtains information to be transmitted, and directly transmits the to-be-sent information to the terminal.
- the electronic signature tool further includes: a signature unit, the signature unit signs the obtained demodulated data to obtain the to-be-sent data; and the to-be-sent data includes signature data.
- the selecting unit includes: a detecting module and a determining module. The detecting module detects a waveform of the information; the determining module determines a data transmission protocol type according to the waveform of the information detected by the detecting module; the data transmission protocol type is: serial communication protocol, audio transmission Protocol or USB transfer protocol. Serial communication protocols include serial full-duplex communication protocols and/or serial full-duplex communication protocols.
- the serial communication protocol may include a serial port half-duplex communication protocol and a serial port full-duplex communication protocol;
- the second USB interface includes a first signal transmission end and a second signal transmission end, where the first signal transmission end is One of the D+ end and the D-end of the second USB interface, the second signal transmission end is the other of the D+ end and the D-end of the second USB interface; Whether one of the first signal transmission end and the second signal transmission end receives the control information to determine the type of the serial communication protocol; if one of the first signal transmission end and the second signal transmission end receives the control information And receiving the data information, determining that the serial communication protocol is a serial port half-duplex communication protocol; if one of the first signal transmission end and the second signal transmission end receives the data information, the other one does not receive the The control information determines that the serial communication protocol is a serial port full duplex communication protocol.
- the serial communication protocol may be a serial port half-duplex communication protocol, and the interface connected to the terminal is a serial port;
- the data transmission line further includes: a connection between the serial port and the first USB interface
- the first serial port includes a data transmitting end, a data receiving end, and a control end
- the first USB interface includes a first data transmitting end and a second data transmitting end
- the first data transmitting end is the first USB One of the D+ end and the D-end of the interface, the second data transmission end being the other of the D+ end and the D-end of the first USB interface
- the first circuit is to send the data sending end
- the data receiving end is connected to the first data transmission end;
- the first circuit connects the control end to the second data transmission end.
- the first circuit includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor.
- the anode of the diode is connected to the first data transmission end; the cathode of the diode is connected to the data transmitting end; one end of the first pull-up resistor is connected to a high level, and the other end is connected to the first data transmission end
- One end of the second pull-up resistor is connected to a high level, and the other end is connected to the second data transmission end through the current limiting resistor.
- the serial communication protocol may be a serial port full-duplex communication protocol, and the interface that is applicable to the terminal is a serial port; the serial port includes a transmitting end and a receiving end, and the first USB interface includes the first data. a transmitting end and a second data transmitting end, wherein the first data transmitting end is one of a D+ end and a D-end end of the first USB interface, and the second data transmitting end is a D+ of the first USB interface The other one of the terminal and the D-end; the transmitting end is connected to the first data transmitting end; and the receiving end is connected to the second data transmitting end.
- the interface that is applicable to the terminal is an audio interface
- the data transmission line further includes: a connection between the audio interface and the first USB interface a second circuit
- the audio interface includes a channel output end and a microphone end
- the first USB interface includes a first data transmission end and a second number
- the first data transmission end is one of a D+ end and a D-end end of the first USB interface
- the second data transmission end is a D+ end and a D-end end of the first USB interface.
- the other of the audio output information is received by the terminal, and the audio information is amplified and sent to the first data transmission end by the second circuit; the second data transmission end Receiving audio information sent by the electronic signature tool, and attenuating and transmitting the audio information to the microphone end by the second circuit.
- the modem unit comprises at least two modem modules, each of which supports different data transmission protocols.
- a further aspect of the present invention provides a system for multiplexing data transmitted by a USB interface, the system comprising: a terminal, a data transmission line, and an electronic signature tool; one end of the data transmission line is a USB interface, and the electronic signature tool is connected, Connecting the terminal to one end, and transmitting the information sent by the terminal directly to the electronic signature tool;
- the electronic signature tool comprises: a USB interface, a gating circuit connecting the USB interface, and a connection between the USB interface and the a security chip of the strobe circuit;
- the USB interface receives the information;
- the security chip detects the information received by the USB interface, and determines a data transmission protocol type adopted according to the detected information, according to The data transmission protocol type controls the gating circuit to be turned on, and demodulates the received information by using a demodulation manner matched with the data transmission protocol type to obtain demodulated data;
- the gating circuit receives the control information sent by the control end of the security chip, and turns on the USB according to the control
- the security chip adopts a modulation mode matched with the data transmission protocol type, and modulates the data to be transmitted to obtain information to be sent, and directly sends the information to be sent through the gated circuit and the data transmission line that have been connected. Transfer to the terminal.
- the security chip includes: a signature module; the signature module signs the obtained demodulated data to obtain data to be sent; and the to-be-sent data includes signature data.
- the security chip includes: a detection module and a determination module; the detection module detects information received by the USB interface, and obtains a waveform of the information; and the determination module is configured according to the information detected by the detection module.
- the waveform of the data transmission protocol is determined, and the control information is output to the strobe circuit through the control terminal according to the data transmission protocol type; the data transmission protocol type is: serial communication protocol, audio transmission protocol or USB Transfer Protocol.
- the security chip includes: a detection module and a determination module; the detection module detects information received by the USB interface, and obtains a waveform of the information; and the determination module is configured according to the information detected by the detection module.
- the waveform of the data transmission protocol is determined, and the control information is output to the strobe circuit through the control terminal according to the data transmission protocol type; the data transmission protocol type is: serial port half-duplex communication protocol, audio transmission Agreement Or USB transfer protocol.
- one end of the data transmission line connected to the terminal is a serial port;
- the data transmission line further includes: a first circuit connecting the serial port and the USB interface;
- the serial port includes a data sending end Tx, and a data receiving end Rx And the control end RST three end,
- the USB interface includes a first data transmission end and a second data transmission end;
- the first circuit connects the data sending end Tx and the data receiving end Rx to the first data a transmitting end;
- the first circuit connects the control terminal RST to the second data transmission end;
- the first data transmission end is one of D+ and D- of the USB interface, and the second data transmission end The other of the D+ and D- for the USB interface.
- the first circuit includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor; a cathode of the diode is connected to the first data transmission end; and a cathode of the diode is connected to the data a transmitting end Tx; the first pull-up resistor is connected to a high level at one end, and the other end is connected to the first data transmission end; the second pull-up resistor is connected to a high level at one end, and the other end is connected through a current limiting resistor.
- the second data transmission end includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor; a cathode of the diode is connected to the first data transmission end; and a cathode of the diode is connected to the data a transmitting end Tx; the first pull-up resistor is connected to a high level at one end, and the
- the security chip includes: a detection module and a determination module; the detection module detects information received by the USB interface, and obtains a waveform of the information; and the determination module is configured according to the information detected by the detection module.
- the waveform of the data transmission protocol is determined, and the control information is output to the strobe circuit through the control terminal according to the data transmission protocol type; the data transmission protocol type is: serial port full-duplex communication protocol, audio transmission Protocol or USB transfer protocol.
- one end of the data transmission line connected to the terminal is a serial port;
- the serial port includes a transmitting end Tx and a receiving end Rx, and the USB interface includes a first data transmitting end and a second data transmitting end; Connecting the first data transmission end; the receiving end Rx is connected to the second data transmission end; the first data transmission end is one of D+ and D- of the USB interface, and the second data transmission end is The other of the D+ and D- of the USB interface.
- the serial communication protocol includes: a serial port half-duplex communication protocol and a serial port full-duplex communication protocol;
- the USB interface includes a first signal transmission end and a second signal transmission end; and the determining module is further configured according to the USB interface Whether one of the two signal transmission terminals receives the control information RST to determine the serial communication protocol type; if one of the two signal transmission ends of the USB interface receives the control information RST, and the other receives the data information, Determining that the serial communication protocol is a serial port half-duplex communication protocol, and outputting control information to the strobe circuit through the control terminal; if one of the two signal transmission ends of the USB interface receives the data information, If the other one does not receive the control information RST, it is determined that the serial communication protocol is a serial port full-duplex communication protocol, and the control terminal outputs control information to the strobe circuit; the first data transmission end is a USB interface.
- One of D+ and D-, the second data transmission end is the other of D+ and D-
- the data transmission line when the data transmission protocol is an audio transmission protocol, one end of the data transmission line connected to the terminal is an audio interface; the data transmission line further includes: a first circuit connecting the audio interface and the USB interface ;
- the audio interface includes a channel output end and a microphone end, the USB interface includes a first data transmission end and a second data transmission end; and the channel output end receives audio information sent by the terminal, by using the first
- the circuit amplifies and transmits the audio information to the first data transmission end;
- the second data transmission end receives audio information sent by the electronic signature tool, and the audio information is attenuated and transmitted by the first circuit Up to the microphone end;
- the first data transmission end is one of D+ and D- of the USB interface, and the second data transmission end is the other of D+ and D- of the USB interface.
- the gating circuit includes: at least two groups of strobe sub-circuits, each of the strobe sub-circuits includes two controllable switches; and the controlled end of the controllable switch is connected to the control end of the security chip.
- the security chip further includes: a modem module connected to each of the strobe sub-circuits through the modem end, each of the modem modules supporting different data transmission protocols, the data Transmission protocols include: Serial half-duplex communication protocol, serial full-duplex communication protocol, audio transmission protocol or USB transmission protocol.
- Still another aspect of the present invention provides a system for multiplexing data transmitted by a USB interface, the system comprising: a terminal, a data transmission line, and an electronic signature tool; one end of the data transmission line is a USB interface, and the electronic signature tool is connected.
- the other end is connected to the terminal, and directly transmits information sent by the terminal to the electronic signature tool;
- the electronic signature tool comprises: a USB interface, a selection unit connecting the USB interface, and a modulation connecting the selection unit a demodulation unit;
- the USB interface receives the information;
- the selection unit detects the information received by the USB interface, and determines a type of data transmission protocol to be used according to the detected information;
- the unit demodulates the information by using a demodulation method that matches the type of the data transmission protocol to obtain demodulated data.
- the modulation and demodulation unit further modulates the data to be transmitted by using a modulation mode matched with the data transmission protocol type, obtains information to be transmitted, and directly transmits the to-be-sent information to the terminal.
- the electronic signature tool further includes: a signature unit; the signature unit signs the obtained demodulated data to obtain data to be transmitted; and the to-be-sent data includes signature data.
- the selecting unit includes: a detecting module and a determining module; the detecting module detects a waveform of the information; and the determining module determines, according to a waveform of the information detected by the detecting module, a type of a data transmission protocol to be used;
- the data transmission protocol type is: serial communication protocol, audio transmission protocol or USB transmission protocol.
- the selecting unit includes: a detecting module and a determining module; the detecting module detects a waveform of the information; and the determining module determines, according to a waveform of the information detected by the detecting module, a type of a data transmission protocol to be used;
- the data transmission protocol type is: serial half-duplex communication protocol, audio transmission protocol or USB transmission protocol.
- one end of the data transmission line connected to the terminal is a serial port;
- the data transmission line further includes: a first circuit connecting the serial port and the USB interface;
- the serial port includes a data sending end Tx, and a data receiving end Rx
- the control terminal RST three ends, the USB interface includes a first data transmission end and a second data transmission end;
- the first circuit will a data transmitting end Tx, the data receiving end Rx is connected to the first data transmitting end;
- the first circuit connects the control end RST to the second data transmitting end;
- the first data transmitting end is One of D+ and D- of the USB interface, and the second data transmission end is the other of D+ and D- of the USB interface.
- the first circuit includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor; a cathode of the diode is connected to the first data transmission end; and a cathode of the diode is connected to the data a transmitting end Tx; the first pull-up resistor is connected to a high level at one end, and the other end is connected to the first data transmission end; the second pull-up resistor is connected to a high level at one end, and the other end is connected through a current limiting resistor.
- the second data transmission end includes: a diode, a first pull-up resistor, a second pull-up resistor, and a current limiting resistor; a cathode of the diode is connected to the first data transmission end; and a cathode of the diode is connected to the data a transmitting end Tx; the first pull-up resistor is connected to a high level at one end, and the
- the selecting unit includes: a detecting module and a determining module; the detecting module detects a waveform of the information; and the determining module determines, according to a waveform of the information detected by the detecting module, a type of a data transmission protocol to be used;
- the data transmission protocol type is: serial port full duplex communication protocol, audio transmission protocol or USB transmission protocol.
- one end of the data transmission line connected to the terminal is a serial port;
- the serial port includes a transmitting end Tx and a receiving end Rx, and the USB interface includes a first data transmitting end and a second data transmitting end; Connecting the first data transmission end; the receiving end Rx is connected to the second data transmission end; the first data transmission end is one of D+ and D- of the USB interface, and the second data transmission end is The other of the D+ and D- of the USB interface.
- the serial communication protocol includes: a serial port half-duplex communication protocol and a serial port full-duplex communication protocol; the USB interface includes a first signal transmission end and a second signal transmission end; and the determining module is further configured according to the USB interface Whether one of the two signal transmission terminals receives the control information RST to determine the serial communication protocol type; if one of the two signal transmission ends of the USB interface receives the control information RST, and the other receives the data information, Determining that the serial communication protocol is a serial port half-duplex communication protocol; if one of the two signal transmission ends of the USB interface receives the data information, and the other does not receive the control information RST, the serial port is determined.
- the communication protocol is a serial port full-duplex communication protocol; the first data transmission end is one of D+ and D- of the USB interface, and the second data transmission end is the other of D+ and D- of the USB interface.
- the data transmission line further includes: a first circuit connecting the audio interface and the USB interface
- the audio interface includes a channel output end and a microphone end
- the USB interface includes a first data transmission end and a second data transmission end
- the channel output end receives audio information sent by the terminal, by using the a circuit amplifies and transmits the audio information to the first data transmission end
- the second data transmission end receives audio information sent by the electronic signature tool, and the audio information is attenuated by the first circuit Sending to the microphone end
- the first data transmission end is one of D+ and D- of the USB interface
- the second data transmission end is the other of D+ and D- of the USB interface.
- the modulation and demodulation unit includes at least two modulation and demodulation modules, and each of the modulation and demodulation modules supports different data transmission protocols, where the data transmission protocol includes: serial port half-duplex communication protocol, serial port full duplex letter of agreement, Audio transmission protocol or USB transmission protocol.
- the system for transmitting data by using the multiplexed USB interface provides the information under different transmission protocols through the USB interface through the data transmission line and the USB interface of the multiplexed electronic signature tool. Transmitted to the electronic signature tool, the electronic signature tool determines the type of transmission protocol used by detecting the signals of the D+ and D- terminals of the USB interface, and demodulates the received information by using the transmission protocol to obtain demodulated data.
- the information multiplexing USB interface transmission information under different transmission protocols can be realized without complicated protocol conversion. The use of the system of the present invention not only reduces hardware cost and complexity, simplifies the structure, but is also easy to implement.
- Embodiment 1 is a schematic structural diagram of Embodiment 1 of a system for transmitting data by multiplexing a USB interface according to the present invention
- Embodiment 1 of an electronic signature tool according to the present invention
- Embodiment 1 of a data transmission line according to the present invention is a schematic structural diagram of Embodiment 1 of a data transmission line according to the present invention.
- Embodiment 4 is a schematic structural diagram of Embodiment 2 of a data transmission line according to the present invention.
- Embodiment 3 is a schematic structural diagram of Embodiment 3 of a data transmission line according to the present invention.
- Embodiment 4 of a data transmission line according to the present invention.
- FIG. 7 is a schematic structural diagram of Embodiment 2 of a system for transmitting data by multiplexing a USB interface according to the present invention
- FIG. 8 is a schematic structural diagram of Embodiment 4 of an electronic signature tool according to the present invention. detailed description
- connection In the description of the present invention, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connected, or connected integrally; can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components.
- Connected, or connected integrally can be mechanical or electrical; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of the two components.
- the specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
- FIG. 1 is a schematic structural diagram of Embodiment 1 of a system for transmitting data by multiplexing a USB interface according to the present invention.
- a first embodiment of a system for multiplexing data transmitted by a USB interface according to the present invention will be described as follows:
- the system for transmitting data by the multiplexed USB interface of the present invention comprises: a terminal 22, a data transmission line 21, and an electronic signature tool 20.
- One end of the data transmission line 21 is a USB interface 211 to which the electronic signature tool 20 is connected, and the other end is connected to the terminal 22.
- the data transmission line 21 transmits the information transmitted by the terminal 22 directly to the electronic signature tool 20, and transmits the information transmitted by the electronic signature tool 20 to the terminal 22.
- the data transmission line 21 does not perform the conversion between the different protocols in the process of transmitting the information, but only performs the direct transmission by internally connecting the data lines of the corresponding interface; the end of the data transmission line 21 connected to the terminal 22 can be used with the terminal. 22 interface type matching interface.
- the electronic signature tool 20 includes a USB interface 201, a strobe circuit 202 connecting the USB interface 201, and a security chip 203 connecting the USB interface 201 and the strobe circuit 202.
- the USB interface 201 included in the electronic signature tool 20 is matched with the USB interface 211 included in the data transmission line 21, for example, the D-terminal of the USB interface 201 included in the electronic signature tool 20 is connected to the D-end of the USB interface 211 included in the data transmission line 21.
- the D+ end of the USB interface 201 included in the electronic signature tool 20 is connected to the D+ end of the USB interface 211 included in the data transmission line 21.
- the security chip 203 detects the information received by the USB interface 201, and determines the type of the data transmission protocol to be used according to the detected information. According to the type of the data transmission protocol, the control gating circuit 202 is turned on, and the demodulation is matched with the data transmission protocol type. In the manner, the received information is demodulated to obtain demodulated data.
- the security chip 203 includes a control end for outputting a control signal and a modem end for receiving a signal to be demodulated.
- the gating circuit 202 receives the control information sent by the control end of the security chip 203 (not shown in FIG. 1), and turns on the modem interface supporting the data transmission protocol in the USB interface 201 and the security chip 203 according to the control information (in FIG. 1 Not marked).
- the security chip 203 of the present invention modulates the data to be transmitted to obtain the information to be transmitted by using a modulation mode matching the data transmission protocol type, and passes the gated circuit that has been turned on. 202 and the data transmission line 21, the information to be transmitted is directly transmitted to the terminal 22.
- the data to be sent may be the security chip 20 Data and information obtained by signing the obtained demodulated data; the data to be transmitted includes at least signature data obtained by signing the demodulated data, and may also include other key information, which are not enumerated here.
- the data to be transmitted may also be a request for carrying identity information or identification information generated internally by the electronic signature tool 20.
- FIG. 2 is a schematic structural diagram of Embodiment 1 of an electronic signature tool according to the present invention. Referring now to Figure 2, the first embodiment of the electronic signature tool of the present invention will be described as follows:
- the electronic signature tool 20 multiplexes the USB interface and is capable of demodulating data transmitted under the four transmission protocols received through the USB interface.
- the four transmission protocols are serial half-duplex communication protocol, serial port full-duplex communication protocol, audio transmission protocol and USB transmission protocol.
- the electronic signature tool 20 of the first embodiment includes: a USB interface 201, a strobe circuit 202, and a security chip (not shown in FIG. 2).
- the security chip includes at least: a detection module 2031 and a determination module 2032.
- the USB interface 201 includes The two signal transmission ends, such as the D-end and the D+ terminal in FIG. 2, may refer to one of the D-terminal and the D+ terminal as the first signal transmission end, and the other end as the second signal transmission end.
- the detecting module 2031 detects the information received by the USB interface 201, obtains the waveform of the information, and outputs the waveform of the information to the determining module 2032.
- the detecting module 2031 detects information outputted by the two signal outputs of the USB interface 201.
- the judging module 2032 determines the type of the data transmission protocol to be used according to the waveform of the information detected by the detecting module 2031, and outputs the control information to the gating circuit 202 through the control terminal (not shown in FIG. 2) according to the data transmission protocol type.
- the data transmission protocol type is: a serial communication protocol, an audio transmission protocol, or a USB transmission protocol.
- the control terminal outputs a control signal to the gating circuit 202, for example, output control.
- the signal CTRL4 when the determining module 2032 detects that the information waveform is a square wave, further detects the baud rate of the square wave. If the baud rate is between 9600 bps and 19200 bps, it is determined that the type of data transmission protocol used is a serial communication protocol, The control terminal outputs a control signal to the gating circuit 202, for example, the output control signal CTRL1 or CTRL2; if the baud rate is above 100k bps or outside the range of 9600bps to 19200bps, according to which the data transmission protocol type used is the USB transmission protocol, The control terminal outputs a control signal to the gating circuit 202, for example, the output control signal CTRL3.
- the determining module 2032 determines the serial communication protocol type according to whether one of the two signal transmission ends of the USB interface 201 receives the control information RST. For example, the determining module 2032 determines the USB. One of the two signal transmission ends of the interface 201 receives the control information RST, and the other receives the data information, and determines that the type of the data transmission protocol used is the serial port half-duplex communication protocol, and the control information is output to the selection by the control terminal.
- the circuit 202 is connected to the modem interface (not shown in FIG.
- the determining module 2032 determines the two interfaces of the USB interface 201.
- One of the signal transmission terminals receives the data information, and the other one does not receive the control information RST, and then determines
- the type of data transmission protocol used is a serial port full-duplex communication protocol, and the control terminal outputs control information to the gating circuit 202, for example, the output control signal CTRL2.
- the first modem module 2033 supports a serial half-duplex communication protocol, and demodulates the data information transmitted through the path of the gate circuit 202 to obtain demodulated data, which can be output to the signature module 2037 for signature.
- the first adjustment demodulation module 2033 can also modulate the signature data output by the signature module 2037 to obtain information to be transmitted, and transmit the information to the data transmission line 21 connected to the USB interface 201 through the path of the strobe circuit 202, and then directly transmit to the terminal 22. .
- the second modem module 2034 supports a serial full-duplex communication protocol, and demodulates the data information transmitted through the path of the gate circuit 202 to obtain demodulated data, which can be output to the signature module 2037 for signature.
- the second adjustment demodulation module 2034 can also modulate the signature data output by the signature module 2037 to obtain information to be transmitted, and transmit the information to the data transmission line 21 connected to the USB interface 201 through the path of the strobe circuit 202, and then directly transmit to the terminal 22. .
- the third modem module 2035 supports the USB transmission protocol, demodulates the data information transmitted through the path of the gate circuit 202, and obtains the demodulated data, which can be output to the signature module 2037 for signature.
- the third adjustment demodulation module 2035 can also modulate the signature data output by the signature module 2037, obtain the information to be transmitted, transmit the data to the data transmission line 21 connected to the USB interface 201 through the path of the gating circuit 202, and then directly transmit to the terminal 22. .
- the fourth modem module 2036 supports an audio transmission protocol, demodulates the data information transmitted through the path of the strobe circuit 202, and obtains the demodulated data, which can be output to the signature module 2037 for signature.
- the fourth adjustment demodulation module 2036 can also modulate the signature data output by the signature module 2037 to obtain information to be transmitted, and transmit the information to the data transmission line 21 connected to the USB interface 201 through the path of the gating circuit 202, and then directly transmit to the terminal 22. .
- the signature module 2037 signs the received demodulated data to obtain signature data and outputs it to the corresponding modem module.
- the security chip includes four modem modules corresponding to four transmission protocols.
- the gate circuit 202 correspondingly includes four groups of strobe subcircuits, and any group of strobe subcircuits is connected to a modem module, and any group
- the strobe subcircuit receives the same control information from the control terminal of the determining module 2032.
- any group of strobe subcircuits includes two controllable switches, which are received by the controllable switches of the same group of strobe subcircuits.
- the control information from the interpretation module 2032 is the same.
- the two controllable switches that connect the reception control information CTRL1 of the first modem module 2033 belong to the same group of strobe sub-circuits, and are connected to the second modulation and demodulation module 2034.
- the two controllable switches of the information CTRL2 belong to the same group of strobe sub-circuits, and the two controllable switches connected to the receiving control information CTRL3 of the third modem module 2035 belong to the same group of strobe sub-circuits, and are connected to the fourth modem module.
- the two controllable switches of the receive control information CTRL4 of 2036 belong to the same set of strobe subcircuits.
- the electronic signature tool can process the data of the serial port half-duplex communication protocol, the audio transmission protocol, and the USB transmission protocol by multiplexing the USB interface, specifically, the electronic of the second embodiment.
- the signature tool is different from the electronic signature tool of the first embodiment shown in FIG. 2, and the electronic signature tool of the second embodiment does not include FIG. 2.
- the second modulation and demodulation module 2034 and the gating circuit 202 are connected to the strobe sub-circuit of the second modem module 2034.
- the structure of the other parts is the same as that of the electronic signature tool of the first embodiment shown in FIG. The structure and function of the same part will not be described again.
- the electronic signature tool since the electronic signature tool only supports the serial port half-duplex communication protocol and does not support the serial port full-duplex communication protocol, when determining that the data transmission protocol is a communication protocol, the data transmission protocol can be directly identified as a serial port half-duplex communication protocol.
- the strobe sub-circuit connected to the second modem module 2034 is strobed without determining whether the type of the serial communication protocol is determined by whether one of the two signal transmission terminals receives the control information.
- the electronic signature tool can multiplex the USB interface to process data of the serial port full-duplex communication protocol, the audio transmission protocol, and the USB transmission protocol.
- the electronic of the third embodiment The signature tool is different from the electronic signature tool of the first embodiment shown in FIG. 2, and the electronic signature tool of the third embodiment does not include the first modulation and demodulation module 2033 and the gate circuit 202 of FIG.
- the structure of the singular sub-circuit of the module 2033 is the same as that of the electronic signature tool of the first embodiment shown in FIG. 2, and the structure and function of the same portion will not be described again.
- the electronic signature tool since the electronic signature tool only supports the serial port full-duplex communication protocol and does not support the serial port half-duplex communication protocol, when determining that the data transmission protocol is a communication protocol, the data transmission protocol can be directly identified as a serial port full-duplex communication protocol.
- the strobe sub-circuit connected to the first modem module 2033 is strobed without determining whether the type of the serial communication protocol is determined by whether one of the two signal transmission terminals receives the control information.
- the electronic signature tool can multiplex the USB interface, and any two of the serial port half-duplex communication protocol, the serial port full-duplex communication protocol, the audio transmission protocol, and the USB transmission protocol.
- the data of the transmission protocol is processed.
- the electronic signature tool of each embodiment is different from the electronic signature tool of the first embodiment shown in FIG. 2, and the electronic signature tool of the embodiment includes the USB interface 201 of FIG. 2.
- the connection relationship with the structure of the corresponding portion in FIG. 2 is the same, and the structure and function of the same portion will not be described herein.
- FIG. 3 is a schematic structural diagram of Embodiment 1 of a data transmission line according to the present invention. Referring now to Figure 3, the structure of the data transmission line embodiment 1 of the present invention will be described as follows:
- the data transmission line 21 of the first embodiment is connected to the terminal 22 as a serial port 213, and the data information and control information outputted by the terminal 22 to the serial port 213 conform to the serial port half-duplex communication protocol, that is, the Tx/Rx transmits and receives data information, and is controlled by the Rst transceiver. information.
- the data transmission line 21 of the first embodiment includes: a serial port 213 connecting the terminal 22, a USB interface 211 connecting the electronic signature tool 20, and a first circuit 212 connecting the serial port 213 and the USB interface 211.
- the serial port 213 includes a data transmitting end Tx, a data receiving end Rx and a control end RST.
- the USB interface 211 includes a first data transmitting end and a second data transmitting end.
- the first data transmitting end is a D-end and a D+ end.
- One, the second data transmission end is the other of the D-side and the D+ terminal;
- In 213, Tx and Rx are connected to Tx/Rx of terminal 22, and Rst of serial port 213 is connected to Rst of terminal 22.
- the first circuit 212 connects the data transmitting end Tx and the data receiving end Rx to the first data transmitting end, and connects the control end RST to the second data transmitting end.
- FIG. 4 is a schematic structural diagram of Embodiment 2 of a data transmission line according to the present invention. Referring now to Figure 4, the second embodiment of the data transmission line of the present invention will be described as follows:
- the data transmission line of the second embodiment shows the specific structure of the first circuit 212 in the data transmission line of the first embodiment, that is, the first circuit 212 includes: a diode D, a first pull-up resistor R1, a second pull-up resistor R2, and a current limiting circuit. Resistor R3.
- the connection relationship between the serial port 213 and the terminal 22, and the USB interface 211 and the electronic signature tool 20 is the same as that of the data transmission line of the first embodiment, and details are not described herein again.
- the anode of the diode D is connected to the first data transmission end, and the cathode of the diode D is connected to the data transmitting end Tx of the serial port 213.
- the diode D ensures that the data transmission in the first data transmission end and the data transmitting end Tx in one direction is smooth, and the data transmission in the reverse direction is blocked.
- the first pull-up resistor R1 is connected to a high level Vcc, and the other end is connected to the first data transmission end.
- the second pull-up resistor R2 is connected to the high level Vcc, and the other end is connected to the current limiting resistor R3.
- One end of the current limiting resistor R3 is connected to the Rst of the serial port 213 and one end of the second pull-up resistor R2, and the other end is connected to the second data transmitting end.
- FIG. 5 is a schematic structural diagram of Embodiment 3 of a data transmission line according to the present invention. Referring now to Figure 5, a third embodiment of the data transmission line of the present invention will be described as follows:
- the data transmission line 21 of the third embodiment is connected to the terminal 22 as a serial port 214, and the data information outputted by the terminal 22 to the serial port 214 can be controlled according to the serial port full-duplex communication protocol, that is, the data information can be transmitted through Tx and Rx, or Transfer control information.
- the serial port 214 includes a transmitting end Tx and a receiving end Rx, and the USB interface 211 includes a first data transmitting end and a second data transmitting end.
- the first data transmission end is one of the D+ end and the D-end end of the USB interface 211
- the second data transmission end is the other of the D+ end and the D-end end of the USB interface 211.
- the transmitting end of the serial port 214 is connected to the first data transmitting end, and the receiving end Rx is connected to the second data transmitting end;
- FIG. 6 is a schematic structural diagram of Embodiment 4 of a data transmission line according to the present invention. Referring now to Figure 6, the fourth embodiment of the data transmission line of the present invention will be described as follows:
- the data transmission line 21 of the fourth embodiment is connected to the terminal 22 as an audio interface 216, and the data information and control information outputted by the terminal 22 to the serial port 216 conforms to the audio transmission protocol, that is, the branch transmission terminal connected to the Audio terminal transmits the electronic signature.
- the information of the tool, the branch connected to the MIC-end transmits the information sent by the electronic signature tool to the terminal.
- the data transmission line 21 of the fourth embodiment includes: an audio interface 216, a USB interface 211, and a connection audio interface 216 and USB.
- the audio interface 216 includes a channel output end (Audio) and a microphone end (MIC).
- the USB interface 211 includes a first data transmission end and a second data transmission end.
- the first data transmission end is a D+ end and a D of the USB interface 211.
- One of the terminals, the second data transmission end being the other of the D+ terminal and the D- terminal of the USB interface 211.
- the channel output receives the audio information transmitted by the terminal 22, and the audio information is amplified and transmitted to the first data transmission terminal through the second circuit 215.
- the second data transmission end receives the audio information sent by the electronic signature tool 20, and the audio information is attenuated by the second circuit 215 and sent to the microphone end.
- the second circuit 215 includes a boosting circuit 2151 and a symmetric attenuating circuit 2152.
- the input end of the boosting circuit 2151 is connected to the channel output end, the ground end of the boosting circuit 2151 is connected to the ground end (GND) of the audio interface 216, and the output end of the boosting circuit 2151 is connected to the first data transmitting end of the USB interface 211.
- the booster circuit 2151 can use an existing step-up transformer, amplifier or amplifying circuit, and the internal structure will not be described here.
- the input end of the symmetric attenuation circuit 2152 is connected to the second data transmission end of the USB interface 211, and the output end is respectively connected to the ground end (GND) and the microphone end of the audio interface 216, and the information received by the second data transmission end is divided into two paths. Each signal is symmetrically attenuated, and the attenuated signal is output through two outputs.
- the symmetric attenuation circuit 2152 may employ a circuit including two capacitors and a resistor. One of the two capacitors in the circuit is connected to GND at one end, and one end of the resistor and one end of the other capacitor are connected to the other end, and the other end of the other capacitor is connected to the other end.
- the MIC is connected; the symmetric attenuation circuit 2152 can also adopt other existing circuit structures, and the structure thereof will not be described one by one.
- Both ends of the data transmission line of the present invention may be USB interfaces, and the USB interfaces at the two ends may be the same type of USB interface, or different types of USB interfaces, such as a standard USB interface, a MINI USB interface, a MICRO USB interface, and the like.
- the structure of the data transmission line, which is a USB interface at both ends, will not be described here.
- FIG. 7 is a schematic structural diagram of Embodiment 2 of a system for transmitting data by multiplexing a USB interface according to the present invention.
- a second embodiment of a system for multiplexing data transmitted by a USB interface according to the present invention will be described as follows:
- the system for multiplexing data transmitted by the USB interface of the second embodiment includes: a terminal 32, a data transmission line 31, and an electronic signature tool 30.
- the USB interface 311 is connected to the electronic signature tool 30, and the other end is connected to the terminal 32.
- the data transmission line 311 directly transmits the information transmitted by the terminal 32 to the electronic signature tool 30.
- the data transmission line 31 does not perform the conversion between the different protocols in the process of transmitting the information, but only performs the direct transmission by internally connecting the data lines of the corresponding interface; the end of the data transmission line 31 connected to the terminal 32 can be used with the terminal. 32 interface type matching interface.
- the electronic signature tool 30 includes a USB interface 301, a selection unit 302 connected to the USB interface 301, and a modem unit 303 connected to the selection unit 302.
- the selection unit 302 detects the information received by the USB interface 301, and determines the type of data transmission protocol to be employed based on the detected information.
- the modem unit 303 demodulates the information using a demodulation method that matches the type of the data transmission protocol to obtain demodulated data.
- the modulation and demodulation unit 303 included in the electronic signature tool 30 further modulates the data to be transmitted by using a modulation mode matched with the data transmission protocol type, obtains the information to be transmitted, and transmits the information to be transmitted directly to the data transmission line 31.
- the data to be sent may be a request and other identity information that the electronic signature tool 30 needs to upload, or may be signature data generated by the electronic signature tool 30 according to the demodulated data.
- the electronic signature tool 30 further includes a signature unit 304; the signature unit 304 signs the obtained demodulated data to obtain data to be transmitted.
- FIG. 8 is a schematic structural diagram of Embodiment 4 of an electronic signature tool according to the present invention. Referring now to Figure 8, the structure of the fourth embodiment of the electronic signature tool of the present invention will be described as follows:
- the fourth embodiment shows the specific structure of the selection unit 302 and the modulation and demodulation unit 303 included in the electronic signature tool 30.
- the structure and connection relationship of the other parts are the same as those of the electronic signature tool 30 of the first embodiment, and only the selection unit 302 is used here.
- the configuration of the modem unit 303 will be described, and the description of the same components will not be repeated.
- the selection unit 302 includes: a detection module 3021 and a determination module 3022.
- the detection module 3021 detects the waveform of the information.
- the detecting module 3021 can detect by using the waveform detecting method of the electronic signature tool 20 of the first embodiment to determine whether a square wave, a triangular wave, or the like is transmitted.
- the determining module 3022 determines the type of data transmission protocol to be used based on the waveform of the information detected by the detecting module 3021.
- the data transmission protocol type is: a serial communication protocol, an audio transmission protocol, or a USB transmission protocol.
- the determining module 3022 determines, according to the triangular wave, such as a sine wave or a cosine wave, according to the data transmission protocol type used as the audio transmission protocol, and outputs the information received by the USB interface 301 to the modem module supporting the audio transmission protocol.
- the determining module 3022 detects the baud rate of the square wave.
- the information received by the USB interface 301 is output to the supporting serial port.
- the modulation and demodulation module of the communication protocol; the determining module 3022 detects that the baud rate of the square wave is above 100 k bps or the detected baud rate of the square wave is outside the range of 9600 bps to 19200 bps, according to which the data transmission protocol type used is USB transmission.
- the protocol outputs the information received by the USB interface 301 to a modem module supporting the USB transmission protocol.
- the determining module 3022 determines the serial communication protocol type according to whether one of the two signal transmission ends of the USB interface 301 receives the control information RST. For example, the determining module 3022 determines the USB. One of the two signal transmission ends of the interface 301 receives the control information RST, and the other receives the data information, and determines that the type of the data transmission protocol used is the serial port half-duplex communication protocol, and then connects the USB interface 301. The received information is output to a modem module supporting the serial port half-duplex communication protocol; the determining module 3022 determines that one of the two signal transmission ends of the USB interface 301 receives the data information, and the other does not receive the control information RST.
- the type of the data transmission protocol used is a serial port full-duplex communication protocol
- the information received by the USB interface 301 is output to a modem module supporting the serial port full-duplex communication protocol.
- the determining module 3022 of the fourth embodiment does not use hardware switches or circuits, but uses soft control to implement gating of the modem module.
- the four modulation and demodulation units 303 of the fourth embodiment include a first modem module 3031 and a second modem module 3032.
- the first modem module 3031 supports one of a serial half-duplex communication protocol, a serial full-duplex communication protocol, an audio transmission protocol, and a USB transmission protocol
- the second modem module 3032 supports serial half-duplex communication.
- One of a protocol, a serial full duplex communication protocol, an audio transmission protocol, and a USB transmission protocol, and the first modem module 3031 and the second modem unit 3032 support different data transmission protocols.
- the first modem module 3031 demodulates the received information by using the data transmission protocol supported by the first modem module 3031, and outputs the demodulated data to the signature unit 304.
- the signature data output by the signature unit 304 is modulated and obtained.
- the information is sent and output to the decision module 3022 for transmission.
- the second modem module 3032 demodulates the received information by using the data transmission protocol supported by the second modem module 3032, and outputs the demodulated data to the signature unit 304.
- the signature data output by the signature unit 304 is modulated and obtained.
- the information is sent and output to the decision module 3022 for transmission.
- the electronic signature tool 30 of the fourth embodiment shown in Fig. 8 includes two modem modules for transmitting and receiving and processing information of two data transmission protocols.
- the electronic signature tool 30 of the fifth embodiment includes three modem modules, and includes a third modem module in addition to the first modem module 3031 and the second modem module 3032.
- the first modem module 3031 supports the USB transmission protocol
- the second modem module 3032 supports the audio transmission protocol
- the third modem module supports the serial half-duplex communication protocol.
- the third modem module demodulates the received information by using the serial port half-duplex communication protocol supported by the third modem module, and outputs the demodulated data to the signature unit 304.
- the signature data output by the signature unit 304 is performed. Modulation, the information to be transmitted is obtained and output to the judgment module 3022 for transmission.
- the electronic signature tool 30 of the sixth embodiment includes three modem modules, and includes a fourth modem module in addition to the first modem module 3031 and the second modem module 3032.
- the first modem module 3031 supports the USB transmission protocol
- the second modem module 3032 supports the audio transmission protocol
- the fourth modem module supports the serial full-duplex communication protocol.
- the fourth modem module demodulates the received information by using the serial port full-duplex communication protocol supported by the fourth modem module, and outputs the demodulated data to the signature unit 304.
- the signature data output by the signature unit 304 is performed. Modulation, the information to be transmitted is obtained and output to the judgment module 3022 for transmission.
- the electronic signature tool 30 of the seventh embodiment includes four modem modules, except that the first modem module 3031 is included.
- a fifth modem module and a sixth modem module are further included.
- the first modem module 3031 supports the USB transmission protocol
- the second modem module 3032 supports the audio transmission protocol
- the fifth modem module supports the serial port half-duplex communication protocol
- the sixth modem module supports the serial port full-duplex communication. protocol.
- the fifth modem module demodulates the received information by using the serial port half-duplex communication protocol supported by the fifth modem module, and outputs the demodulated data to the signature unit 304.
- the signature data output by the signature unit 304 is performed.
- the unit 304 modulates the signature data output by the signature unit 304, obtains the information to be transmitted, and outputs the information to the determination module 3022 for transmission.
- the data transmission line 31 of the system for transmitting data by using the multiplexed USB interface of the second embodiment of the present invention may be the data transmission line 21 shown in FIG. 3 to FIG. 6.
- the various embodiments of the data transmission line 31 included in the system for transmitting data by multiplexing the USB interface of the second example are described in detail.
- the information under the different transmission protocols is transmitted to the electronic signature tool via the USB interface D+ and D- using the data transmission line and the USB interface of the multiplexed electronic signature tool, thereby improving the electronic signature tool.
- the circuit is directly connected to the D+ or D- of the USB interface, and the information multiplexing of the USB interface under different transmission protocols can be realized without complicated protocol conversion, thereby reducing hardware cost and complexity, simplifying the structure, and facilitating implementation.
- the electronic signature tool of the present invention can interact with a POS machine including a serial port.
- the electronic signature tool of the present invention can interact with a mobile phone through an audio interface on a mobile phone, thereby improving the versatility of the electronic signature tool.
- portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
- multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
- a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following techniques or combinations thereof known in the art: having logic gates for implementing logic functions on data information Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
- each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated modules, if implemented in the form of software functional modules and sold or used as separate products, may also be stored in a computer readable storage medium.
- the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Power Engineering (AREA)
- Software Systems (AREA)
- Information Transfer Systems (AREA)
- Communication Control (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/434,912 US9369465B2 (en) | 2012-10-15 | 2013-10-12 | System for transmitting data by using USB interface |
EP13846786.5A EP2908249B1 (en) | 2012-10-15 | 2013-10-12 | System for transmitting data by using usb interface |
SG11201502912UA SG11201502912UA (en) | 2012-10-15 | 2013-10-12 | System for multiplexing usb interface transmission data |
JP2015535975A JP5876625B2 (ja) | 2012-10-15 | 2013-10-12 | Usbインターフェースを利用したデータ伝送システム |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210390949.8A CN102929824B (zh) | 2012-10-15 | 2012-10-15 | 一种复用usb接口传输数据的系统 |
CN201210390949.8 | 2012-10-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014059904A1 true WO2014059904A1 (zh) | 2014-04-24 |
Family
ID=47644625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/085095 WO2014059904A1 (zh) | 2012-10-15 | 2013-10-12 | 一种复用usb接口传输数据的系统 |
Country Status (7)
Country | Link |
---|---|
US (1) | US9369465B2 (zh) |
EP (1) | EP2908249B1 (zh) |
JP (1) | JP5876625B2 (zh) |
CN (1) | CN102929824B (zh) |
HK (1) | HK1181893A1 (zh) |
SG (1) | SG11201502912UA (zh) |
WO (1) | WO2014059904A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505349A (zh) * | 2021-07-24 | 2021-10-15 | 山东三未信安信息科技有限公司 | 一种嵌入式uboot下Mini PCI-E密码卡运行方法 |
CN113839808A (zh) * | 2021-08-19 | 2021-12-24 | 中国地质大学(武汉) | 一种具有Console口的机房设备远程运维系统 |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929824B (zh) | 2012-10-15 | 2016-01-06 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的系统 |
CN103927281A (zh) * | 2013-01-15 | 2014-07-16 | 华硕电脑股份有限公司 | 传输接口侦测系统与传输接口侦测方法 |
CN104102871A (zh) * | 2013-04-12 | 2014-10-15 | 北京旋极信息技术股份有限公司 | 电子签名认证扩展设备及信息处理方法 |
CN105867874A (zh) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | 用户设备 |
CN108459981B (zh) * | 2018-03-07 | 2023-12-22 | 深圳市显盈科技股份有限公司 | 多功能信号转换电路和转换器 |
CN108595364A (zh) * | 2018-04-28 | 2018-09-28 | 深圳市华星光电技术有限公司 | 数据传输系统及数据传输方法 |
CN109491933A (zh) * | 2018-11-12 | 2019-03-19 | 安克创新科技股份有限公司 | 一种Micro USB接口电路 |
CN110502381B (zh) * | 2019-08-19 | 2023-09-19 | 惠州Tcl移动通信有限公司 | 移动终端及其串口调试方法、计算机可读介质 |
CN110442541A (zh) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | 终端设备和基于usb接口的数据传输方法 |
CN111147476B (zh) * | 2019-12-23 | 2022-04-29 | 上海乐普云智科技股份有限公司 | 一种数据解析方法 |
CN111614654B (zh) * | 2020-05-18 | 2021-03-19 | 江苏澳云软件技术有限公司 | 云域网数据传输方法、装置、云平台及云平台服务系统 |
CN112306932B (zh) * | 2020-11-27 | 2023-12-01 | 珠海一微半导体股份有限公司 | 一种接口协议复用的方法及芯片 |
CN114171018A (zh) * | 2021-11-08 | 2022-03-11 | 科大讯飞股份有限公司 | 语音传输方法、接收端、用户端和语音传输系统 |
CN114666418B (zh) * | 2022-03-10 | 2024-02-20 | 北京九恒星科技股份有限公司 | 业务系统衔接方法、装置及存储介质 |
CN114741340A (zh) * | 2022-03-17 | 2022-07-12 | 国网河北省电力有限公司超高压分公司 | Usb接口隔离装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201114103Y (zh) * | 2007-08-13 | 2008-09-10 | 北京天地融科技有限公司 | 一种电子签名工具 |
CN201166864Y (zh) * | 2008-01-28 | 2008-12-17 | 李东声 | 一种电子交易监控设备 |
CN102929825A (zh) * | 2012-10-15 | 2013-02-13 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的方法和电子签名工具 |
CN102929824A (zh) * | 2012-10-15 | 2013-02-13 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的系统 |
CN203070278U (zh) * | 2012-10-15 | 2013-07-17 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的电子签名工具 |
CN203070277U (zh) * | 2012-10-15 | 2013-07-17 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的系统 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010047441A1 (en) * | 2000-02-23 | 2001-11-29 | Mark Robertson | Communications system conduit for transferring data |
CN2566354Y (zh) * | 2002-04-18 | 2003-08-13 | 上海华申智能卡应用系统有限公司 | Rs-232与usb兼容的智能装置 |
US7509487B2 (en) * | 2003-09-29 | 2009-03-24 | Gemalto Inc. | Secure networking using a resource-constrained device |
US7213766B2 (en) * | 2003-11-17 | 2007-05-08 | Dpd Patent Trust Ltd | Multi-interface compact personal token apparatus and methods of use |
CN1889419B (zh) * | 2005-06-30 | 2010-05-05 | 联想(北京)有限公司 | 一种实现加密的方法及装置 |
CN100468434C (zh) * | 2006-06-28 | 2009-03-11 | 北京飞天诚信科技有限公司 | 一种实现计算机的开机保护方法及装置 |
US20090049307A1 (en) * | 2007-08-13 | 2009-02-19 | Authennex, Inc. | System and Method for Providing a Multifunction Computer Security USB Token Device |
US20100138572A1 (en) * | 2008-12-02 | 2010-06-03 | Broadcom Corporation | Universal serial bus device with millimeter wave transceiver and system with host device for use therewith |
CN101840387B (zh) * | 2010-04-07 | 2012-05-23 | 北京天地融科技有限公司 | USB Key装置及其利用USB接口实现智能卡通信的方法 |
JP5138743B2 (ja) * | 2010-08-10 | 2013-02-06 | 株式会社バッファロー | 周辺機器 |
JP2012058887A (ja) * | 2010-09-07 | 2012-03-22 | Buffalo Inc | デバイス機器 |
CN102063400B (zh) * | 2011-01-06 | 2013-03-13 | 天地融科技股份有限公司 | 一种通用串行总线设备转接装置 |
CN102201827B (zh) * | 2011-06-15 | 2014-02-19 | 天地融科技股份有限公司 | 一种音频信号接收、转接装置和音频信号传输系统 |
CN102521186B (zh) * | 2011-11-22 | 2015-01-14 | 飞天诚信科技股份有限公司 | 一种USB Key及其与终端进行通信的方法 |
-
2012
- 2012-10-15 CN CN201210390949.8A patent/CN102929824B/zh active Active
-
2013
- 2013-08-07 HK HK13109227.1A patent/HK1181893A1/zh unknown
- 2013-10-12 EP EP13846786.5A patent/EP2908249B1/en not_active Not-in-force
- 2013-10-12 JP JP2015535975A patent/JP5876625B2/ja not_active Expired - Fee Related
- 2013-10-12 US US14/434,912 patent/US9369465B2/en active Active
- 2013-10-12 SG SG11201502912UA patent/SG11201502912UA/en unknown
- 2013-10-12 WO PCT/CN2013/085095 patent/WO2014059904A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201114103Y (zh) * | 2007-08-13 | 2008-09-10 | 北京天地融科技有限公司 | 一种电子签名工具 |
CN201166864Y (zh) * | 2008-01-28 | 2008-12-17 | 李东声 | 一种电子交易监控设备 |
CN102929825A (zh) * | 2012-10-15 | 2013-02-13 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的方法和电子签名工具 |
CN102929824A (zh) * | 2012-10-15 | 2013-02-13 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的系统 |
CN203070278U (zh) * | 2012-10-15 | 2013-07-17 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的电子签名工具 |
CN203070277U (zh) * | 2012-10-15 | 2013-07-17 | 天地融科技股份有限公司 | 一种复用usb接口传输数据的系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2908249A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505349A (zh) * | 2021-07-24 | 2021-10-15 | 山东三未信安信息科技有限公司 | 一种嵌入式uboot下Mini PCI-E密码卡运行方法 |
CN113839808A (zh) * | 2021-08-19 | 2021-12-24 | 中国地质大学(武汉) | 一种具有Console口的机房设备远程运维系统 |
Also Published As
Publication number | Publication date |
---|---|
JP5876625B2 (ja) | 2016-03-02 |
US9369465B2 (en) | 2016-06-14 |
EP2908249A1 (en) | 2015-08-19 |
JP2016500945A (ja) | 2016-01-14 |
EP2908249A4 (en) | 2016-08-31 |
SG11201502912UA (en) | 2015-05-28 |
CN102929824A (zh) | 2013-02-13 |
EP2908249B1 (en) | 2018-08-01 |
HK1181893A1 (zh) | 2013-11-15 |
US20150281226A1 (en) | 2015-10-01 |
CN102929824B (zh) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014059904A1 (zh) | 一种复用usb接口传输数据的系统 | |
US8930702B2 (en) | Strong authentication token with acoustic data input | |
EP2678799B1 (en) | Method and apparatus for encoding and decoding data transmitted to an authentication token | |
KR101538872B1 (ko) | 주변기기 인증 | |
US7178724B2 (en) | Smart card device and method used for transmitting and receiving secure e-mails | |
WO2015058596A1 (zh) | 动态口令生成方法和系统、交易请求的处理方法和系统 | |
CN102006303B (zh) | 用多加密方法提高数据传输安全的方法和终端 | |
WO2007003078A1 (en) | A method for implementing encryption and the device thereof | |
US10733601B1 (en) | Body area network facilitated authentication or payment authorization | |
CN105376059B (zh) | 基于电子钥匙进行应用签名的方法和系统 | |
TW201729562A (zh) | 伺服器、行動終端機、網路實名認證系統及方法 | |
CN102902910B (zh) | 驱动保护方法及系统 | |
WO2015109958A1 (zh) | 一种基于协商密钥的数据处理方法和手机 | |
CN101286871B (zh) | 基于数字证书和安全协议的隔离系统配置方法 | |
CN107223322B (zh) | 签名验证的方法、设备和系统 | |
US20230049592A1 (en) | Security monitoring method and system | |
WO2015027764A1 (zh) | 音频数据的传输方法、智能密钥设备、移动终端以及音频数据的传输系统 | |
TW200849928A (en) | Multi-function peripheral having ID recognition unit and document processing system using the same | |
JP2021069113A (ja) | 通信信号を受信及び送信するためのシステム及び方法 | |
JP2005311531A5 (zh) | ||
CN103501230B (zh) | 数据认证系统和数据认证方法 | |
Asaduzzaman et al. | An auspicious secure processing technique for near field communication systems | |
CN116057523A (zh) | 用于usb c型认证用的软件狗 | |
CN109960921A (zh) | 计算机信息安全系统 | |
CN111523107A (zh) | 用于usb数据交换身份认证的方法、系统及相应计算机设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13846786 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14434912 Country of ref document: US |
|
ENP | Entry into the national phase |
Ref document number: 2015535975 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013846786 Country of ref document: EP |