CN109743240B - Interface switching device and method for communication equipment - Google Patents

Interface switching device and method for communication equipment Download PDF

Info

Publication number
CN109743240B
CN109743240B CN201811540676.4A CN201811540676A CN109743240B CN 109743240 B CN109743240 B CN 109743240B CN 201811540676 A CN201811540676 A CN 201811540676A CN 109743240 B CN109743240 B CN 109743240B
Authority
CN
China
Prior art keywords
communication module
usb connector
communication
analog switch
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.)
Active
Application number
CN201811540676.4A
Other languages
Chinese (zh)
Other versions
CN109743240A (en
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.)
Ocdop Ltd
Original Assignee
Ocdop 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 Ocdop Ltd filed Critical Ocdop Ltd
Priority to CN201811540676.4A priority Critical patent/CN109743240B/en
Priority to PCT/CN2019/080328 priority patent/WO2020124849A1/en
Publication of CN109743240A publication Critical patent/CN109743240A/en
Application granted granted Critical
Publication of CN109743240B publication Critical patent/CN109743240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Abstract

The application discloses an interface switching device of communication equipment, which comprises a USB connector and at least two communication modules, wherein each communication module comprises a first communication module and a second communication module, each communication module is correspondingly provided with an interface, the device comprises a switch control module for switching and connecting different interfaces, and the USB connector is connected with the communication module through the switch control module. The application also discloses an interface switching method of the communication equipment. The application relates to the technical field of mobile communication, in particular to an interface switching device and an interface switching method for communication equipment, wherein a USB connector is connected with a communication module through a switch control module so as to be switched and connected with different communication modules, so that the switching between the USB connector and different serial ports is realized.

Description

