WO2019075696A1 - 一种实现设备间转接的方法及转接装置 - Google Patents

一种实现设备间转接的方法及转接装置 Download PDF

Info

Publication number
WO2019075696A1
WO2019075696A1 PCT/CN2017/106892 CN2017106892W WO2019075696A1 WO 2019075696 A1 WO2019075696 A1 WO 2019075696A1 CN 2017106892 W CN2017106892 W CN 2017106892W WO 2019075696 A1 WO2019075696 A1 WO 2019075696A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
target
communication unit
interface
audio
Prior art date
Application number
PCT/CN2017/106892
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/CN2017/106892 priority Critical patent/WO2019075696A1/zh
Publication of WO2019075696A1 publication Critical patent/WO2019075696A1/zh

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

Definitions

  • the present invention relates to the field of computer software, and in particular, to a method and a switching device for implementing inter-device switching.
  • an extension device is connected to a mobile device, for example, a device such as a display, a keyboard or a mouse is connected to the mobile phone via Bluetooth.
  • a mobile device for example, a device such as a display, a keyboard or a mouse is connected to the mobile phone via Bluetooth.
  • the information output or input is completed on the basis of the processing capability of the mobile device, and the extended application of the mobile device is realized.
  • An object of the present invention is to provide a method and a switching device for implementing inter-device switching, which aims to solve the problem that the existing extended device has a single function and a variety of types, and the conversion device has a human-machine interface process. There are many expansion devices required, and the implementation process is complicated, which is not convenient for the function expansion of the device.
  • a method for inter-device handover comprising the steps of:
  • the target operation information is identifiable by the first device Other operational information;
  • a switching device in another aspect, includes: a first communication unit, an information conversion unit, and a second communication unit, wherein the information conversion unit and the first communication unit and the Said second communication unit connection;
  • the first communication unit is configured to: acquire, after the switching device establishes a communication connection with the first device, acquire operation interface information of the first device;
  • the second communication unit is configured to: after the switching device establishes a communication connection with the second device, send the operation interface information to the second device, and receive the second device Operation information transmitted according to the current operation interface information;
  • the information conversion unit is configured to: convert the operation information into target operation information; and the target operation information is operation information identifiable by the first device;
  • the first communication unit is further configured to: send the target operation information to the first device, where the target operation information is used to control the first device to perform an operation corresponding to the target operation information. .
  • a computer readable storage medium storing a computer program, the computer program comprising program instructions, the program instructions being executed by a processor to cause the processor to execute The method of the above first aspect.
  • the user only needs to connect the first device to the second device through the converter, and the second device can be used as the human-machine interface of the first device, by inputting a control instruction or information to the second device. And performing corresponding control or execution on the first device, thereby returning the control result or the execution result to the computer. Only the second device can directly complete the function expansion of the first device, reduce the steps and device types of the first device function expansion process, improve the efficiency of the function expansion, and the user experience of using the user.
  • DRAWINGS 1 is a flowchart of a method for implementing inter-device handover according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for implementing inter-device handover according to another embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an adapter device according to an embodiment of the present invention.
  • FIG. 4 is a diagram showing an example of a switching device according to another embodiment of the present invention.
  • the embodiment of the present invention generates an operation interface corresponding to the operation interface call instruction by receiving an operation interface call instruction input by a user, and starts the operation after receiving a function item start instruction input by the user according to the operation interface.
  • the function item specified by the function start instruction Therefore, the corresponding contact can be directly called through the contact dial in the contact operation interface, and the corresponding application is directly started according to the application dial in the application operation interface.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a flowchart of a method for implementing inter-device handover according to the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the execution body of the method for implementing inter-device handover in this embodiment is an switching device.
  • the method for implementing inter-device handover as shown in FIG. 1 may include the following steps.
  • S101 After the switching device establishes a communication connection with the first device, acquiring an operation interface of the first device.
  • the first device establishes a communication connection with the second device through the switching device, and the communication connection is a Universal Serial Bus (USB)-based communication connection.
  • USB Universal Serial Bus
  • the USB interface is widely used in information communication products such as personal computers and mobile devices, and has the advantages of being hot-swappable, portable, standard, and capable of connecting multiple devices.
  • the first device and the second device can be connected to the switching device through a USB-A interface and a USB TYPE-C interface, and the USB TYPE-C interface can support both front and back insertion and removal, and is backward compatible. Standard and both The ease of use and plug-and-play functionality of traditional USB technology.
  • the first device Due to its portable characteristics, the first device has a relatively low effect or user experience during use, especially during operations such as display, input, and the like.
  • the first device is a portable mobile device.
  • the first device may be a mobile phone, a tablet, or the like, and is not limited herein.
  • the second device may be a device having a human interface or a USB interface, and the human interface is an interface for inputting or exchanging information between the person and the computer, such as a keyboard, a display, a printer, a mouse, and the like.
  • the human-machine interface and the human-machine interaction device jointly complete the conversion of the information form and the control of the information transmission, and collect the operation information of the user through the human-machine interface.
  • the second device may be a computer, a workstation, or the like, and is not limited herein.
  • the switching device obtains the current operating interface information of the first device, where the operating interface information may be an operating interface of the first device in the current situation, in which case the second device may directly obtain the current device
  • the operation of the first device directly performs the corresponding operation on the current running interface of the first device; or the main interface of the first device, in which case the second device acquires the main interface information of the first device, and then the second The device performs corresponding operations through the main interface of the first device, and there is no limitation here.
  • S102 After the switching device establishes a communication connection with the second device, send the operation interface information to the second device, and receive the second device according to the current operation interface. Operational information for information transmission.
  • the switching device converts the acquired operation interface information of the first device into information identifiable by the second device, and then sends the information to the second device. So that the second device acquires the running condition of the first device. In turn, the user can directly control or operate the first device through the second device.
  • the second device After receiving the operation interface information of the first device sent by the switching device, the second device performs display on the second device. Thereafter, the user can see the operation interface information of the first device through the display device of the second device. The user performs corresponding control or operation on the second device according to the operation interface information.
  • the second device After receiving the operation information sent by the user according to the current operation interface information, the second device sends the operation information to the switching device, and the operation information is the target operation information.
  • the switching device receives the operation information sent by the second device according to the current operation interface information.
  • the operation information of the user is the application software; the user moves the mouse, or the keyboard inputs the number, which also belongs to the operation information.
  • the operation information needs to be sent to the first device, so that the first device performs a corresponding action according to the operation information.
  • S103 Convert the operation information into target operation information; the target operation information is operation information identifiable by the first device.
  • the switching device After receiving the operation information sent by the second device according to the current operation interface information, the switching device must complete the execution action corresponding to the operation information by using the first device itself. However, the first device cannot directly perform the action corresponding to the operation information, and therefore, the operation information needs to be converted into the target operation information.
  • the switching device when the switching device is connected to device A, a human interface device such as a virtual keyboard or a mouse is virtualized. Then, the switching device receives the operation information sent by the application plug-in on the computer B, for example, keyboard input, or mouse movement, and converts the operation information into operation information sent by the virtual human-machine interface device, that is, the target operation.
  • a human interface device such as a virtual keyboard or a mouse
  • the first device can recognize and execute the action corresponding to the target operation information.
  • S104 Send the target operation information to the first device, where the target operation information is used to control the first device to perform an operation corresponding to the target operation information.
  • the target operation information is transmitted to the first device.
  • the target operation information received by the first device is equivalent to the operation information that the user makes through the second device, and the first device performs the corresponding operation according to the converted target operation information.
  • the first device is device A and the second device is computer B.
  • the transfer device converts the keyboard input, or mouse movement information into a keyboard input identifiable by the first device, or mouse movement information, and sends the information to the device.
  • the device A receives the information of the keyboard input or the mouse movement, and performs the operation corresponding to the information of the keyboard input or the mouse movement.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1
  • FIG. 2 is a flowchart of another method for implementing inter-device handover according to the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • An execution body of a method for implementing inter-device handover in this embodiment is an switching device.
  • the method for implementing inter-device transfer as shown in FIG. 2 may include the following steps:
  • S201 After the switching device establishes a communication connection with the first device, acquiring an operation interface of the first device.
  • the switching device acquires current operation interface information of the first device.
  • the interface connected to the first device is a first USB interface, and the interface device can obtain the operation interface information of the first device, and can also send the operation information of the first device to the adapter device;
  • the interface connected to the switching device is a second USB interface, and the second device can receive the operation interface information of the first device sent by the switching device by using the second USB interface, and can also obtain the second device by the switching device.
  • the operational information sent is a first USB interface, and the interface device can obtain the operation interface information of the first device, and can also send the operation information of the first device to the adapter device.
  • the interface of the second device connection switching device may also be an interface such as a display port (DP) and a high definition multimedia interface (HDMl), and the specific interface type and data are The user sets or installs according to the usage requirements or the hardware structure of the second device, which is not limited herein.
  • DP display port
  • HDMl high definition multimedia interface
  • the second device is provided with multiple USB interfaces in many cases, one second device can be connected to the plurality of first devices through multiple USB interfaces.
  • the number or type of devices of the first device may have one or at least two, and no limitation is made herein.
  • a software is required to be installed in the second device to implement management and control of the plurality of first devices.
  • S202 After the switching device establishes a communication connection with the second device, sending the operation interface information to the second device, and receiving the second device according to the current operation interface. Operational information for information transmission.
  • the second device After the second device acquires the operation interface information of the first device, the user may input the operation information through the operation interface information displayed in the second device. After the user transmits the operation information according to the current operation interface information, the switching device starts receiving the operation information.
  • the switching device establishes a communication connection with the second device through the second USB interface, sends the operation interface information to the second device through the second USB interface, and receives the second device according to the second USB interface.
  • the operation information sent by the current operation interface information sent by the current operation interface information.
  • the operation information in the solution may be any human interface command information acquired by the first device.
  • the type and attribute of the operation information are obtained by the human-machine interface of the second device, and are restricted by the functional scope of the second device human-machine interface.
  • the user can set the specific operation information through the needs of the user and the configuration parameters or functions of the second device. Data and attributes, no restrictions here.
  • the user performs corresponding operations according to the operation interface information in the application plug-in, and the application plug-in collects operation information of the user, and identifies the operation information.
  • the operation information that can be converted and transmitted to the first device by the switching device and can be successfully executed by the first device is the operation information.
  • the application operation information is transmitted to the transfer device.
  • the switching device can receive the operation information sent by the application plug-in.
  • S203 Convert the operation information into target operation information; the target operation information is operation information identifiable by the first device.
  • the computer issues a keyboard or mouse action parameter
  • the keyboard or The mouse action parameters are the action information.
  • the keyboard or mouse action parameters of the computer are converted into virtual keyboard or mouse action parameters, and the converted virtual keyboard or mouse action parameters are the target operation information.
  • the virtual keyboard or mouse action parameters after the conversion may be recognized by the first device, and the first device performs a corresponding action according to the instructions in the target operation information.
  • an application that is clicked by the user according to the operation interface of the first device displayed on the second device is the icon of the click application software.
  • the information is transferred to the transfer device, and the transfer device converts the operation information into: the application software corresponding to the icon is clicked. Therefore, the "application software corresponding to the icon clicked by the snoring" is the target operation information, and the target operation information is the operation information that can be recognized by the first device.
  • the switching device can cause the first device to recognize the target operation information by converting the operation information into the target operation information, so as to achieve the purpose of performing the operation corresponding to the target operation information.
  • S204 Send the target operation information to the first device, where the target operation information is used to control the first device to perform an operation corresponding to the target operation information.
  • the switching device converts the target operation information
  • the converted target operation information is sent to the first device, so that the first device performs a corresponding operation according to the target operation information.
  • the converted virtual keyboard or mouse information is target operation information
  • the virtual keyboard or mouse information is sent to the mobile phone terminal, and the mobile terminal is controlled to execute with a virtual keyboard or The operation corresponding to the mouse information.
  • the switching device converts the target operation information “the application software corresponding to the clicked icon”
  • the information of the “application software corresponding to the clicked icon” is passed through the first USB interface.
  • Send to mobile terminal After receiving the information, the mobile terminal identifies the action information and the data information contained in the "application software corresponding to the icon clicked by the snooze", and the action information is "hiccup", and the data information is the "clicked icon”.
  • Corresponding application software "data information and data information of the corresponding application software.
  • S205 Receive data information sent by the first device, where the data information includes operation interface information after the first device executes the target operation information.
  • the operation corresponding to the target operation information is performed, and the data information after the execution is sent to the switching device.
  • the first device may send data information to the switching device during execution, so that the switching device can Obtaining the execution information of the first device, and forwarding the information to the second device for display; or transmitting the data information of the first device after the execution is completed to the transfer after performing the operation corresponding to the operation information of the destination
  • the device is not limited here.
  • the data information sent by the first device is information such as operation interface information, execution result, or multimedia data after the first device performs the target operation information, and the data is converted by the switching device and sent to the second device, so that the second device The device displays or manipulates this data.
  • the multimedia data is one or at least two types of data stored in the first device, such as video information, audio information, image information, or document information, and is not limited herein.
  • the first device is a mobile phone
  • the second device is a computer
  • the target operation information is “application software corresponding to the icon clicked by the snoring”
  • the mobile phone performs “hiccup” after receiving the information.
  • the operation interface of the application corresponding to the icon clicked is sent to the transfer device.
  • S206 Convert the data information into target data information, where the target data information is information identifiable by the second device.
  • the switching device converts the data information into the target data information, so that the data information sent to the second device can be recognized and displayed by the second device.
  • the data information of the first device includes information such as operation interface information, execution result, or multimedia data.
  • the attributes of the type of data information or the amount of memory used are different, so it is necessary to perform targeted conversion based on the attributes of the data information.
  • the video information is converted into the target video information; and if the data information sent by the first device is audio information, the video information is converted into the target audio information.
  • the switching device converts the video signal in the HDMI output information of the mobile phone end into a USB device.
  • USB 2.0 theoretical maximum transmission speed is 480Mbps, the interface has a total of 4 lines, the maximum output current is 0.5A.
  • USB 2.0 is currently the most common USB interface version, and almost all computers have a USB 2.0 interface, most of which are USB devices. It also supports USB 2.0.
  • the maximum transfer speed of USB3.0 is 5Gbps, the interface has a total of 9 lines, and the maximum output current is 1A.
  • USB 3.0 is also basically popular. Most of the computers produced in recent years have USB 3.0 interfaces, and many U disk, mobile hard disk and other devices have begun to use the USB 3.0 interface.
  • USB 3.0 is designed with backwards compatibility in mind, USB 2.0 devices can be plugged into a USB 3.0 interface, and USB 3.0 devices can be plugged into a USB 2.0 interface; in short, as long as the plug is physically compatible, It can be used.
  • the target data information of different attributes is obtained, and under the premise that the data attribute of the original data information is retained, the target application fine information is specifically converted, and the target data information of different attributes is improved. The processing effect and the compatibility of the target data information of different attributes are enhanced.
  • S207 Send the target data information to the second device to display the target data information by using the second device.
  • the target data information includes operation interface information of the second device, execution results, or data information after conversion of information such as multimedia data.
  • the data information of the first device is video information
  • the video information of the first device is converted into the target video information, and then the target video information is sent to the second device through the USB3.0 interface.
  • the audio information of the first device is converted into the target audio information, and then the target audio information is sent to the second device through the USB2.0 interface.
  • an application plug-in is installed in the first device, and the switching device sends the target data information to the application plug-in of the second device. After the application plug-in receives the target data information, the target information is displayed in the application plug-in.
  • the required expansion device improves the efficiency of the first device's function expansion and the experience of the user's use.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a diagram showing an example of a switching device according to an embodiment of the present invention.
  • Each unit included in the switching device 300 is used to perform the steps in the embodiment corresponding to FIG. 1.
  • the terminal 300 of the present embodiment includes a first communication unit 301, an information conversion unit 302, and a second communication unit 303, wherein the information conversion unit 302 is connected to the first communication unit 301 and the second communication unit 303, respectively.
  • the first communication unit 301 is configured to acquire operation interface information of the first device after the switching device establishes a communication connection with the first device.
  • the second communication unit 303 is configured to: after the switching device establishes a communication connection with the second device, send the operation interface information to the second device, and receive the second device according to The operation information sent by the current operation interface information.
  • the information conversion unit 302 is configured to convert the operation information into target operation information; and the target operation information is operation information recognizable by the first device.
  • the first communication unit 301 is further configured to send the target operation information to the first device, where the target operation information is used to control the first device to perform an operation corresponding to the target operation information.
  • the terminal 400 of the present embodiment includes a first communication unit 401, an information conversion unit 402, and a second communication unit 403, wherein the information conversion unit 402 is connected to the first communication unit 401 and the second communication unit 403, respectively.
  • 4 is different from FIG. 3 in that the first communication unit 401 in FIG. 4 includes a first video communication unit 4011 and a first audio communication unit 4012, and the information conversion unit 402 includes a video information conversion unit 4021 and an audio information conversion unit. 4022.
  • the second communication unit 403 includes a second video communication unit 4031 and a second audio communication unit 4032.
  • the first communication unit 401 is configured to acquire operation interface information of the first device after the switching device establishes a communication connection with the first device.
  • the first communication unit 401 is further configured to send the target operation information to the first device, where the target operation information is used to control the first device to perform an operation corresponding to the target operation information.
  • the first communication unit 401 further includes a first video communication unit 4011 and a first audio communication unit 4012, specifically:
  • the first video communication unit 4011 is configured to receive the video information sent by the first device.
  • the first audio communication unit 4012 is configured to receive the audio information sent by the first device.
  • the information conversion unit 402 is configured to convert the operation information into target operation information; and the target operation information is operation information identifiable by the first device.
  • the information conversion unit 402 includes a video information conversion unit 4021 and an audio information conversion unit 4
  • the video information conversion unit 4021 is configured to convert the video information into target video information.
  • the audio information conversion unit 4022 is configured to convert the audio information into target audio information.
  • the second communication unit 403 is configured to: after the switching device establishes a communication connection with the second device, send the operation interface information to the second device, and receive the second device according to the second device The operation information sent by the current operation interface information.
  • the second communication unit 403 includes a second video communication unit 4031 and a second audio communication unit 4
  • the second video communication unit 4031 is configured to send the target video information to the second device to pass The second device plays the target video information.
  • the second audio communication unit 4032 is configured to send the target audio information to the second device to play the target audio information by using the second device.
  • the first communication unit 401 is further configured to: receive data information sent by the first device, where the data information includes operation interface information after the first device performs the target operation information.
  • the information conversion unit 402 is further configured to: convert the data information into target data information, where the target data information is information identifiable by the first device;
  • the second communication unit 403 is further configured to: send the target data information to the second device, to display the target data information by using the second device.
  • the first communication unit 401 is specifically configured to: acquire, by using the first USB interface, the operation interface information of the first device by using the first USB interface after the communication device establishes a communication connection with the first device.
  • the second communication unit 403 is specifically configured to: after the switching device establishes a communication connection with the second device by using a second USB interface, send the operation interface information to the device through the second USB interface
  • the second device is configured to receive, by using the second USB interface, operation information that is sent by the second device according to the current operation interface information.
  • the first communication unit 401 is further configured to: send the target operation information to the first device by using the first USB interface.
  • the required expansion device improves the efficiency of the first device's function expansion and the experience of the user's use.
  • a computer readable storage medium stores a computer program, the computer program including program instructions, the program instructions being executed by the processor:
  • the operation information is operation information identifiable by the first device.
  • the operation interface information of the first device is obtained by using the first USB interface.
  • the switching device establishes a communication connection with the second device through the second USB interface, sending the operation interface information to the second device through the second USB interface, and
  • the second USB interface receives operation information that is sent by the second device according to the current operation interface information.
  • the computer readable storage medium may be an internal storage unit of the switching device described in any of the preceding embodiments, such as a hard disk or a memory of the switching device.
  • the computer readable storage medium may also be an external storage device of the switching device, such as a plug-in hard disk equipped on the switching device, a smart memory card (SMC), and a secure digital (Secure) Digital, SD) cards, flash cards, etc.
  • the computer readable storage medium may also include both an internal storage unit of the switching device and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the switching device.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the disclosed switching device and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or mutual coupling or display or discussion A communication connection may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented either in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, a switching device, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种实现设备间转接的方法及装置,所述方法包括:在转接装置与第一设备建立通信连接时,获取第一设备的操作界面信息;在转接装置与第二设备建立通信连接时,将操作界面信息发送至所述第二设备,并接收第二设备根据所述当前的操作界面信息发送的操作信息;将操作信息转换为第一设备可识别的目标操作信息,将目标操作信息发送至所述第一设备。通过第二设备控制第一设备执行与目标操作信息对应的操作,完成第一设备的功能扩展,减少第一设备功能扩展过程的步骤和所需的扩展设备,提高第一设备功能扩展的效率。

