This application claims priority to Chinese Patent Application No. 201310284306.X filed on Jul. 8, 2013 in the China Intellectual Property Office, the contents of which are incorporated by reference herein.
The present disclosure relates to data transmission and exchange.
A connection apparatus usually has a plurality of interfaces. The connection apparatus couples to an electronic device through one of the interfaces. Once the electronic device is replaced by another or the interface is changed, the interface must be set manually.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better illustrate details and features of the present disclosure.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
The present disclosure describes a setting system and a method for setting first interfaces of a connection apparatus. The setting system includes a detection unit, a search unit, a setting unit and a turn on unit. The detection unit detects one or more connected second interfaces of a number of second interfaces which are connected to the connection apparatus. The search unit obtains name and speed capacity information of each of the connected second interfaces. The setting unit issues a first command associated with the obtained information and controls each first interfaces of a number of first interfaces which are connected to the connected second interfaces to each connect themselves to a connected second interface, at a speed suitable to the second interface with which the first interface connects. The turn on unit issues a second command to turn on the connected first interfaces.
The setting system 22 can include a processor 221 and a storage unit 222. The processor 221 executes instructions of a detection unit 2231, a search unit 2232, a setting unit 2233 and a turn on unit 2234. The instructions of the detection unit 2231, the search unit 2232, the setting unit 2233 and the turn on unit 2234 are stored in a memory 223 of the electronic device 20.
The detection unit 2231 detects all of the second interfaces 211 which are available and detects one or more second interfaces 211 (hereinafter “connected second interfaces 211”) which are connected to the first interfaces 11. The detection unit 2231 sends a request to each of the plurality of second interfaces 211 and obtains a feedback message from each of the connected second interfaces 211.
The search unit 2232 searches all of the connected second interfaces 211 and obtains information relating to the connected second interfaces 211. In at least one embodiment, the information can include a name and a transmission speed of each of the connected second interfaces 211. The search unit 2232 creates an interface list 2221 (shown in
The setting unit 2233 issues a first command associated with the information as to the connected second interfaces 211 recorded in the interface list 2221 and controls one or more first interfaces 11 (hereinafter “connected first interfaces 11”) which are connected to the connected second interfaces 211 to channel data through the connected second interfaces 211 in accordance with the information recorded in the interface list 2221. In at least one embodiment, the information can include respective names and transmission speeds of the connected second interfaces 211. The setting unit 2233 issues the first command and controls each connected first interface 11 to associate with a connected second interface, and controls the connected first interface to output data at a speed which is equal to the capacity of the connected second interface which has been associated with the connected first interface.
When a connected first interface 11 is disconnected, the connected first interface 11 is turned off. The turn on unit 2234 issues a second command and turns on each of the connected first interfaces 11.
Referring to
At block 301, a detection unit detects all of second interfaces of an electronic device and detects any one or more connected second interfaces which are connected to a connection apparatus. The detection unit sends a request to each of the second interfaces and obtains a feedback message from each of the connected second interfaces.
At block 302, a search unit searches all of the connected second interfaces and obtains information as to each of the connected second interfaces. In at least one embodiment, the information can include a respective name and a transmission speed of each of the connected second interfaces. The search unit creates an interface list to record the obtained information.
At block 303, a setting unit issues a first command to control each of the one or more connected first interfaces to channel data through a connected second interface in a manner which is in accordance with the name and speed information of the connected second interfaces recorded in the interface list.
At block 304, a turn on unit issues a second command and turn on each of the connected first interfaces.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in particular matters of shape, size and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims.
Number | Date | Country | Kind |
---|---|---|---|
201310284306X | Jul 2013 | CN | national |