CN111324565A - Multi-path USB interface switching system and method - Google Patents

Multi-path USB interface switching system and method Download PDF

Info

Publication number
CN111324565A
CN111324565A CN202010196392.9A CN202010196392A CN111324565A CN 111324565 A CN111324565 A CN 111324565A CN 202010196392 A CN202010196392 A CN 202010196392A CN 111324565 A CN111324565 A CN 111324565A
Authority
CN
China
Prior art keywords
usb
control unit
switching
usb input
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010196392.9A
Other languages
Chinese (zh)
Inventor
蔡仲仕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Source Cheng Technology Co ltd
Original Assignee
Shenzhen Source Cheng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Source Cheng Technology Co ltd filed Critical Shenzhen Source Cheng Technology Co ltd
Priority to CN202010196392.9A priority Critical patent/CN111324565A/en
Publication of CN111324565A publication Critical patent/CN111324565A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3812USB port controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to a multi-path USB interface switching system and a multi-path USB interface switching method, which belong to the technical field of electronic signal transmission processing, and comprise a USB switching module and a plurality of USB input interfaces arranged at the input end of the USB switching module, wherein the plurality of USB input interfaces are all used for connecting USB input equipment, the USB switching module is also provided with an output interface connected with a vehicle-mounted navigation host, the USB switching module comprises a plurality of paths of switching circuits used for detecting and identifying different USB equipment, and the plurality of switching circuits are arranged in one-to-one correspondence with the USB input equipment. The invention switches and controls a plurality of different USB input devices by setting the USB switching mode, thereby avoiding the problem of mutual influence among different USB input devices.

Description