Description

一种实现设备间转接的方法及转接装置 技术领域
[0001] 本发明涉及计算机软件领域, 尤其涉及一种实现设备间转接的方法及转接装置 背景技术
[0002] 随着半导体技术的发展, 便携式移动设备的处理能力越来越强, 但由于其便携 特性导致这些移动设备不能配备或者便携附加键盘、 鼠标或者大屏显示器等人 机接口, 限制了便携式移动设备的使用效果和用户体验。
[0003] 现有技术中将扩展设备与移动设备连接, 例如将显示器、 键盘或者鼠标等设备 通过蓝牙的方式连接在手机上。 通过不同的扩展设备与移动设备之间的进行信 息转换或传输控制, 以在移动设备处理能力的基础上完成信息的输出或输入, 实现移动设备的扩展应用。 但是这种方式在实现设备的某种扩展功能吋, 往往 需要与该扩展功能对应的扩展设备相连, 才能实现设备所需的扩展功能, 所需 扩展设备较多, 实现过程较复杂。
技术问题
[0004] 本发明的目的是提供一种实现设备间转接的方法与及转接装置, 旨在解决现有 的扩展设备功能单一、 种类较多, 而导致的在转换设备人机接口过程中所需扩 展设备较多, 实现过程较复杂, 不便于对设备进行功能扩展的问题。
问题的解决方案
技术解决方案
[0005] 一方面, 提供一种设备间转接的方法, 所述方法包括以下步骤:
[0006] 在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操作界面信息; [0007] 在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界面信息发送至 所述第二设备, 并接收所述第二设备根据所述当前的操作界面信息发送的操作 f π息;
[0008] 将所述操作信息转换为目标操作信息; 所述目标操作信息为所述第一设备可识 别的操作信息;
[0009] 将所述目标操作信息发送至所述第一设备, 所述目标操作信息用于控制所述第 一设备执行与所述目标操作信息对应的操作。
[0010] 另一方面, 提供一种转接装置, 所述转接装置包括: 第一通信单元、 信息转换 单元以及第二通信单元, 所述信息转换单元分别与所述第一通信单元和所述第 二通信单元连接;
[0011] 所述第一通信单元用于: 在转接装置与第一设备建立通信连接吋, 获取所述第 一设备的操作界面信息;
[0012] 所述第二通信单元用于: 在所述转接装置与所述第二设备建立通信连接吋, 将 所述操作界面信息发送至所述第二设备, 并接收所述第二设备根据所述当前的 操作界面信息发送的操作信息;
[0013] 所述信息转换单元用于: 将所述操作信息转换为目标操作信息; 所述目标操作 信息为所述第一设备可识别的操作信息;
[0014] 所述第一通信单元还用于: 将所述目标操作信息发送至所述第一设备, 所述目 标操作信息用于控制所述第一设备执行与所述目标操作信息对应的操作。
[0015] 再一方面, 提供一种计算机可读存储介质, 所述计算机存储介质存储有计算机 程序, 所述计算机程序包括程序指令, 所述程序指令当被处理器执行吋使所述 处理器执行上述第一方面的方法。
发明的有益效果
有益效果
[0016] 在本发明中, 用户只需要通过转换器将第一设备与第二设备相连, 即可将第二 设备作为第一装置的人机接口, 通过对该第二设备输入控制指令或者信息, 而 在第一装置上进行相应的控制或执行, 进而将控制结果或执行结果返回到计算 机中。 只需要通过第二设备便可直接完成第一装置的功能扩展, 减少第一装置 功能扩展过程的步骤和设备类型, 提高功能扩展的效率以及用户在使用吋的体 验效果。
对附图的简要说明
附图说明 [0017] 图 1为本发明实施例提供的一种实现设备间转接的方法的流程图;
[0018] 图 2为本发明另一实施例提供的一种实现设备间转接的方法的示例图;
[0019] 图 3为本发明实施例提供的转接装置的示例图;
[0020] 图 4为本发明另一实施例提供的转接装置的示例图。
本发明的实施方式
[0021] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。
[0022] 本发明的实施例通过接收用户输入的操作界面调用指令, 生成与所述操作界面 调用指令对应的操作界面, 并在接收用户根据所述操作界面输入的功能项启动 指令后, 启动所述功能项启动指令指定的功能项。 因此, 能够通过联系人操作 界面中的联系人拨号盘直接呼叫对应的联系人, 根据应用程序操作界面中的应 用程序拨号盘直接启动对应的应用程序。
[0023] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。
[0024] 实施例一:
[0025] 如图 1所示为本发明提供的一种实现设备间转接的方法的流程图。 为了便于说 明, 仅示出了与本发明实施例相关的部分。 本实施例中实现设备间转接的方法 的执行主体为转接装置。 如图 1所示的实现设备间转接的方法可以包括以下步骤
[0026] S101 : 在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操作界面 f π息。
[0027] 第一设备通过转接装置与第二设备建立通信连接, 该通信连接为基于通用串行 总线 (Universal Serial Bus , USB) 的通信连接。 USB接口被广泛地应用于个人 电脑和移动设备等信息通讯产品, 具有可以热插拔、 携带方便、 标准统一以及 可以连接多个设备的优点。
[0028] 可选的, 第一设备和第二设备可以通过 USB-A接口、 USB TYPE-C接口与转接 装置相联, USB TYPE-C接口可支持正反两面插拔, 具有后向兼容标准, 并兼具 传统 USB技术的易用性和即插即用功能。
[0029] 第一设备由于其便携的特性, 使用过程中, 尤其是在进行显示、 输入等操作吋 的效果或用户体验都比较低。 很多情况下, 第一设备为便携式的移动设备, 示 例性的, 第一设备可以为手机、 平板电脑等设备, 此处不做限制。
[0030] 第二设备可以为具有人机接口或 USB接口的设备, 人机接口是人与计算机之间 建立联系、 交换信息的输入或输出设备的接口, 例如键盘、 显示器、 打印机、 鼠标器等。 人机接口与人机交互设备共同完成信息形式的转换和信息传输的控 制, 通过人机接口采集用户的操作信息。 示例性的, 第二设备可以为计算机、 工作站等设备, 此处不做限制。
[0031] 转接装置获取第一设备当前的操作界面信息, 其中, 操作界面信息可以为第一 设备的在当前情况下的运行界面, 这种情况下第二设备可以直接获取到第一设 备当前的运行情况, 直接针对第一设备当前的运行界面进行相应的操作; 也可 以为第一设备的主界面, 这种情况下第二设备获取到的是第一设备的主界面信 息, 之后第二设备则通过第一设备的主界面进行相应的操作, 此处不做限制。
[0032] S102: 在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界面信息 发送至所述第二设备, 并接收所述第二设备根据所述当前的操作界面信息发送 的操作信息。
[0033] 转接装置将获取到的第一设备的操作界面信息, 进行转换为第二设备可识别的 信息之后, 将其发送至第二设备。 以使第二设备获取到第一设备的运行情况。 进而用户可以直接通过第二设备对第一设备进行控制或操作。
[0034] 第二设备在接收到转接装置发送的第一设备的操作界面信息之后, 在第二设备 上进行显示。 此吋, 用户可以通过第二设备的显示装置看到第一设备的操作界 面信息。 用户根据该操作界面信息在第二设备上进行相应的控制或者操作。
[0035] 第二设备在接收到用户根据当前的操作界面信息发送的操作信息之后, 将该操 作信息发送至转接装置, 该操作信息为目标操作信息。 转接装置接收第二设备 根据当前的操作界面信息发送的操作信息。
[0036] 示例性的, 用户点击设备上操作界面中的应用软件, 则此吋的操作信息便是打 幵该应用软件; 用户移动鼠标, 或者键盘输入数字, 也属于操作信息。 [0037] 但是在第二设备上显示的仅仅是第一设备的操作界面, 无法只通过第二设备完 成相应的控制或者操作动作。 因此, 需要将该操作信息发送至第一设备, 以使 第一设备根据该操作信息执行相应的动作。
[0038] S103: 将所述操作信息转换为目标操作信息; 所述目标操作信息为所述第一设 备可识别的操作信息。
[0039] 转接装置在接收到第二设备根据当前的操作界面信息发送的操作信息之后, 必 须通过第一设备自身才能完成该操作信息对应的执行动作。 但是第一设备无法 直接执行该操作信息对应的动作, 因此, 需要将操作信息转换为目标操作信息
[0040] 示例性的, 假设第一设备为设备 A, 第二设备为计算机 B, 在将转接装置接到 设备 A吋, 就虚拟一个人机接口设备, 比如虚拟一个键盘, 或者鼠标。 之后转接 装置接收到计算机 B上的应用插件发送的操作信息, 例如, 键盘输入, 或者鼠标 移动, 就把操作信息转换为虚拟人机接口设备所发出的操作信息, 即目标操作 f π息。
[0041] 通过将操作信息转换为目标操作信息, 以使第一设备能识别并执行该目标操作 信息对应的动作。
[0042] S104: 将所述目标操作信息发送至所述第一设备, 所述目标操作信息用于控制 所述第一设备执行与所述目标操作信息对应的操作。
[0043] 在操作信息转换为目标操作信息之后, 将该目标操作信息发送至第一设备。 第 一设备收到的目标操作信息则相当于用户通过第二设备做出的操作信息, 第一 设备根据转换的目标操作信息, 进行相应的操作。
[0044] 示例性的, 假设第一设备为设备 A, 第二设备为计算机 B。 转接设备将键盘输 入, 或者鼠标移动信息转换为第一设备可识别的键盘输入, 或者鼠标移动信息 , 并将该信息发送给设备 。 这样设备 A就会接收到键盘输入或者鼠标移动的信 息, 执行与键盘输入或者鼠标移动的信息对应的操作。
[0045] 上述方案, 在转接装置与第一设备建立通信连接吋, 获取第一设备的操作界面 信息; 在转接装置与第二设备建立通信连接吋, 将操作界面信息发送至第二设 备, 并接收第二设备根据当前的操作界面信息发送的操作信息; 将操作信息转 换为目标操作信息, 并将该目标操作信息发送至第一设备。 通过第二设备控制 第一设备执行与目标操作信息对应的操作, 完成第一设备的功能扩展, 减少第 一设备功能扩展过程的步骤和所需的扩展设备, 提高第一设备功能扩展的效率
[0046] 实施例二:
[0047] 如图 2所示, 图 2为本发明提供的另一种实现设备间转接的方法的流程图。 为了 便于说明, 仅示出了与本发明实施例相关的部分。 本实施例中一种实现设备间 转接的方法的执行主体为转接装置。 如图 2所示的实现设备间转接的方法可以包 括以下步骤:
[0048] S201 : 在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操作界面 f π息。
[0049] 第一设备通过转接装置与第二设备建立通信连接之后, 转接装置获取第一设备 当前的操作界面信息。 第一设备与转接装置相连的接口为第一 USB接口, 通过该 接口转接装置可以获取第一设备的操作界面信息, 也可以将第一设备的操作信 息发送至转接装置; 第一设备与转接装置相连的接口为第二 USB接口, 通过第二 USB接口可以使第二设备接收到转接装置所发送的第一设备的操作界面信息, 也 可以使转接装置获取到第二设备所发出的操作信息。
[0050] 可选的, 第二设备连接转接装置的接口也可以是显示端口 (Display Port, DP ) 、 高清晰度多媒体接口 (High Definition Multimedia Interface, HDMl) 等接口 , 具体接口类型和数据由用户根据使用需求或者第二设备的硬件结构进行设置 或安装, 此处不做限定。
[0051] 可选的, 由于在很多情况下, 第二设备都设有多个 USB接口, 因此可以通过多 个 USB接口将一个第二设备与多个第一设备连接。 此吋, 第一设备的设备数量或 者类型可以有一个或者至少两个, 此处不做限制。 但是当存在多个第一设备类 型的设备吋, 通过一个第二设备往往不能明确高效地对这些设备进行控制或者 管理, 容易造成设备之间的混淆或者控制失误等情况。 这种情况下, 需要一个 软件安装于第二设备中, 以实现对多个第一设备的管理和控制。
[0052] 在第二设备中安装应用插件, 通过该应用插件可以监控和采集所有第二设备上 的操作信息。 在将第二设备通过转接装置与第一设备建立通信连接上之后, 该 应用插件就会自动从第二设备中启动。 在第一吋间获取第一设备的操作界面信 息, 并在应用插件对应的位置显示。 通过这种方式可以直接在第二设备上显示 出第一设备的操作界面信息, 提高转接操作的效率。
[0053] S202: 在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界面信息 发送至所述第二设备, 并接收所述第二设备根据所述当前的操作界面信息发送 的操作信息。
[0054] 在第二设备获取到第一设备的操作界面信息之后, 用户可以通过第二设备中显 示的操作界面信息输入操作信息。 在用户根据当前的操作界面信息发送操作信 息之后, 转接装置幵始接收操作信息。
[0055] 本实施例中, 转接装置通过第二 USB接口与第二设备建立通信连接, 通过第二 USB接口将操作界面信息发送至第二设备, 并通过第二 USB接口接收第二设备根 据当前的操作界面信息发送的操作信息。
[0056] 可选的, 本方案中的操作信息可以是第一设备获取到的任何人机接口命令信息 。 例如, 鼠标的移动或点击的动作信息和位置信息, 键盘的输入信息, 或者触 摸屏幕的点击、 移动等触摸信息, 同吋也包括用户输入进的文字、 文档等信息 , 以及图像、 音频、 视频等多媒体信息。 操作信息的类型和属性由第二设备的 人机接口获取, 并受到第二设备人机接口功能范畴的限制, 用户可以通过自身 需要及第二设备的配置参数或者功能, 设定操作信息的具体数据和属性, 此处 不做限制。
[0057] 用户通过在该应用插件中根据操作界面信息进行相应的操作, 该应用插件采集 用户的操作信息, 并识别该操作信息。 其中, 可以通过转接装置转换并传输至 第一设备的、 以及可以通过第一设备执行成功的操作信息为操作信息。
[0058] 应用插件在将操作信息识别为操作信息之后, 将识别到的操作信息发送给转接 装置。 此吋, 转接装置便能接收到应用插件发送的操作信息。
[0059] S203: 将所述操作信息转换为目标操作信息; 所述目标操作信息为所述第一设 备可识别的操作信息。
[0060] 示例性的, 假设第二设备为电脑, 电脑发出了键盘或鼠标动作参数, 该键盘或 鼠标动作参数则为操作信息。 将电脑端的键盘或鼠标动作参数转变为虚拟的键 盘或鼠标动作参数, 所转换的虚拟的键盘或鼠标动作参数即为目标操作信息。 转换之后的虚拟的键盘或鼠标动作参数可以被第一设备识别, 且第一设备根据 目标操作信息中的指令执行相应的动作。
[0061] 示例性的, 用户根据第二设备上所显示的第一设备的操作界面点击的一个应用 软件, 则该操作信息为点击应用软件的图标。 将该信息传入转接装置中, 转接 装置将该操作信息转换为: 打幵该图标对应的应用软件。 因此, 这里的"打幵所 点击的图标对应的应用软件 "即为目标操作信息, 且该目标操作信息是能被第一 设备识别的操作信息。
[0062] 转接装置通过将操作信息转换为目标操作信息, 使第一设备可以识别出该目标 操作信息, 以达到执行该目标操作信息对应的操作的目的。
[0063] S204: 将所述目标操作信息发送至所述第一设备, 所述目标操作信息用于控制 所述第一设备执行与所述目标操作信息对应的操作。
[0064] 在转接装置转换完毕目标操作信息之后, 将转换的目标操作信息发送至第一设 备, 以使第一设备根据该目标操作信息执行对应的操作。
[0065] 示例性的, 假设第一设备为手机终端, 所转换的虚拟键盘或鼠标信息即为目标 操作信息, 将该虚拟的键盘或鼠标信息发送到手机终端, 控制手机终端执行与 虚拟键盘或鼠标信息对应的操作。
[0066] 示例性的, 在转接装置转换完毕目标操作信息 "打幵所点击的图标对应的应用 软件"之后, 将"打幵所点击的图标对应的应用软件 "的信息通过第一 USB接口发 送至手机终端。 手机终端在收到该信息之后, 识别"打幵所点击的图标对应的应 用软件 "信息中包含的动作信息和数据信息, 动作信息即为 "打幵", 数据信息即 为"所点击的图标对应的应用软件"所对应的应用软件的数据信息和数据信息。
[0067] S205: 接收所述第一设备发送的数据信息, 所述数据信息包括所述第一设备执 行所述目标操作信息之后的操作界面信息。
[0068] 在第一设备收到转接装置发送的目标操作信息之后, 执行该目标操作信息对应 的操作, 并将执行之后的数据信息发送给转接装置。
[0069] 其中, 第一设备可以在执行过程中发送数据信息给转接装置, 使转接装置能吋 刻获取到第一设备的执行信息, 并将这些信息转发给第二设备以显示; 也可以 在执行完毕目的操作信息对应的操作之后, 将执行完毕之后的第一设备的数据 信息发送给转接装置, 此处不做限定。
[0070] 第一设备发送的数据信息是第一设备执行目标操作信息之后的操作界面信息、 执行结果或者多媒体数据等信息, 这些数据通过转接装置转换并发送给第二设 备, 以使第二设备将这些数据进行显示或者操作。 其中, 多媒体数据为存储在 第一设备中的数据, 例如视频信息、 音频信息、 图像信息或文档信息中的一种 或至少两种, 此处不做限制。
[0071] 示例性的, 假设第一设备为手机, 第二设备为电脑, 目标操作信息为"打幵所 点击的图标对应的应用软件", 手机在收到该信息之后, 执行"打幵" "所点击的图 标对应的应用软件"所对应的应用软件的数据信息和数据信息。 在打幵所点击的 图标对应的应用软件之后, 将打幵所点击的图标对应的应用软件的操作界面发 送至转接装置。
[0072] S206: 将所述数据信息转换为目标数据信息, 所述目标数据信息为所述第二设 备可识别的信息。
[0073] 第一设备将数据信息发送给转接装置之后, 转接装置将该数据信息转换为目标 数据信息, 以使发送给第二设备的数据信息可以被第二设备识别并显示。
[0074] 由于第一设备的数据信息包括操作界面信息、 执行结果或者多媒体数据等信息
, 数据信息的类型或者占用内存量等属性各不相同, 因此需要根据数据信息的 属性进行针对性的转换。
[0075] 进一步的, 若第一设备发送的数据信息为视频信息, 则将视频信息转换为目标 视频信息; 若第一设备发送的数据信息为音频信息, 则将视频信息转换为目标 音频信息。
[0076] 示例性的, 假设第一设备为手机, 第二设备为电脑, 转接装置把手机端 HDMI 输出信息中的视频信号转换成 USB
3.0数据; 将 DP输出信息中的音频信号转换成 USB 2.0数据。 其中, USB 2.0理论 最高传输速度为 480Mbps, 接口共 4根线, 最大输出电流 0.5A。 USB 2.0是目前最 常见的 USB接口版本, 几乎所有的电脑上都有 USB 2.0接口, 大部分的 USB设备 也是支持 USB 2.0的。 而 USB3.0最高传输速度为 5Gbps, 接口共 9根线, 最大输出 电流为 1A。 USB 3.0目前也已经基本普及, 近几年生产的电脑大多具备 USB 3.0 接口, 而很多 U盘、 移动硬盘等设备也幵始使用 USB 3.0接口。 USB 3.0在设计上 考虑了向下兼容的问题, USB 2.0的设备可以*** USB 3.0接口中使用, 而 USB 3.0设备也可以*** USB 2.0接口中工作; 简单的说, 只要插头物理上是兼容的, 就可以使用。 通过这种将视频信号和音频信号分别转换的方式, 得到不同属性 的目标数据信息, 在保留有原先数据信息的数据属性前提下, 针对性地转换为 目标应用细信息, 提高不同属性目标数据信息的处理效果, 并增强了不同属性 目标数据信息的兼容性。
[0077] S207: 将所述目标数据信息发送至所述第二设备, 以通过所述第二设备显示所 述目标数据信息。
[0078] 将转换完成的目标数据信息发送至第二设备, 通过第二设备显示该目标数据信 息对应的信息。 目标数据信息包括第二设备的操作界面信息、 执行结果或者多 媒体数据等信息转换后的数据信息,
[0079] 不同的数据信息具有不同的属性, 因此在发送过程中需要不同的数据接口, 以 保证目标数据信息的传输质量和传输效果。
[0080] 若第一设备的数据信息为视频信息, 则通过将第一设备的视频信息转换为目标 视频信息, 再将该目标视频信息通过 USB3.0接口发送至第二设备。
[0081] 若第一设备的数据信息为音频信息, 则通过将第一设备的音频信息转换为目标 音频信息, 再将该目标音频信息通过 USB2.0接口发送至第二设备。
[0082] 进一步的, 在第一设备中安装应用插件, 转接装置将该目标数据信息发送给第 二设备的应用插件。 应用插件收到该目标数据信息之后, 在应用插件中将该目 标信息显示出来。
[0083] 上述方案, 在转接装置与第一设备建立通信连接吋, 获取第一设备的操作界面 信息; 在转接装置与第二设备建立通信连接吋, 将操作界面信息发送至第二设 备, 并接收第二设备根据当前的操作界面信息发送的操作信息; 将操作信息转 换为目标操作信息, 并将该目标操作信息发送至第一设备, 在第一设备执行完 毕相应的操作之后, 接收第一设备发送的数据信息, 并将该数据信息转换为第 二设备可识别的目标数据信息, 以将该目标数据信息发送至第二设备进行显示 。 通过第二设备控制第一设备执行与目标操作信息对应的操作, 并将操作结果 或数据信息呈现在第二设备上, 以完成第一设备的功能扩展, 减少第一设备功 能扩展过程的步骤和所需的扩展设备, 提高第一设备功能扩展的效率以及用户 在使用吋的体验效果。
[0084] 实施例三:
[0085] 参见图 3, 图 3是本发明实施例提供的转接装置的示例图。 转接装置 300包括的 各单元用于执行图 1对应的实施例中的各步骤, 具体请参阅图 1及图 1对应的实施 例中的相关描述, 此处不赘述。 本实施例的终端 300包括第一通信单元 301、 信 息转换单元 302以及第二通信单元 303, 其中, 信息转换单元 302分别与第一通信 单元 301和第二通信单元 303连接。
[0086] 第一通信单元 301, 用于在转接装置与第一设备建立通信连接吋, 获取所述第 一设备的操作界面信息。
[0087] 第二通信单元 303, 用于在所述转接装置与所述第二设备建立通信连接吋, 将 所述操作界面信息发送至所述第二设备, 并接收所述第二设备根据所述当前的 操作界面信息发送的操作信息。
[0088] 信息转换单元 302, 用于将所述操作信息转换为目标操作信息; 所述目标操作 信息为所述第一设备可识别的操作信息。
[0089] 第一通信单元 301, 还用于将所述目标操作信息发送至所述第一设备, 所述目 标操作信息用于控制所述第一设备执行与所述目标操作信息对应的操作。
[0090] 上述方案, 在转接装置与第一设备建立通信连接吋, 获取第一设备的操作界面 信息; 在转接装置与第二设备建立通信连接吋, 将操作界面信息发送至第二设 备, 并接收第二设备根据当前的操作界面信息发送的操作信息; 将操作信息转 换为目标操作信息, 并将该目标操作信息发送至第一设备。 通过第二设备控制 第一设备执行与目标操作信息对应的操作, 完成第一设备的功能扩展, 减少第 一设备功能扩展过程的步骤和所需的扩展设备, 提高第一设备功能扩展的效率 [0091] 实施例四: [0092] 参见图 4, 图 4是本发明另一实施例提供的转接装置的示例图, 转接装置 400包 括的各单元用于执行图 2对应的实施例中的各步骤, 具体请参阅图 2及图 2对应的 实施例中的相关描述, 此处不赘述。 本实施例的终端 400包括第一通信单元 401 、 信息转换单元 402以及第二通信单元 403, 其中, 信息转换单元 402分别与第一 通信单元 401和第二通信单元 403连接。 图 4与图 3的不同之处在于, 图 4中的第一 通信单元 401包括第一视频通信单元 4011和第一音频通信单元 4012, 信息转换单 元 402包括视频信息转换单元 4021和音频信息转换单元 4022, 第二通信单元 403 包括第二视频通信单元 4031和第二音频通信单元 4032。
[0093] 第一通信单元 401用于在转接装置与第一设备建立通信连接吋, 获取所述第一 设备的操作界面信息。
[0094] 第一通信单元 401, 还用于将所述目标操作信息发送至所述第一设备, 所述目 标操作信息用于控制所述第一设备执行与所述目标操作信息对应的操作。
[0095] 进一步的, 第一通信单元 401还包括第一视频通信单元 4011和第一音频通信单 元 4012, 具体的:
[0096] 第一视频通信单元 4011用于接收所述第一设备发送的所述视频信息。
[0097] 第一音频通信单元 4012用于接收所述第一设备发送的所述音频信息。
[0098] 信息转换单元 402, 用于将所述操作信息转换为目标操作信息; 所述目标操作 信息为所述第一设备可识别的操作信息。
[0099] 进一步的, 信息转换单元 402包括视频信息转换单元 4021和音频信息转换单元 4
022, 具体的:
[0100] 视频信息转换单元 4021用于将所述视频信息转换为目标视频信息。
[0101] 音频信息转换单元 4022用于将所述音频信息转换为目标音频信息。
[0102] 第二通信单元 403, 用于在所述转接装置与所述第二设备建立通信连接吋, 将 所述操作界面信息发送至所述第二设备, 并接收所述第二设备根据所述当前的 操作界面信息发送的操作信息。
[0103] 进一步的, 第二通信单元 403包括第二视频通信单元 4031和第二音频通信单元 4
032, 具体的:
[0104] 第二视频通信单元 4031用于将所述目标视频信息发送至所述第二设备, 以通过 所述第二设备播放所述目标视频信息。
[0105] 第二音频通信单元 4032用于将所述目标音频信息发送至所述第二设备, 以通过 所述第二设备播放所述目标音频信息。
[0106] 进一步的, 第一通信单元 401还用于: 接收所述第一设备发送的数据信息, 所 述数据信息包括所述第一设备执行所述目标操作信息之后的操作界面信息。
[0107] 信息转换单元 402还用于: 将所述数据信息转换为目标数据信息, 所述目标数 据信息为所述第一设备可识别的信息;
[0108] 第二通信单元 403还用于: 将所述目标数据信息发送至所述第二设备, 以通过 所述第二设备显示所述目标数据信息。
[0109] 第一通信单元 401具体用于: 在转接装置通过第一 USB接口与所述第一设备建 立通信连接吋, 通过所述第一 USB接口获取所述第一设备的操作界面信息。
[0110] 第二通信单元 403具体用于: 在所述转接装置通过第二 USB接口与所述第二设 备建立通信连接吋, 通过所述第二 USB接口将所述操作界面信息发送至所述第二 设备, 并通过所述第二 USB接口接收所述第二设备根据所述当前的操作界面信息 发送的操作信息。
[0111] 第一通信单元 401还具体用于: 通过所述第一 USB接口将所述目标操作信息发 送至所述第一设备。
[0112] 上述方案, 在转接装置与第一设备建立通信连接吋, 获取第一设备的操作界面 信息; 在转接装置与第二设备建立通信连接吋, 将操作界面信息发送至第二设 备, 并接收第二设备根据当前的操作界面信息发送的操作信息; 将操作信息转 换为目标操作信息, 并将该目标操作信息发送至第一设备, 在第一设备执行完 毕相应的操作之后, 接收第一设备发送的数据信息, 并将该数据信息转换为第 二设备可识别的目标数据信息, 以将该目标数据信息发送至第二设备进行显示
。 通过第二设备控制第一设备执行与目标操作信息对应的操作, 并将操作结果 或数据信息呈现在第二设备上, 以完成第一设备的功能扩展, 减少第一设备功 能扩展过程的步骤和所需的扩展设备, 提高第一设备功能扩展的效率以及用户 在使用吋的体验效果。
[0113] 在本发明的另一实施例中提供一种计算机可读存储介质, 所述计算机可读存储 介质存储有计算机程序, 所述计算机程序包括程序指令, 所述程序指令被处理 器执行吋实现:
[0114] 在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操作界面信息。
[0115] 在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界面信息发送至 所述第二设备, 并接收所述第二设备根据所述当前的操作界面信息发送的操作 f π息。
[0116] 将所述操作信息转换为目标操作信息; 所述目标操作信息为所述第一设备可识 别的操作信息。
[0117] 将所述目标操作信息发送至所述第一设备, 所述目标操作信息用于控制所述第 一设备执行与所述目标操作信息对应的操作。
[0118] 进一步的, 所述计算机程序被处理器执行吋还实现:
[0119] 接收所述第一设备发送的数据信息, 所述数据信息包括所述第一设备执行所述 目标操作信息之后的操作界面信息。
[0120] 将所述数据信息转换为目标数据信息, 所述目标数据信息为所述第二设备可识 别的信息。
[0121] 将所述目标数据信息发送至所述第二设备, 以通过所述第二设备显示所述目标 数据信息。
[0122] 进一步的, 所述计算机程序被处理器执行吋还实现:
[0123] 在转接装置通过第一 USB接口与所述第一设备建立通信连接吋, 通过所述第一 USB接口获取所述第一设备的操作界面信息。
[0124] 在所述转接装置通过第二 USB接口与所述第二设备建立通信连接吋, 通过所述 第二 USB接口将所述操作界面信息发送至所述第二设备, 并通过所述第二 USB接 口接收所述第二设备根据所述当前的操作界面信息发送的操作信息。
[0125] 通过所述第一 USB接口将所述目标操作信息发送至所述第一设备。
[0126] 进一步的, 所述计算机程序被处理器执行吋还实现:
[0127] 接收所述第一设备发送的所述视频信息, 并将所述视频信息转换为目标视频信 息。
[0128] 将所述目标视频信息发送至所述第二设备, 以通过所述第二设备播放所述目标 视频信息。
[0129] 进一步的, 所述计算机程序被处理器执行吋还实现:
[0130] 接收所述第一设备发送的所述音频信息, 并将所述视频信息转换为目标音频信 息。
[0131] 将所述目标音频信息发送至所述第二设备, 以通过所述第二设备播放所述目标 音频信息。
[0132] 所述计算机可读存储介质可以是前述任一实施例所述的转接装置的内部存储单 元, 例如转接装置的硬盘或内存。 所述计算机可读存储介质也可以是所述转接 装置的外部存储设备, 例如所述转接装置上配备的插接式硬盘, 智能存储卡 (S mart Media Card, SMC) , 安全数字 (Secure Digital, SD) 卡, 闪存卡 (Flash Card) 等。 进一步地, 所述计算机可读存储介质还可以既包括所述转接装置的内 部存储单元也包括外部存储设备。 所述计算机可读存储介质用于存储所述计算 机程序及所述转接装置所需的其他程序和数据。 所述计算机可读存储介质还可 以用于暂吋地存储已经输出或者将要输出的数据。
[0133] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述 了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行, 取决于技 术方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使 用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
[0134] 所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述描述的 转接装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在 此不再赘述。
[0135] 在本申请所提供的几个实施例中, 应该理解到, 所揭露的转接装置和方法, 可 以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例 如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划 分方式, 例如多个单元或组件可以结合或者可以集成到另一个***, 或一些特 征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的耦合或直接耦合或 通信连接可以是通过一些接口、 装置或单元的间接耦合或通信连接, 也可以是 电的, 机械的或其它的形式连接。
[0136] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本发明实施例方案的目的。
[0137] 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在一个单元中 。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形 式实现。
[0138] 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方案的全部或部 分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质中 , 包括若干指令用以使得一台计算机设备(可以是个人计算机, 转接装置, 或者 网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述的存储 介质包括: U盘、 移动硬盘、 只读存储器(ROM , Read-Only Memory)、 随机存 取存储器(RAM, Random Access Memory). 磁碟或者光盘等各种可以存储程序 代码的介质。

Claims

权利要求书
[权利要求 1] 一种实现设备间转接的方法, 其特征在于, 所述方法包括:
在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操作界 面信息;
在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界面信 息发送至所述第二设备, 并接收所述第二设备根据所述当前的操作界 面信息发送的操作信息;
将所述操作信息转换为目标操作信息; 所述目标操作信息为所述第一 设备可识别的操作信息;
将所述目标操作信息发送至所述第一设备, 所述目标操作信息用于控 制所述第一设备执行与所述目标操作信息对应的操作。
[权利要求 2] 根据权利要求 1所述的方法, 其特征在于, 所述将所述目标操作信息 发送至所述第一设备之后, 还包括:
接收所述第一设备发送的数据信息, 所述数据信息包括所述第一设备 执行所述目标操作信息之后的操作界面信息;
将所述数据信息转换为目标数据信息, 所述目标数据信息为所述第二 设备可识别的信息; 将所述目标数据信息发送至所述第二设备, 以通过所述第二设备显示 所述目标数据信息。
[权利要求 3] 根据权利要求 1所述的方法, 其特征在于,
所述在转接装置与第一设备建立通信连接吋, 获取所述第一设备的操 作界面信息, 具体包括:
在转接装置通过第一 USB接口与所述第一设备建立通信连接吋, 通过 所述第一 USB接口获取所述第一设备的操作界面信息;
所述在所述转接装置与所述第二设备建立通信连接吋, 将所述操作界 面信息发送至所述第二设备, 并接收所述第二设备根据所述当前的操 作界面信息发送的操作信息, 具体包括:
在所述转接装置通过第二 USB接口与所述第二设备建立通信连接吋, 通过所述第二 USB接口将所述操作界面信息发送至所述第二设备, 并 通过所述第二 USB接口接收所述第二设备根据所述当前的操作界面信 息发送的操作信息;
所述将所述目标操作信息发送至所述第一设备, 具体包括: 通过所述第一 USB接口将所述目标操作信息发送至所述第一设备。
[权利要求 4] 根据权利要求 1所述的方法, 其特征在于, 所述数据信息还包括视频 信息, 所述将所述目标操作信息发送至所述第一设备之后, 还包括: 接收所述第一设备发送的所述视频信息, 并将所述视频信息转换为目 标视频信息;
将所述目标视频信息发送至所述第二设备, 以通过所述第二设备播放 所述目标视频信息。
[权利要求 5] 根据权利要求 1所述的方法, 其特征在于, 所述数据信息还包括音频 信息, 所述将所述目标操作信息发送至所述第一设备之后, 还包括: 接收所述第一设备发送的所述音频信息, 并将所述视频信息转换为目 标音频信息;
将所述目标音频信息发送至所述第二设备, 以通过所述第二设备播放 所述目标音频信息。
[权利要求 6] —种转接装置, 其特征在于, 所述转接装置包括: 第一通信单元, 信 息转换单元以及第二通信单元, 所述信息转换单元分别与所述第一通 信单元和所述第二通信单元连接;
所述第一通信单元用于: 在转接装置与第一设备建立通信连接吋, 获 取所述第一设备的操作界面信息;
所述第二通信单元用于: 在所述转接装置与所述第二设备建立通信连 接吋, 将所述操作界面信息发送至所述第二设备, 并接收所述第二设 备根据所述当前的操作界面信息发送的操作信息; 所述信息转换单元用于: 将所述操作信息转换为目标操作信息; 所述 目标操作信息为所述第一设备可识别的操作信息; 所述第一通信单元还用于: 将所述目标操作信息发送至所述第一设备 , 所述目标操作信息用于控制所述第一设备执行与所述目标操作信息 对应的操作。
[权利要求 7] 根据权利要求 6所述的装置, 其特征在于, 所述装置还包括:
所述第一通信单元还用于: 接收所述第一设备发送的数据信息, 所述 数据信息包括所述第一设备执行所述目标操作信息之后的操作界面信 息;
所述信息转换单元还用于: 将所述数据信息转换为目标数据信息, 所 述目标数据信息为所述第一设备可识别的信息; 所述第二通信单元还用于: 将所述目标数据信息发送至所述第二设备 , 以通过所述第二设备显示所述目标数据信息。
[权利要求 8] 根据权利要求 6所述的装置, 其特征在于, 所述装置还包括:
所述第一通信单元具体用于: 在转接装置通过第一 USB接口与所述第 一设备建立通信连接吋, 通过所述第一 USB接口获取所述第一设备的 操作界面信息;
所述第二通信单元具体用于: 在所述转接装置通过第二 USB接口与所 述第二设备建立通信连接吋, 通过所述第二 USB接口将所述操作界面 信息发送至所述第二设备, 并通过所述第二 USB接口接收所述第二设 备根据所述当前的操作界面信息发送的操作信息; 所述第一通信单元还具体用于: 通过所述第一 USB接口将所述目标操 作信息发送至所述第一设备。
[权利要求 9] 根据权利要求 6所述的装置, 其特征在于, 所述第一通信单元包括第 一视频通信单元, 所述信息转换单元包括视频信息转换单元, 所述第 二通信单元包括第二视频通信单元, 所述视频信息转换单元分别与所 述第一视频通信单元和所述第二视频通信单元连接;
所述第一视频通信单元用于: 接收所述第一设备发送的所述视频信息 所述视频信息转换单元用于: 将所述视频信息转换为目标视频信息; 所述第二视频通信单元用于: 将所述目标视频信息发送至所述第二设 备, 以通过所述第二设备播放所述目标视频信息。
[权利要求 10] 根据权利要求 6所述的装置, 其特征在于, 所述第一通信单元还包括 第一音频通信单元, 所述信息转换单元还包括音频信息转换单元, 所 述第二通信单元还包括第二音频通信单元, , 所述音频信息转换单元 分别与所述第一音频通信单元和所述第二音频通信单元连接; 所述第一音频通信单元用于: 接收所述第一设备发送的所述音频信息 所述音频信息转换单元用于: 将所述音频信息转换为目标音频信息; 所述第二音频通信单元用于: 将所述目标音频信息发送至所述第二设 备, 以通过所述第二设备播放所述目标音频信息。
[权利要求 11] 一种计算机可读存储介质, 所述计算机可读存储介质存储有计算机程 序, 其特征在于, 所述计算机程序被处理器执行吋实现如权利要求 1 至 5任一项所述方法的步骤。
PCT/CN2017/106892 2017-10-19 2017-10-19 一种实现设备间转接的方法及转接装置 WO2019075696A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/106892 WO2019075696A1 (zh) 2017-10-19 2017-10-19 一种实现设备间转接的方法及转接装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/106892 WO2019075696A1 (zh) 2017-10-19 2017-10-19 一种实现设备间转接的方法及转接装置

Publications (1)

Publication Number Publication Date
WO2019075696A1 true WO2019075696A1 (zh) 2019-04-25

Family

ID=66173086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106892 WO2019075696A1 (zh) 2017-10-19 2017-10-19 一种实现设备间转接的方法及转接装置

Country Status (1)

Country Link
WO (1) WO2019075696A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710283A (zh) * 2009-12-08 2010-05-19 北京派瑞根科技开发有限公司 信息输入转换设备
CN202102425U (zh) * 2010-12-22 2012-01-04 国民技术股份有限公司 一种接口转换装置
WO2013049980A1 (zh) * 2011-10-08 2013-04-11 中兴通讯股份有限公司 一种转接装置及转接方法
CN103888582A (zh) * 2012-12-22 2014-06-25 深圳富泰宏精密工业有限公司 通讯转接***及方法
CN104298443A (zh) * 2014-09-19 2015-01-21 百度在线网络技术(北京)有限公司 一种用于呈现显示界面的方法、装置和***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710283A (zh) * 2009-12-08 2010-05-19 北京派瑞根科技开发有限公司 信息输入转换设备
CN202102425U (zh) * 2010-12-22 2012-01-04 国民技术股份有限公司 一种接口转换装置
WO2013049980A1 (zh) * 2011-10-08 2013-04-11 中兴通讯股份有限公司 一种转接装置及转接方法
CN103888582A (zh) * 2012-12-22 2014-06-25 深圳富泰宏精密工业有限公司 通讯转接***及方法
CN104298443A (zh) * 2014-09-19 2015-01-21 百度在线网络技术(北京)有限公司 一种用于呈现显示界面的方法、装置和***

Similar Documents

Publication Publication Date Title
US20230289131A1 (en) Method and system for dynamically generating different user environments with secondary devices with displays of various form factors
US10045061B2 (en) Electronic device, adapter device, and video data processing method thereof
KR101786277B1 (ko) 멀티 터치 인터페이스 방안
EP3869346B1 (en) Apparatus and method of recognizing external device in a communication system
CN103975304A (zh) 用于将通过快速***组件接口(pcie)耦合的设备展示给可运行在便携式计算设备(pcd)上的操作***的方法和便携式计算设备
TW201211883A (en) Systems and methods for hot plug GPU power control
TWM525481U (zh) 於不同通訊介面間相互傳輸訊號之系統及裝置
GB2498045A (en) Portable storage devices with two interfaces for coupling to a display and a host
CN104571581A (zh) 一种用于多主机共享显示设备的切换装置及切换方法
US20180278707A1 (en) Client terminal of audio device redirection system and audio device redirection method
WO2015003649A1 (zh) 一种分享终端内容的方法、装置和***
TW201224744A (en) Motherboard and method of display host system parameter
TW201122823A (en) Computer management system and method thereof
CN106292973B (zh) 一种信息处理方法、电子设备***及传输线
WO2019075696A1 (zh) 一种实现设备间转接的方法及转接装置
US11599493B2 (en) Multi-host USB hub and docking system
CN101998691B (zh) 一种数据传输的方法、***和装置
JP5707366B2 (ja) Usb端末の制御方法及びこれを実行する装置
CN102981642B (zh) 一种云终端鼠标及实现方法
TWM593581U (zh) 電腦裝置
CN108804068B (zh) 音频装置重导向***的客户端及相关音频装置重导向方法
WO2022170861A1 (zh) 电子设备的数据传输方法、电子设备及接口电路
CN111045632B (zh) 音频播放装置及其运行方法
WO2020220969A1 (zh) 智能交互设备及其控制方法
CN114297123B (zh) 一种Type-C接口电路及电子设备

Legal Events

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

Ref document number: 17928852

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17928852

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17928852

Country of ref document: EP

Kind code of ref document: A1