WO2017177448A1 - 一种通信方法、装置及电子设备 - Google Patents

一种通信方法、装置及电子设备 Download PDF

Info

Publication number
WO2017177448A1
WO2017177448A1 PCT/CN2016/079446 CN2016079446W WO2017177448A1 WO 2017177448 A1 WO2017177448 A1 WO 2017177448A1 CN 2016079446 W CN2016079446 W CN 2016079446W WO 2017177448 A1 WO2017177448 A1 WO 2017177448A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
protocol
extended
extension
mobile terminal
Prior art date
Application number
PCT/CN2016/079446
Other languages
English (en)
French (fr)
Inventor
张含波
张涛
Original Assignee
深圳前海达闼云端智能科技有限公司
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 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to PCT/CN2016/079446 priority Critical patent/WO2017177448A1/zh
Priority to CN201680002738.9A priority patent/CN107111589A/zh
Publication of WO2017177448A1 publication Critical patent/WO2017177448A1/zh

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/10Program control for peripheral devices
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • 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/0016Inter-integrated circuit (I2C)

Definitions

  • the present invention relates to the field of communications technologies, and can be applied to the field of cloud intelligent robots, and in particular, to a communication method, device, and electronic device.
  • the cloud robot is an intelligent robot that puts the cognitive system in the cloud, the body, the drive and the sensor are placed on the robot body, and connects the two through mobile communication; the cloud robot is the development direction of the intelligent humanoid robot. Specifically, the robot body can connect to the cloud through the mobile terminal connected thereto to acquire its cognitive system.
  • the mobile terminal can be connected to an extension device and can only communicate with the extension device through a USB (Universal Serial Bus) interface.
  • USB Universal Serial Bus
  • the embodiments of the present invention provide a communication method, device, and electronic device for the problem that a related scheme for enabling communication between a mobile terminal and a plurality of extension devices is not yet available.
  • a first aspect of the embodiments of the present invention provides a communication method, including the following steps:
  • a second aspect of the embodiments of the present invention provides a communications apparatus, including:
  • a detecting unit configured to detect the first extended device and the second extended device by using a preset interface, where The first expansion device is connected to the mobile terminal through a first interface, and the second extension device is connected to the mobile terminal through a second interface;
  • a device type determining unit configured to determine, according to the detection result, a device type of the first extended device and the second extended device
  • a communication unit configured to communicate with the first extension device and the second extension device according to a device type of the first extension device and the second extension device.
  • a third aspect of the embodiments of the present invention provides an electronic device, including: a processor, a memory, a communication interface, and a bus;
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for executing a communication method; wherein the communication method includes:
  • a fourth aspect of the embodiments of the present invention provides a storage medium, where the storage medium is used to store an application, and the application is configured to execute a communication method according to an embodiment of the present invention at runtime.
  • a fifth aspect of the embodiments of the present invention provides an application program, where the application is used to execute a communication method according to an embodiment of the present invention at runtime.
  • the communication method, the device, and the electronic device provided by the embodiment of the present invention detect the first extension device or the second extension device connected to the mobile terminal through the first interface and the second interface respectively through a preset interface, And determining, according to the detection result, a device type of the first extended device and the second extended device, and then, according to the device type of the first extended device and the second extended device, with the first extended device and The second extension device performs communication. Therefore, the mobile terminal can detect multiple extension devices connected to the mobile terminal by using a preset interface, and then determine device types of the multiple extension devices, respectively, according to device types of the extension devices. Communicating with it effectively solves the problem that there is currently no related solution that enables the mobile terminal to communicate with multiple extended devices.
  • FIG. 1 is a schematic flowchart of a communication method provided in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a mobile terminal detecting multiple extended devices according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of forming an extended device list according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a communication method, which can be applied to a mobile
  • the mobile terminal side will be described below.
  • FIG. 1 is a schematic flowchart diagram of a communication method provided in an embodiment of the present invention. As shown in FIG. 1, the communication method may include the following steps:
  • Step 101 Detect a first extended device and a second extended device by using a preset interface, where the first extended device is connected to the mobile terminal by using a first interface, and the second extended device is connected to the mobile terminal by using a second interface ;
  • Step 102 Determine, according to the detection result, a device type of the first extension device and the second extension device.
  • Step 103 Communicate with the first extension device and the second extension device according to device types of the first extension device and the second extension device.
  • the preset interface is used for detecting a plurality of extended devices connected to the mobile terminal, and the preset interface may be a separate interface, or may belong to the first interface or belong to the second interface.
  • the interface formed by some of the pins.
  • the first interface is configured to connect the first extension device to the mobile terminal, and the two sub-interfaces (including the first sub-interface and the second sub-interface) that are connected to the first interface, and the first sub-interface is disposed on the mobile terminal side.
  • the second sub-interface is disposed on the first extended device side, and the first sub-interface is located at a specific location of the mobile terminal or the second sub-interface is located at a specific location of the first extended device, and may be determined according to actual needs (for example, the first sub-interface may be The second sub-interface is located in a specific area on the back side of the mobile terminal, and the second sub-interface is located in a specific area that can be matched with the first sub-interface on the front side of the first expansion device, and is not specifically limited herein.
  • the second interface is used to connect the second extension device and the mobile terminal.
  • the mobile terminal or the mobile communication terminal refers to a computer device that can be used in the mobile.
  • the mobile terminal in the embodiment of the present invention may refer to a mobile phone or a smart phone having multiple application functions and a tablet computer.
  • the communication mode of the mobile terminal and each extended device may be determined according to the device type of each extended device (the communication mode may include: an interface protocol, a rate, etc.), and then determined according to the determined Communication mode for communication.
  • two extensions are set by the mobile terminal, the first extension device, and the second extension device.
  • the communication method can also be applied to a scenario in which the mobile terminal communicates with three or more extension devices.
  • the communication method provided by the embodiment of the present invention is directed to the first extension device or the second extension connected to the mobile terminal by using a preset interface, in view of the problem that the related method for the communication between the mobile terminal and the multiple extension devices is not implemented.
  • the device performs detection, and then determines the device type of the first extended device and the second extended device according to the detection result, and then, according to the device type of the first extended device and the second extended device,
  • An extension device and the second extension device communicate, so that the mobile terminal can detect multiple extension devices connected to the mobile terminal through a preset interface, thereby determining device types of the multiple extension devices, respectively, according to each extension.
  • the device type of the device communicates with it, effectively solving the problem that there is currently no related solution that enables the mobile terminal to communicate with multiple extended devices.
  • the preset interface may be an integrated circuit bus I2C interface.
  • I2C Inter-Integrated Circuit
  • SDA data line
  • SCL clock line
  • the I2C bus has three data transmission speeds: standard (100Kbps), fast mode (400Kbps), and high-speed mode (3.4Mbps), which can well satisfy the expansion device.
  • standard 100Kbps
  • fast mode 400Kbps
  • high-speed mode 3.4Mbps
  • I2C is adopted in the implementation because this method is more common and mainstream, and is easy to be used/understood by those skilled in the art, so I2C is taken as an example here; however, in theory, other methods are also possible, as long as the extension can be realized.
  • the purpose of device detection is that I2C is only used to teach the person skilled in the art how to implement the invention in detail, but it does not mean that only I2C can be used, and the corresponding manner can be determined in the implementation process in combination with practical needs.
  • the method may further include:
  • FIG. 2 is a schematic diagram of a mobile terminal detecting multiple extension devices according to an embodiment of the present invention. As shown in FIG. 2, n (n is a natural number not less than 2) extensions are provided.
  • the device is connected to the mobile terminal, and the mobile terminal sequentially detects the n extended devices according to the I2C address sequence of the extended device through the I2C interface, and determines that all the extended devices are detected when the last extended device in the I2C address is completed.
  • the communication with the first extension device and the second extension device may specifically include:
  • PCIE Peripheral Component Interconnect Express
  • UART Universal Asynchronous Receiver/Transmitter
  • Universal Asynchronous Receiver Transmitter Protocol SIM (Subscriber Identity Module) Card Protocol
  • I2C Protocol Universal Asynchronous Receiver Transmitter Protocol
  • MIPI Mobile Industry Processor Interface
  • SPI Serial Peripheral Interface
  • Protocol HDMI (High Definition Multimedia Interface) protocol
  • MHL Mobile High-Definition Link
  • DisplayPort DisplayPort
  • Thunderbolt Thunderbolt
  • PCM Peulse Code Modulation
  • I2S Inter-IC Sound, integrated circuit built-in audio
  • PDM Pulse Density Modulation, pulse Density modulation
  • the MIPI interface protocol may include: a CSI (CMOS Sensor Interface) protocol, a DSI (Display Serial Interface) protocol, and an RF Front-End Control Interface (RFFE) protocol.
  • CSI CMOS Sensor Interface
  • DSI Display Serial Interface
  • RFFE RF Front-End Control Interface
  • Slimbus Serial Low-power Inter-chip Media Bus
  • UniPro UniPro protocol.
  • the Field Bus protocol may include a CAN (Controller Area Network) protocol.
  • PCIE protocol UART protocol
  • SIM card protocol I2C protocol
  • USB protocol MIPI protocol
  • SPI protocol HDMI protocol
  • MHL protocol DisplayPort protocol
  • Thunderbolt interface protocol Field Bus protocol
  • PCM interface protocol I2S bus protocol
  • the PDM interface protocol is more commonly used and mainstream in this way, and is easy to be used/understood by those skilled in the art. Therefore, the PCIE protocol, the UART protocol, the SIM card protocol, the I2C protocol, the USB protocol, the MIPI protocol, the SPI protocol, and the HDMI protocol are used here.
  • MHL protocol, DisplayPort protocol, Thunderbolt interface protocol, Field Bus protocol, PCM interface protocol, I2S bus protocol, PDM interface protocol as an example; however, in theory, other methods are also possible, as long as the communication purpose can be achieved Yes, PCIE, UART, SIM, I2C, USB, MIPI, SPI, HDMI, MHL, DisplayPort, Thunderbolt, Fieldbus, PCM, I2S, PDM
  • the interface protocol is only used to teach those skilled in the art how to actually implement the present invention, but It does not mean that only PCIE protocol, UART protocol, SIM card protocol, I2C protocol, USB protocol, MIPI protocol, SPI protocol, HDMI protocol, MHL protocol, DisplayPort protocol, Thunderbolt interface protocol, Field Bus protocol, PCM interface protocol, I2S bus can be used. Protocol, PDM interface protocol, the implementation process can be combined with practical needs to determine the corresponding way.
  • determining, according to the device types of the first extended device and the second extended device, the first extended device and the second extended device Before the communication method it can also include:
  • the extended device list includes a device name or a device type of the first extended device and the second extended device;
  • FIG. 3 is a schematic flowchart of forming an extended device list according to an embodiment of the present invention. As shown in FIG. 3, the forming of the extended device list may include the following steps:
  • Step 301 start;
  • Step 302 Determine whether the device type of all extended devices is detected; if not, Then, step 303 is performed; if the detection is completed, step 306 is performed.
  • the mobile terminal After detecting the device type of the first extended device through the I2C interface, the mobile terminal determines whether the device type detection of all the extended devices is completed.
  • Step 303 Continue to detect the extended device.
  • step 304 it is determined whether a new extended device is detected. If a new extended device is detected, step 305 is performed; if a new extended device is not detected, step 302 is performed.
  • step 305 is performed; otherwise, step 302 is performed.
  • Step 305 Update the extended device list, and update information such as the newly detected device name or device type of the extended device to the extended device list.
  • the detected device name or device type of the second extension device is updated to the extended device list.
  • Step 306 Return to the extended device list, so that the mobile terminal communicates with each extended device according to the extended device list by using a suitable communication manner.
  • Determining the detection of the device type of all the extended devices detecting the first extended device and the second extended device, and returning the updated extended device list, the updated extended device list including: the first extended device and the second extended The device name or device type of the device.
  • Step 307 the end.
  • the extended device list may include other device information of each extended device, such as a power supply mode and the like, in addition to the detected device name or device type of each extended device.
  • the communication method may further include:
  • the extended device connected to the mobile terminal is dynamically, periodically, periodically or non-periodically detected by a preset interface, and when a new extension device is connected to the mobile terminal through the third interface, the preset is adopted.
  • the interface reports the interruption information to the mobile terminal, and the mobile terminal receives the interruption information, and detects the new extension device through the preset interface according to the interruption information, and determines the device type of the new extension device, according to the new extension.
  • the device type of the device communicates with the new expansion device.
  • a communication device is also provided in the embodiment of the present invention. Since the principle of solving the problem is similar to the communication method of the device, the implementation of the device may refer to the implementation of the method, and the repeated description is not repeated.
  • FIG. 4 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention. As shown in FIG. 4, the communication apparatus may include:
  • the detecting unit 401 is configured to detect the first extended device and the second extended device by using a preset interface, where the first extended device is connected to the mobile terminal by using the first interface, and the second extended device is connected to the Mobile terminal
  • a device type determining unit 402 configured to determine, according to the detection result, a device type of the first extended device and the second extended device;
  • the communication unit 403 is configured to communicate with the first extension device and the second extension device according to a device type of the first extension device and the second extension device.
  • the preset interface may be an integrated circuit bus I2C interface.
  • the communication unit may be specifically configured to communicate with the first extension device and the second extension device by using one or more of the following protocols, where the protocol includes: a fast peripheral interconnection standard PCIE protocol Universal Asynchronous Transceiver UART Protocol, SIM Card Protocol, Integrated Circuit Bus I2C Protocol or Universal Serial Bus USB Protocol, MIPI Protocol, SPI Protocol, HDMI Protocol, MHL Protocol, DisplayPort Protocol, Thunderbolt Interface Protocol, Field Bus Protocol, PCM Interface protocol, I2S bus protocol, PDM interface protocol.
  • the protocol includes: a fast peripheral interconnection standard PCIE protocol Universal Asynchronous Transceiver UART Protocol, SIM Card Protocol, Integrated Circuit Bus I2C Protocol or Universal Serial Bus USB Protocol, MIPI Protocol, SPI Protocol, HDMI Protocol, MHL Protocol, DisplayPort Protocol, Thunderbolt Interface Protocol, Field Bus Protocol, PCM Interface protocol, I2S bus protocol, PDM interface protocol.
  • the communication device may further include:
  • the extended device list includes a device name or a device type of the first extended device and the second extended device; and the device types of the first extended device and the second extended device are obtained according to the extended device list.
  • the communication device may further include:
  • a new device communication unit configured to: when a new extension device is connected to the mobile terminal, the mobile terminal receives an interruption of the new extension device connected to the mobile terminal; the terminal passes a preset according to the interruption The interface detects the new extension device, the new extension device is connected to the mobile terminal through a third interface; determining a device type of the new extension device according to the detection result; and the device according to the new extension device Type to communicate with the new expansion device.
  • the communication device provided by the embodiment of the present invention implements detection of the first extended device or the second extended device by using the detecting unit, and the device type is adopted by the detecting unit. Determining, by the determining unit, the device type of the first extended device and the second extended device according to the detection result, and then, according to the communication unit, according to the device type of the first extended device and the second extended device, An extension device and the second extension device communicate, based on the communication device, the mobile terminal can detect a plurality of extension devices connected to the mobile terminal through a preset interface, thereby determining device types of the plurality of extension devices, respectively According to the device type of each extended device, the problem of the related solution that the mobile terminal can communicate with the multiple extended devices is not effectively solved.
  • the electronic device 500 may include: a processor 501, a memory 502, a communication interface 503, and a bus 504.
  • the processor 501, the memory 502, and the communication interface 503 are connected by the bus 504 and complete communication with each other;
  • the memory 502 stores executable program code
  • the processor 501 runs a program corresponding to the executable program code by executing executable program code stored in the memory 502 for executing a communication method; wherein the communication method includes:
  • the electronic device provided by the embodiment of the present invention has a first expansion device or a second extension connected to the mobile terminal through a preset interface, in view of the problem that the related device can be implemented in a manner that the mobile terminal can communicate with the multiple extension devices.
  • the device performs detection, and then determines the device type of the first extended device and the second extended device according to the detection result, and then, according to the device type of the first extended device and the second extended device, An extension device and the second extension device communicate, so that the mobile terminal can detect multiple extension devices connected to the mobile terminal through a preset interface, thereby determining device types of the multiple extension devices, respectively, according to each extension.
  • the device type of the device communicates with it, effectively solving the problem that there is currently no related solution that enables the mobile terminal to communicate with multiple extended devices.
  • the embodiment of the present invention further provides a storage medium, wherein the storage medium is used to store an application, and the application is configured to execute a communication method according to an embodiment of the present invention at runtime.
  • the embodiment of the present invention further provides an application program, where the application program is used to execute a communication method according to an embodiment of the present invention at runtime.
  • the application can be run in an electronic device provided by an embodiment of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the mobile terminal detects the projector and the charging treasure through the I2C interface, and sequentially obtains the device information of the projector and the charging treasure (including: device name or device type) through the I2C interface, and then can use the extended device list (the above has been Explain that the form of the projector and the charging device are managed in a unified manner.
  • the device type in the embodiment of the present invention is divided from the perspective of device communication characteristics.
  • the mobile terminal acquires the device type of the projector and the charging treasure
  • the data transmitted between the charging treasure and the mobile terminal is basically state or control information
  • the amount of data is small, and therefore, the communication method of the I2C protocol can be used to communicate with the charging treasure.
  • the projector can communicate with the projector through the PCIe protocol, thereby realizing the communication mode in which the mobile terminal and the projector and the charging device do not interfere with each other.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a bootable computer or other programmable data processing device.
  • a computer readable memory that operates in a particular manner, causing instructions stored in the computer readable memory to produce an article of manufacture comprising an instruction device implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种通信方法、装置及电子设备,该通信方法包括:通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。采用本发明提供的技术方案,可以有效解决目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题。

Description

一种通信方法、装置及电子设备 技术领域
本发明涉及通信技术领域,可以应用于云端智能机器人领域,特别涉及一种通信方法、装置及电子设备。
背景技术
云端机器人是将认知系统放在云里,身体、驱动、传感器放在机器人本体上,通过移动通信将二者连接起来的智能机器人;云端机器人是智能仿人机器人发展的方向。具体的,机器人本体可以通过与其连接的移动终端连接至云端,获取其认知系统。
现有技术中,移动终端可以外接一个扩展设备,只能通过USB(Universal Serial Bus,通用串行总线)接口与该扩展设备进行通信。
目前还没有能够实现移动终端与多个扩展设备进行通信的相关方案。
发明内容
本发明实施例针对目前还没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题,提出了一种通信方法、装置及电子设备。
本发明实施例第一方面提供了一种通信方法,包括如下步骤:
通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
本发明实施例第二方面提供了一种通信装置,包括:
检测单元,用于通过预设的接口检测第一扩展设备和第二扩展设备,所 述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
设备类型确定单元,用于根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
通信单元,用于根据与所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
本发明实施例第三方面提供了一种电子设备,包括:处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种通信方法;其中,所述通信方法包括:
通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
本发明实施例第四方面提供了一种存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本发明实施例所述的一种通信方法。
本发明实施例第五方面提供了一种应用程序,其中,该应用程序用于在运行时执行本发明实施例所述的一种通信方法。
有益效果如下:
目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问 题,本发明实施例所提供的通信方法、装置及电子设备,由于通过预设的接口对分别通过第一接口、第二接口与移动终端连接的第一扩展设备或第二扩展设备进行检测,进而根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型,然后,根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信,所以,移动终端可以通过预设的接口对连接至移动终端的多个扩展设备进行检测,进而确定多个扩展设备的设备类型,分别根据各个扩展设备的设备类型与其进行通信,有效解决了目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题。
附图说明
下面将参照附图描述本发明的具体实施例,其中:
图1为本发明实施例中提供的通信方法的流程示意图;
图2为本发明实施例中移动终端检测多个扩展设备的示意图;
图3为本发明实施例中扩展设备列表形成的流程示意图;
图4为本发明实施例中提供的通信装置的结构示意图;
图5为本发明实施例中提供的电子设备的结构示意图。
具体实施方式
为了使本发明的技术方案及优点更加清楚明白,以下结合附图对本发明的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本发明的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。
发明人在发明过程中注意到:现有的移动终端可以通过USB接口外接一个扩展设备,只能通过USB接口与该扩展设备进行通信。目前还没有能够实现移动终端与多个扩展设备进行通信的相关方案。
基于此,本发明实施例提出了一种通信方法,该通信方法可以应用于移 动终端侧,下面进行说明。
图1示出了本发明实施例中提供的通信方法的流程示意图,如图1所示,该通信方法可以包括如下步骤:
步骤101、通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
步骤102、根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
步骤103、根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
具体实施中,所述预设的接口用于对连接至移动终端的多个扩展设备的检测,该预设的接口可以是单独的接口,也可以是属于第一接口或属于第二接口中的部分管脚形成的接口。第一接口用于将第一扩展设备与移动终端进行连接,属于第一接口的相连接的两个子接口(包括:第一子接口和第二子接口),第一子接口设置于移动终端侧,第二子接口设置于第一扩展设备侧,第一子接口位于移动终端的具体位置或第二子接口位于第一扩展设备的具体位置可以根据实际需要来确定(例如,第一子接口可以位于移动终端的背面的特定区域,第二子接口位于第一扩展设备正面可与第一子接口匹配连接的特定区域),这里不做具体限定。同理,第二接口用于连接第二扩展设备和移动终端。
移动终端或者叫移动通信终端是指可以在移动中使用的计算机设备,本发明实施例中的移动终端可以是指手机或者具有多种应用功能的智能手机以及平板电脑。
移动终端确定各个扩展设备的设备类型后,可以根据各个扩展设备的设备类型确定移动终端与各个扩展设备的通信方式(通信方式具体可以包括:采用的接口协议、速率等等),进而根据确定的通信方式进行通信。
上述通信方法中以移动终端与第一扩展设备和第二扩展设备两个扩展设 备进行通信为例,实际应用中,该通信方法也可以应用到移动终端与三个以上扩展设备通信的场景中。
有益效果:
针对目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题,本发明实施例所提供的通信方法,由于通过预设的接口对与移动终端连接的第一扩展设备或第二扩展设备进行检测,进而根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型,然后,根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信,所以,移动终端可以通过预设的接口对连接至移动终端的多个扩展设备进行检测,进而确定多个扩展设备的设备类型,分别根据各个扩展设备的设备类型与其进行通信,有效解决了目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题。
进一步地,为了更为简单快捷地进行扩展设备的检测,实施中,所述预设的接口可以为集成电路总线I2C接口。
I2C(Inter-Integrated Circuit,集成电路总线)是一个双向的两线连续总线,提供集成电路之间的串行通信线路,采用一条数据线(SDA),加一条时钟线(SCL)来完成数据的传输及外围器件的扩展,由于I2C的寻址是软寻址方式,可以节省片选线。
通常,扩展设备检测过程中需要传输的数据量不会特别大,I2C总线有三种数据传输速度:标准(100Kbps),快速模式(400Kbps)和高速模式(3.4Mbps),可以很好地满足扩展设备检测的传输速率要求。
在实施中采用I2C是由于这种方式比较常用、主流,易于本领域技术人员使用/理解,所以这里以I2C为例;但是,从理论上来说,用其他的方式也是可以的,只要能够实现扩展设备检测的目的即可,I2C仅用于教导本领域技术人员具体如何实施本发明,但并不意味仅能使用I2C,实施过程中可以结合实践需要来确定相应的方式。
进一步地,为了更为高效地执行该通信方法,实施中,根据检测结果确 定第一扩展设备或第二扩展设备的设备类型之前,还可以包括:
确定所有扩展设备检测完毕。
具体的,以采用I2C接口检测扩展设备为例,图2为本发明实施例中移动终端检测多个扩展设备的示意图,如图2所示,设有n(n为不小于2的自然数)个扩展设备连接至移动终端,移动终端通过I2C接口依据扩展设备的I2C地址顺序依次对这n个扩展设备进行检测,直到完成I2C地址中排序最后一个的扩展设备时,确定所有扩展设备检测完毕。
实施中,与所述第一扩展设备和所述第二扩展设备进行通信,可以具体包括:
采用下面协议中的一种或多种与所述第一扩展设备和所述第二扩展设备进行通信,所述协议包括:PCIE(Peripheral Component Interconnect Express,快捷外设互联标准)协议、UART(Universal Asynchronous Receiver/Transmitter,通用异步收发传输器)协议、SIM(Subscriber Identity Module,客户识别模块)卡协议、I2C协议、USB协议、MIPI(Mobile Industry Processor Interface,移动产业处理器接口)协议、SPI(Serial Peripheral Interface,串行外设接口)协议、HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)协议、MHL(Mobile High-Definition Link,移动终端高清影音标准接口)协议、DisplayPort(显示接口)协议、Thunderbolt(雷电)接口协议、Field Bus(现场总线)协议、PCM(Pulse Code Modulation,脉冲编码调制)接口协议、I2S(Inter-IC Sound,集成电路内置音频)总线协议、PDM(Pulse Density Modulation,脉冲密度调制)接口协议。
其中,MIPI接口协议可以包括:CSI(CMOS Sensor Interface,相机串行接口)协议、DSI(Display Serial Interface,显示串行接口)协议、RFFE(RF Front-End Control Interface,射频前端控制接口)协议、Slimbus(Serial Low-power Inter-chip Media Bus,串行低功耗芯片间媒介总线)协议或UniPro协议。Field Bus协议可以包括:CAN(Controller Area Network,控制器局域网络)协议。
在实施中采用PCIE协议、UART协议、SIM卡协议、I2C协议、USB协议、MIPI协议、SPI协议、HDMI协议、MHL协议、DisplayPort协议、Thunderbolt接口协议、Field Bus协议、PCM接口协议、I2S总线协议、PDM接口协议是由于这种方式比较常用、主流,易于本领域技术人员使用/理解,所以这里以PCIE协议、UART协议、SIM卡协议、I2C协议、USB协议、MIPI协议、SPI协议、HDMI协议、MHL协议、DisplayPort协议、Thunderbolt接口协议、Field Bus协议、PCM接口协议、I2S总线协议、PDM接口协议为例;但是,从理论上来说,用其他的方式也是可以的,只要能够实现通信目的即可,PCIE协议、UART协议、SIM卡协议、I2C协议、USB协议、MIPI协议、SPI协议、HDMI协议、MHL协议、DisplayPort协议、Thunderbolt接口协议、Field Bus协议、PCM接口协议、I2S总线协议、PDM接口协议仅用于教导本领域技术人员具体如何实施本发明,但并不意味仅能使用PCIE协议、UART协议、SIM卡协议、I2C协议、USB协议、MIPI协议、SPI协议、HDMI协议、MHL协议、DisplayPort协议、Thunderbolt接口协议、Field Bus协议、PCM接口协议、I2S总线协议、PDM接口协议,实施过程中可以结合实践需要来确定相应的方式。
实施中,为了便于对检测到的扩展设备信息的管理或使用,根据所述第一扩展设备和所述第二扩展设备的设备类型,确定与所述第一扩展设备和所述第二扩展设备的通信方式之前,还可以包括:
形成扩展设备列表,所述扩展设备列表包括所述第一扩展设备和所述第二扩展设备的设备名称或设备类型;
根据所述扩展设备列表获取所述第一扩展设备和所述第二扩展设备的设备类型。
图3为本发明实施例中扩展设备列表形成的流程示意图,如图3所示,扩展设备列表的形成可以包括如下步骤:
步骤301、开始;
步骤302、确定所有扩展设备的设备类型是否检测完毕;若未检测完毕, 则执行步骤303;若检测完毕,则执行步骤306。
移动终端通过I2C接口检测到第一扩展设备的设备类型后,判断是否完成所有扩展设备的设备类型的检测。
步骤303、继续检测扩展设备;
继续进行扩展设备的检测。
步骤304、确定是否检测到新的扩展设备;若检测到新的扩展设备,则执行步骤305;若未检测到新的扩展设备,则执行步骤302。
确定是否检测到新的扩展设备,若检测到第二扩展设备,执行步骤305;否则,执行步骤302。
步骤305、更新扩展设备列表;将新检测到的扩展设备的设备名称或设备类型等信息更新至扩展设备列表中。
将检测到的第二扩展设备的设备名称或设备类型等信息更新至扩展设备列表中。
步骤306、返回扩展设备列表,以便于移动终端根据该扩展设备列表采用合适的通信方式与各个扩展设备进行通信。
确定完成所有扩展设备的设备类型的检测,检测到第一扩展设备和第二扩展设备,返回更新的扩展设备列表,该更新的扩展设备列表包括:所述第一扩展设备和所述第二扩展设备的设备名称或设备类型。
步骤307、结束。
具体实施中,扩展设备列表除了包括检测到的各个扩展设备的设备名称或设备类型,还可以包括各个扩展设备的其他信息,例如,供电方式等等。
为了实现移动终端对扩展设备的动态检测及通信,该通信方法还可以包括:
当有新的扩展设备连接至所述移动终端时,接收所述新的扩展设备连接至所述移动终端中断;
根据所述中断通过预设的接口检测所述新的扩展设备,所述新的扩展设备通过第三接口连接至所述移动终端;
根据检测结果确定所述新的扩展设备的设备类型;
根据所述新的扩展设备的设备类型,与所述新的扩展设备进行通信。
具体的,由预设的接口对连接至移动终端的扩展设备进行动态实时、周期性或非周期性地检测,当有新的扩展设备通过第三接口连接至移动终端时,通过该预设的接口向移动终端上报中断信息,移动终端接收该中断信息,并根据该中断信息通过预设的接口检测所述新的扩展设备,确定所述新的扩展设备的设备类型,根据所述新的扩展设备的设备类型,与所述新的扩展设备进行通信。
基于同一发明构思,本发明实施例中还提供了一种通信装置,由于这些设备解决问题的原理与一种通信方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。
图4为本发明实施例中提供的通信装置的结构示意图,如图4所示,该通信装置可以包括:
检测单元401,用于通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
设备类型确定单元402,用于根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
通信单元403,用于根据与所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
实施中,所述预设的接口可以为集成电路总线I2C接口。
实施中,所述通信单元可以具体用于采用下面协议中的一种或多种与所述第一扩展设备和所述第二扩展设备进行通信,所述协议包括:快捷外设互联标准PCIE协议、通用异步收发传输器UART协议、SIM卡协议、集成电路总线I2C协议或通用串行总线USB协议、MIPI协议、SPI协议、HDMI协议、MHL协议、DisplayPort协议、Thunderbolt接口协议、Field Bus协议、PCM接口协议、I2S总线协议、PDM接口协议。
实施中,该通信装置还可以包括:
列表单元,用于根据所述第一扩展设备和所述第二扩展设备的设备类型,确定与所述第一扩展设备和所述第二扩展设备的通信方式之前,形成扩展设备列表,所述扩展设备列表包括所述第一扩展设备和所述第二扩展设备的设备名称或设备类型;根据所述扩展设备列表获取所述第一扩展设备和所述第二扩展设备的设备类型。
实施中,该通信装置还可以包括:
新设备通信单元,用于当有新的扩展设备连接至所述移动终端时,所述移动终端接收所述新的扩展设备连接至所述移动终端中断;所述终端根据所述中断通过预设的接口检测所述新的扩展设备,所述新的扩展设备通过第三接口连接至所述移动终端;根据检测结果确定所述新的扩展设备的设备类型;根据所述新的扩展设备的设备类型,与所述新的扩展设备进行通信。
为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。
有益效果:
针对目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题,本发明实施例所提供的通信装置,通过检测单元实现对第一扩展设备或第二扩展设备的检测,通过设备类型确定单元根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型,然后,基于通信单元根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信,基于上述通信装置,移动终端可以通过预设的接口对连接至移动终端的多个扩展设备进行检测,进而确定多个扩展设备的设备类型,分别根据各个扩展设备的设备类型与其进行通信,有效解决了目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题。
图5为本发明实施例中提供的电子设备的结构示意图,如图5所示,该电子设备500可以包括:处理器501、存储器502、通信接口503和总线504;
所述处理器501、所述存储器502和所述通信接口503通过所述总线504连接并完成相互间的通信;
所述存储器502存储可执行程序代码;
所述处理器501通过读取所述存储器502中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种通信方法;其中,所述通信方法包括:
通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
有益效果:
针对目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题,本发明实施例所提供的电子设备,由于通过预设的接口对与移动终端连接的第一扩展设备或第二扩展设备进行检测,进而根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型,然后,根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信,所以,移动终端可以通过预设的接口对连接至移动终端的多个扩展设备进行检测,进而确定多个扩展设备的设备类型,分别根据各个扩展设备的设备类型与其进行通信,有效解决了目前没有能够实现移动终端与多个扩展设备进行通信的相关方案的问题。
本发明实施例还提供了一种存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本发明实施例所述的一种通信方法。
本发明实施例还提供了一种应用程序,其中,该应用程序用于在运行时执行本发明实施例所述的一种通信方法。
该应用程序可以运行于本发明实施例提供的电子设备中。
为了便于本发明的实施,下面以实例进行说明。
实施例一:
以投影仪作为第一扩展设备,充电宝作为第二扩展设备为例进行说明。如图2所示,移动终端通过I2C接口检测投影仪和充电宝,依次通过I2C接口获取投影仪和充电宝的设备信息(包括:设备名称或设备类型)后,可以采用扩展设备列表(上面已经有所说明,这里不再赘述)的形式对投影仪和充电宝的设备信息进行统一管理。
本发明实施例中的设备类型是从设备通信特点的角度进行划分的。移动终端获取到投影仪和充电宝的设备类型后,由于充电宝与移动终端之间传输的基本为状态或控制信息,数据量较小,因此,可以采用I2C协议的通信方式与充电宝进行通信。由于投影仪与移动终端之间传输的数据量较大,可以通过PCIe协议与投影仪进行通信,从而实现了移动终端与投影仪、充电宝这两个扩展设备之间互不干扰的通信方式。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。

Claims (11)

  1. 一种通信方法,其特征在于,包括如下步骤:
    通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
    根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
    根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
  2. 如权利要求1所述的方法,其特征在于,所述预设的接口为集成电路总线I2C接口。
  3. 如权利要求1所述的方法,其特征在于,与所述第一扩展设备和所述第二扩展设备进行通信,具体包括:
    采用下面协议中的一种或多种与所述第一扩展设备和所述第二扩展设备进行通信,所述协议包括:快捷外设互联标准PCIE协议、通用异步收发传输器UART协议、SIM卡协议、集成电路总线I2C协议、通用串行总线USB协议、移动产业处理器接口MIPI协议、串行外设接口SPI协议、高清晰度多媒体接口HDMI协议、移动终端高清影音标准接口MHL协议、显示接口DisplayPort协议、雷电Thunderbolt接口协议、现场总线Field Bus协议、脉冲编码调制PCM接口协议、集成电路内置音频I2S总线协议、脉冲密度调制PDM接口协议。
  4. 如权利要求1述的方法,其特征在于,根据所述第一扩展设备和所述第二扩展设备的设备类型,确定与所述第一扩展设备和所述第二扩展设备的通信方式之前,还包括:
    形成扩展设备列表,所述扩展设备列表包括所述第一扩展设备和所述第二扩展设备的设备名称或设备类型;
    根据所述扩展设备列表获取所述第一扩展设备和所述第二扩展设备的设 备类型。
  5. 如权利要求1所述的方法,其特征在于,还包括:
    当有新的扩展设备连接至所述移动终端时,接收所述新的扩展设备连接至所述移动终端中断;
    根据所述中断通过预设的接口检测所述新的扩展设备,所述新的扩展设备通过第三接口连接至所述移动终端;
    根据检测结果确定所述新的扩展设备的设备类型;
    根据所述新的扩展设备的设备类型,与所述新的扩展设备进行通信。
  6. 一种通信装置,其特征在于,包括:
    检测单元,用于通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
    设备类型确定单元,用于根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
    通信单元,用于根据与所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
  7. 如权利要求6所述的装置,其特征在于,所述预设的接口为集成电路总线I2C接口。
  8. 如权利要求6所述的装置,其特征在于,所述通信单元具体用于采用下面协议中的一种或多种与所述第一扩展设备和所述第二扩展设备进行通信,所述协议包括:快捷外设互联标准PCIE协议、通用异步收发传输器UART协议、SIM卡协议、集成电路总线I2C协议或通用串行总线USB协议、移动产业处理器接口MIPI协议、串行外设接口SPI协议、高清晰度多媒体接口HDMI协议、移动终端高清影音标准接口MHL协议、显示接口DisplayPort协议、雷电Thunderbolt接口协议、现场总线Field Bus协议、脉冲编码调制PCM接口协议、集成电路内置音频I2S总线协议、脉冲密度调制PDM接口协议。
  9. 如权利要求6所述的装置,其特征在于,还包括:
    列表单元,用于根据所述第一扩展设备和所述第二扩展设备的设备类型,确定与所述第一扩展设备和所述第二扩展设备的通信方式之前,形成扩展设备列表,所述扩展设备列表包括所述第一扩展设备和所述第二扩展设备的设备名称或设备类型;根据所述扩展设备列表获取所述第一扩展设备和所述第二扩展设备的设备类型。
  10. 如权利要求6所述的装置,其特征在于,还包括:
    新设备通信单元,用于当有新的扩展设备连接至所述移动终端时,所述移动终端接收所述新的扩展设备连接至所述移动终端中断;所述终端根据所述中断通过预设的接口检测所述新的扩展设备,所述新的扩展设备通过第三接口连接至所述移动终端;根据检测结果确定所述新的扩展设备的设备类型;根据所述新的扩展设备的设备类型,与所述新的扩展设备进行通信。
  11. 一种电子设备,其特征在于,包括:处理器、存储器、通信接口和总线;
    所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
    所述存储器存储可执行程序代码;
    所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行一种通信方法;其中,所述通信方法包括:
    通过预设的接口检测第一扩展设备和第二扩展设备,所述第一扩展设备通过第一接口连接至移动终端,所述第二扩展设备通过第二接口连接至所述移动终端;
    根据检测结果确定所述第一扩展设备和所述第二扩展设备的设备类型;
    根据所述第一扩展设备和所述第二扩展设备的设备类型,与所述第一扩展设备和所述第二扩展设备进行通信。
PCT/CN2016/079446 2016-04-15 2016-04-15 一种通信方法、装置及电子设备 WO2017177448A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/079446 WO2017177448A1 (zh) 2016-04-15 2016-04-15 一种通信方法、装置及电子设备
CN201680002738.9A CN107111589A (zh) 2016-04-15 2016-04-15 一种通信方法、装置及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/079446 WO2017177448A1 (zh) 2016-04-15 2016-04-15 一种通信方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2017177448A1 true WO2017177448A1 (zh) 2017-10-19

Family

ID=59676319

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079446 WO2017177448A1 (zh) 2016-04-15 2016-04-15 一种通信方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN107111589A (zh)
WO (1) WO2017177448A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661645A (zh) * 2020-12-23 2022-06-24 成都鼎桥通信技术有限公司 数据传输通道建立方法、装置以及通信模组

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339095A (zh) * 2010-07-23 2012-02-01 联想(北京)有限公司 信息设备的扩展设备和扩展方法
CN102819501A (zh) * 2012-08-21 2012-12-12 天地融科技股份有限公司 一种电子设备、数据接口类型的检测方法
CN204598293U (zh) * 2015-05-12 2015-08-26 杭州派尼澳电子科技有限公司 一种利用音频接口的存储装置
CN105449474A (zh) * 2014-09-19 2016-03-30 鸿庆鑫电声科技有限公司 电连接器、具有该电连接器的连接装置及连接组合

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964452A (zh) * 2005-11-09 2007-05-16 南靖万利达科技有限公司 电视机自动识别扩展功能模块的方法
CN201348780Y (zh) * 2008-12-30 2009-11-18 深圳市同洲电子股份有限公司 一种接口扩展装置及移动终端
CN110851387B (zh) * 2015-09-30 2022-08-19 联想(北京)有限公司 一种接口功能配置方法和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339095A (zh) * 2010-07-23 2012-02-01 联想(北京)有限公司 信息设备的扩展设备和扩展方法
CN102819501A (zh) * 2012-08-21 2012-12-12 天地融科技股份有限公司 一种电子设备、数据接口类型的检测方法
CN105449474A (zh) * 2014-09-19 2016-03-30 鸿庆鑫电声科技有限公司 电连接器、具有该电连接器的连接装置及连接组合
CN204598293U (zh) * 2015-05-12 2015-08-26 杭州派尼澳电子科技有限公司 一种利用音频接口的存储装置

Also Published As

Publication number Publication date
CN107111589A (zh) 2017-08-29

Similar Documents

Publication Publication Date Title
TWI733752B (zh) 用於旁波帶通訊之系統及方法、以及實體非暫時性計算機可讀媒體
WO2017118441A1 (zh) 一种接口管脚配置的方法及装置
US7603501B2 (en) Communication circuit of serial peripheral interface devices
JP6244042B2 (ja) USB Type−Cの付属装置ドッキングモードに移行する方法、装置及びコンピュータプログラム製品
CN107111588A (zh) 经由USB端口使用PCIe协议的数据传输
TWI547784B (zh) 動態調整匯流排時脈的方法及其裝置
CN102736884B (zh) 链路连结的方法以及链路连结建立设备
US9588931B2 (en) Communication bridging between devices via multiple bridge elements
CN104834620A (zh) 串行外设接口spi总线电路、实现方法以及电子设备
WO2013075501A1 (zh) 节点热插拔的方法及装置
CN204117142U (zh) 提供主机即时切换分享通用串行总线电子设备的电子装置
US20170371684A1 (en) Pin control method and device
CN103744478A (zh) 一种蓝牙无线显示器及其控制方法
US20190087378A1 (en) Method, Apparatus And System For Power Supply Policy Exchange On A Bus
CN105373511A (zh) 一种与多个光模块可同时通信的装置和方法
WO2017177448A1 (zh) 一种通信方法、装置及电子设备
TW201435600A (zh) Tbt晶片集成系統及方法
TWI630485B (zh) 擴展主控制器和其操作方法
CN105068962A (zh) I2c控制器访问方法及系统
TW201344450A (zh) 電子系統、主控電子裝置、電子裝置與通訊方法
CN105260335B (zh) 扩展光接口的数据处理系统及方法
CN105573950B (zh) 一种基于门电路芯片设定vr芯片地址的方法
TWI761624B (zh) 積體電路晶片的定址方法與系統
CN104899164A (zh) 集成电路总线的地址寻址方法、集成电路总线设备和系统
US9519487B2 (en) System-on-chip and method of operating the same

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16898266

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16898266

Country of ref document: EP

Kind code of ref document: A1