Multi-path USB interface switching system and method
Technical Field
The invention relates to the technical field of electronic signal transmission processing, in particular to a multi-channel USB interface switching system and a multi-channel USB interface switching method.
Background
With the continuous development of the automobile industry, users not only put higher requirements on the safety quality of vehicles, but also put more demands on soft loading in the vehicles. The vehicle navigation not only needs to accurately tell the driver the shortest or optimal path to the destination, but also increases more functional requirements, such as music playing and switching, voice control and even man-machine voice interaction and other functions.
Along with the increasing of vehicle navigation functions and the connection of input equipment required by the original functions of vehicle navigation, a vehicle-mounted host of the vehicle navigation needs multiple USB interfaces to connect corresponding input equipment, when multiple USB equipment is accessed, the mutual interference among the USB equipment can be caused generally, thereby the normal communication of the USB is influenced, and the realization and the use of partial functions can not be good.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
The invention aims to provide a multi-path USB interface switching system and a multi-path USB interface switching method, which are used for switching and controlling a plurality of different USB input devices by setting a USB switching mode, so that the problem of mutual influence among the different USB input devices is avoided.
The above object of the present invention is achieved by the following technical solutions:
the utility model provides a multichannel USB interface switching system, includes USB switching module and sets up in a plurality of USB input interface of USB switching module input, and is a plurality of USB input interface all is used for connecting USB input device, USB switching module still is equipped with an output interface who is connected with the on-vehicle navigation host computer, USB switching module includes that the multichannel is used for different USB equipment to detect and the switching circuit of discernment, and is a plurality of switching circuit sets up with USB input device one-to-one.
Through adopting above-mentioned technical scheme, through setting up a plurality of USB input interfaces on USB switches the module and be used for connecting a plurality of different USB input devices, be connected USB input device and vehicle navigation host computer through setting up the output, make both realize data transfer, be equipped with multichannel switching circuit in the USB switches the module, switch control through the switching circuit to the circuit connection between different USB input devices and the vehicle navigation, when avoiding a plurality of different USB input devices to insert, cause the mutual interference between the USB input device, guarantee vehicle navigation function's realization and use.
The invention is further configured to: the switching circuit comprises a control unit, an AD detection branch and a switching branch controlled by the control unit, wherein the input end of the AD detection branch is coupled with the output end of the USB input interface, and the control unit receives and processes a detection signal of the AD detection branch.
By adopting the technical scheme, the voltage value of the USB input equipment is acquired by arranging the AD detection circuit, so that the control unit judges whether the corresponding USB input equipment needs to transmit data to the vehicle-mounted navigation host according to the acquired voltage data, and controls whether the switching circuit is switched on according to the judgment result.
The invention is further configured to: the USB switching module further comprises a master control unit, the master control unit is coupled with the control unit and receives and controls the control unit to output control signals, the master control unit is preset with a priority, and when the master control unit detects input signals of multiple paths of control units, the master control unit is switched to the corresponding USB input equipment according to the priority.
By adopting the technical scheme, through setting up the total control unit, when different USB input devices input data to the vehicle navigation host computer simultaneously, select the USB input device through the total control unit, guarantee that the data can not be serial, reduce the influence each other between the different USB input devices simultaneously to realize the circuit switching between the different USB input devices.
The invention is further configured to: the USB input interface supports USB type A, USB type B and USBTypeC.
By adopting the technical scheme, the USB input interface supports various USB interface standards, and the access limit of the USB input interface to the USB input equipment is reduced.
The invention is further configured to: the control unit adopts an 8-bit MCU controller.
By adopting the technical scheme, the control unit adopts the 8-bit MCU controller to reduce the production cost while meeting the basic use requirements of users.
The invention is further configured to: the master control unit adopts a 16-bit or 2-bit MCU controller.
By adopting the technical scheme, the master control unit adopts the MUC controller to conveniently adjust under the application occasions with different requirements.
The invention is further configured to: the switching module is connected with the vehicle-mounted navigation main body through a parallel bus.
By adopting the technical scheme, the switching module is connected with the vehicle-mounted navigation host computer by arranging the parallel bus, so that better data interaction between the vehicle-mounted navigation host computer and the USB input equipment is ensured.
The second aim of the invention is realized by the following technical scheme:
a multi-path USB interface switching method is applied to a multi-path USB interface switching system comprising at least two USB input interfaces, and comprises the following steps:
step S101, presetting a priority level, presetting the priority level of a master control unit through software, and controlling the conduction of a USB switching module connected with corresponding USB input equipment by the master control unit according to the preset priority level when the USB input interface is accessed to a plurality of different USB input equipment;
step S102, identification and detection are carried out, when the USB input equipment needs to carry out data interaction with the vehicle-mounted navigation host, the AD detection branch circuit detects the voltage change of the output end of the corresponding USB input equipment and converts the voltage collected by the AD detection branch circuit into a digital signal to be sent to the control unit, and the control unit receives and processes the input detection signal and outputs a detection result signal to the master control unit;
and S103, switching, wherein when the master control unit receives a plurality of detection result signals, the master control unit outputs control signals to the control unit corresponding to the USB input device with the highest priority according to the preset priority level, and the control unit receives the control signals and controls the switching branch circuits to be switched on.
In conclusion, the beneficial technical effects of the invention are as follows: the communication between different USB input equipment and the vehicle-mounted navigation host is controlled by arranging the USB switching module, so that the mutual interference between the USB input equipment caused by the simultaneous connection of a plurality of different USB input equipment and the vehicle-mounted navigation host is avoided, and the normal communication between the USB input equipment and the vehicle-mounted navigation host is ensured; the AD detection circuit and the control unit are arranged to detect the types of the USB input devices and whether the USB input devices need to transmit signals or not, detection results are transmitted to the master control unit, the priorities are preset in the master control unit, and therefore the USB input devices are selected, and only one path of USB input devices are guaranteed to be communicated with the vehicle-mounted navigation host.
Drawings
FIG. 1 is a block diagram of the overall structure of a first embodiment of the present invention;
FIG. 2 is a partial circuit diagram according to a first embodiment of the present invention;
fig. 3 is a block diagram of the structure flow of the second embodiment of the present invention.
In the figure: 1. a USB switching module; 11. a switching circuit; 111. an AD detection branch circuit; 112. a control unit; 113. switching the branch; 12. a master control unit; 2. a USB input interface; 3. and (6) an output interface.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, the multi-channel USB interface switching system disclosed by the present invention comprises a USB switching module 1 and a plurality of USB input interfaces 2 disposed at an input end of the USB switching module 1, wherein the plurality of USB input interfaces 2 are all used for connecting different USB input devices, the USB switching module 1 is provided with an output interface 3 connected with a vehicle navigation host, and the USB switching module 1 is connected with the vehicle navigation host by a parallel bus, so as to ensure better data interaction between the vehicle navigation host and the USB input devices, the USB switching module 1 selects and controls input controls of the plurality of USB input devices connected therewith, and transmits input data of the selected USB input devices to the vehicle navigation host.
In order to enable the USB input interface 2 to be better connected with different USB input devices, the USB input interface 2 supports USBTypeA, USB type B and USB type C, and the USB interface switching system supports all communication protocols of USB; when the USB input device can adopt USB interface standards of different models, the USB input device can be connected to the USB input interface 2 and perform data transmission.
In order to reduce the mutual influence among a plurality of USB input devices when the USB input interface 2 is connected with the plurality of different USB input devices, the USB switching module 1 comprises a plurality of switching circuits 11 for detecting and identifying the different USB devices, and the plurality of switching circuits 11 are arranged in one-to-one correspondence with the USB input devices, so that whether the USB input devices transmit data to the vehicle-mounted navigation host computer is detected respectively. In this embodiment, four USB input interfaces 2 are used, so the switching circuit 11 has four paths.
The switching circuit 11 includes an AD detection branch 111, a control unit 112, and a switching branch 113 controlled by the control unit 112, an input end of the AD detection branch 111 is coupled to an output end of the USB input interface 2, and the AD detection branch 111 detects a voltage of the USB input interface 2; when the USB input interface 2 is connected to different USB input devices, the AD detection branch 111 collects voltage values of the USB input devices corresponding to the AD detection branch, and converts the collected voltage values into digital signals, which are sent to the control unit 112. The control unit 112 adopts an 8-bit MCU controller, and the control unit 112 receives the detection signal input by the AD detection branch 111, and identifies whether the USB input device connected to the corresponding USB input interface 2 transmits data to the host car navigation system according to the received detection signal. When the control unit 112 detects that the USB input device transmits data to the host car navigation system, the control unit 112 controls the switching branch 113 to be turned on.
In order to avoid the output confusion caused by the simultaneous data transmission from a plurality of USB input devices to the car navigation body, the USB switching module 1 further includes a general control unit 12, and the general control unit 12 is coupled to the plurality of control units 112 to receive and control the control units 112 to output control signals. The master control unit 12 adopts a 16-bit or 2-bit MCU controller, and can also adopt a 64-bit MCU controller under the condition of cost allowance so as to better perform human-computer interaction, and the master control unit 12 presets different USB input devices through software to perform priority setting. When a plurality of USB input devices need to transmit data to the car navigation main body, the main control unit 12 identifies the received detection signal of the control unit 112 and outputs a control signal to the control unit 112 with the highest priority level according to the priority level, and the control unit 112 receives and responds to the control signal, so as to control the corresponding switching branch 113 to be switched on, and switch between the USB input devices and the car navigation main body.
Example two:
a multi-path USB interface switching method is applied to a multi-path USB interface switching system comprising at least two USB input interfaces 2, and comprises the following steps:
s101, presetting a priority level, presetting the priority level of a master control unit 12 through software, and when a USB input interface 2 is connected with a plurality of different USB input devices and at least two USB input devices transmit data to vehicle navigation, the master control unit 12 can control the USB switching module 1 connected with the corresponding USB input device to be switched on according to the preset priority level;
step S102, identification and detection, wherein when the USB input equipment needs to perform data interaction with the vehicle-mounted navigation host, the AD detection branch circuit 111 detects the voltage change of the output end of the corresponding USB input equipment and converts the voltage acquired by the output end of the corresponding USB input equipment into a digital signal to be sent to the control unit 112, and the control unit 112 receives and processes the input detection signal and outputs a detection result signal to the master control unit 12;
step S103, switching, when the master control unit 12 receives a plurality of detection result signals, the master control unit 12 outputs a control signal to the control unit 112 corresponding to the USB input device with the highest priority according to a preset priority level, and the control unit 112 receives the control signal and controls the corresponding switching branch 113 to be turned on.
The embodiments of the present invention are preferred embodiments of the present invention, and the scope of the present invention is not limited by these embodiments, so: all equivalent changes made according to the structure, shape and principle of the invention are covered by the protection scope of the invention.

