WO2019075620A1 - 数据处理系统 - Google Patents

数据处理系统 Download PDF

Info

Publication number
WO2019075620A1
WO2019075620A1 PCT/CN2017/106390 CN2017106390W WO2019075620A1 WO 2019075620 A1 WO2019075620 A1 WO 2019075620A1 CN 2017106390 W CN2017106390 W CN 2017106390W WO 2019075620 A1 WO2019075620 A1 WO 2019075620A1
Authority
WO
WIPO (PCT)
Prior art keywords
usb
host controller
processor
dedicated processor
external device
Prior art date
Application number
PCT/CN2017/106390
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/106390 priority Critical patent/WO2019075620A1/zh
Priority to CN201780093150.3A priority patent/CN110892391A/zh
Publication of WO2019075620A1 publication Critical patent/WO2019075620A1/zh
Priority to US16/828,357 priority patent/US20200226085A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • 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
    • 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/0042Universal serial bus [USB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3812USB port controller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of electronic technology, and more particularly to data processing systems and methods for data processing.
  • the Type-C interface is a new Universal Serial Bus (USB) interface that supports both forward and reverse insertion. As the technology of the Type-C interface matures, the Type-C interface is gradually applied to terminal devices such as mobile phones.
  • USB Universal Serial Bus
  • an Android system can directly perform data interaction with a USB device in the terminal device, or only a general-purpose processor and a USB device.
  • Data access can be directly performed between devices, so that data received from the USB device needs to pass through various processing modules in the general-purpose processor before being transmitted to the dedicated processor (for example, a digital signal processing (DSP) processor
  • DSP digital signal processing
  • the data transmission mode generates a large transmission delay and affects the user experience.
  • the present application provides a data processing system, which can effectively reduce data transmission delay and improve user experience.
  • a data processing system comprising:
  • a dedicated processor is provided with a first driver for driving data interaction between the USB device and the dedicated processor.
  • the data processing system can enable the USB device to perform with the dedicated processor by providing a first driver for driving data interaction between the dedicated processor and the USB device in the dedicated processor.
  • Data interaction when data can be processed by the dedicated processor, the USB device can be directly driven by the first driver in the dedicated processor, and data interaction between the USB device and the dedicated processor is implemented, and is no longer necessary
  • Data is forwarded to the dedicated processor through the general-purpose processor, and data transmission can be directly performed between the USB device and the dedicated processor, which saves transmission delay and improves user experience;
  • the general purpose processor forwards data to the dedicated processor, which can put the general purpose processor into a sleep state and also save power.
  • the USB device includes a USB interface for connecting an external device
  • the general purpose processor is configured to:
  • the instruction performs data interaction with the USB device by the dedicated processor.
  • the USB device includes a first USB host controller, a second USB host controller, and a switch control module, where the first USB host controller is connected to the dedicated processor, and the second USB host a controller is coupled to the general purpose processor, and the switching control module controls transmission of any one of the first USB host controller and the second host controller USB, the first USB host controller The power consumption is lower than the transmission power consumption of the second USB host controller.
  • the data processing system provides a USB host controller (eg, a first USB host controller) with low transmission power and dedicated processing by setting two USB host controllers with different transmission powers in the USB device.
  • the USB host controller (for example, the second USB host controller) with high transmission power is connected to the general-purpose processor, and when the data can be processed by the dedicated processor, the USB device is realized by the USB host controller with low transmission power. Data interaction with this dedicated processor helps to further save power.
  • the USB device includes a USB interface for connecting an external device, and
  • the switching control module controls the first USB host controller, or the switching control module controls the second USB host controller.
  • the data processing system is in a default state (that is, after the external device is unplugged from the USB interface or before the external device is not inserted into the USB interface), by setting the switching control module and the USB host.
  • the relationship of the controller can reduce the power consumption of the data processing system in different scenarios: in the case that the switching control module controls a USB host controller (eg, the first USB host controller) connected to the dedicated processor, When the data can be processed by the dedicated processor, the USB device can directly perform data interaction with the dedicated processor without performing a series of switching operations, thereby saving power consumption; and the switching control module is controlled to be connected to the universal In the case of a USB host controller of the processor (eg, a second USB host controller), when data can be processed by the general purpose processor, the USB device can also be made without performing a series of switching operations. Direct data interaction with the general purpose processor saves power.
  • a USB host controller of the processor eg, a second USB host controller
  • the dedicated processor is a digital signal processing DSP processor.
  • the USB device includes a USB interface for connecting an external device, and the USB interface is a Type-C interface.
  • a method for data processing for use in a data processing system including a universal serial bus USB device, a general purpose processor, and a dedicated processor, wherein the USB device includes an external device for connecting USB interface, a USB driver is disposed in the general-purpose processor, a first driver is disposed in the dedicated processor, and the first driver is configured to drive data interaction between the USB device and the dedicated processor , the method includes:
  • the general-purpose processor acquires a device type of the external device
  • the general processor instruction performs data interaction with the USB device by the dedicated processor.
  • a computer readable storage medium in a third aspect, storing a program causing a communication device to perform any of the possible implementations of the second aspect described above.
  • a computer program is provided that, when executed on a computer, causes the computer to implement any of the possible embodiments of the second aspect described above.
  • FIG. 1 is a schematic structural diagram of a USB device according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a data processing system according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a prior art data processing system.
  • FIG. 4 is a schematic structural diagram of a data processing system according to another embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a method for data processing according to an embodiment of the present application.
  • the technical solution of the embodiment of the present application can be applied to an Android system, and can also be applied to other systems suitable for a terminal device, for example, an IOS system.
  • the terminal device in the embodiment of the present application is a terminal device including a USB device.
  • the terminal device can be a mobile phone, a laptop, a tablet, a portable music player, or the like. It can be understood that although the embodiment of the present application is described by taking a terminal device as an example, in fact, other devices may also include the USB device, the dedicated processor, and the general-purpose processor of the embodiment, or may be used to implement related methods, thereby having similar Functional or approximate technical effects.
  • a device capable of performing data interaction with the terminal device through a USB device in the embodiment of the present application is called an external device.
  • the external device may be an audio device (such as a headset, a speaker, a portable music player, etc.), and the external device may also be a video device (eg, a video conferencing device, a camera, a display, a digital camera, etc.), and the external device may also be Other types of devices, such as digital cameras, USB flash drives, mobile hard drives, keyboards, mice, and the like.
  • the general-purpose processor in the embodiment of the present application can be used to interpret computer instructions and process data in the computer software, and the terminal device completes each piece of work, which is completed under the command and intervention of the control instruction of the general-purpose processor.
  • the general purpose processor can perform multiple tasks or theoretically any task.
  • the general purpose processor can be a microprocessor or any conventional processor and is a core component of the terminal device.
  • the general purpose processor may be a central processing unit (CPU), a micro control unit (MCU), or the like.
  • CPU central processing unit
  • MCU micro control unit
  • the dedicated processor may be an Application Specific Integrated Circuit (ASIC), a Network Processor (NP), a Field-Programmable Gate Array (FPGA) or other programmable logic device, and a discrete device. Gate or transistor logic, discrete hardware components, etc.
  • ASIC Application Specific Integrated Circuit
  • NP Network Processor
  • FPGA Field-Programmable Gate Array
  • the dedicated processor may be a DSP processor, which may perform audio services, video services, audio and video services, etc.; for example, the dedicated processor may also be processed by Image Signal Processing (ISP).
  • the dedicated processor may also be a Graphics Processing Unit (GPU).
  • FIG. 1 is a schematic structural diagram of a USB device 100 according to an embodiment of the present application. As shown in FIG. 1 , the USB device 100 is configured to establish a physical link for data interaction between an external device and a terminal device.
  • the USB device 100 includes : USB host controller 110, USB physical layer entity (USB PHY) 120, and USB interface 130.
  • USB PHY USB physical layer entity
  • the USB host controller 110 is connected to a processor inside the terminal device to implement data interaction between the USB device and the processor. Specifically, the USB host controller is configured to execute the terminal device to the USB bus and Control operations of external devices, including controlling reset operations, controlling enumeration, or controlling or driving data transmission and receiving data.
  • the USB physical layer entity 120 is a chip for interfacing with an external signal, and the USB physical layer entity is configured to identify a physical signal on the USB interface, such as an electrical signal, and forward it to the USB host controller, and to the USB host controller. The operation is converted into a physical signal and sent to the external device via the USB interface.
  • the USB interface 130 is a physical interface for connecting to an external device to implement data interaction between the USB device and the processor.
  • the related USB host controller and the USB physical layer entity can implement the functions of the USB data transmission protocol, and jointly support the implementation of the USB device, which can be realized by software, hardware or a combination of software and hardware to achieve USB data transmission capability. More specific technical details regarding the USB physical layer and USB controller can be found in the prior art.
  • the schematic block diagram of the USB device 100 shown in FIG. 1 only shows a partial structure, and the USB device 100 may further include a structure not shown in FIG. 1, and the specific structure may refer to the prior art or A related description of a USB device in the data processing system of the embodiment of the present application.
  • FIG. 2 is a schematic block diagram of a data processing system 200 in accordance with an embodiment of the present application.
  • the data processing system 200 includes a USB device 210, a general purpose processor 220, and a dedicated processor 230.
  • the above three types of devices will be separately described.
  • the USB device 210 is the same as or similar to the function module of the USB device 100 shown in FIG. 1 , and is not described herein for brevity.
  • the USB processor 221 is configured in the general-purpose processor 220.
  • the USB device 210 is loaded by driving the USB device 221 to implement the USB device 210.
  • the data is exchanged between the general purpose processor 220 and the USB device 210.
  • the USB driver 221 can be used not only to drive data transmission between the USB device 210 and the general-purpose processor 220, but also to enumerate device attributes of the external device connected to the USB device 210. The prior art is not described here.
  • USB driver may also be configured in the general-purpose processor, and the functional entity may be run in the general-purpose processor, for example, a user-space module (ie, an Android module), an audio driver module, A functional entity with audio processing functions, a video driver module, a functional entity with video processing functions, and the like.
  • the dedicated processor 230 is configured with a first driver 231 for driving data interaction between the USB device 210 and the dedicated processor 230.
  • the first driver 231 is configured with device information of the USB device 210, and in order to enable the dedicated processor 220 to perform data interaction with the USB device 210, the dedicated processor 220 is transmitted with the USB device 210. Prior to the data, the dedicated processor 220 loads the first driver 231 such that the first driver 231 can drive the USB device 210 to effect data interaction between the dedicated processor 220 and the USB device 210.
  • the basic function of the first driver 231 is to drive data transmission between the USB device 210 and the dedicated processor 230, or the first driver 231 can be understood as a simplified version of the USB driver 221.
  • the first driver 231 can implement other functions than the data transmission, which is not limited by the embodiment of the present application.
  • the first driver 231 can also configure some control commands (for ease of understanding and differentiation, it is recorded as the first control).
  • the first control command is used to enumerate the device attribute of the external device connected to the USB device, and the device attribute of the external device may include the device type of the external device, a data format supported by the external device, and the like.
  • the data format is the format of the data stored in the file or record, as well as the data precision.
  • the first driving 231 can also be configured with other control commands (referred to as a second control command for ease of understanding and differentiation), and the second control command is used to determine a data transmission mode, where the transmission mode includes a synchronous transmission mode, Asynchronous transfer mode and block transfer mode.
  • the foregoing first control command may be a command composed of a plurality of instructions for enumerating device attributes of an external device connected to the USB device, and the second control command may also be composed of multiple instructions.
  • the command is used to determine how the data is transmitted.
  • the dedicated processor may also configure other functional entities than the first driver, for example, a DSP Pulse-code Modulation (PCM) module, an audio and/or video codec module, and a voice codec module. Wait.
  • PCM DSP Pulse-code Modulation
  • FIG. 2 only shows a USB device, a general purpose processor, and a dedicated processor, and the data processing system includes other devices not shown in FIG. 1, for example, a baseband processor. , power supply, antenna system, input and output devices, etc.
  • the USB device 210 can perform data interaction with the general purpose processor 220, and the USB device 210 can also be dedicated to the dedicated device.
  • the processor 230 performs data interaction, that is, the USB device 210 is capable of implementing data interactions with processors of different types or different functions.
  • the data processing system in the embodiments of the present application may include not only one dedicated processor but also multiple dedicated processors, which are respectively used to perform different tasks, each dedicated processor The first driver is configured to drive data interaction between the dedicated processor and the USB device.
  • the general-purpose processor 320 further includes an Android module 321 and an audio driver module 322 on the basis of the USB driver module 323.
  • the Android module 321 can be logically understood as a user mode space for processing the tasks of the Android system.
  • the Android module 321 includes an audio frame (ie, Audio Flinger) module 3211 and a USB audio middle layer (ie, Audio Hal).
  • the module 3212 and the audio intermediate layer 3213; the audio driver (ie, Audio Driver) module 322 is used to drive the audio sound card or activate the function of the audio sound card, including the USB audio PCM3221 and the audio PCM3222, respectively.
  • the earphone 340 first transmits the audio data to the general-purpose processor 320 through the USB device 310, and then transmits the audio data to the dedicated processor 330.
  • the specific transmission path is: USB device 310 ⁇ USB driver module. 323 ⁇ USB audio PCM3221 ⁇ USB audio middle layer 3212 ⁇ audio frame module 3211 ⁇ audio middle layer 3213 ⁇ audio PCM3222 ⁇ dedicated processor 330.
  • the transmission process of the downlink audio data is similar to the transmission process of the uplink voice data, and only the transmission direction changes. For brevity, it will not be exemplified here.
  • audio data must be transmitted to a dedicated processor through a general-purpose processor.
  • the audio data is arbitrary.
  • the audio data is transmitted to the lower part because it needs to buffer part of the audio data in each module.
  • a module in this case, causes a large transmission delay. In this case, for scenarios with high latency requirements, such as real-time voice scenarios or video call scenarios, a large transmission delay affects the user experience.
  • the data processing system can enable the USB device to perform data interaction with the dedicated processor by providing a first driver for driving data interaction between the dedicated processor and the USB device in the dedicated processor.
  • the USB device can be directly driven by the first driver in the dedicated processor to implement data interaction between the USB device and the dedicated processor, and the The general-purpose processor forwards the data to the dedicated processor, and can directly transmit data between the USB device and the dedicated processor, thereby saving transmission delay and improving user experience; meanwhile, since the universal The processor forwards the data to the dedicated processor, which can put the general purpose processor into a sleep state and also save power.
  • the direct interaction of the two devices means that the data is transmitted between the two devices without forwarding data through the third device. data.
  • the explanations of the similar descriptions for the direct data interaction between the two devices are the same as in the following, and are not explained again in order to avoid redundancy.
  • the USB device 210 includes a first USB host controller 211, a second USB host controller 212, and a switch control module 213.
  • the first USB host controller 211 is connected to the dedicated processor 230, and the second The USB host controller 212 is connected to the general purpose processor 220.
  • the switch control module 213 controls any one of the first USB host controller 211 and the second host controller USB 212.
  • the first USB host controller The transmission power consumption of 211 is lower than the transmission power consumption of the second USB host controller 212.
  • the USB device 210 may include two USB host controllers (ie, USB Host Controllers), and the first USB host controller 211 corresponds to the dedicated processor 230, that is, the first USB.
  • the host controller 211 is connected to the dedicated processor 230
  • the second USB host controller 212 corresponds to the general purpose processor 220, that is, the second USB host controller 212 is connected to the general purpose processor 230.
  • the USB device 210 further includes the switch control module 213, and the switch control module 213 establishes a communication connection with the USB interface through the USB physical layer entity, and the switch control module 213 is based on The communication connection controls any one of the first USB host controller 211 and the second host controller USB 212.
  • the switching control module 213 controls the second USB host controller 211, the external device After the USB interface is inserted, if data can be transmitted through the USB device 210 and the dedicated processor 230, the switching control module 213 controls the state of the second USB host controller 212 from the switching control module 213 to be switched to the The switching control module 213 controls the state of the first USB host controller 211, thereby implementing switching of the data transmission path by the switching control module 213; or, if the data processing system is in the initial or default state, the switching control module 213 Controlling the first USB host controller 211, if data can be transmitted through the USB device 210 and the general purpose processor 230, the switching control module 213 will control the first USB host controller 211 from the switching control module 213. The state is switched to the switch control module 213 to control the state of the second USB host controller 212, thereby passing through the switch control module 213 Switching data transmission paths.
  • the switching control module 213 controls the USB host controller in various manners, which is not limited in the embodiment of the present application. All the manners that can control the USB host controller through the switching control module 213 are in the embodiment of the present application. Within the scope of protection.
  • the switching control module 213 can control the USB by means of a physical connection. Host controller.
  • the transmission power of the first USB host controller 211 corresponding to the dedicated processor 230 is lower than corresponding to the general processing.
  • the second USB host controller 212 of the device 220 since the processing power of the dedicated processor 230 is lower than the general purpose processor 220, the transmission power of the first USB host controller 211 corresponding to the dedicated processor 230 is lower than corresponding to the general processing.
  • the second USB host controller 212 of the device 220 since the processing power of the dedicated processor 230 is lower than the general purpose processor 220, the transmission power of the first USB host controller 211 corresponding to the dedicated processor 230 is lower than corresponding to the general processing.
  • the USB host controller corresponding to the two processors can be selected by various factors that determine the transmission power of the USB host controller. For example, in general, a USB host controller with a high version number has a strong processing capability and a wasteful transmission power consumption. Therefore, the appropriate USB host controller can be selected by the version number of the USB host controller, that is, The version of the first USB host controller 211 may be lower than the version of the second USB host controller 212.
  • the first USB host controller may be a USB Host 2.0, and the second USB host controller may be a USB Host 3.0.
  • a host controller with a high transmission rate has a strong processing capability and a wasteful transmission power consumption. Then, a USB host controller can be selected through a transmission rate of the USB host controller.
  • USB host controllers are only illustrative, and all implementations that enable the transmission power of the first USB host controller 211 to be lower than that of the second USB host controller 212 are in the embodiment of the present application. Within the scope of protection.
  • the USB device may also include only one USB host controller, each of which is coupled to two processors.
  • the USB device may include at least one USB host controller, and when the USB device includes M (M is When there are an integer number of USB host controllers greater than or equal to 1, the N dedicated processors correspond to the M USB host controllers, and each USB host controller can be connected to at least one dedicated processor.
  • the data processing system provides a USB host controller (eg, a first USB host controller) with low transmission power and dedicated processing by setting two USB host controllers with different transmission powers in the USB device.
  • the USB host controller (for example, the second USB host controller) with high transmission power is connected to the general-purpose processor, and when the data can be processed by the dedicated processor, the USB device is realized by the USB host controller with low transmission power. Data interaction with this dedicated processor helps to further save power.
  • the USB device 210 includes a USB interface for connecting an external device, and
  • the switching control module 213 controls the first USB host controller 211, or the switching control module controls the second USB host controller.
  • the switching control module 213 is The relationship between the USB host controllers may be: the switching control module 213 may control the first USB host controller 211, or the switching control module 213 may also control the second USB host controller 212.
  • the USB device 210 can directly perform data with the dedicated controller 230.
  • the switching control module 213 controls the second USB host controller 212 when the external device is inserted into the USB interface, the USB device 210 can directly perform data interaction with the universal controller 220.
  • the switching control module 213 and the USB host controller can be flexibly switched by the switching control module 213 according to actual conditions. Relationships, specific implementations are described below.
  • the switching control module and the USB are set.
  • the relationship of the host controller can reduce the power consumption of the data processing system in different scenarios: in case the switching control module controls a USB host controller (for example, the first USB host controller) connected to the dedicated processor, When the data can be processed by the dedicated processor, the USB device can directly perform data interaction with the dedicated processor without performing a series of switching operations, thereby saving power consumption; and the switching control module is controlled to be connected to In the case of a USB host controller of a general-purpose processor (for example, a second USB host controller), when data can be processed by the general-purpose processor, the USB can also be made without performing a series of switching operations. The device interacts directly with the general purpose processor to save power.
  • a USB host controller of a general-purpose processor for example, a second USB host controller
  • the USB device includes a USB interface for connecting an external device
  • the general purpose processor is configured to:
  • the instruction is performed by the dedicated processor to perform data interaction with the USB device.
  • the general-purpose processor 220 can obtain the device type of the external device in two ways:
  • the general-purpose processor 220 acquires the device type of the external device from the dedicated processor 230, that is, the dedicated processor 230 can send the first indication information indicating the device type of the external device to the general-purpose processor 220, The general purpose processor 220 determines the device type of the external device by using the first indication information.
  • the switching control module 213 controls The first USB host controller 211, after the external device is inserted into the USB interface, the external device can perform data interaction with the dedicated processor 230 through the USB device 210, and the dedicated processor 230 obtains the external device through the USB device 210.
  • the first indication information is sent to the general-purpose processor 220, so that the general-purpose processor 220 obtains the device type of the external device.
  • the general-purpose processor 220 acquires the device type of the external device from the USB device 210, that is, the USB device 210 sends second indication information for indicating the device type of the external device to the general-purpose processor 220, the general processing The device 220 determines the device type of the external device by using the second indication information.
  • the switching control module 213 controls the The second USB host controller 212 can perform data interaction with the general-purpose processor 220 through the USB device 210 after the external device is inserted into the USB interface, and then the USB device 210 sends the USB device 210 to the general-purpose processor 220.
  • the second indication information causes the general purpose processor 220 to obtain the device type of the external device.
  • the general-purpose processor 220 After the general-purpose processor 220 obtains the device type of the external device, it is determined by which processor the USB device 210 performs data interaction. As an example and not a limitation, the following two cases are briefly described.
  • the USB device 210 can perform data interaction with the dedicated processor 230, and the instruction is used by the dedicated processor 230 and the USB device 210. Perform data interaction.
  • the data interaction referred to herein indicates that the dedicated processor 230 implements data transmission between the dedicated processor 230 and the USB device 210 through the first driver.
  • the general-purpose processor 220 obtains the device type of the external device based on the mode 1, that is, the general-purpose processor 220 obtains the device type of the external device from the dedicated processor 230, indicating the switching control module. 213 is connected to the first USB host controller 211 by default.
  • the USB device 210 can already perform data interaction with the dedicated processor 230.
  • the general-purpose processor 220 sends the indication information (for the purpose of distinguishing and understanding, it is recorded as the first
  • the third indication information is used to instruct data interaction with the USB device 210 by the dedicated processor 230.
  • the dedicated processor 230 continues to perform data interaction with the USB device 210 based on the third indication information.
  • the general-purpose processor 220 obtains the device type of the external device based on the mode 2, that is, the general-purpose processor 220 obtains the device type of the external device from the USB device 210, indicating that the switching control module 213 defaults to the second
  • the USB host controller 212 is connected, and the USB device 210 can perform data interaction with the general purpose processor 220.
  • the general purpose processor 210 unloads the USB. Instructing, by the dedicated processor 230, data interaction with the USB device 210 by transmitting indication information (referred to as fourth indication information for ease of distinction and understanding), for the dedicated processor 230, the dedicated processor Based on the fourth indication information, the first driver is loaded, and the data exchange between the dedicated processor 230 and the USB device is driven by the first driving.
  • indication information referred to as fourth indication information for ease of distinction and understanding
  • the general-purpose processor 220 can also send the USB device 210 to the USB device 210.
  • the switching control module 213 is instructed to perform the instruction to switch the USB host controller, so that the switching control module 213 switches 212 from the second USB host controller to the first USB host controller 211.
  • the USB device 210 may be determined with the general-purpose processor 220.
  • the general purpose processor 220 can perform the following operations:
  • the general-purpose processor 220 obtains the device type of the external device based on the mode 1, that is, the general-purpose processor 220 obtains the device type of the external device from the dedicated processor 230, indicating that the switching control module 213 defaults to the first
  • the USB host controller 211 is connected, and the USB device 210 can perform data interaction with the dedicated processor 230.
  • the general-purpose processor 220 can instruct the dedicated processor 230 to uninstall the first driver, and instruct the switch control module 213 to The connection state is switched to the second USB host controller; if the general-purpose processor 220 obtains the device type of the external device based on the mode 2, that is, the general-purpose processor 220 obtains the device type of the external device from the USB device 210, It is indicated that the switching control module 213 is connected to the second USB host controller 212 by default, and then the general-purpose processor 220 can continue to perform data interaction with the USB device 210.
  • the general purpose processor may also instruct the dedicated processor to perform data interaction with the USB device, such as a mouse or a keyboard.
  • the general purpose processor can instruct the general purpose processor to perform data interaction with the USB device.
  • the dedicated processor 230 is a digital signal processing DSP processor.
  • the USB device 210 includes a USB interface for connecting an external device, and the USB interface is a Type-C interface.
  • the USB interface may also be a Type-A interface, a Type-B interface, or a Sonic Input Output (SIO) interface.
  • SIO Sonic Input Output
  • the data processing system may, on the one hand, enable the USB device to be dedicated to the dedicated device by providing a first driver for driving data interaction between the dedicated processor and the USB device.
  • the processor performs data interaction.
  • the USB device can be directly driven by the first driver in the dedicated processor to implement data interaction between the USB device and the dedicated processor. It is no longer necessary to forward data to the dedicated processor through the general purpose processor, but data transmission between the USB device and the dedicated processor can be directly performed, saving transmission delay; meanwhile, since the universal is no longer passed
  • the processor forwards the data to the dedicated processor, which can cause the general purpose processor to go to sleep and save power consumption;
  • a USB host controller for example, a first USB host controller
  • a dedicated processor to transmit a USB with high power
  • a host controller eg, a second USB host controller
  • the data processing system can reduce the relationship between the switching control module and the USB host controller by setting the relationship between the switching control module and the USB host controller in a default state (that is, after the external device is unplugged from the USB interface or before the external device is not inserted into the USB interface).
  • the switching control module controls a USB host controller (eg, a first USB host controller) connected to a dedicated processor, when data can be processed by the dedicated processor
  • the USB device can directly perform data interaction with the dedicated processor, thereby saving power consumption
  • the switching control module controls the USB host controller connected to the general-purpose processor
  • the USB device can be directly compared with the general purpose processor without performing a series of switching operations. Interaction saves power.
  • the embodiment of the present application further provides a method for data processing, which is applied to a data processing system including a universal serial bus USB device, a general purpose processor, and a dedicated processor, wherein the USB device includes a connection for connecting A USB interface of the external device, wherein the general-purpose processor is provided with a USB driver, and the dedicated processor is provided with a first driver for driving data interaction between the USB device and the dedicated processor.
  • a data processing system including a universal serial bus USB device, a general purpose processor, and a dedicated processor
  • the USB device includes a connection for connecting A USB interface of the external device
  • the general-purpose processor is provided with a USB driver
  • the dedicated processor is provided with a first driver for driving data interaction between the USB device and the dedicated processor.
  • FIG. 5 is a schematic flowchart of a method 400 for data processing according to an embodiment of the present application. As shown in FIG. 5, the method includes:
  • the general-purpose processor acquires a device type of the external device.
  • the general processor instruction performs data interaction with the USB device by the dedicated processor.
  • the data processing system in method 400 may be any one of the data processing systems of FIG. 2 or FIG. 4, and thus the execution body of method 400 may be a general purpose processor in any one of the data processing systems of FIG. 2 or FIG. 4, correspondingly
  • the general-purpose processor in the foregoing embodiment. More specifically, reference may be made to which processor and the USB device are based on the device type instruction of the external device for the general-purpose processor. The detailed description of the data interaction is not repeated here for brevity.
  • the disclosed systems and methods can be implemented in other ways.
  • the system embodiment described above is 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 mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application 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 functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

一种数据处理系统(200),该数据处理系统(200)包括:通用串行总线USB设备(210);通用处理器(220),该通用处理器(220)中设置有USB驱动(221);专用处理器(230),该专用处理器(230)中设置有第一驱动(231),该第一驱动(231)用于驱动该USB设备(210)和该专用处理器(230)之间的数据交互,能够有效地节省传输时延。

Description

数据处理系统 技术领域
本申请涉及电子技术领域,更具体地,涉及数据处理系统以及用于数据处理的方法。
背景技术
Type-C接口是一种新型的通用串行总线(Universal Serial Bus,USB)接口,支持正反插。随着Type-C接口的技术的日渐成熟,Type-C接口被逐渐应用于手机等终端设备中。
当外接设备通过Type-C接口与手机等终端设备进行数据交互时,以Android系统为例,只有通用处理器能够与终端设备中的USB设备直接进行数据交互,或者说,只有通用处理器和USB设备之间能够直接进行数据访问,这样,使得从USB设备接收的数据需要经过通用处理器中的各个处理模块后才能传输至专用处理器(例如,数据信号处理(Digital Signal Processing,DSP)处理器)中,对于某些时延要求较高的应用场景(例如,利用Type-C耳机进行语音通话的应用场景),这种数据传输方式会产生较大的传输时延,影响用户体验。
因而,需要提供一种技术,有助于减少数据的传输时延,提高用户体验。
发明内容
本申请提供一种数据处理系统,能够有效地减少数据的传输时延,提高用户体验。
第一方面,提供了一种数据处理系统,所述数据处理系统包括:
通用串行总线USB设备;
通用处理器,设置有USB驱动;
专用处理器,设置有第一驱动,所述第一驱动用于驱动所述USB设备和所述专用处理器之间的数据交互。
因此,本申请实施例提供的数据处理系统,通过在专用处理器中设置有用于驱动该专用处理器与该USB设备的数据交互的第一驱动,可以使得该USB设备可以与该专用处理器进行数据交互,当数据可以通过该专用处理器处理时,可以直接通过该专用处理器中的第一驱动来驱动该USB设备,实现该USB设备与该专用处理器之间的数据交互,不再必须通过该通用处理器将数据转发至该专用处理器,而是可以直接在该USB设备与该专用处理器之间进行数据传输,节省了传输时延,提高了用户体验;同时,由于不再通过该通用处理器将数据转发至该专用处理器,可以使得该通用处理器进入休眠状态,也节省了功耗。
可选地,所述USB设备包括用于连接外接设备的USB接口,所述通用处理器用于:
当所述外部设备插入所述USB接口时,获取所述外部设备的设备类型;
若所述外部设备的设备类型为音频设备,则指令由所述专用处理器与所述USB设备进行数据交互。
可选地,所述USB设备包括第一USB主机控制器、第二USB主机控制器和切换控制模块,所述第一USB主机控制器与所述专用处理器相连接,所述第二USB主机控制器与所述通用处理器相连接,所述切换控制模块控制所述第一USB主机控制器和第二主机控制器USB中的任一个主机控制器,所述第一USB主机控制器的传输功耗低于所述第二USB主机控制器的传输功耗。
因此,本申请实施例提供的数据处理系统,通过在USB设备中设置两个传输功率不同的USB主机控制器,传输功率低的USB主机控制器(例如,第一USB主机控制器)与专用处理器连接,传输功率高的USB主机控制器(例如,第二USB主机控制器)与通用处理器连接,当数据可以通过该专用处理器处理时,通过传输功率低的USB主机控制器实现USB设备与该专用处理器之间的数据交互,有助于进一步节省功耗。
可选地,所述USB设备包括用于连接外接设备的USB接口,以及,
当所述外接设备从所述USB接口拔出后,所述切换控制模块控制所述第一USB主机控制器,或,所述切换控制模块控制所述第二USB主机控制器。
因此,本申请实施例提供的数据处理系统,该数据处理系统在默认状态(即,在外接设备从USB接口拔出后或外接设备未插入USB接口之前)下,通过设置切换控制模块与USB主机控制器的关系,可以减少该数据处理系统在不同场景下的功耗:在该切换控制模块控制连接于专用处理器的USB主机控制器(例如,第一USB主机控制器)的情况下,当数据可以通过该专用处理器处理时,在不进行一系列切换操作的情况下,可以使得该USB设备与该专用处理器直接进行数据交互,节省了功耗;在该切换控制模块控制连接于通用处理器的USB主机控制器(例如,第二USB主机控制器)的情况下,当数据可以通过该通用处理器处理时,也可以在不进行一系列切换操作的情况下,可以使得该USB设备与该通用处理器直接进行数据交互,节省了功耗。
可选地,所述专用处理器为数字信号处理DSP处理器。
可选地,所述USB设备包括用于连接外接设备的USB接口,所述USB接口为Type-C接口。
第二方面,提供了一种用于数据处理的方法,应用于包括通用串行总线USB设备、通用处理器和专用处理器的数据处理系统中,其中,所述USB设备包括用于连接外接设备的USB接口,所述通用处理器中设置有USB驱动,所述专用处理器中设置有第一驱动,所述第一驱动用于驱动所述USB设备和所述专用处理器之间的数据交互,所述方法包括:
当所述外接设备插入所述USB接口时,所述通用处理器获取所述外接设备的设备类型;
若所述外接设备的设备类型为音频设备,则所述通用处理器指令由所述专用处理器与所述USB设备进行数据交互。
第三方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得通信设备执行上述第二方面其可能的实施方式中的任一方法。
第四方面,提供一种计算机程序,所述计算机程序在某一计算机上执行时,将会使所述计算机实现上述第二方面其可能的实施方式中的任一方法。
附图说明
图1是根据本申请实施例的USB设备的示意性结构图。
图2是根据本申请一实施例的数据处理系统的示意性结构图。
图3是现有技术的数据处理系统的示意性结构图。
图4是根据本申请另一实施例的数据处理系统的示意性结构图。
图5是根据本申请实施例的用于数据处理的方法的示意性流程图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请实施例的技术方案可以应用于Android系统,也可以应用于其他适用于终端设备的系统,例如,IOS系统等。
本申请实施例中的终端设备是包括USB设备的终端设备。该终端设备可以是移动电话、笔记本电脑、平板电脑、便携式音乐播放器等。可以理解,虽然本申请实施例是以终端设备为例进行说明,实际上其他设备也可以包括本实施例的USB设备、专用处理器和通用处理器的或用于实现相关方法,从而具有类似的功能或达到近似的技术效果。
本申请实施例中能够通过USB设备与该终端设备进行数据交互的设备称为外接设备。该外接设备可以是音频设备(例如耳机、音箱、便携式音乐播放器等),该外接设备也可以是视频设备(例如、视频会议设备、摄像头、显示器、数码相机等),该外接设备也可以是其他类型的设备,例如,数码相机、U盘、移动硬盘、键盘、鼠标等。
本申请实施例中的通用处理器可以用于解释计算机指令以及处理计算机软件中的数据,该终端设备完成每一件工作,都是在该通用处理器的控制指令的指挥以及干预下完成的,该通用处理器可以执行多个任务或者理论上的任何任务。该通用处理器可以是微处理器、也可以是任何常规的处理器,是终端设备的核心部件。
例如,该通用处理器可以为中央处理器(Central Processing Unit,CPU)、微控制单元(Microcontroller Unit,MCU)等。
本申请实施例中的专用处理器的处理逻辑由于被固化或半固化在芯片内部,因此只能执行功能单一的、特定的任务(例如,音频业务、视频业务等),也就是说,该专用处理器在计算特定任务时有着较好的处理能力,但是无法计算其他任务。该专用处理器可以是专用集成电路(Application Specific Integrated Circuit,ASIC)、网络处理器(Network Processor,NP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件等。
例如,该专用处理器可以是DSP处理器,该DSP处理器可以执行音频业务、视频业务以及音视频业务等;再例如,该专用处理器也可以是图像信号处理(Image Signal Processing,ISP)处理器;再例如,该专用处理器也可以是图形处理器(Graphics Processing Unit,GPU)。
图1所示为本申请实施例的USB设备100的示意性结构图,如图1所示,该USB设备100用于建立外接设备与终端设备之间数据交互的物理链路该USB设备100包括:USB主机控制器110、USB物理层实体(USB PHY)120和USB接口130。
其中,该USB主机控制器110与该终端设备内部的处理器相连接,实现USB设备与处理器之间的数据交互。具体而言,该USB主机控制器用于执行终端设备对USB总线和 外接设备的控制操作,包括控制复位操作、控制枚举、或控制或驱动发送数据以及接收数据等。该USB物理层实体120是用于与外部信号接口的芯片,该USB物理层实体用于识别USB接口上的物理信号,如电信号,并转发给USB主机控制器,以及将USB主机控制器的操作转化为物理信号并通过USB接口发送给外接设备。该USB接口130是物理接口,用于和外接设备相连接,实现USB设备与处理器之间的数据交互。
相关USB主机控制器和USB物理层实体可以实现USB数据传输协议的功能,共同支持USB设备的实现,具体可以由软件、硬件或软硬件结合来实现,以达到USB数据传输能力。关于USB物理层和USB控制器的更多具体技术细节可参考现有技术。
应理解,图1所示的USB设备100的示意性框图仅示出了部分结构,该USB设备100还可以包括未在图1中所示的结构,具体结构可以参考现有技术或者下文中对于本申请实施例的数据处理系统中的USB设备的相关描述。
图2是根据本申请实施例的数据处理系统200的示意性结构图。如图2所示,该数据处理系统200包括:USB设备210、通用处理器220和专用处理器230。下面,对上述3种设备分别进行描述。
USB设备210
该USB设备210与上述图1所示的USB设备100的功能模块相同或类似,为了简洁,此处不再赘述。
通用处理器220
在本申请实施例中,该通用处理器220中配置有USB驱动221,当该通用处理器220与该USB设备210进行数据交互时,通过加载该USB驱动221来驱动该USB设备210,进而实现该通用处理器220与该USB设备210之间的数据交互。
该USB驱动221不仅可以用于驱动该USB设备210和该通用处理器220之间的数据传输,也可以用于枚举与该USB设备210相连接的外接设备的设备属性,具体功能作用可以参考现有技术,此处不再赘述。
应理解,该通用处理器中还可以配置除该USB驱动以外的其他功能实体,该功能实体可以运行在该通用处理器中,例如,用户态空间模块(即,Android模块)、音频驱动模块、具有音频处理功能的功能实体、视频驱动模块、具有视频处理功能的功能实体等。
专用处理器230
在本申请实施例中,该专用处理器230中配置有第一驱动231,该第一驱动231用于驱动该USB设备210和该专用处理器230之间的数据交互。
具体而言,该第一驱动231中配置有该USB设备210的设备信息,为了使得该专用处理器220能够与该USB设备210进行数据交互,在该专用处理器220在与该USB设备210传输数据之前,该专用处理器220加载该第一驱动231,使得该第一驱动231能够驱动该USB设备210,从而实现该专用处理器220与该USB设备210之间的数据交互。
该第一驱动231的基本功能是用于驱动该USB设备210和该专用处理器230之间的数据传输,或者说,可以将该第一驱动231理解为该USB驱动221的简化版本。
此外,该第一驱动231在实现上述功能之外,也可以实现除仅用于数据传输之外的其他功能,本申请实施例并不对此做限定。
例如,该第一驱动231也可以配置一些控制命令(为了便于理解与区分,记为第一控 制命令),该第一控制命令用于枚举与该USB设备相连接的外接设备的设备属性,该外接设备的设备属性可以包括该外接设备的设备类型、该外接设备所支持的数据格式等,该数据格式是数据保存在文件或记录中的编排格式以及数据精度等。再例如,该第一驱动231还可以配置其他控制命令(为了便于理解与区分,记为第二控制命令),该第二控制命令用于确定数据的传输方式,该传输方式包括同步传输方式、异步传输方式以及块传输方式等传输方式。
需要说明的是,上述第一控制命令可以是由多个指令构成的命令,用于枚举与该USB设备相连接的外接设备的设备属性,该第二控制命令也可以是由多个指令构成的命令,用于确定数据的传输方式。
应理解,该专用处理器也可以配置除该第一驱动以外的其他功能实体,例如,DSP脉冲编码调制(Pulse-code modulation,PCM)模块、音频和/或视频编解码模块、语音编解码模块等。
还应理解,图2所示的数据处理系统仅示出了USB设备、通用处理器和专用处理器,该数据处理系统中还包括其他未在图1中所示的设备,例如,基带处理器、电源、天线系统、输入输出设备等。
基于上文描述以及图2中带箭头的虚线所示,可以看出,在该数据处理系统中,该USB设备210可以与该通用处理器220进行数据交互,该USB设备210也可以与该专用处理器230进行数据交互,也就是说,该USB设备210能够实现与不同类型或不同功能作用的处理器之间的数据交互。
作为示例而非限定,本申请实施例中的数据处理系统不仅可以包括一个专用处理器,也可以包括多个专用处理器,该多个专用处理器分别用来执行不同任务,每个专用处理器中都配置有第一驱动,用于驱动该每个专用处理器与该USB设备之间的数据交互。
现有技术中,如图3所示,该通用处理器320在包括USB驱动模块323的基础上,还包括Android模块321、音频驱动模块322。其中,该Android模块321逻辑上可以理解为用户态空间,用于Android系统任务的处理,该Android模块321分别包括音频框架(即,Audio Flinger)模块3211、USB音频中间层(即,Audio Hal)模块3212和音频中间层3213;该音频驱动(即,Audio Driver)模块322用于驱动音频声卡或激活音频声卡的功能,分别包括USB音频PCM3221以及音频PCM3222。
以上行音频数据传输过程,即外接设备(例如,耳机)向该终端设备发送数据的过程为例,基于图3对现有技术中数据传输过程进行简单说明。在上行音频数据的传输过程中,该耳机340通过USB设备310将音频数据首先传输至该通用处理器320,进而再传输至该专用处理器330,具体传输路径为:USB设备310→USB驱动模块323→USB音频PCM3221→USB音频中间层3212→音频框架模块3211→音频中间层3213→音频PCM3222→专用处理器330。
下行音频数据的传输过程与上行语音数据的传输过程类似,仅仅是传输方向发生变化,为了简洁,此处不再举例说明。
在该现有技术中,音频数据必须经过通用处理器才能传输至专用处理器,在此传输过程中,由于通用处理器内配置多个模块(图1中仅为部分模块),音频数据在任意两个模块的传输过程中,由于在每个模块中都需要缓存部分音频数据后才会将音频数据传输至下 一个模块,这样,造成了较大的传输时延,这种情况对于时延要求较高的场景,例如,实时语音场景或视频通话场景,较大的传输时延影响用户体验。
本申请实施例提供的数据处理系统,通过在专用处理器中设置有用于驱动该专用处理器与该USB设备的数据交互的第一驱动,可以使得该USB设备可以与该专用处理器进行数据交互,当数据可以通过该专用处理器处理时,可以直接通过该专用处理器中的第一驱动来驱动该USB设备,实现该USB设备与该专用处理器之间的数据交互,不再必须通过该通用处理器将数据转发至该专用处理器,而是可以直接在该USB设备与该专用处理器之间进行数据传输,节省了传输时延,提高了用户体验;同时,由于不再通过该通用处理器将数据转发至该专用处理器,可以使得该通用处理器进入休眠状态,也节省了功耗。
需要说明的是,文中所述的两个设备(例如,专用处理器和USB设备)直接进行数据交互表示的是,数据在不经过第三个设备转发数据的情况下在两个设备之间传输数据。下文针对关于两个设备直接进行数据交互的类似描述的解释同此处,为了避免赘述下文中不再解释。
可选地,该USB设备210包括第一USB主机控制器211、第二USB主机控制器212和切换控制模块213,该第一USB主机控制器211与该专用处理器230相连接,该第二USB主机控制器212与该通用处理器220相连接,该切换控制模块213控制该第一USB主机控制器211和第二主机控制器USB212中的任一个主机控制器,该第一USB主机控制器211的传输功耗低于该第二USB主机控制器212的传输功耗。
具体而言,如图4所示,该USB设备210可以包括两个USB主机控制器(即,USB Host Controller),第一USB主机控制器211对应该专用处理器230,即,该第一USB主机控制器211与该专用处理器230相连接,该第二USB主机控制器212对应该通用处理器220,即,该第二USB主机控制器212与该通用处理器230相连接。
为了完成两个USB主机控制器之间的切换过程,该USB设备210中还包括该切换控制模块213,该切换控制模块213通过USB物理层实体与USB接口建立通信连接,该切换控制模块213基于该通信连接来控制该第一USB主机控制器211和第二主机控制器USB212中的任一个主机控制器。
具体而言,该数据处理系统在初始或默认状态(即,外接设备与该USB设备210断开连接的状态)下,若该切换控制模块213控制该第二USB主机控制器211,当外接设备插入USB接口后,若数据可以通过该USB设备210与该专用处理器230进行数据传输,则该切换控制模块213将从该切换控制模块213控制该第二USB主机控制器212的状态切换至该切换控制模块213控制该第一USB主机控制器211的状态,从而,通过该切换控制模块213实现数据传输路径的切换;或者,该数据处理系统在初始或默认状态下,若该切换控制模块213控制该第一USB主机控制器211,若数据可以通过该USB设备210与该通用处理器230进行数据传输,则该切换控制模块213将从该切换控制模块213控制该第一USB主机控制器211的状态切换至该切换控制模块213控制该第二USB主机控制器212的状态,从而,通过该切换控制模块213实现数据传输路径的切换。
应理解,该切换控制模块213控制USB主机控制器的实现方式有多种,本申请实施例不做任何限定,所有能够通过该切换控制模块213控制USB主机控制器的方式都在本申请实施例的保护范围内。例如,该切换控制模块213可以通过物理连接的方式控制USB 主机控制器。
此外,一般情况下,由于该专用处理器230的处理能力低于该通用处理器220,所以,对应于该专用处理器230的第一USB主机控制器211的传输功率低于对应于该通用处理器220的第二USB主机控制器212。
具体实现中,可以通过决定USB主机控制器的传输功率的多种因素来选择对应于两种处理器的USB主机控制器。例如,一般情况下,版本号高的USB主机控制器的处理能力较强,浪费的传输功耗也较大,那么,可以通过USB主机控制器的版本号来选择合适的USB主机控制器,即,该第一USB主机控制器211的版本可以低于该第二USB主机控制器212的版本,该第一USB主机控制器可以是USB Host 2.0,该第二USB主机控制器可以是USB Host 3.0;再例如,传输速率高的主机控制器的处理能力较强,浪费的传输功耗也较大,那么,可以通过USB主机控制器的传输速率来选择合适的USB主机控制器。
应理解,上述针对两个USB主机控制器举例仅为示意性说明,所有能够使得第一USB主机控制器211的传输功率低于第二USB主机控制器212的实现方式都在本申请实施例的保护范围内。
作为示例而非限定,该USB设备也可以仅包括一个USB主机控制器,该USB主机控制器都分别与两个处理器相连接。
需要说明的是,当该数据处理系统中包括N(N为大于1的整数)个专用处理器时,该USB设备可以包括至少一个USB主机控制器,且,当该USB设备包括M(M为大于或等于1的整数)个USB主机控制器时,该N个专用处理器与该M个USB主机控制器对应,每个USB主机控制器可以连接至少一个专用处理器。
因此,本申请实施例提供的数据处理系统,通过在USB设备中设置两个传输功率不同的USB主机控制器,传输功率低的USB主机控制器(例如,第一USB主机控制器)与专用处理器连接,传输功率高的USB主机控制器(例如,第二USB主机控制器)与通用处理器连接,当数据可以通过该专用处理器处理时,通过传输功率低的USB主机控制器实现USB设备与该专用处理器之间的数据交互,有助于进一步节省功耗。
可选地,该USB设备210包括用于连接外接设备的USB接口,以及,
当该外接设备从该USB接口拔出后,该切换控制模块213控制该第一USB主机控制器211,或,该切换控制模块控制该第二USB主机控制器。
也就是说,在该外接设备与该USB设备210断开连接后,或者说,在该外接设备未插入该USB设备210之前,即,该数据处理系统在默认状态下,该切换控制模块213与USB主机控制器之间的关系可以为:该切换控制模块213可以控制该第一USB主机控制器211,或,该切换控制模块213也可以控制该第二USB主机控制器212。
该数据处理系统在默认状态下,在切换控制模块213控制该第一USB主机控制器211的情况下,当外接设备插入该USB接口后,该USB设备210可以直接与该专用控制器230进行数据交互;在切换控制模块213控制该第二USB主机控制器212的情况下,当外接设备插入该USB接口后,该USB设备210可以直接与该通用控制器220进行数据交互。
此外,当该外接设备插入该USB接口时,无论该切换控制模块213控制哪个USB主机控制器,都可以根据实际情况,通过该切换控制模块213灵活切换该切换控制模块213与USB主机控制器的关系,具体实现方式参考下文描述。
因此,本申请实施例提供的数据处理系统,该数据处理系统在默认状态(即,在外接设备从USB接口拔出后或在外接设备未插入USB接口之前)下,通过设置切换控制模块与USB主机控制器的关系,可以减少该数据处理系统在不同场景下的功耗:在该切换控制模块控制连接于专用处理器的USB主机控制器(例如,第一USB主机控制器)的情况下,当数据可以通过该专用处理器处理时,在不进行一系列切换操作的情况下,可以使得该USB设备与该专用处理器直接进行数据交互,节省了功耗;在该切换控制模块控制连接于通用处理器的USB主机控制器(例如,第二USB主机控制器)的情况下,当数据可以通过该通用处理器处理时,也可以在不进行一系列切换操作的情况下,可以使得该USB设备与该通用处理器直接进行数据交互,节省了功耗。
可选地,该USB设备包括用于连接外接设备的USB接口,该通用处理器用于:
当该外部设备插入该USB接口时,获取该外部设备的设备类型;
若该外部设备的设备类型为音频设备,则指令由专用处理器与该USB设备进行数据交互。
具体而言,当该外接设备通过该USB接口与该USB设备210连接后,该通用处理器220可以通过两种方式获取该外接设备的设备类型:
方式1
该通用处理器220从该专用处理器230获取该外接设备的设备类型,即,该专用处理器230可以向该通用处理器220发送用于指示该外接设备的设备类型的第一指示信息,该通用处理器220通过该第一指示信息确定该外接设备的设备类型。
在该方式1中,该数处理系统在默认状态(即,该外接设备未插入该USB接口的状态,或,该外接设备从该USB接口中拔出的状态)下,该切换控制模块213控制该第一USB主机控制器211,在外接设备插入该USB接口后,该外接设备可以通过该USB设备210与该专用处理器230进行数据交互,该专用处理器230通过该USB设备210获取该外接设备的设备类型后,向该通用处理器220发送该第一指示信息,使得该通用处理器220获得该外接设备的设备类型。
方式2
该通用处理器220从该USB设备210处获取该外接设备的设备类型,即,该USB设备210向该通用处理器220发送用于指示该外接设备的设备类型的第二指示信息,该通用处理器220通过该第二指示信息确定该外接设备的设备类型。
在该方式2中,该数据处理系统在默认状态(即,该外接设备未插入该USB接口的状态,或,该外接设备从该USB接口拔出的状态)下,该切换控制模块213控制该第二USB主机控制器212,在外接设备插入该USB接口后,该外接设备可以通过该USB设备210与该通用处理器220进行数据交互,进而,该USB设备210向该通用处理器220发送该第二指示信息,使得该通用处理器220获得该外接设备的设备类型。
当该通用处理器220获得该外接设备的设备类型后,判断该USB设备210与哪个处理器进行数据交互,作为示例而非限定,下面通过两种情况简单说明。
情况1
若该外部设备的设备类型为音频设备,为了节省时延以及功耗,确定该USB设备210可以与该专用处理器230进行数据交互,则指令由该专用处理器230与该USB设备210 进行数据交互。
应理解,这里所说的数据交互表示的是该专用处理器230通过该第一驱动来实现该专用处理器230与该USB设备210之间的数据传输。
在该情况1中,若该通用处理器220基于方式1获得该外接设备的设备类型,即,该通用处理器220从该专用处理器230处获得该外接设备的设备类型,表示该切换控制模块213默认与该第一USB主机控制器211连接,该USB设备210已经可以和该专用处理器230进行数据交互,那么,该通用处理器220通过发送指示信息(为了便于区分与理解,记为第三指示信息)来指令由该专用处理器230与该USB设备210进行数据交互,对于该专用处理器来说,该专用处理器230基于该第三指示信息,继续与该USB设备210进行数据交互;若该通用处理器220基于方式2获得该外接设备的设备类型,即,该通用处理器220从该USB设备210处获得该外接设备的设备类型,表示该切换控制模块213默认与该第二USB主机控制器212连接,该USB设备210可以和该通用处理器220进行数据交互,那么,该通用处理器210卸载该USB驱动,通过发送指示信息(为了便于区分与理解,记为第四指示信息)来指令由该专用处理器230与该USB设备210进行数据交互,对于该专用处理器230来说,该专用处理器230基于该第四指示信息,加载该第一驱动,通过该第一驱动来驱动该专用处理器230与该USB设备的数据交互,此外,该通用处理器220也可以向该USB设备210发送用于指示该切换控制模块213进行切换USB主机控制器的指示信息,使得该切换控制模块213从该第二USB主机控制器切换212至该第一USB主机控制器211。
情况2
若该外部设备的设备类型为除音频设备以外的设备(例如,虚拟现实(Virtual Reality,VR)等显示设备),为了提高处理速度以及处理质量,确定该USB设备210可以与该通用处理器220进行数据交互,该通用处理器220可以执行如下操作:
若该通用处理器220基于方式1获得该外接设备的设备类型,即,该通用处理器220从该专用处理器230处获得该外接设备的设备类型,表示该切换控制模块213默认与该第一USB主机控制器211连接,该USB设备210可以和该专用处理器230进行数据交互,那么,该通用处理器220可以指令该专用处理器230卸载该第一驱动,且指令该切换控制模块213将连接状态切换至该第二USB主机控制器;若该通用处理器220基于方式2获得该外接设备的设备类型,即,该通用处理器220从该USB设备210处获得该外接设备的设备类型,表示该切换控制模块213默认与该第二USB主机控制器212连接,那么,该通用处理器220可以继续和该USB设备210进行数据交互。
应理解,上述基于该外接设备的设备类型指令该USB设备与哪种处理器进行数据交互的情况仅为示意性说明,不应对本申请实施例构成限定。例如,在该外接设备的设备类型为显示设备和/或音频设备的情况下,该通用处理器也可以指令该专用处理器与该USB设备进行数据交互,在该外接设备为例如鼠标或键盘等输入设备备的情况下,该通用处理器可以指令该通用处理器与该USB设备进行数据交互。
可选地,该专用处理器230为数字信号处理DSP处理器。
可选地,该USB设备210包括用于连接外接设备的USB接口,该USB接口为Type-C接口。
作为示例而非限定,该USB接口也可以为Type-A接口、Type-B接口或音频输入输出(Sonic Input Output,SIO)接口等,本申请实施例并不限于此。
因此,本申请实施例提供的数据处理系统,一方面,通过在专用处理器中设置有用于驱动该专用处理器与该USB设备的数据交互的第一驱动,可以使得该USB设备可以与该专用处理器进行数据交互,当数据可以通过该专用处理器处理时,可以直接通过该专用处理器中的第一驱动来驱动该USB设备,实现该USB设备与该专用处理器之间的数据交互,不再必须通过该通用处理器将数据转发至该专用处理器,而是可以直接在该USB设备与该专用处理器之间进行数据传输,节省了传输时延;同时,由于不再通过该通用处理器将数据转发至该专用处理器,可以使得该通用处理器进入休眠状态,也节省了功耗;
另一方面,通过在USB设备中设置两个传输功率不同的USB主机控制器,传输功率低的USB主机控制器(例如,第一USB主机控制器)与专用处理器连接,传输功率高的USB主机控制器(例如,第二USB主机控制器)与通用处理器连接,当数据可以通过该专用处理器处理时,通过传输功率低的USB主机控制器实现USB设备与该专用处理器之间的数据交互,有助于进一步节省功耗;
再一方面,该数据处理系统在默认状态(即,在外接设备从USB接口拔出后或外接设备未插入USB接口之前)下,通过设置切换控制模块与USB主机控制器的关系,可以减少该数据处理系统在不同场景下的功耗:在该切换控制模块控制连接于专用处理器的USB主机控制器(例如,第一USB主机控制器)的情况下,当数据可以通过该专用处理器处理时,在不进行一系列切换操作的情况下,可以使得该USB设备与该专用处理器直接进行数据交互,节省了功耗;在该切换控制模块控制连接于通用处理器的USB主机控制器(例如,第二USB主机控制器)的情况下,当数据可以通过该通用处理器处理时,也可以在不进行一系列切换操作的情况下,可以使得该USB设备与该通用处理器直接进行数据交互,节省了功耗。
本申请实施例还提供了一种用于数据处理的方法,该方法应用于包括通用串行总线USB设备、通用处理器和专用处理器的数据处理系统中,其中,该USB设备包括用于连接外接设备的USB接口,该通用处理器中设置有USB驱动,该专用处理器中设置有第一驱动,该第一驱动用于驱动该USB设备和该专用处理器之间的数据交互。
图5所示为根据本申请实施例的用于数据处理的方法400的示意性流程图,如图5所示,该方法包括:
S410,当该外接设备插入该USB接口时,该通用处理器获取该外接设备的设备类型;
S420,若该外接设备的设备类型为音频设备,则该通用处理器指令由该专用处理器与该USB设备进行数据交互。
方法400中的数据处理系统可以是如图2或图4中任一个数据处理系统,因此,方法400的执行主体可以是图2或图4中任一个数据处理系统中的通用处理器,对应地,方法400中的各个步骤的具体实现可以参考上述实施例中通用处理器的描述,更具体地,可以参考上文针对通用处理器基于该外接设备的设备类型指令由哪个处理器与该USB设备进行数据交互的具体描述,为了简洁,此处不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以 硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (8)

  1. 一种数据处理系统,其特征在于,所述数据处理系统包括:
    通用串行总线USB设备;
    通用处理器,设置有USB驱动;
    专用处理器,设置有第一驱动,所述第一驱动用于驱动所述USB设备和所述专用处理器之间的数据交互。
  2. 根据权利要求1所述的数据处理系统,其特征在于,所述USB设备包括用于连接外接设备的USB接口,所述通用处理器用于:
    当所述外部设备插入所述USB接口时,获取所述外部设备的设备类型;
    若所述外部设备的设备类型为音频设备,则指令由所述专用处理器与所述USB设备进行数据交互。
  3. 根据权利要求1或2所述的数据处理系统,其特征在于,所述USB设备包括第一USB主机控制器、第二USB主机控制器和切换控制模块,所述第一USB主机控制器与所述专用处理器相连接,所述第二USB主机控制器与所述通用处理器相连接,所述切换控制模块控制所述第一USB主机控制器和第二主机控制器USB中的任一个主机控制器,所述第一USB主机控制器的传输功耗低于所述第二USB主机控制器的传输功耗。
  4. 根据权利要求3所述的数据处理系统,其特征在于,所述USB设备包括用于连接外接设备的USB接口,以及,
    当所述外接设备从所述USB接口拔出后,所述切换控制模块控制所述第一USB主机控制器,或,所述切换控制模块控制所述第二USB主机控制器。
  5. 根据权利要求1至4中任一项所述的数据处理系统,其特征在于,所述专用处理器为数字信号处理DSP处理器。
  6. 根据权利要求1至5中任一项所述的数据处理系统,其特征在于,所述USB设备包括用于连接外接设备的USB接口,所述USB接口为Type-C接口。
  7. 一种终端设备,其特征在于,所述终端设备包括如权利要求1至6中任一项所述的数据处理系统。
  8. 一种用于传输处理的方法,其特征在于,应用于包括通用串行总线USB设备、通用处理器和专用处理器的数据处理系统中,其中,所述USB设备包括用于连接外接设备的USB接口,所述通用处理器中设置有USB驱动,所述专用处理器中设置有第一驱动,所述第一驱动用于驱动所述USB设备和所述专用处理器之间的数据交互,所述方法包括:
    当所述外接设备插入所述USB接口时,所述通用处理器获取所述外接设备的设备类型;
    若所述外接设备的设备类型为音频设备,则所述通用处理器指令由所述专用处理器与所述USB设备进行数据交互。
PCT/CN2017/106390 2017-10-16 2017-10-16 数据处理系统 WO2019075620A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2017/106390 WO2019075620A1 (zh) 2017-10-16 2017-10-16 数据处理系统
CN201780093150.3A CN110892391A (zh) 2017-10-16 2017-10-16 数据处理系统
US16/828,357 US20200226085A1 (en) 2017-10-16 2020-03-24 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/106390 WO2019075620A1 (zh) 2017-10-16 2017-10-16 数据处理系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/828,357 Continuation US20200226085A1 (en) 2017-10-16 2020-03-24 Data processing system

Publications (1)

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

Family

ID=66173983

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106390 WO2019075620A1 (zh) 2017-10-16 2017-10-16 数据处理系统

Country Status (3)

Country Link
US (1) US20200226085A1 (zh)
CN (1) CN110892391A (zh)
WO (1) WO2019075620A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515876A (zh) * 2019-08-23 2019-11-29 苏州浪潮智能科技有限公司 交换卡、处理器以及存储系统
US20210247951A1 (en) * 2020-02-10 2021-08-12 Samsung Electronics Co., Ltd. Electronic device and method for recognizing audio output device connected to usb type-c connector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349999A (zh) * 2008-09-12 2009-01-21 戴葵 一种用于移动存储的安全适配器装置及其操作方法
CN101520757A (zh) * 2009-04-07 2009-09-02 深圳华为通信技术有限公司 设备驱动方法、装置及通信系统
CN101520756A (zh) * 2009-04-07 2009-09-02 深圳华为通信技术有限公司 设备驱动方法、装置及通信系统
CN101788972A (zh) * 2010-03-08 2010-07-28 威盛电子股份有限公司 一种数据传输的系统与方法
CN104461952A (zh) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 一种接口共用方法及终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222054A (zh) * 2010-04-19 2011-10-19 凹凸电子(武汉)有限公司 数据传输装置、方法及控制器
CN101917497B (zh) * 2010-07-23 2014-04-16 惠州Tcl移动通信有限公司 耳机和USB共用Micro-USB接口的方法及装置
EP2544096B1 (en) * 2011-07-06 2014-12-03 GN Netcom A/S Apparatus and method of Universal Serial Bus, USB, communication
KR101761126B1 (ko) * 2011-08-12 2017-07-25 삼성전자 주식회사 Usb 장치, 및 그것을 포함하는 usb 시스템
WO2014058334A1 (en) * 2012-10-09 2014-04-17 Google Inc. Usb audio and power transmission
US9842076B2 (en) * 2014-05-19 2017-12-12 Microchip Technology Incorporated Switchless USB C-connector hub
EP3104296B1 (en) * 2015-06-10 2019-12-18 Alcatel Lucent Usb attack protection
CN106559086B (zh) * 2015-09-30 2019-02-15 努比亚技术有限公司 移动终端和无线通信方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349999A (zh) * 2008-09-12 2009-01-21 戴葵 一种用于移动存储的安全适配器装置及其操作方法
CN101520757A (zh) * 2009-04-07 2009-09-02 深圳华为通信技术有限公司 设备驱动方法、装置及通信系统
CN101520756A (zh) * 2009-04-07 2009-09-02 深圳华为通信技术有限公司 设备驱动方法、装置及通信系统
CN101788972A (zh) * 2010-03-08 2010-07-28 威盛电子股份有限公司 一种数据传输的系统与方法
CN104461952A (zh) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 一种接口共用方法及终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515876A (zh) * 2019-08-23 2019-11-29 苏州浪潮智能科技有限公司 交换卡、处理器以及存储系统
US20210247951A1 (en) * 2020-02-10 2021-08-12 Samsung Electronics Co., Ltd. Electronic device and method for recognizing audio output device connected to usb type-c connector
US11768656B2 (en) * 2020-02-10 2023-09-26 Samsung Electronics Co., Ltd. Electronic device and method for recognizing audio output device connected to USB type-C connector

Also Published As

Publication number Publication date
CN110892391A (zh) 2020-03-17
US20200226085A1 (en) 2020-07-16

Similar Documents

Publication Publication Date Title
US10627893B2 (en) HSIC communication system and method
JP6742465B2 (ja) ブルートゥーススピーカーにおける連続ウェイクアップ遅延低減の方法、装置及びブルートゥーススピーカー
US10969983B2 (en) Method for implementing NVME over fabrics, terminal, server, and system
JP5984955B2 (ja) 無線ドッキングシステムを使用するオーディオシステムのためのミキサーの構成及び制御のための方法及び装置
CN110169079B (zh) 在信宿设备上的源设备的媒体内容控制
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
US20180270175A1 (en) Method, apparatus, system, and non-transitory computer readable medium for chatting on mobile device using an external device
WO2018209614A1 (zh) 一种扩展设备的管理方法、终端设备及扩展设备
US10678494B2 (en) Controlling data streams in universal serial bus (USB) systems
WO2021238404A1 (zh) 数据卡的切换方法、装置、终端及存储介质
TW201810016A (zh) 用於使用分散式通用串列匯流排主機驅動器之系統及方法
CN110971855A (zh) 基于USB Type-C接口的DVR系统及方法
US20060041611A1 (en) Data transfer control system, electronic apparatus, and program
TW201841530A (zh) 經由匯流排上的額外副資料線來發送資料的系統和方法
JP2009268044A (ja) データ伝送ブリッジ装置とそのコントロールチップ及びデータ伝送ブリッジ方法
JP6785332B2 (ja) ブルートゥーススピーカーデータ処理の方法、装置及びブルートゥーススピーカー
US20200226085A1 (en) Data processing system
US9086843B2 (en) Audio controller
CN207124689U (zh) 一种头戴显示器
TW201126345A (en) Method and system for a light-weight mobile computing device
TWI632816B (zh) 具有能源節約的連續資料遞送技術
WO2023273845A1 (zh) 一种多应用录屏方法及装置
CN113110813B (zh) 一种第一电子设备和处理方法
CN209962174U (zh) 一种基于同屏与推送技术的云电脑显示屏
WO2019192177A1 (zh) 数据传输装置、智能交互平板及数据传输方法

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: 17929344

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: 17929344

Country of ref document: EP

Kind code of ref document: A1