ELECTRONIC DEVICE FOR CONTROLLING ANOTHER ELECTRONIC DEVICE

A control method used between a first electronic device and a second electronic device, which has a type of controller different from the first electronic device, is provided. The control method includes receiving user inputs from an input unit of the second electronic device and generating corresponding operating signals. Acquiring the operating signal, converting the operating signals into commands, which can be identified by the first electronic device, sending the command to the first electronic device and executing the command and thus control the first electronic device.

DETAILED DESCRIPTION

Embodiments of the disclosure will be described with reference to the accompanying drawings.

FIG. 1is a remote control system, according to an embodiment. The remote control system includes a first electronic device10and a second electronic device20. The first electronic device10and the second electronic device20have different types of controllers. The first electronic device10may be a television or a gaming device, and the second electronic device20may be a cell phone or a tablet computer. The first electronic device10and the second electronic device20can communicate with each other via a universal serial bus connection, an infrared connection, or a Wi-Fi connection. The first electronic device10serves as a host and the second electronic device20serves as a remote controller for the host. That is, the first electronic device10can be remotely controlled by operating the second electronic device20.

FIG. 2shows that the first electronic device10defines a receiving space110and forms an interface120exposed to the receiving space110. The second electronic device20can be received in the receiving space110and can be connected to the first electronic device10via the interface120. In this embodiment, the interface120is a USB connector.

The first electronic device10includes a detection unit101, a first interface unit102, a first storage unit103, an execution unit104, and a sending unit105. The first interface unit102is the interface120shown inFIG. 2.

The detection unit101is configured to detect whether the second electronic device20is connected with the first electronic device10. If yes, the detection unit101generates an activation signal.

The first storage unit103pre-stores a plurality of rules to convert operating signals from other electronic devices, such as the second electronic device20, into commands, which can be identified by the first electronic device10.

The sending unit105is configured to send the activation signal to the second electronic device20via the first interface unit102to activate the second electronic device20. Being activated, the second electronic device20automatically downloads the application system from the first storage unit103and installs the application system. In other embodiments, the application system can be pre-installed in the second electronic device20.

The execution unit104is configured to execute the commands and thus control the first electronic device10.

The second electronic device20includes an input unit201, a second interface unit202, a processing unit203, and a second storage unit204.

The input unit201is configured to receive user inputs and generate corresponding operating signals. The second storage unit204also pre-stores the rule to convert operating signals from the second electronic device20into commands, which can be identified by the first electronic device10.

The second interface unit202is configured to interface with the first interface unit102.

The processing unit203is configured to execute the application system to form an acquisition module2031, a converting module2032, and a second sending module2033.

The acquisition module2031is configured to acquire the operating signal from the input unit201. The converting module2032is configured to convert the operating signals into commands, which can be identified by the first electronic device10using the rule in the table which is stored in first storage unit103or the second storage unit204.

The second sending module2033is configured to send the command to the first electronic device10via the second interface unit202and the first interface unit101.

As such, the second electronic device20can be used to control another electronic device (not shown) by editing the table and downloading and installing corresponding application system.

FIG. 3shows a method for controlling the first electronic device10using the second electronic device20can be implemented by following steps S21-S27.

In the step S21, the detection unit101detects whether the first electronic device10is connected to the second electronic device20. If yes, the step S22is carried out, if no, the step S21repeated.

In the step S22, the detection unit101generates the activation signal to the second electronic device20, the sending unit105sends the activation signal to the second electronic device20via the first interface unit102to activate the second electronic device20.

In the step S23, the second electronic device20automatically installs the application system from the first storage unit103to form the acquisition module2031, the converting module2032and the second sending module2033. In other embodiments, the application system can be preinstalled and thus this step can be omitted.

In the step S24, the acquisition module2031acquires the operational signal from the input unit201, also acquires the rule from the first electronic device10via the second interface unit202and the first interface unit101or from the second storage unit204.

In the step S25, the converting module2032converts the operating signals into commands which can be identified by the first electronic device10using the rule in the table which is stored in first storage unit103or the second storage unit204.

In the step S26, the second sending module2033sends the command to the first electronic device10via the second interface unit202and the first interface unit101.

In the step S27, the execution unit104executes the command and thus controls the first electronic device10.

FIG. 4show that compared withFIG. 1, the second electronic device20′ further includes a communication unit205, for supplying network connection function to connect the second electronic device20′ to a server30.

The server30stores a data base including user accounts. After a user input account information via the input unit201of the second electronic device20′, the communication unit205sends the input account information to the server30to verify, and receives a result of verifying from the server30. If the result is input account information is verified, the second electronic device20′ controls the processing unit203to work.