Interface switching device and method for communication equipment
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to an interface switching device and method for a communication device.
Background
McWiLL: multi-Carrier Wireless Information Local Loop, multi-carrier wireless information local loop, is a broadband wireless access technology.
The common mobile phone, intelligent wearing and vehicle-mounted mobile terminal and other devices are designed by adopting a single communication module, and for some mobile terminals involving two communication modules and even three communication modules, as the control interfaces of a plurality of communication modules are more than one, in the research and development stage, if debugging is required, the conventional circuit main board is not compatible with the mutual switching between a USB interface and different serial ports, the conventional circuit main board is reserved with an interface test point, and the serial ports are connected in a manual welding mode from the serial port test point in a flying line mode, but the data acquired in the debugging in the mode have deviation, and each debugging circuit main board needs manual welding, so that the circuit main board is inconvenient.
Disclosure of Invention
The present application aims to solve at least one of the technical problems in the related art to some extent. Therefore, an object of the present application is to provide an interface switching device and method for a communication device, which is convenient for debugging and more accurate in data during debugging.
The technical scheme adopted by the application is as follows: an interface switching device of communication equipment, the communication equipment includes USB connector and two at least communication module, communication module includes first communication module and second communication module, and every communication module corresponds and is provided with the interface, the device is including being used for switching the switch control module of connecting different interfaces, the USB connector passes through switch control module with communication module connects.
As a further improvement of the above scheme, the switch control module includes a first analog switch and a second analog switch, the USB connector is connected to the first communication module by connecting the first analog switch, and the USB connector is connected to the second communication module by connecting the second analog switch.
As a further improvement of the scheme, the communication device further comprises a main control communication module, and the USB connector is connected with the main control communication module through the connection of the first analog switch.
As a further improvement of the scheme, the first communication module is an RDA communication module, and the second communication module is a McWiLL communication module.
As a further improvement of the scheme, the main control communication module is provided with a GPIO interface, the GPIO interface is respectively connected with the first analog switch and the second analog switch, and the running states of the first analog switch and the second analog switch are controlled according to the level state of the GPIO interface.
As a further improvement of the scheme, the master control communication module adopts an MSM8905 chip.
An interface switching method of a communication device, which is applicable to the interface switching device of the communication device, wherein the communication device comprises a USB connector and at least two communication modules, and the switching method comprises the following steps:
and acquiring the VBUS pin voltage of the USB connector, judging whether the VBUS pin voltage of the USB connector is at a high level, if not, connecting the USB connector with the first communication module, and if so, connecting the USB connector with the second communication module.
As a further improvement of the above scheme, the communication device further includes a master control communication module, the master control communication module includes a GPIO interface, the obtaining of the VBUS pin voltage of the USB connector, determining whether the VBUS pin voltage of the USB connector is at a high level, if not, connecting the USB connector to the first communication module, and if yes, connecting the USB connector to the second communication module specifically includes:
obtaining the VBUS pin voltage of the USB connector, judging whether the VBUS pin voltage of the USB connector is at a high level, if not, selecting the USB connector to be connected with the first communication module through the first analog switch, if so, judging whether the GPIO interface voltage of the master control communication module is at the high level, if so, selecting the USB connector to be connected with the second communication module through the second analog switch, and if not, selecting the USB connector to be connected with the master control communication module through the first analog switch.
The beneficial effects of the application are as follows:
the interface switching device and method of a communication device, the USB connector is connected with communication module through the switch control module, and then switch and connect different communication modules, realize the switch between USB connector and different serial ports, compare with prior art adopts manual welding, debug more conveniently, and the data is more accurate during debugging.
Drawings
The following is a further description of embodiments of the application, taken in conjunction with the accompanying drawings:
FIG. 1 is a block diagram of an interface switching apparatus of a communication device according to the present application;
fig. 2 (a) to 2 (c) are circuit diagrams of an interface switching apparatus of a communication device according to the present application;
fig. 3 is a flow chart of an interface switching method of a communication device according to the present application.
Detailed Description
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
Example 1
The utility model provides an interface switching device of communication equipment, communication equipment includes USB connector and two at least communication module, and wherein, communication module includes first communication module and second communication module, and every communication module corresponds and is provided with the interface, and the device is including the switch control module that is used for switching to connect different interfaces, and the USB connector passes through switch control module and is connected with communication module.
Fig. 1 is a block diagram of an interface switching device of a communication apparatus according to the present application, referring to fig. 1, a switch control module includes a first analog switch and a second analog switch, a USB connector is connected to the first communication module by connecting to the first analog switch module, and the USB connector is connected to the second communication module by connecting to the second analog switch module.
In this embodiment, the communication device further includes a master control communication module, the USB connector is connected to the master control communication module through a connection first analog switch, and the master control communication module adopts an MSM8905 chip.
Fig. 2 (a) to 2 (c) are circuit diagrams of an interface switching device of a communication apparatus according to the present application, referring to fig. 2 (a), 2 (b) and 2 (c), an RDA communication module has a first serial port, the first serial port includes an hst_rxd pin and an hst_txd pin, a master control communication module includes a GPIO interface and a USB interface, the GPIO interface includes a GPIO36_usb_sw_en pin, the USB interface includes a usb_hs_d_p pin and a usb_hs_d_m pin, a McWiLL communication module includes a second serial port, and the second serial port includes an mcwill_usb_dp pin and an mcwill_usb_dm pin. In this embodiment, the first analog switch U1 and the second analog switch U2 are both SGM7228 analog switch chips, where the hst_txd pin and the hst_rxd pin of the RDA communication module are respectively connected to the hsd1+ end and the hsd1-end of the first analog switch U1, and the GPIO36_usb_sw_en pin of the GPIO interface of the master communication module is connected to the OE end of the first analog switch U1 and the OE end of the second analog switch U2 through the second resistor R2 in series, and the usb_hs_d_p pin and the usb_hs_d_m pin of the USB interface of the master communication module are respectively connected to the hsd2+ end and the hsd2-end of the first analog switch U1.
Table 1 the correspondence table of the judging conditions of each communication module:
GPIO_USB_SW_EN USB_VBUS_IN USB_DP USB_DM
0 0 HST_RXD HST_TXD
0 1 USB_HS_D_P USB_HS_D_M
1 0 NC NC
1 1 MCWILL_USB_DP MCWILL_USB_DM
referring to table 1, the master control communication module, the RDA communication module and the McWiLL communication module are switched and connected according to the level state of the GPIO interface of the master control communication module and the level state of the usb_vbus_in end of the USB connector. The USB connector is connected with the data line, and when the level state of the GPIO interface is low level 0 and the level state of the USB_VBUS_IN end of the USB connector is low level 0, the first analog switch U1 is connected with the RDA communication module (first serial port), namely the USB connector is communicated with the RDA communication module; when the level state of the GPIO interface is low level 0 and the level state of the USB_VBUS_IN end of the USB connector is high level 1, the first analog switch U1 is connected with the main control communication module (USB interface), namely the USB connector is communicated with the main control communication module; when the level state of the GPIO interface is high level 1 and the level state of the usb_vbus_in end of the USB connector is high level 1, the second analog switch U2 is turned on (the second serial port) the McWiLL communication module, that is, the USB connector is communicated with the McWiLL communication module.
Example III
The application also provides an interface switching method of the communication equipment, which is suitable for the interface switching device of the communication equipment in the embodiment, and the switching method comprises the following steps:
and acquiring the VBUS pin voltage of the USB connector, judging whether the VBUS pin voltage of the USB connector is at a high level, if not, connecting the USB connector with the first communication module, and if so, connecting the USB connector with the second communication module.
In this embodiment, the communication device includes a master control communication module, an RDA communication module, and an McWiLL communication module. FIG. 3 is a flow chart of an interface switching method of a communication device according to the present application, referring to FIG. 3, when a USB connector is connected to a data line, whether the VBUS voltage connected to the USB data line is 5V is judged, if not, a first analog switch is selected, so that the USB connector is selectively connected to an RDA communication module through the first analog switch; if so, further judging whether the GPIO interface voltage of the main control communication module is high level, if so, selecting the USB connector to be connected with the McWiLL communication module through the second analog switch, and if not, selecting the USB connector to be connected with the main control communication module through the first analog switch.
The interface switching device and method of a communication device, the USB connector is connected with communication module through the switch control module, and then switch and connect different communication modules, realize the switch between USB connector and different serial ports, compare with prior art adopts manual welding, debug more conveniently, and the data is more accurate during debugging.
While the preferred embodiment of the present application has been described in detail, the application is not limited to the embodiment, and one skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the application, and the equivalent modifications or substitutions are included in the scope of the present application as defined in the appended claims.

