Method for setting universal serial bus (USB) interface of electronic device, and electronic device
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 interfaces; 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 plural
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Enhanced Host Controller Interface Specification for Universal Serial Bus"-dated Mar. 12, 2002, 155 pages.
- "Hardware/Software Tradeoffs: A General Design Principle"-dated Jan. 25, 1985; 3 pages.
- “Enhanced Host Controller Interface Specification for Universal Serial Bus”—dated Mar. 12, 2002, 155 pages.
- “Hardware/Software Tradeoffs: A General Design Principle”—dated Jan. 25, 1985; 3 pages.
- State Intellectual Property Office of People's Republic of China, "First Office Action and Search Report for CN Application No. 201410461865.8", China, Sep. 1, 2016.