1. Technical Field
The present disclosure relates to electronic devices and, more particularly, to an electronic device able to control another electronic device which has a different type of controller.
2. Description of Related Art
A controller of one electronic device often cannot be used to control another electronic device, which is inconvenient.
Therefore, it is desirable to provide an electronic device able to control another electronic device which has a different type of controller from the electronic device.
Embodiments of the disclosure will be described with reference to the accompanying drawings.
The first electronic device 10 includes a detection unit 101, a first interface unit 102, a first storage unit 103, an execution unit 104, and a sending unit 105. The first interface unit 102 is the interface 120 shown in
The detection unit 101 is configured to detect whether the second electronic device 20 is connected with the first electronic device 10. If yes, the detection unit 101 generates an activation signal.
The first storage unit 103 pre-stores a plurality of rules to convert operating signals from other electronic devices, such as the second electronic device 20, into commands, which can be identified by the first electronic device 10.
The sending unit 105 is configured to send the activation signal to the second electronic device 20 via the first interface unit 102 to activate the second electronic device 20. Being activated, the second electronic device 20 automatically downloads the application system from the first storage unit 103 and installs the application system. In other embodiments, the application system can be pre-installed in the second electronic device 20.
The execution unit 104 is configured to execute the commands and thus control the first electronic device 10.
The second electronic device 20 includes an input unit 201, a second interface unit 202, a processing unit 203, and a second storage unit 204.
The input unit 201 is configured to receive user inputs and generate corresponding operating signals. The second storage unit 204 also pre-stores the rule to convert operating signals from the second electronic device 20 into commands, which can be identified by the first electronic device 10.
The second interface unit 202 is configured to interface with the first interface unit 102.
The processing unit 203 is configured to execute the application system to form an acquisition module 2031, a converting module 2032, and a second sending module 2033.
The acquisition module 2031 is configured to acquire the operating signal from the input unit 201. The converting module 2032 is configured to convert the operating signals into commands, which can be identified by the first electronic device 10 using the rule in the table which is stored in first storage unit 103 or the second storage unit 204.
The second sending module 2033 is configured to send the command to the first electronic device 10 via the second interface unit 202 and the first interface unit 101.
As such, the second electronic device 20 can be used to control another electronic device (not shown) by editing the table and downloading and installing corresponding application system.
In the step S21, the detection unit 101 detects whether the first electronic device 10 is connected to the second electronic device 20. If yes, the step S22 is carried out, if no, the step S21 repeated.
In the step S22, the detection unit 101 generates the activation signal to the second electronic device 20, the sending unit 105 sends the activation signal to the second electronic device 20 via the first interface unit 102 to activate the second electronic device 20.
In the step S23, the second electronic device 20 automatically installs the application system from the first storage unit 103 to form the acquisition module 2031, the converting module 2032 and the second sending module 2033. In other embodiments, the application system can be preinstalled and thus this step can be omitted.
In the step S24, the acquisition module 2031 acquires the operational signal from the input unit 201, also acquires the rule from the first electronic device 10 via the second interface unit 202 and the first interface unit 101 or from the second storage unit 204.
In the step S25, the converting module 2032 converts the operating signals into commands which can be identified by the first electronic device 10 using the rule in the table which is stored in first storage unit 103 or the second storage unit 204.
In the step S26, the second sending module 2033 sends the command to the first electronic device 10 via the second interface unit 202 and the first interface unit 101.
In the step S27, the execution unit 104 executes the command and thus controls the first electronic device 10.
The server 30 stores a data base including user accounts. After a user input account information via the input unit 201 of the second electronic device 20′, the communication unit 205 sends the input account information to the server 30 to verify, and receives a result of verifying from the server 30. If the result is input account information is verified, the second electronic device 20′ controls the processing unit 203 to work.
Particular embodiments are shown here and described by way of illustration only. The principles and the features of the present disclosure may be employed in various and numerous embodiments thereof without departing from the scope of the disclosure as claimed. The above-described embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
101139567 | Oct 2012 | TW | national |