Claims (4)

1. An interface switching device of communication equipment, the communication equipment includes USB connector and at least two communication modules, characterized in that, the communication module includes first communication module and second communication module, each communication module is provided with the interface correspondingly, the device includes the switch control module used for switching and connecting different interfaces, the USB connector is connected with the communication module through the switch control module;
the switch control module comprises a first analog switch and a second analog switch, the USB connector is connected with the first communication module by connecting the first analog switch, and the USB connector is connected with the second communication module by connecting the second analog switch;
the communication equipment further comprises a main control communication module, and the USB connector is connected with the main control communication module through the first analog switch;
the first communication module is an RDA communication module, and the second communication module is a McWiLL communication module;
the main control communication module is provided with a GPIO interface, the GPIO interface is respectively connected with the first analog switch and the second analog switch, and the running states of the first analog switch and the second analog switch are controlled according to the level state of the GPIO interface.
2. The interface switching device of claim 1, wherein the master control communication module is an MSM8905 chip.
3. An interface switching method for a communication device, applicable to the interface switching apparatus for a communication device according to any one of claims 1 to 2, the communication device including a USB connector and at least two communication modules, characterized in that it includes:
and acquiring the VBUS pin voltage of the USB connector, judging whether the VBUS pin voltage of the USB connector is at a high level, if not, connecting the USB connector with the first communication module, and if so, connecting the USB connector with the second communication module.
4. The method for switching an interface of a communication device according to claim 3, wherein the communication device further comprises a master control communication module, the master control communication module comprises a GPIO interface, the obtaining the VBUS pin voltage of the USB connector, determining whether the VBUS pin voltage of the USB connector is at a high level, if not, connecting the USB connector to the first communication module, and if so, connecting the USB connector to the second communication module specifically comprises:
obtaining the VBUS pin voltage of the USB connector, judging whether the VBUS pin voltage of the USB connector is at a high level, if not, selecting the USB connector to be connected with the first communication module through the first analog switch, if so, judging whether the GPIO interface voltage of the master control communication module is at the high level, if so, selecting the USB connector to be connected with the second communication module through the second analog switch, and if not, selecting the USB connector to be connected with the master control communication module through the first analog switch.
CN201811540676.4A 2018-12-17 2018-12-17 Interface switching device and method for communication equipment Active CN109743240B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811540676.4A CN109743240B (en) 2018-12-17 2018-12-17 Interface switching device and method for communication equipment
PCT/CN2019/080328 WO2020124849A1 (en) 2018-12-17 2019-03-29 Communication equipment interface switching device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811540676.4A CN109743240B (en) 2018-12-17 2018-12-17 Interface switching device and method for communication equipment

