发明名称 METHOD FOR SETTING UNIVERSAL SERIAL BUS (USB) INTERFACE OF ELECTRONIC DEVICE, AND ELECTRONIC DEVICE
摘要 Certain aspects of the disclosure relates to a method for operating an electronic device. A control device detects a Universal Serial Bus (USB) interface being connected to the electronic device, where the USB interface has a plurality of virtual ports. Then the control device receives one or more descriptors through the USB interface, each descriptor corresponding to a function of the electronic device. Then the control device matches each descriptor corresponding to each function with one driver file corresponding to each function, and after the matching is successful, determines a virtual function device corresponding to execution of each function. In response to receiving an operating command for executing one function, the control device sends the operating command to the corresponding virtual function device to the function to be executed through a corresponding driver interface, such that the corresponding virtual function device is operated on the electronic device.
申请公布号 US2016077982(A1) 申请公布日期 2016.03.17
申请号 US201514603867 申请日期 2015.01.23
申请人 HISENSE MOBILE COMMUNICATIONS TECHNOLOGY CO., LTD. ;HISENSE USA CORPORATION ;HISENSE INTERNATIONAL CO., LTD. 发明人 Ding Chao
分类号 G06F13/10;G06F13/40;G06F13/38;G06F13/42 主分类号 G06F13/10
代理机构 代理人
主权项 1. A method for operating an electronic device used for interconnection between devices, the method comprising: detecting, by a control device, a Universal Serial Bus (USB) interface being connected to the electronic device, wherein the USB interface of the electronic device has a plurality of virtual ports; receiving, by the control device, a plurality of descriptors through the USB interface, wherein each of the descriptors corresponds to a function of the electronic device; matching, by the control device, each of the descriptors corresponding to each of the functions with one of a plurality of driver files corresponding to each of the functions, and after the matching is successful, determining a virtual function device corresponding to execution of each of the functions; and in response to receiving an operating command for executing one of the functions, sending, by the control device, the operating command to the corresponding virtual function device to the function to be executed through a driver interface corresponding to the function to be executed, such that the corresponding virtual function device to the function to be executed is operated on the electronic device.
地址 Qingdao CN