Claims (8)

1. A multi-path USB interface switching system is characterized in that: switch module (1) and set up in a plurality of USB input interface (2) of USB switch module (1) input, it is a plurality of USB input interface (2) all are used for connecting USB input device, USB switch module (1) still is equipped with one output interface (3) of being connected with the on-vehicle navigation host computer, USB switch module (1) includes that the multichannel is used for different USB equipment to detect and discernment switching circuit (11), and is a plurality of switching circuit (11) set up with USB input device one-to-one.
2. The multi-channel USB interface switching system according to claim 1, wherein: the switching circuit (11) comprises a control unit (112), an AD detection branch (111) and a switching branch (113) controlled by the control unit (112), wherein an input end of the AD detection branch (111) is coupled with an output end of the USB input interface (2), and the control unit (112) receives and processes a detection signal of the AD detection branch (111).
3. The multi-channel USB interface switching system according to claim 2, wherein: the USB switching module (1) further comprises a master control unit (12), the master control unit (12) is coupled with the control unit (112) and receives and controls the control unit (112) to output a control signal, the master control unit (12) is preset with a priority, and when the master control unit (12) detects an input signal of the multi-path control unit (112), the master control unit (12) is switched to the corresponding USB input device according to the priority.
4. The multi-channel USB interface switching system according to claim 1, wherein: the USB input interface (2) supports USB type A, USB type B and USB type C.
5. The multi-channel USB interface switching system according to claim 1, wherein: the control unit (112) adopts an 8-bit MCU controller.
6. The multi-channel USB interface switching system according to claim 5, wherein: the master control unit (12) adopts a 16-bit or 2-bit MCU controller.
7. The multi-channel USB interface switching system according to claim 1, wherein: the switching module is connected with the vehicle-mounted navigation main body through a parallel bus.
8. A multi-path USB interface switching method is applied to a multi-path USB interface switching system comprising at least two USB input interfaces (2), and is characterized in that: the method comprises the following steps:
s101, presetting a priority level, presetting the priority level of a master control unit (12) through software, and controlling the conduction of a USB switching module (1) connected with corresponding USB input equipment by the master control unit (12) according to the preset priority level when the USB input interface (2) is connected with a plurality of different USB input equipment;
step S102, identification and detection are carried out, when the USB input equipment needs to carry out data interaction with the vehicle-mounted navigation host, the AD detection branch circuit (111) detects the voltage change of the output end of the corresponding USB input equipment and converts the voltage collected by the output end of the corresponding USB input equipment into a digital signal to be sent to the control unit (112), and the control unit (112) receives and processes the input detection signal and outputs a detection result signal to the master control unit (12);
and S103, switching, wherein when the master control unit (12) receives a plurality of detection result signals, the master control unit (12) outputs a control signal to the control unit (112) corresponding to the USB input device with the highest priority according to a preset priority level, and the control unit (112) receives the control signal and controls the switching branch (113) to be switched on.
CN202010196392.9A 2020-03-19 2020-03-19 Multi-path USB interface switching system and method Pending CN111324565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010196392.9A CN111324565A (en) 2020-03-19 2020-03-19 Multi-path USB interface switching system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010196392.9A CN111324565A (en) 2020-03-19 2020-03-19 Multi-path USB interface switching system and method

Publications (1)

Publication Number Publication Date
CN111324565A true CN111324565A (en) 2020-06-23

Family

ID=71163881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010196392.9A Pending CN111324565A (en) 2020-03-19 2020-03-19 Multi-path USB interface switching system and method

Country Status (1)

Country Link
CN (1) CN111324565A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660450A (en) * 2021-07-27 2021-11-16 深圳市拔超科技有限公司 Method and device for automatically switching video conference peripherals among multiple hosts
CN115113954A (en) * 2021-03-17 2022-09-27 旺玖科技股份有限公司 Vehicle-mounted entertainment system with operation interface switching function
CN115223310A (en) * 2022-06-30 2022-10-21 无锡睿勤科技有限公司 OTG priority selection circuit and multichannel charging circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164372A (en) * 2011-12-14 2013-06-19 航天信息股份有限公司 Image collecting device and control method thereof
US20130326094A1 (en) * 2010-11-24 2013-12-05 Shanghai Actions Semiconductor Co., Ltd. Usb device and detection method thereof
CN104023294A (en) * 2014-05-30 2014-09-03 广东欧珀移动通信有限公司 Interface multiplexing apparatus in terminal, and adaptor panel
US20180121373A1 (en) * 2015-04-23 2018-05-03 Zte Corporation Circuit, Method and Apparatus for USB Interface Sharing
CN108733609A (en) * 2018-04-20 2018-11-02 深圳市文鼎创数据科技有限公司 Switching circuit, device for intelligently switching and the switching method of double-USB interface
CN110245106A (en) * 2019-06-21 2019-09-17 深圳市三旺通信股份有限公司 The serial server of SCM Based online acquisition serial interface signal
CN110888538A (en) * 2019-11-06 2020-03-17 深圳市绿联科技有限公司 KVM switching circuit and switcher

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130326094A1 (en) * 2010-11-24 2013-12-05 Shanghai Actions Semiconductor Co., Ltd. Usb device and detection method thereof
CN103164372A (en) * 2011-12-14 2013-06-19 航天信息股份有限公司 Image collecting device and control method thereof
CN104023294A (en) * 2014-05-30 2014-09-03 广东欧珀移动通信有限公司 Interface multiplexing apparatus in terminal, and adaptor panel
US20180121373A1 (en) * 2015-04-23 2018-05-03 Zte Corporation Circuit, Method and Apparatus for USB Interface Sharing
CN108733609A (en) * 2018-04-20 2018-11-02 深圳市文鼎创数据科技有限公司 Switching circuit, device for intelligently switching and the switching method of double-USB interface
CN110245106A (en) * 2019-06-21 2019-09-17 深圳市三旺通信股份有限公司 The serial server of SCM Based online acquisition serial interface signal
CN110888538A (en) * 2019-11-06 2020-03-17 深圳市绿联科技有限公司 KVM switching circuit and switcher

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115113954A (en) * 2021-03-17 2022-09-27 旺玖科技股份有限公司 Vehicle-mounted entertainment system with operation interface switching function
CN113660450A (en) * 2021-07-27 2021-11-16 深圳市拔超科技有限公司 Method and device for automatically switching video conference peripherals among multiple hosts
CN115223310A (en) * 2022-06-30 2022-10-21 无锡睿勤科技有限公司 OTG priority selection circuit and multichannel charging circuit

Similar Documents

Publication Publication Date Title
CN111324565A (en) Multi-path USB interface switching system and method
US6973378B2 (en) In-vehicle control device communicatable with external communication system and in-vehicle LAN
JPH1032883A (en) Multiplex communication device for vehicle
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
CN114401501A (en) Time service device and time service method for vehicle-mounted unit of V2X, vehicle V2X device and vehicle
CN114996183A (en) Vehicle-mounted augmented reality system, vehicle and communication implementation method
CN105182957A (en) Multi-path real-time data acquisition chip for internet of vehicles
CN110708226B (en) Vehicle-mounted bus communication system based on FlexRay
KR101932480B1 (en) Can communication apparatus for vehicle
CN110794808A (en) Matrix driving device and multi-channel signal switching method thereof
JP5177893B2 (en) In-vehicle communication device and communication control program
WO2022222534A1 (en) System and method for verifying power amplifier of on-board audio system
EP1359057B1 (en) Vehicle data transmission system with link redundancy
WO2017213349A1 (en) Usb interface module for vehicle and avn system comprising same
CN212909837U (en) Vehicle-mounted entertainment hardware system compatible with serial-parallel video output and control circuit
CN210924279U (en) Matrix driving device
CN209299461U (en) Car microphone topological structure
CN113253652A (en) Unit communication control device, method and unit
CN113830009A (en) Signal transmission method and device and electric automobile
CN216387850U (en) OBD communication interface switching circuit
CN214799886U (en) Verification device for vehicle-mounted audio system power amplifier
KR20100002482A (en) Controlling system of car's unit, controlling apparatus of car's unit and interface method
CN220292038U (en) USB changes on-vehicle ethernet equipment
JP2004178081A (en) Encoder system
EP4047485B1 (en) Lin master testing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623