Publications (2)

Publication Number Publication Date
CN109743240A CN109743240A (en) 2019-05-10
CN109743240B true CN109743240B (en) 2023-11-14

Family

ID=66360442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811540676.4A Active CN109743240B (en) 2018-12-17 2018-12-17 Interface switching device and method for communication equipment

Country Status (2)

Country Link
CN (1) CN109743240B (en)
WO (1) WO2020124849A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442070A (en) * 2019-09-09 2019-11-12 山东理工大学 A kind of signal light control tutoring system of changeable communication mode
CN110515867A (en) * 2019-09-09 2019-11-29 中山市天启智能科技有限公司 A kind of cluster core board USB mode automatic switching method and route

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765243A (en) * 2009-12-16 2010-06-30 中兴通讯股份有限公司 CDMA and GSM bimodule digital mobile communication terminal
CN103237189A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
CN104063348A (en) * 2014-06-17 2014-09-24 武汉天喻信息产业股份有限公司 Device and method for realizing compatible USB (Universal Serial Bus) communication and audio communication
CN105893296A (en) * 2016-05-06 2016-08-24 Tcl移动通信科技(宁波)有限公司 Data information transmission device and method thereof
CN106919529A (en) * 2017-03-06 2017-07-04 南京新联电子股份有限公司 The wireless communication module method for designing for supporting USB and UART serial ports compatible
CN206353307U (en) * 2016-11-11 2017-07-25 上海乐今通信技术有限公司 Mobile terminal for debugging peripheral hardware
CN108459982A (en) * 2017-02-17 2018-08-28 中兴通讯股份有限公司 The switching method of communication equipment and USB and serial ports
CN209526732U (en) * 2018-12-17 2019-10-22 深圳市奥克多普科技有限公司 The interface change-over device of communication equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957287B2 (en) * 2001-11-09 2005-10-18 Aten International Co., Ltd. Asynchronous/synchronous KVMP switch for console and peripheral devices
KR101329014B1 (en) * 2008-10-30 2013-11-12 삼성전자주식회사 Apparatus and method for controlling mode of switching ic in a portable device
CN101931674B (en) * 2010-09-01 2014-04-16 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN105227702A (en) * 2015-05-28 2016-01-06 盛耀无线通讯科技(北京)有限公司 A kind of bilateral cell phone platform USB socket
KR20180007085A (en) * 2016-07-12 2018-01-22 삼성전자주식회사 Electronic device supporting usb interface and control method for the usb interface

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765243A (en) * 2009-12-16 2010-06-30 中兴通讯股份有限公司 CDMA and GSM bimodule digital mobile communication terminal
CN103237189A (en) * 2013-03-26 2013-08-07 北京小米科技有限责任公司 Electronic equipment, MHL (mobile high-definition link) connector, MHL system and connector detection method
CN104063348A (en) * 2014-06-17 2014-09-24 武汉天喻信息产业股份有限公司 Device and method for realizing compatible USB (Universal Serial Bus) communication and audio communication
CN105893296A (en) * 2016-05-06 2016-08-24 Tcl移动通信科技(宁波)有限公司 Data information transmission device and method thereof
CN206353307U (en) * 2016-11-11 2017-07-25 上海乐今通信技术有限公司 Mobile terminal for debugging peripheral hardware
CN108459982A (en) * 2017-02-17 2018-08-28 中兴通讯股份有限公司 The switching method of communication equipment and USB and serial ports
CN106919529A (en) * 2017-03-06 2017-07-04 南京新联电子股份有限公司 The wireless communication module method for designing for supporting USB and UART serial ports compatible
CN209526732U (en) * 2018-12-17 2019-10-22 深圳市奥克多普科技有限公司 The interface change-over device of communication equipment

Also Published As

Publication number Publication date
CN109743240A (en) 2019-05-10
WO2020124849A1 (en) 2020-06-25

Similar Documents

Publication Publication Date Title
DE60220398T2 (en) COMMUNICATION INTERFACE FOR AN ELECTRONIC EQUIPMENT
CN104583791B (en) Interface circuit for test device
DE112009000147T5 (en) Mobile device that allows UART and USB communication using the same connector, and methods of operating the same
CN109743240B (en) Interface switching device and method for communication equipment
CN102545875B (en) Level identification switching circuit
CN101436170A (en) SPI equipment communication circuit
CN205846207U (en) A kind of external satellite navigation aerial of mobile terminal and mobile terminal
CN104636306B (en) A kind of SCM Based RFFE host device interfaces transplantation device and method
CN107273320A (en) A kind of adaptive multiplexer of communication interface hardware and method
CN202159328U (en) USB (universal serial bus) port test device
CN110362525A (en) A kind of method, system and board for realizing Multi-serial port switching based on CPLD
CN201638203U (en) Universal data line
CN201210753Y (en) Data line for connecting peripheral device by double mode mobile terminal
CN209526732U (en) The interface change-over device of communication equipment
CN110300405A (en) A kind of device and method for realizing SIM card switching
CN104125173B (en) data communication path switching circuit, vehicle-mounted router and automobile
CN207607589U (en) A kind of special bluetooth module decompression integrated board of balance car
CN214675128U (en) Intelligent vehicle-mounted internet terminal mainboard, intelligent vehicle-mounted internet terminal and vehicle
CN214540463U (en) Relay board for switching and detecting multiple paths of signals
CN106803776B (en) Radio frequency front end testing device and radio frequency front end testing method
CN105180383B (en) A kind of communication modes control method, system and debugging air conditioner device
CN103311766A (en) Mobile equipment switching device and working mode switching method thereof
CN219145624U (en) SIM card test equipment
CN219304500U (en) Mobile phone charging circuit and mobile phone equipment
CN103529913B (en) Communication equipment distributed system and backboard BASE bus self adaptation implementation method thereof

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 701B, Building 26, Shatoujiao Industrial Zone, Yantian Comprehensive Bonded Zone, 2015 Shenyan Road, Pengwan Community, Haishan Street, Yantian District, Shenzhen City, Guangdong Province, 518000

Applicant after: Ocdop Ltd.

Address before: 518000 room 602, 6 / F, Langfeng building, No. 2 Kefa Road, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant before: SHENZHEN OCTOPUS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant