CN103631733B - A control method and apparatus - Google Patents

A control method and apparatus Download PDF

Info

Publication number
CN103631733B
CN103631733B CN 201210299775 CN201210299775A CN103631733B CN 103631733 B CN103631733 B CN 103631733B CN 201210299775 CN201210299775 CN 201210299775 CN 201210299775 A CN201210299775 A CN 201210299775A CN 103631733 B CN103631733 B CN 103631733B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
electronic device
state
operation
operating
control
Prior art date
Application number
CN 201210299775
Other languages
Chinese (zh)
Other versions
CN103631733A (en )
Inventor
颜毅强
张晓平
王哲鹏
Original Assignee
联想(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明涉及电子设备领域,特别是涉及一种控制方法和设备,所述控制方法包括:检测输入操作;当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令;根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态;其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;其中,所述第二电子设备与第一电子设备不同。 The present invention relates to the field of electronic devices, particularly to a control method and apparatus, the control method comprising: detecting an input operation; when the input satisfies the predetermined operating condition, according to the input operation corresponding to the control command generation; according to the said control instruction to control the first electronic device is switched from the locked state to the first operating state or the second operational state; wherein the first operating condition and the second operating state different from said second operation state through data connection to send control commands to the first and second electronic apparatus connected to the electronic device to the second electronic device such that the execution state of the control command; wherein, different from the first electronic device and the second electronic device. 本发明实施例提供的方法可以使用户在开机后或者电子设备解锁时通过不同的输入操作选择使电子设备进入不同的工作状态,实现不同的控制应用,简单方便易于操作。 The method provided in the embodiment of the present invention allows the user to boot the electronic device at the time of unlocking of the electronic device to enter or select the different operating states through different input operation to achieve different control applications, simple easy to operate.

Description

_种控制方法和设备 _ Control methods and apparatus

技术领域 FIELD

[0001 ]本发明涉及电子设备领域,特别是涉及一种控制方法和设备。 [0001] The present invention relates to the field of electronic devices, particularly to a control method and apparatus.

背景技术 Background technique

[0002]目前的智能手机、Tablet(平板电脑)等电子设备可以与其他电子设备协同应用,例如智能手机、Tablet可以与电视建立连接,并可作为电视的遥控器使用。 [0002] The current smart phone, the Tablet (tablet) and other electronic devices may cooperate with other electronic devices applied, such as smart phones, you can establish a connection with the Tablet TV, and can be used as a television remote control. 在现有技术中,可以在智能手机或Tablet上预装一个应用软件,使得智能手机或Tablet可以模拟遥控器对电视进行控制。 In the prior art, a software application can be preloaded on the phone or smart Tablet, such smartphone or Tablet simulate remote controlled television. 但这种方法中,用户需要进入电子设备的应用界面后才能够点击应用程序来实现对电视的控制,过程比较繁琐,应用起来并不方便。 But this method, after the user needs to enter the electronic device application interface can click on the application to achieve control of the TV, the process is relatively complicated, the application is not convenient.

发明内容 SUMMARY

[0003]为解决上述技术问题,本发明实施例提供了一种控制方法和设备,可以使用户通过不同的输入操作选择使电子设备进入不同的工作状态,实现不同的控制应用,简单方便易于操作。 [0003] To solve the above problems, embodiments provide a control method and apparatus of the present invention, allows the user to choose to make the electronic device into the different operating states through different input operation to achieve different control applications, easy to operate simple . 技术方案如下: Technical solutions are as follows:

[0004] —方面,本发明实施例提供了一种控制方法,所述方法应用于第一电子设备,包括: [0004] - aspect, embodiments of the present invention provides a control method, the method is applied to a first electronic device, comprising:

[0005]检测输入操作; [0005] detecting the input operation;

[0006]当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令; [0006] When the input operation meets a predetermined condition, generating a corresponding control instruction according to the input operation;

[0007]根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态; [0007] According to the control instruction to control the first electronic device is switched from the locked state to the first operating state or the second operating state;

[0008]其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;其中,所述第二电子设备与第一电子设备不同。 [0008] wherein said first operating state and the second operating state different from the second operating state is connected to send control commands to a second electronic device connected to the first electronic device through the data so that the said second electronic device executes the control command state; wherein, different from the second electronic device and the first electronic device.

[0009]优选地,所述当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括: [0009] Preferably, the operation when the input satisfies the predetermined conditions, based on the input operation to generate a corresponding control instructions comprising:

[0010]当所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; [0010] When the input operation is a preset first operation input, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating state;

[0011]当所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0011] When the input operation is a preset second operation input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.

[0012] 优选地,所述第一电子设备具有显示单元,所述方法还包括: [0012] Preferably, the first electronic device having a display unit, the method further comprising:

[0013]所述显示单元显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0013] the display unit displays a first and a second unlocked unlocked prompt tips, wherein the first prompt for unlocking the first electronic device enters a first operation state, the second unlocking prompt for the first electronic device enters a second operation state.

[0014] 优选地,所述第一电子设备具有显示单元,所述方法还包括: [0014] Preferably, the first electronic device having a display unit, the method further comprising:

[0015]检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示。 [0015] detecting a working mode of the second electronic device, said display unit to display the corresponding prompt unlocking operation mode according to the second electronic device.

[0016]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式,则所述检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示包括: [0016] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second operating mode, the operating mode of the second electronic detection device, the said display unit to display the corresponding prompt includes unlocking operation mode according to the second electronic device:

[0017]当未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; [0017] When the communication state is not detected between the first electronic device and a second electronic device, or when there is detected a communication state between said first electronic device and the second electronic device and when the communication state indicates that when the second electronic device in a first operating mode, displaying a first prompt unlocking the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state;

[0018]当检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0018] When detecting the communication state between said first electronic device and a second electronic device, or when there is detected a communication state between said first electronic device and the second electronic device and when the communication state indicates that said second electronic device in a second operating mode, the display prompts the first and second unlocking unlocking tips, wherein said first unlocking prompt for the first electronic device is switched from the locked state to the first operating state ; unlocking the second prompt for the first electronic device is switched from the locked state to the second operating state.

[0019]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗,则所述检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示包括: [0019] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second electronic device is operating in the third a first power mode than the second power consumption of the electronic device in a second mode of operation of the fourth, then the second detection operation mode of the electronic device, the display unit according to the second electronic device operating mode displays the corresponding unlock tips include:

[0020]当检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; [0020] When detecting that the second electronic device when in the third operating mode, displaying a first prompt unlocking the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state;

[0021]当检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0021] When the second electronic device in a fourth operating mode is detected, displaying the first and second unlocking tips unlocking tips, wherein the first prompt for unlocking the locked state by the first electronic device switching to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second operating state.

[0022]优选地,所述当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括: [0022] Preferably, the operation when the input satisfies the predetermined conditions, based on the input operation to generate a corresponding control instructions comprising:

[0023]当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; [0023] When it is detected corresponding to the first unlock prompt the input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the second a working condition;

[0024]当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0024] When it is detected corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second two working condition.

[0025]优选地,所述根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态包括: [0025] Preferably, the control instruction according to the first electronic control device is switched from the locked state to the first operating state or the second operational state comprises:

[0026]当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令; [0026] When the control command generated by the first control instruction to control the first electronic device is switched from the locked state to the first operating state, in the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that executing the first command to the first electronic device;

[0027]当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0027] When the control command generated by the second control instruction to control the first electronic device is switched from the locked state to the second operating state, in the second operating state, the first electronic device for receiving a second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device to perform the second command.

[0028]优选地,所述第一电子设备具有通信单元,在根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,所述方法还包括: [0028] Preferably, the first electronic device has a communication unit, after the control instruction to control the first electronic device is switched from the locked state to the second state in accordance with, the method further comprising:

[0029]所述通信单元建立与第二电子设备的通信连接,在所述第二工作状态下,所述第一电子设备接受第二预定操作,产生第二命令,并将所述第二命令通过所述通信单元发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0029] The communication unit establishes a communication connection with a second electronic device in the second operating state, the first electronic device receiving a second predetermined operation, generating a second command and the second command transmitting to said second electronic device through the communication unit, such that the second electronic device to perform the second command.

[0030]优选地,在根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,所述方法还包括: [0030] Preferably, after the control instruction to control the first electronic device is switched from the locked state to the second state in accordance with, the method further comprising:

[0031]检测第二电子设备的工作模式,根据所述第二电子设备的工作模式显示第二命令集合,所述第二命令集合用于使得所述第一电子设备在接收第二预定操作时产生第二命令并将所述第二命令发送给第二电子设备,以使得所述第二电子设备执行第二命令。 [0031] The detection of the second mode of operation of the electronic device, according to the working mode of the second electronic device to display a second set of commands, said second set of commands for causing the first electronic device upon receiving a second predetermined operation generating a second command and the second command to the second electronic device, such that the second electronic device to execute a second command.

[0032] 优选地,在显示解锁提示之前,所述方法还包括: [0032] Preferably, before displaying the prompt unlocking, the method further comprising:

[0033]判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,当所述判断结果表明所述显示单元由第一功耗状态切换至第二功耗状态时,进入显示解锁提示的步骤;其中,所述第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 The display unit [0033] determining whether the first electronic device is switched from a first state to a second power consumption state, when the judgment result indicates that the display unit is switched from a first state to a second power consumption state, proceeds to step unlocking display prompts; wherein the power consumption of the display unit of the first electronic device in a first power state is less than the power consumption in the second power consumption state.

[0034]另一方面,本发明实施例还提供了 一种第一电子设备,包括: [0034] On the other hand, embodiments of the present invention further provides a first electronic device, comprising:

[0035]第一检测单元,用于检测输入操作; [0035] The first detecting means for detecting an input operation;

[0036]控制指令生成单元,用于当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令,将所述控制指令发送给切换单元; [0036] The control command generating unit for operating when the input satisfies a predetermined condition, according to the input operation to generate a corresponding control command, the control instructions to the switching unit;

[0037]切换单元,用于接收所述控制指令生成单元发送的控制指令,并根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态;其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;其中,所述第二电子设备与第一电子设备不同。 [0037] a switching unit, for receiving said control instruction unit transmits a control command generation, and controls the first electronic device according to the control by the lock status of the instruction to switch to the first operating state or the second operational state; wherein, the first operating state and the second operating state different from the second operation state of the second control command is transmitted to the first electronic device is connected to an electronic device via a data connection to the second electronic device such that execution state of the control command; wherein, different from the second electronic device and the first electronic device.

[0038]优选地,所述控制指令生成单元具体用于: [0038] Preferably, the control instruction generating unit is configured to:

[0039]当所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; [0039] When the input operation is a preset first operation input, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating state;

[0040]当所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0040] When the input operation is a preset second operation input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.

[0041] 优选地,所述第一电子设备还包括: [0041] Preferably, the first electronic device further comprising:

[0042]显示单元,用于显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0042] a display unit for displaying the first and second unlocking tips unlocking tips, wherein the first prompt for unlocking the first electronic device enters a first operation state, the second unlocking prompt for the first electronic device enters a second operation state.

[0043] 优选地,所述第一电子设备具有显示单元,所述设备还包括: [0043] Preferably, the first electronic device having a display unit, the apparatus further comprising:

[0044]第二检测单元,用于检测第二电子设备的工作模式; [0044] The second detection means for detecting a working mode of the second electronic device;

[0045]则所述显示单元用于接收第二检测单元的检测结果,根据所述第二电子设备的工作模式显示对应的解锁提示。 [0045] The said display unit for receiving the detection result of the second detecting means, display the corresponding prompt unlocking operation mode according to the second electronic device.

[0046]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式,则所述显示单元具体用于: [0046] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second operation mode, said display unit is configured to:

[0047]当所述第二检测单元的检测结果表明未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; [0047] When the detection result indicates that the second detection unit does not detect a communication state between said first electronic device and a second electronic device, or when the detection result indicates that the second detection unit detects that the between said first electronic device and the second electronic device with a communication state and when the communication state indicates that the second electronic device in a first operating mode, unlocking the first display prompt, the prompt for the first unlocking said first electronic device is switched from the locked state to the first operating state;

[0048]当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明所述第二检测单元检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0048] When the detection result indicates that the second detection unit detects that the communication state between the first electronic device and a second electronic device, or when the detection result of the second detection unit indicates that the second detecting means detects that the communication state between the first electronic device and the second electronic device and when the communication state indicates that the second electronic device in a second operating mode, the display prompts the first and second unlocking unlocking tips, wherein the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second work status.

[0049]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗,则所述显示单元具体用于: [0049] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second electronic device is operating in the third a first power mode than the second power consumption of the electronic device in a second mode of operation of the fourth, then the display unit is configured to:

[0050]当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; [0050] When the detection result indicates that the second detection unit detects that the second electronic device in a third operating mode, displaying a first prompt unlocking the first unlocking prompt for the first electronic device switching from the first operating state to the locked state;

[0051]当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0051] When the detection result indicates that the second detection unit detects that the second electronic device in a fourth operating mode, the display prompts the first and second unlocking unlocking tips, wherein said first prompts for unlocking the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second operating state.

[0052]优选地,所述设备还具有触摸感应单元,所述控制指令生成单元具体用于: [0052] Preferably, the device further having a touch sensing unit, the control instruction generating unit is configured to:

[0053]当所述触摸感应单元检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; [0053] When the input operation detected by the touch sensing unit corresponding to the first unlock hint meets a first preset condition, generating a first control command, the first control instruction for causing the first electronic device by a locked state to the first operating state;

[0054]当所述触摸感应单元检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0054] When detecting the touch sensing unit corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device by a locked state to the second operating state.

[0055]优选地,所述切换单元具体用于: [0055] Preferably, the switching unit is configured to:

[0056]当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令; [0056] When the control command generated by the first control instruction to control the first electronic device is switched from the locked state to the first operating state, in the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that executing the first command to the first electronic device;

[0057]当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0057] When the control command generated by the second control instruction to control the first electronic device is switched from the locked state to the second operating state, in the second operating state, the first electronic device for receiving a second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device to perform the second command.

[0058] 优选地,所述第一电子设备还包括: [0058] Preferably, the first electronic device further comprising:

[0059]通信单元,用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,建立与第二电子设备的通信连接,当所述第一电子设备接受第二预定操作产生第二命令时,将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0059] The communication unit after said switching means according to the control instruction controls the first electronic device is switched from the locked state to a second state, establish communication connection with the second electronic device, when the first accepting the electronic device a second predetermined operation generates a second command, transmitting the second command to the second electronic device, such that the second electronic device performs the second command.

[0060] 优选地,所述设备还包括: [0060] Preferably, said apparatus further comprising:

[0061]第三检测单元,用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,检测第二电子设备的工作模式; [0061] The third detection means, the switching means according to the control instruction to control the first electronic device is switched from the locked state to the second state, detecting a second operating mode of the electronic device;

[0062]则所述显示单元用于接收第三检测单元的检测结果,根据所述第二电子设备的工作模式显示第二命令集合,所述第二命令集合用于使得所述第一电子设备在接收第二预定操作时产生第二命令并将所述第二命令发送给第二电子设备,以使得所述第二电子设备执行第二命令。 [0062] then the detection result display unit for receiving the third detection unit, according to the operating mode of the second electronic device to display a second set of commands, said second set of commands for causing the first electronic device generating a second command upon receiving a second predetermined operation and the second command to the second electronic device, such that the second electronic device to execute a second command.

[0063] 优选地,所述设备还包括: [0063] Preferably, said apparatus further comprising:

[0064]判断单元,用于判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,并将判断结果发送给显示单元;其中,所述第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 [0064] determination means for determining whether the first electronic device whether the display unit is switched from a first state to a second power consumption state, and the determination result to the display unit; wherein the first electronic device the power consumption of the display unit in the first power state is less than the power consumption in the second power consumption state.

[0065]则所述显示单元还用于当所述判断结果表明所述第一电子设备的显示单元由第一功耗状态切换至第二功耗状态时,执行显示解锁提示操作。 [0065] The display unit is further configured to, when the determination result indicates the display unit of the first electronic device is switched from a first state to a second power consumption state, performing the unlock display prompts.

[0066]本发明实施例的有益效果为:本发明实施例提供的第一电子设备,具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和第二工作状态不同,其中,所述第二工作状态为所述第一电子设备通过数据连接对与其相连的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态,所述控制方法包括:检测输入操作;当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令;根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态。 [0066] Advantageous effects of the embodiments of the present invention is: a first electronic device according to an embodiment of the present invention, having at least two operating states, a first operating state and the second operating state, the first operating state and the second operating different states, wherein said second operating state to the first electronic device is connected to a second electronic apparatus connected thereto by a data transmission control command to the second electronic device such that the execution state of the control command, the the control method comprising: detecting an input operation; when the input satisfies the predetermined operating condition based on the input operation to generate a corresponding control instruction; according to the control command from the control device of the first electronic switch from the locked state to the first operating state or the second state of operation. 本发明实施例提供的方法可以使得用户在开机后或者电子设备解锁时可以通过不同的输入操作选择使电子设备进入不同的工作状态,实现不同的控制应用,而无需每次进入电子设备的应用界面后才能够点击应用程序来进入不同的应用模式,简单方便易于操作。 The method provided in the embodiment of the present invention may enable the user when the boot or unlock the electronic device can be made by selecting a different input operation of the electronic device into the different operating states, to achieve different control applications, each entry without the application interface of the electronic device before you can click on the application to access different application modes, simple and convenient easy to operate.

附图说明 BRIEF DESCRIPTION

[0067]为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0067] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention described, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0068]图1为本发明实施例提供的控制方法第一实施例示意图; [0068] Fig 1 a schematic diagram of a control method embodiment according to a first embodiment of the present invention;

[0069]图2为本发明实施例提供的控制方法第二实施例示意图; [0069] FIG. 2 embodiment provides a control method of a second embodiment of the present invention, a schematic diagram;

[0070]图3为本发明实施例提供的控制方法第三实施例示意图; [0070] FIG. 3 provides a control method of the embodiment schematic diagram of a third embodiment of the present invention;

[0071 ]图4为本发明实施例提供的控制方法第四实施例示意图; [0071] FIG. 4 embodiment a control method according to a fourth embodiment of the present invention, a schematic diagram;

[0072]图5为本发明实施例提供的控制方法第五实施例示意图; [0072] FIG. 5 embodiment provides a control method of a fifth embodiment of the present invention, a schematic diagram;

[0073]图6为本发明提供的第一电子设备一实施例示意图。 A first electronic device [0073] FIG. 6 is one case of the present invention provides a schematic embodiment.

具体实施方式 detailed description

[0074]本发明实施例提供了一种控制方法和设备,可以使用户通过不同的输入操作选择使电子设备进入不同的工作状态,实现不同的控制应用,简单方便易于操作。 [0074] Example embodiments provide a control method and apparatus of the present invention, it may enable a user of the electronic device enters different operating states through different input operation to achieve different control applications, simple easy to operate.

[0075]为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0075] In order to make those skilled in the art better understand the technical solutions of the present invention, the present invention in conjunction with the following drawings in the embodiments, the technical solutions in the embodiments of the present invention will be clearly and completely described in, obviously, the described embodiments are merely part of embodiments of the present invention rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without creative efforts shall be made available, should fall within the scope of the present invention.

[0076]参见图1,为本发明提供的控制方法第一实施例流程图。 [0076] Referring to Figure 1, a flowchart illustrating a control method of a first embodiment of the present invention provides.

[0077]本发明提供的方法应用于第一电子设备,所述第一电子设备可以与第二电子设备建立数据连接。 Method [0077] The present invention provides a first electronic apparatus is applied to the first electronic device may establish a data connection with a second electronic device. 其中,所述第一电子设备具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;其中,所述第二电子设备与第一电子设备不同。 Wherein said first electronic device having at least two operating states, a first operating state and the second operating state, the first operating state and the second operating state different from the second operation state is a data connection transmitting a second electronic device connected to the first electronic device control command to the second electronic device such that the execution state of the control command; wherein, different from the second electronic device and the first electronic device.

[0078]所述方法,包括: [0078] said method comprising:

[0079] SlOl,检测输入操作。 [0079] SlOl, detecting an input operation.

[0080]所述输入操作可以是键盘输入、鼠标输入或者是触摸手势输入,本发明对此不进行限定。 [0080] The input operation may be a keyboard input, mouse input or touch gesture input, according to the present invention which is not limited. 例如,当用户通过按键触发输入操作时,或者,当用户通过键盘输入字符串触发输入操作时,或者,当用户使用鼠标触发输入操作时,或者,当用户操作体(例如手指、触摸笔)进行手势输入触发输入操作时,第一电子设备检测是否有输入操作触发。 For example, when a user trigger input through the key operation, or when the user through the key input operation trigger input string, or when a user uses a mouse trigger input operation, or when the user operates (e.g. a finger, a touch pen) is when the trigger input gesture input operation, the first electronic device detects whether an input operation is triggered.

[0081 ] S102,当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令。 [0081] S102, when the input operation meets a predetermined condition, generating a corresponding control instruction according to the input operation.

[0082]当检测到有输入操作时,判断所述输入操作是否满足预定的条件。 [0082] When detecting the input operation, the input is determined whether the operation meets a predetermined condition. 具体的,判断输入操作是否满足预定的条件可以包括:判断输入操作是否是预设的按键动作,或者预设的输入指令,或者,预设的手势等。 Specifically, the predetermined condition is satisfied determines the input operation may include: determining whether a predetermined input operation is an operation button, or a preset command input, or other predefined gesture. 其中,预设的按键动作或预设的输入指令或预设的手势都可以由系统设定或者由用户自定义设定。 Wherein the predetermined operation key or preset input instructions or a preset gesture can be set by the system or set by the user-defined.

[0083]其中,所述当输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括: [0083] wherein, when the input operation satisfies a predetermined condition, based on the input operation to generate a corresponding control instructions comprising:

[0084]当所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; [0084] When the input operation is a preset first operation input, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating state;

[0085]当所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0085] When the input operation is a preset second operation input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.

[0086]特别地,当检测到用户的输入操作是手势输入时,所述当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括:当所述手势输入为预设的第一手势输入时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态;当所述手势输入为预设的第二手势输入时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0086] Specifically, when detecting a user input operation when the gesture is input, the input operation when the predetermined condition is satisfied based on the input operation to generate a corresponding control command comprises: when the gesture input is a preset when the first gesture is input, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating state; a second hand when the gesture input is a preset when the potential at the input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state. 其中,预设的第一手势输入和预设的第二手势输入可以设置为: Wherein the predetermined first gesture input and the preset second gesture input can be set to:

[0087] (I)手势输入的起点相同,手势输入的终点不同。 [0087] (I) the same starting point gesture input, gesture input different endpoints.

[0088] (2)手势输入的起点相同,手势输入的终点相同,但输入的路径不同。 [0088] (2) the same starting point gesture input, gesture input end of the same, but with different input paths. 例如,第一手势输入和第二手势输入的起点和终点均相同,二者的输入路径可以形成一个圆周,第一手势输入可以沿上半圆周形成输入路径,第二手势输入可以沿下半圆周形成输入路径。 For example, a first gesture input and the second input gesture start and end are the same, both the input path and form a circumference of the first gesture input may be formed along the upper half circumference input path, the second gesture input can be moved semicircle form an input path.

[0089] (3)手势输入的起点不同,手势输入的终点相同。 [0089] (3) different starting point gesture input, gesture input end of the same.

[0090] (4)手势输入的起点不同,手势输入的终点也不同。 [0090] (4) different starting gesture input, gesture input end are different.

[0091]当检测到第一手势输入时,生成第一控制指令;当检测到第二手势输入时,生成第二控制指令。 [0091] When detecting the first gesture input, generating a first control command; when detecting the second gesture input, generating a second control command. 其中,第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态,第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 Wherein the first control instruction for causing the first electronic device is switched from the locked state to the first operating state, a second control command for causing the first electronic device is switched from the locked state to the second operating state.

[0092] S103,根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态。 [0092] S103, the control according to the control command from the first electronic device is switched to the locked state of the first operating state or the second operating state.

[0093]本发明实施例提供的方法,第一电子设备至少两种工作状态,第一工作状态和第二工作状态。 [0093] The method provided by the embodiment of the present invention, at least two operating states of the first electronic device, a first operating state and the second operating state. 其中,第一工作状态与第二状态不同,为非对第二电子设备进行控制的状态。 Wherein the first operating state and a second state different from, the second electronic device to the non-control state. 第二工作状态为通过建立数据连接向与第一电子设备相连的第二电子设备发送控制指令使得第二电子设备执行所述控制指令的状态。 The second operating state is connected to the second electronic device transmits a control command to the first electronic device connected to a second electronic apparatus such that the execution state of the control command by establishing data.

[0094]在本发明第一实施例中,首先检测输入操作,当检测到的输入操作满足预定条件时,根据所述输入操作生成对应的控制指令;根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态。 [0094] In a first embodiment of the present invention, the input operation is first detected, when the detected input operation satisfies predetermined conditions, based on the input operation to generate a corresponding control instruction; the first electronic control according to the control command device switched from the locked state to the first operating state or the second operating state. 本发明实施例提供的方法可以使得用户在开机后或者电子设备解锁时可以通过不同的输入操作选择使电子设备进入不同的工作状态,实现不同的控制应用,而无需每次进入电子设备的应用界面后才能够点击应用程序来进入不同的应用模式,简单方便易于操作。 The method provided in the embodiment of the present invention may enable the user when the boot or unlock the electronic device can be made by selecting a different input operation of the electronic device into the different operating states, to achieve different control applications, each entry without the application interface of the electronic device before you can click on the application to access different application modes, simple and convenient easy to operate.

[0095]参见图2,为本发明提供的控制方法第二实施例流程图。 [0095] Referring to Figure 2, a flowchart of a control method according to a second embodiment provides the present invention.

[0096]在本发明提供的第二实施例中,第一电子设备具有显示单元。 [0096] In a second embodiment the present invention provides in a first electronic device having a display unit. 第一电子设备具有通信单元,用于与第二电子设备建立通信连接、进行数据传输。 A first electronic device having a communication unit for establishing communication connection with a second electronic device for data transmission. 第一电子设备具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态。 A first electronic device having at least two operating states, a first operating state and the second operating state, the first operating state and the second operating state different from said second operation state through the data connection a second electronic device connected to the first electronic device transmits a control command to the second electronic device such that the execution state of the control command. 具体的,所述第一电子设备可以为移动终端,所述移动终端包括但不限于平板电脑PAD、智能手机、功能手机、掌上电脑PDA等,所述第二电子设备可以为智能终端,包括但不限于电视机或机顶盒等可被遥控的设备。 Specifically, the first electronic device may be a mobile terminal, the mobile terminal including but not limited to the PAD tablet computers, smart phones, feature phones, PDA, Pocket PC, the second electronic device may be a smart terminal, including, but may be limited to a remote control device or a television set-top boxes and the like.

[0097] S201,判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,如果是,进入步骤S202。 [0097] The display unit S201, determines whether the first electronic device is switched from a first state to a second power consumption state, and if so, proceeds to step S202.

[0098]在本发明第二实施例中,在显示解锁提示信息之前,进一步包括判断第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态的步骤。 [0098] In the second embodiment of the present invention, before displaying the unlock message, a display unit further comprising the step of determining whether the first electronic device is switched from a first state to a second power consumption state. 其中,第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 Wherein the power consumption of the display unit of the first electronic device in a first power state is less than the power consumption in the second power consumption state. 例如,第一电子设备的显示单元处于第一功耗状态下时,显示单元处于休眠、锁定或待机状态;第二电子设备的显示单元处于第二功耗状态下时,显示单元处于唤醒、解锁或开机正常工作状态。 For example, the display unit of the first electronic device is in a first power state, the display unit is in a sleep, standby, or locked; a second display unit when the electronic device is in a second power state, the display unit is in the awake, unlocking or turn on normal working condition. 当判断结果表明所述显示单元由第一功耗状态切换至第二功耗状态时,进入步骤S202。 When the judgment result indicates that the display unit is switched from the first power state to a second power state, proceeds to step S202.

[0099] S202,显示单元显示第一解锁提示和第二解锁提示。 [0099] S202, the display unit displays a first and a second unlock unlocking tips tips.

[0100]在本发明第二实施例中,第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0100] In the second embodiment of the present invention, the first prompt for unlocking the first electronic device enters a first operation state, the second prompt for unlocking the first electronic device into the second work status.

[0101]特别地,当第一电子设备具有重叠设置的显示单元和感应单元,例如触摸屏时,所述显示单元显示的第一解锁提示和第二解锁提示用于提示用户输入不同的手势输入以切换第一电子设备进入不同的工作状态。 [0101] In particular, when the first electronic device having a display unit and a sensing unit arranged to overlap, such as a touch screen, the display different user input gesture to unlock the first and second unlocking unit prompts displayed to prompt for prompting an input switching the first electronic device into the different operating states. 所述感应单元用于感应用户的不同手势输入。 The sensing unit for sensing a user input different gestures. 第一解锁提示和第二解锁提示标识或者提示的解锁路径不同。 Unlike the first and second tips unlocked unlocked unlocked prompt or prompt identification path. 具体的,第一解锁提示和第二解锁提示标识或者提示的解锁路径可以这样设置: Specifically, the tips of the first and second unlocking unlock hint prompt identification or unlocking path can be set up:

[0102] (I)解锁输入的起点相同,解锁输入的终点不同。 [0102] the same as the start point (I) entered to unlock, unlock different input end. 这时,第一解锁提示和第二解锁提示可以设置为一个解锁目标,例如一个滑动条的形式展现解锁提示。 At this time, the first unlock hints and tips can unlock the second set as a goal to unlock, for example in the form of a slider to show unlock hint. 在这种情况下,可以设置当用户从解锁滑动条的中部向左滑动时,生成第一控制指令,控制第一电子设备进入第一工作状态;设置当用户从解锁滑动条的中部向右滑动时,生成第二控制指令,控制第一电子设备进入第二工作状态。 In this case, the user may be provided when the slide to the left to unlock the slider from the center, generating a first control command to control the first electronic apparatus to enter a first operating state; provided when a user slides the slider to the right from the middle of the unlocking when generating the second control instruction to control the first electronic device enters a second operation state. 当然,第一解锁提示和第二解锁提示也可以设置为两个解锁目标,例如两个滑动条的形式呈现解锁提示,这两个滑动条的起点相同。 Of course, the first and second unlock unlocked prompt tips can also be set to unlock two goals, for example in the form of two sliders presented unlocked prompt, the same as the starting point of the two sliders. 当然,第一解锁提示和第二解锁提示也可以不以解锁目标的形式呈现,以其他方式呈现解锁提示,本发明对此不进行限定。 Of course, unlocking the first and second unlocking tips tips may not be presented in the form of a target to unlock, unlock hint otherwise presented, the present invention which is not limited.

[0103] (2)解锁输入的起点相同,解锁输入的终点相同,但输入的路径不同。 [0103] (2) the same original input unlock, unlock the input end of the same, but with different input paths. 例如,第一手势输入和第二手势输入的起点和终点均相同,二者的输入路径可以形成一个圆周,第一手势输入可以沿上半圆周形成输入路径,第二手势输入可以沿下半圆周形成输入路径。 For example, a first gesture input and the second input gesture start and end are the same, both the input path and form a circumference of the first gesture input may be formed along the upper half circumference input path, the second gesture input can be moved semicircle form an input path.

[0104] (3)手势输入的起点不同,手势输入的终点相同。 [0104] (3) different starting point gesture input, gesture input end of the same.

[0105] (4)手势输入的起点不同,手势输入的终点也不同。 [0105] (4) different starting gesture input, gesture input end are different. 这时,可以显示两个解锁目标,例如,显示两个滑动条。 At this point, you can display two goals to unlock, for example, shows two sliders. 操作体拖动不同的滑动条时,生成不同的控制指令。 When different operating body drag the slider, it generates different control instructions. 也可以显示一个解锁目标,例如,一个滑动条,设置操作体从滑动条的头部开始滑动至尾部时,生成第一控制指令,设置操作体从滑动条的尾部开始滑动至头部时,生成第二控制指令。 Unlocking a target may be displayed, for example, a slider, when the setting operation starts sliding from the head to the tail of the slider, it generates a first control instruction, setting operation starts sliding from the tail to the head slider, the generated second control instruction. 当然,也可以相反地设置。 Of course, you can also be arranged in reverse. 当然,第一解锁提示和第二解锁提示也可以不以解锁目标的形式呈现,以其他方式呈现解锁提示,本发明对此不进行限定。 Of course, unlocking the first and second unlocking tips tips may not be presented in the form of a target to unlock, unlock hint otherwise presented, the present invention which is not limited.

[0106] S203,检测输入操作。 [0106] S203, detects the input operation.

[0107] S204,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0107] S204, when detecting corresponding to the first unlock prompt the input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0108]其中,第一预设条件为当用户的输入操作为针对第一解锁提示而触发的第一预设手势输入时,确定符合第一预设条件。 [0108] in which, when the first pre-condition for the operation when the user's input for the first preset gesture for unlocking the first prompt triggered input, in line with the first pre-determined condition. 当第一电子设备的感应单元检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,以控制所述第一电子设备由锁定状态切换至第一工作状态。 When the input operation of the first electronic device detects the sensing unit corresponding to the first unlock hint meets a first preset condition, generating a first control command to control the first electronic device is switched from the locked state to the first operating state .

[0109] S205,当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0109] S205, when the control command generated by the first control instruction to control the first electronic device is switched from the locked state to the first operating state, in the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command.

[0110]本实施例中,第一电子设备在第一工作状态下,接收第一预定操作,产生对应的第一命令,以使得第一电子设备执行所述第一命令。 [0110] In this embodiment, the first electronic device in a first operating state, receiving a first predetermined operation to generate a first command corresponding to such a first electronic device execute the first command. 比如,当第一电子设备为移动终端时,第一工作状态具体为能够实现所述移动终端的自身功能的工作状态,所述移动终端的自身功能的工作状态可以是在所述移动终端上运行与第二电子设备无关的应用程序。 For example, when the first electronic device is a mobile terminal, specifically a first operation state to the operation state can be realized functions of the mobile terminal itself, the mobile terminal itself function operation state may be run on the mobile terminal applications nothing to do with the second electronic device. 例如,浏览网页、玩游戏等应用。 For example, browse the web, play games and other applications.

[0111] S206,当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0111] S206, when detecting corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state.

[0112]其中,第二预设条件为当用户的输入操作为针对第二解锁提示而触发的第二预设手势输入时,确定符合第二预设条件。 [0112] in which, when the second pre-condition for the operation when the user's input to the second default gesture for a second unlocked prompt triggered input, in line with the second pre-determined conditions. 当第一电子设备的感应单元检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,以控制第一电子设备由锁定状态切换至第二工作状态。 When the first electronic device detects the sensing unit corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction to control the first electronic device is switched from the locked state to the second operating state.

[0113] S207,当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0113] S207, when the control command generated by the second control instruction to control the first electronic device is switched from the locked state to the second operating state, in the second operating state, the first electronic device for receiving the second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device to perform the second command.

[0114]在本发明本实施例中,第一电子设备在第二工作状态下,接收第二预定操作,产生对应的第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0114] In the present embodiment of the present invention, the first electronic device in the second operating state, receiving a second predetermined operation corresponding to the second command is generated, and the second command to the second electronic device , such that the second electronic device to perform the second command. 具体的,以第一电子设备为平板电脑为例,第一电子设备具有第二工作状态,在第二工作状态下,平板电脑能够控制第二电子设备,这时,平板电脑的第二工作状态为执行遥控功能的状态。 Specifically, the first electronic device is a tablet computer, for example, a first electronic device having a second operating state, in the second operating state, the tablet is possible to control the second electronic device, this time, the second operating state tablet performing a remote control function for the state. 具体的,当第一电子设备为平板电脑,第二电子设备为电视时,则步骤S207的过程具体可以为平板电脑作为电视的遥控器,控制电视更进行频道切换、开关机、或者进行音量控制等。 Specifically, when the first electronic device is a tablet, the second electronic device is a television, the process of step S207 as a tablet may be specifically TV's remote control, channel switching control is more television, switch or volume control Wait.

[0115]在本发明第二实施例中,当第一电子设备的显示单元由第一功耗状态切换至第二功耗状态时,具体可以为显示单元开机或唤醒时,所述显示单元显示第一解锁提示和第二解锁提示,其中,第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0115] In the second embodiment of the present invention, when the display unit of the first electronic device is switched from the first power state to a second power state, particularly when the display unit may be turned on or wake-up, the display unit displays the first and second unlock unlocking tips tips, wherein the first prompt for unlocking the first electronic device enters a first operation state, the second prompt for unlocking the first electronic device into the second work status. 检测输入操作,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态;当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 Detecting an input operation, when the input operation detection corresponding to the first unlock hint meets a first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to a first operating state; when detecting corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state. 在本发明第二实施例中,可以在显示单元唤醒或从锁定状态解锁时,显示不同的解锁提示,当检测到对应于不同的解锁提示的输入操作时,生成不同的控制指令,以控制第一电子设备进入不同的工作状态。 In a second embodiment of the present invention, the display unit wake up from a locked state or unlocked, unlocking show different tips, when detecting unlocking prompts corresponding to different input operation to generate different control instructions to control the first an electronic device into a different working condition. 这样,用户无需每次进入第一电子设备的应用界面后才能够点击应用程序进入不同的工作状态,简单方便,易于操作。 In this way, users do not need to enter each time before the first application interface electronic devices can click on the application into a different working conditions, simple and convenient, easy to operate.

[0116]参见图3,为本发明提供的控制方法第三实施例流程图。 [0116] Referring to Figure 3, a flowchart of a control method according to the third embodiment provides the present invention.

[0117]在本发明提供的第三实施例中,第一电子设备具有显示单元。 [0117] In a third embodiment the present invention provides in a first electronic device having a display unit. 第一电子设备具有通信单元,用于与第二电子设备建立通信连接、进行数据传输。 A first electronic device having a communication unit for establishing communication connection with a second electronic device for data transmission. 第一电子设备具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态。 A first electronic device having at least two operating states, a first operating state and the second operating state, the first operating state and the second operating state different from said second operation state through the data connection a second electronic device connected to the first electronic device transmits a control command to the second electronic device such that the execution state of the control command. 具体的,所述第一电子设备可以为移动终端,所述移动终端包括但不限于平板电脑PAD、智能手机、功能手机、掌上电脑PDA等,所述第二电子设备可以为智能终端,包括但不限于电视机或机顶盒等可被遥控的设备。 Specifically, the first electronic device may be a mobile terminal, the mobile terminal including but not limited to the PAD tablet computers, smart phones, feature phones, PDA, Pocket PC, the second electronic device may be a smart terminal, including, but may be limited to a remote control device or a television set-top boxes and the like.

[0118] S301,判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,如果是,进入步骤S302。 [0118] S301, the display unit, the first electronic device determines whether the power is switched from a first state to a second power state, and if so, proceeds to step S302.

[0119]在本发明第二实施例中,在显示解锁提示信息之前,进一步包括判断第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态的步骤。 [0119] In the second embodiment of the present invention, before displaying the unlock message, a display unit further comprising the step of determining whether the first electronic device is switched from a first state to a second power consumption state. 其中,第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 Wherein the power consumption of the display unit of the first electronic device in a first power state is less than the power consumption in the second power consumption state.

[0120] S302,显示单元显示第一解锁提示和第二解锁提示。 [0120] S302, the display unit displays a first and a second unlock unlocking tips tips.

[0121]在本发明第二实施例中,第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0121] In the second embodiment of the present invention, the first prompt for unlocking the first electronic device enters a first operation state, the second prompt for unlocking the first electronic device into the second work status.

[0122] S303,检测输入操作。 [0122] S303, detects the input operation.

[0123] S304,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0123] S304, when detecting corresponding to the first unlock prompt the input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0124]其中,第一预设条件为当用户的输入操作为针对第一解锁提示而触发的第一预设手势输入时,确定符合第一预设条件。 [0124] in which, when the first pre-condition for the operation when the user's input for the first preset gesture for unlocking the first prompt triggered input, in line with the first pre-determined condition. 当第一电子设备的感应单元检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,以控制所述第一电子设备由锁定状态切换至第一工作状态。 When the input operation of the first electronic device detects the sensing unit corresponding to the first unlock hint meets a first preset condition, generating a first control command to control the first electronic device is switched from the locked state to the first operating state .

[0125] S305,当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0125] S305, when the control command generated by the first control instruction to control the first electronic device is switched from the locked state to the first operating state, in the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command.

[0126]本实施例中,第一电子设备在第一工作状态下,接收第一预定操作,产生对应的第一命令,以使得第一电子设备执行所述第一命令。 [0126] In this embodiment, the first electronic device in a first operating state, receiving a first predetermined operation to generate a first command corresponding to such a first electronic device execute the first command. 比如,当第一电子设备为移动终端时,第一工作状态具体为能够实现所述移动终端的自身功能的工作状态,所述移动终端的自身功能的工作状态可以是在所述移动终端上运行与第二电子设备无关的应用程序。 For example, when the first electronic device is a mobile terminal, specifically a first operation state to the operation state can be realized functions of the mobile terminal itself, the mobile terminal itself function operation state may be run on the mobile terminal applications nothing to do with the second electronic device. 例如,浏览网页、玩游戏等应用。 For example, browse the web, play games and other applications.

[0127] S306,当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0127] S306, when detecting corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state.

[0128]其中,第二预设条件为当用户的输入操作为针对第二解锁提示而触发的第二预设手势输入时,确定符合第二预设条件。 [0128] in which, when the second pre-condition for the operation when the user's input to the second default gesture for a second unlocked prompt triggered input, in line with the second pre-determined conditions. 当第一电子设备的感应单元检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,以控制第一电子设备由锁定状态切换至第二工作状态。 When the first electronic device detects the sensing unit corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction to control the first electronic device is switched from the locked state to the second operating state.

[0129] S307,当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态。 [0129] S307, when the control command generated by the second control instruction to control the first electronic device is switched from the locked state to the second operating state.

[0130] S308,检测第二电子设备的工作模式,根据所述第二电子设备的工作模式显示第二命令集合。 [0130] S308, detecting a second operating mode of the electronic device, a second command set according to the second working mode of the electronic display device.

[0131]在本发明实施例中,当第一电子设备由锁定状态切换至第二工作状态时,显示单元显示第二命令集合,第二命令集合包含第二命令,所述第二命令用于当触发第二命令时,将第二命令通过通信单元发送给第二电子设备使得第二电子设备执行所述第二命令。 [0131] In an embodiment of the present invention, when the first electronic device is switched from the locked state to the second work state, the display unit displays a second command set, the second set of commands comprises a second command, the second command for when the trigger a second command, the second command is transmitted by the communication unit to a second electronic apparatus such that the second electronic device performs a second command. 在本发明第三实施例中,显示的第二命令集合可以由用户或系统自定义设定,可以设置当第二电子设备处于不同的工作模式时,显示不同的命令集合。 In a third embodiment of the present invention, the second display command is set by the user or the system can be custom settings, may be provided when the second electronic device in a different operating mode, display a different set of commands. 具体的,在本发明第三实施例中,当将第一电子设备由锁定状态切换至第二工作状态时,进一步包括检测第二电子设备的工作模式,根据第二电子设备的工作模式由显示单元显示不同的第二命令集合的步骤。 Specifically, in the third embodiment of the present invention, when the first electronic device is switched from the locked state to the second operating state, further comprising detecting a second operation mode of the electronic device, according to the working mode of the second electronic device by a display a second set of steps in a different order of the display unit.

[0132]具体的,可以通过检测所述第一电子设备与所述第二电子设备间的通信状态,判断第二电子设备所处的工作模式,当然,也可以通过其他方式判断第二电子设备所处的工作模式,比如根据第二电子设备的功耗情况来确定第二电子设备的状态。 [0132] Specifically, by detecting the communication state between the first electronic device and the second electronic device, the electronic device determines that the second operation mode in which, of course, the second electronic device may be determined by other means an operating mode, such as to determine the state of the electronic device according to a second case where the second power of the electronic device.

[0133] (I)通过检测第一电子设备与第二电子设备之间的通信结果来确定第二电子设备的工作模式。 [0133] (I) to determine the operating mode of the second electronic device through a communication result between the detection of the first electronic device and a second electronic device.

[0134]当所述第二电子设备与所述第一电子设备通信失败,或者,通信成功但反馈给第一电子设备为未处于工作状态的反馈信息时,判断出第二电子设备处于第一工作模式,所述第一工作模式具体可以为关机状态。 When [0134] When the electronic device and the second communication with the first electronic device fails or succeeds but the communication back to the first electronic device is not in operating state of the feedback information, it is determined that the second electronic device in a first mode of operation, the first operating mode can be specifically turned off.

[0135]当所述第二电子设备与第一电子设备通信成功或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于工作状态时,判断出第二电子设备处于第二工作模式,第二工作模式具体可以为开机、待机或休眠状态。 [0135] When the second communication device and the first electronic device is successful or when there is detected a communication state between said first electronic device and the second electronic device and when the communication state indicates that the second electronic device when in operation, it is determined that the second electronic device in a second operating mode, the second operation mode may be a power, standby or sleep state.

[0136] (2)根据第二电子设备的功耗情况确定出第二电子设备的工作模式。 [0136] (2) determining a second operating mode where power consumption of the electronic device according to the second electronic device.

[0137]此时,第二电子设备的工作模式包括功耗较低的第三工作模式,所述第三工作模式具体可以为关机、待机、休眠状态。 [0137] At this time, the second operating mode of the electronic device comprises a third low power mode of operation, said third operation mode may be particularly shutdown, standby, hibernate state.

[0138]第二电子设备的工作模式包括功耗较高的第四工作模式,所述第四工作模式具体可以为开机状态。 [0138] The second operating mode of the electronic device comprises a fourth high power modes of operation, said fourth operating mode may be a power state.

[0139]当检测到第二电子设备处于第一工作模式或者第三工作模式时,显示单元显示的第二命令集合除了显示频道切换命令、音量控制命令等常用功能命令外,进一步还可以包括开机命令。 [0139] When detecting the second electronic device in a first operating mode or the third mode of operation, the display unit to display a second set of commands in addition to displaying the channel switch command, a volume control function commands common commands, but may also include further power command. 当检测到第二电子设备处于第二工作模式或者第四工作模式时,显示单元显示第二命令集合显示频道切换命令、音量控制命令等常用功能命,可以不显示开机命令,而显示关机、待机、休眠命令集合等。 When detecting the second electronic device in a second operating mode or fourth mode of operation, the display unit displays a second display command to set the channel switch command, a volume control function commands common life, may not display the power command, and the display turned off, standby , dormant set of commands and so on. 第一电子设备的通信单元建立与第二电子设备的通信连接。 The communication unit of the first electronic communications device to establish a connection with a second electronic device. 第二命令集合显示的内容可以由用户或者系统设定,以上仅是一个具体的示例,本发明不限制具体的实现方式。 The second set of commands displayed content may be set by a user or a system, the above is only one specific example, the present invention is not limited to the specific implementations.

[0140]可选地,本发明第三实施例提供的方法还可以包括步骤S309。 Method [0140] Alternatively, the third embodiment can provide a further embodiment of the present invention comprises a step S309.

[0141] S309,当检测到第二电子设备处于与第一电子设备未建立通信连接的第一工作模式时,建立与第二电子设备的通信连接。 [0141] S309, when the second electronic device is communicatively coupled to detect when the first electronic device a first mode of operation does not establish a communication connection established with a second electronic device.

[0142]在本发明第三实施例中,当通过检测第二电子设备的工作模式确定第二电子设备未与第一电子设备建立通信连接时,还包括第一电子设备自动发起与第二电子设备的通信连接的步骤。 [0142] In a third embodiment of the present invention, the second electronic apparatus when a communication connection is not established with the first electronic device by detecting a second operating mode of the electronic device is determined, further comprising automatically initiating a first electronic device and the second electronic step communication connection device.

[0143] S310,在第二工作状态下,第一电子设备接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0143] S310, in the second operating state, the first electronic device receiving a second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device executing the second command.

[0144]其中,第二预定操作为针对第二命令集合的操作,当检测到第二预定操作时,生成第二命令,并将第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0144] wherein the second predetermined operation is operation for the second set of commands, when a second predetermined operation is detected, generating a second command, and transmits a second command to the second electronic device, such that the first two second electronic device to perform the command.

[0145]在本发明第三实施例中,当将第一电子设备由锁定状态切换至第二工作状态时,进一步包括检测第二电子设备的工作模式,根据第二电子设备的工作模式由显示单元显示不同的第二命令集合的步骤。 [0145] In a third embodiment of the present invention, when the first electronic device is switched from the locked state to the second operating state, further comprising detecting a second operation mode of the electronic device, according to the working mode of the second electronic device by a display a second set of steps in a different order of the display unit. 这样,可以根据第二电子设备的工作模式,智能地显示遥控菜单,即控制命令集合,方便用户操作。 Thus, according to the working mode of the second electronic device, the intelligent remote menu display, i.e., a set of control commands, user-friendly operation. 当检测到第二电子设备处于未与第一电子设备建立通信连接的状态时,本发明提供的方法还可以使第一电子设备自动发起与第二电子设备的通信连接,无需用户手动操作。 When detecting the state is not the second electronic device establish a communication connection with a first electronic device, the present invention provides a method of the first electronic device may automatically initiate a second communication connection with the electronic device, no user operation.

[0146]参见图4,为本发明提供的控制方法第四实施例流程图。 [0146] Referring to Figure 4, a flowchart of a control method according to the fourth embodiment provides the present invention.

[0147]在本发明第四实施例和第五实施中,与第二实施例、第三实施例不同的是,在显示解锁提示之前,进一步包括通过检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示的步骤。 [0147] In the fourth embodiment and the fifth embodiment of the present invention, the second embodiment, different from the third embodiment is unlocked before displaying prompts, further comprising detecting by a second operating mode of the electronic device, said the step of unlocking the corresponding prompt display unit to display according to the second operation mode of the electronic device.

[0148]在本发明提供的第四实施例中,第一电子设备具有显示单元。 [0148] In a fourth embodiment of the present invention provides a first electronic apparatus having a display unit. 第一电子设备具有通信单元,用于与第二电子设备建立通信连接、进行数据传输。 A first electronic device having a communication unit for establishing communication connection with a second electronic device for data transmission. 第一电子设备具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态。 A first electronic device having at least two operating states, a first operating state and the second operating state, the first operating state and the second operating state different from said second operation state through the data connection a second electronic device connected to the first electronic device transmits a control command to the second electronic device such that the execution state of the control command. 具体的,所述第一电子设备可以为移动终端,所述移动终端包括但不限于平板电脑PAD、智能手机、功能手机、掌上电脑PDA等,所述第二电子设备可以为智能终端,包括但不限于电视机或机顶盒等可被遥控的设备。 Specifically, the first electronic device may be a mobile terminal, the mobile terminal including but not limited to the PAD tablet computers, smart phones, feature phones, PDA, Pocket PC, the second electronic device may be a smart terminal, including, but may be limited to a remote control device or a television set-top boxes and the like.

[0149] S401,判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,如果是,进入步骤S402。 [0149] The display unit S401, determines whether the first electronic device is switched from a first state to a second power consumption state, and if so, proceeds to step S402.

[0150]在本发明第二实施例中,在显示解锁提示信息之前,进一步包括判断第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态的步骤。 [0150] In the second embodiment of the present invention, before displaying the unlock message, a display unit further comprising the step of determining whether the first electronic device is switched from a first state to a second power consumption state. 其中,第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 Wherein the power consumption of the display unit of the first electronic device in a first power state is less than the power consumption in the second power consumption state.

[0151] S402,检测第二电子设备的工作模式。 [0151] mode of operation S402, detecting a second electronic device.

[0152]在本发明第四实施例中,第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式。 [0152] In a fourth embodiment of the present invention, the second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second mode of operation. 在本发明第四实施例中,可以按照第二电子设备与第一电子设备的通信结果划分为两种工作模式,其中,第一工作模式可以为第二电子设备与第一电子设备通信失败,或者第二电子设备与第一电子设备通信成功且当第二电子设备反馈给第一电子设备的信息为未处于工作状态,即第一工作模式可以为第二电子设备处于关机、待机或者休眠等工作状态,或者第一工作模式可以为第二电子设备处于关机状态。 In a fourth embodiment of the present invention, it can be divided in accordance with the result of the second electronic communication device and the first electronic device for the two modes of operation, wherein the first mode of operation may fail to communicate with the second electronic device to the first electronic device, or the second electronic device and the first electronic device and the communication is successful when the information fed back to the second electronic device to the first electronic device is not operating, i.e., a first mode of operation may be turned off, standby or hibernate second electronic devices operation state, or the first operation mode may be turned off for the second electronic device. 其中,第二工作模式可以为第二电子设备与第一电子设备有通信状态即通信成功的状态,或者第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于工作状态,即第二工作模式可以为第二电子设备处于开机等正常工作状态。 Wherein the second operation mode may be a first electronic device and a second electronic apparatus that is a communication state with a communication state between the communication status of success, or the first electronic device and the second electronic device and when the communication state indicates that the first two electronic device is in operation state, i.e. the second operation mode may be a second electronic device is switched to normal operation and the like. 或者,第二工作模式可以为第二电子设备处于开机、待机、休眠等状态。 Alternatively, in a second operating mode can be switched, standby, sleep and other state to the second electronic device.

[0153] S403,当未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示。 [0153] S403, when the communication state is not detected between the first electronic device and a second electronic device, or when there is detected a communication state between said first electronic device and the second electronic device and when the when the communication state indicates that the second electronic device in a first operating mode, displaying a first prompt unlocking.

[0154]其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状 [0154] wherein the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state

ίέτ O ίέτ O

[0155]当未检测到第二电子设备与第一电子设备有通信连接时,或者虽然第二电子设备与第一电子设备有通信连接但第二电子设备处于未工作状态时,这时显示第一解锁提示。 When [0155] When the electronic device is not detected the second electronic device with the first communication connection, although the second electronic device or the electronic device to the first communication connection but the second electronic device is in an operating state, the first time display a unlock hint. 也就是说,仅显示一个解锁提示。 In other words, only one is unlocked prompt. 这与第二实施例、第三实施例不同,在第二、第三实施例中,无论第二电子设备处于何种工作模式,均显示两个解锁提示信息,第一解锁提示和第二解锁提示。 This second embodiment, third embodiment, in the second, the third embodiment, whether the electronic device in which the second operating mode, showed two unlocking message, the first and second unlocking unlock hint prompt. 而在第四实施例中,当未检测到第二电子设备与第一电子设备有通信连接时,或者虽然第二电子设备与第一电子设备有通信连接但第二电子设备处于未工作状态时,仅显示第一解锁提示,用于使第一电子设备由锁定状态切换至第一工作状态。 In the fourth embodiment, when the electronic device is not detected the second electronic device to the first communication connection, although the second electronic device or the electronic device to the first communication connection with a second electronic device, but in non-operation show only the first unlocking tips for the first electronic device is switched from the locked state to the first operating state.

[0156] S404,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0156] S404, when detecting corresponding to the first unlock prompt the input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0157]在第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0157] In the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command. 当第一电子设备为平板电脑时,第一工作状态为能够实现平板电脑的自身功能的工作模式。 When the first electronic device is a tablet computer, a first operation state to the operation mode can be realized tablet itself function.

[0158] S405,当检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和第二解锁提示。 [0158] S405, when detecting the communication state between said first electronic device and a second electronic device, or when there is detected a communication state between said first electronic device and the second electronic device and when the communication state indicates that the second electronic device in a second operating mode, displaying the first and second unlocking unlock hint prompt.

[0159]其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0159] wherein the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to The second work state.

[0160] S406,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0160] S406, when the input operation detection corresponding to the first unlock hint meets a first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state. [0161 ]在第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0161] In the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command. 当第一电子设备为平板电脑时,第一工作状态为能够实现平板电脑的自身功能的工作模式。 When the first electronic device is a tablet computer, a first operation state to the operation mode can be realized tablet itself function.

[0162] S407,当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0162] S407, when detecting corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state.

[0163]在第二工作状态下,所述第一电子设备接受第二预定操作,产生第二命令,并将所述第二命令通过所述通信单元发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0163] In the second operating state, the first electronic device receiving a second predetermined operation, generating a second command and the second command to the second electronic device through the communication unit, so that the said second electronic device executes the second command. 具体的,当第一电子设备为平板电脑,第二电子设备为电视时,这时具体可以为平板电脑作为电视的遥控器,控制电视更进行频道切换、开关机、或者进行音量控制等。 Specifically, when the first electronic device is a tablet, the second electronic device is a television, and particularly as tablet television remote control, television controls more channel switching, switch, volume control or the like.

[0164]在本发明第四实施例中,当通过检测第二电子设备的工作模式判断无法与第二电子设备进行通信时(未建立通信连接或者第二电子设备未开机或者未处于正常工作状态),自动显示第一解锁提示,所述第一解锁提示用于使第一电子设备由锁定状态进入第一工作状态,从而简化了显示界面,方便用户应用。 [0164] In a fourth embodiment of the present invention, when unable to communicate with a second electronic apparatus by detecting a second operating mode of the electronic device is determined (not establish a communication connection or the second electronic device is not on or is not in working order ), automatically displaying a first prompt unlocking the first unlocking prompt for the first electronic device from the first operating state into the locked state, thereby simplifying the display interface, user-friendly application. 另一方面,当通过检测第二电子设备的工作模式可以与第二电子设备进行通信时(通信连接成功或者第二电子设备处于开机或正常工作状态等),显示两个解锁提示,当触发相应的解锁提示时,则会将第一电子设备由锁定状态切换至第一工作状态或者第二工作状态,方便用户使用。 On the other hand, when it is possible to communicate with a second electronic apparatus by detecting a working mode of the second electronic device (or the second communication connection is successful electronic device is switched on or normal operational states, etc.), displaying two unlocking prompt, when the trigger corresponding when unlocking tips, it will be the first electronic device is switched from the locked state to the first operating state or the second operating state, user-friendly.

[0165]参见图5,为本发明提供的控制方法第五实施例流程图。 [0165] Referring to Figure 5, a flowchart of a control method according to the fifth embodiment provides the present invention.

[0166]在本发明第五实施中,与第二实施例、第三实施例不同的是,在显示解锁提示之前,进一步包括通过检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示的步骤。 [0166] In a fifth embodiment of the present invention, the second embodiment, different from the third embodiment is unlocked before displaying prompts, further comprising detecting by a second operating mode of the electronic device, the display unit according to the second operating mode of the electronic device corresponding to the unlocking step of displaying prompts. 而与第四实施例不同的是,是通过检测第二电子设备的功耗来确定第二电子设备的工作模式的。 With the fourth embodiment except that the second operation mode is determined by the second electronic device for detecting power consumption of the electronic device.

[0167] S501,判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,如果是,进入步骤S502。 [0167] The display unit S501, determines whether the first electronic device is switched from a first state to a second power consumption state, and if so, proceeds to step S502.

[0168]在本发明第二实施例中,在显示解锁提示信息之前,进一步包括判断第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态的步骤。 [0168] In the second embodiment of the present invention, before displaying the unlock message, a display unit further comprising the step of determining whether the first electronic device is switched from a first state to a second power consumption state. 其中,第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 Wherein the power consumption of the display unit of the first electronic device in a first power state is less than the power consumption in the second power consumption state.

[0169] S502,检测第二电子设备的工作模式。 [0169] mode of operation S502, detecting a second electronic device.

[0170]在本发明第四实施例中,第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗。 [0170] In a fourth embodiment of the present invention, the second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second electronic device in the the first mode of operation of said third power is less than the power consumption of the second electronic device in said second mode of operation of the fourth. 在本发明第五实施例中,可以按照第二电子设备的功耗划分为两种工作模式,其中,第三工作模式可以关机、待机或者休眠等功耗较低的状态,或者第三工作模式可以为第二电子设备处于关机状态。 In a fifth embodiment of the present invention, power consumption can be divided according to the second electronic device for two modes of operation, wherein the third mode of operation can be shut down, the state of low power consumption standby or hibernation, etc., or a third mode of operation It can be turned off for the second electronic device. 其中,第四工作模式可以为处于开机等功耗较高的工作状态。 Wherein the fourth mode of operation may be at a higher power operation booting.

[0171 ] S503,当检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0171] S503, when detecting that said second electronic device in a third operating mode, displaying a first prompt unlocking the first unlocking prompt for the first electronic device is switched from the locked state to the first work status.

[0172]其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状 [0172] wherein the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state

ίέτ O ίέτ O

[0173]当检测到所述第二电子设备处于第三工作模式时,这时显示第一解锁提示。 [0173] When the second electronic device in a third mode of operation is detected, then the display prompts the first unlocked. 也就是说,仅显示一个解锁提示。 In other words, only one is unlocked prompt. 这与第二实施例、第三实施例不同,在第二、第三实施例中,无论第二电子设备处于何种工作模式,均显示两个解锁提示信息,第一解锁提示和第二解锁提示。 This second embodiment, third embodiment, in the second, the third embodiment, whether the electronic device in which the second operating mode, showed two unlocking message, the first and second unlocking unlock hint prompt. 而在第四实施例中,检测到所述第二电子设备处于第三工作模式时,仅显示第一解锁提示,用于使第一电子设备由锁定状态切换至第一工作状态。 In the fourth embodiment, the detection of the second electronic device when in the third operating mode, only the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state.

[0174] S504,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0174] S504, when detecting corresponding to the first unlock prompt the input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0175]在第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0175] In the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command. 当第一电子设备为平板电脑时,第一工作状态为能够实现平板电脑的自身功能的工作模式。 When the first electronic device is a tablet computer, a first operation state to the operation mode can be realized tablet itself function.

[0176] S505,当检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示。 [0176] S505, when the second electronic device in a fourth operating mode is detected, displaying the first and second unlocking unlock hint prompt.

[0177]其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0177] wherein the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to The second work state.

[0178]当检测到第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提不O [0178] When detecting the second electronic device in a fourth operating mode, the display prompts the first and second unlocking unlock mention O

[0179] S506,当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0179] S506, when the input operation detection corresponding to the first unlock hint meets a first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0180]在第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0180] In the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command. 当第一电子设备为平板电脑时,第一工作状态为能够实现平板电脑的自身功能的工作模式。 When the first electronic device is a tablet computer, a first operation state to the operation mode can be realized tablet itself function.

[0181] S507,当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0181] S507, when detecting corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state.

[0182]在第二工作状态下,所述第一电子设备接受第二预定操作,产生第二命令,并将所述第二命令通过所述通信单元发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0182] In the second operating state, the first electronic device receiving a second predetermined operation, generating a second command and the second command to the second electronic device through the communication unit, so that the said second electronic device executes the second command. 具体的,当第一电子设备为平板电脑,第二电子设备为电视时,这时具体可以为平板电脑作为电视的遥控器,控制电视更进行频道切换、开关机、或者进行音量控制等。 Specifically, when the first electronic device is a tablet, the second electronic device is a television, and particularly as tablet television remote control, television controls more channel switching, switch, volume control or the like.

[0183]在本发明第五实施例中,当通过检测第二电子设备的工作模式判断无法与第二电子设备处于功耗较低的第三工作模式时,自动显示第一解锁提示,所述第一解锁提示用于使第一电子设备由锁定状态进入第一工作状态,从而简化了显示界面,方便用户应用。 [0183] In a fifth embodiment of the present invention, when it is not in a low power mode and the second third operating mode of the electronic device is determined by detecting a second electronic device, displaying a first unlock automatically prompt the the first prompt for unlocking the first electronic device by a first operating state into the locked state, thereby simplifying the display interface, user-friendly application. 另一方面,当通过检测第二电子设备的工作模式为功耗较高的第四工作模式时,显示两个解锁提示,当触发相应的解锁提示时,则会将第一电子设备由锁定状态切换至第一工作状态或者第二工作状态,方便用户使用。 On the other hand, when the second operation mode is detected by the electronic device to the fourth operation mode of higher power consumption, two unlocking display prompt is triggered when a respective unlocking tips, it will be locked state by the first electronic device switching to the first operating state or the second operating state, user-friendly.

[0184]参见图6,为本发明实施例提供的第一电子设备示意图。 [0184] Referring to Figure 6, a schematic view of an electronic device according to a first embodiment of the invention is provided.

[0185]第一电子设备具有至少两种工作状态,第一工作状态和第二工作状态,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状ίέτ O [0185] The first electronic device has at least two operating states, a first operating state and the second operating state, the first operating state and the second operating state different from said second operation state to the data connection the first and second electronic apparatus connected to the electronic device transmits a control command such that the second electronic device executes the control command like ίέτ O

[0186]所述第一电子设备可以为移动终端,所述移动终端包括但不限于平板电脑PAD、智能手机、功能手机、掌上电脑PDA等,所述第二电子设备可以为智能终端,包括但不限于电视机或机顶盒等可被遥控的设备。 [0186] The first electronic device may be a mobile terminal, the mobile terminal including but not limited to the PAD tablet computers, smart phones, feature phones, PDA, Pocket PC, the second electronic device may be a smart terminal, including, but may be limited to a remote control device or a television set-top boxes and the like.

[0187]所述第一电子设备包括: [0187] The first electronic device comprising:

[0188]第一检测单元601,用于检测输入操作。 [0188] The first detecting unit 601 detects an input operation.

[0189]控制指令生成单元602,用于当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令,将所述控制指令发送给切换单元。 [0189] the control instruction generating unit 602, an input operation for, when the predetermined condition is satisfied based on the input operation to generate a corresponding control instruction, the control instructions to the switching unit.

[0190]切换单元603,用于接收所述控制指令生成单元发送的控制指令,并根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态;其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;其中,所述第二电子设备与第一电子设备不同。 [0190] a switching unit 603, for receiving the control instruction unit transmits the control instruction is generated, and in accordance with the control instruction to control the first electronic device is switched from the locked state to the first operating state or the second operational state; wherein the first operating state and the second operating state different from the second operating state is connected via a data transmission control command to the second electronic device connected to the first electronic device such that the second electronic device execution state of the control command; wherein, different from the second electronic device and the first electronic device.

[0191 ]具体实施时,所述控制指令生成单元602具体用于: [0191] During specific embodiment, the control instruction generating unit 602 is specifically configured to:

[0192] (I)当检测单元检测的所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0192] (I) when the input operation detection unit is a preset first operation input, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first work state.

[0193] (2)当检测单元检测的所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0193] (2) when the input operation detection unit is a preset second operation input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second work state.

[0194]所述切换单元603具体用于: [0194] The switching unit 603 is configured to:

[0195] (I)当接收所述控制指令生成单元发送的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令。 [0195] (I) when receiving the control command generation control instruction unit transmits a first control command for controlling the first electronic device is switched from the locked state to the first operating state, in the first operating state first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command.

[0196] (2)当接收所述控制指令生成单元发送的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0196] (2) upon receipt of the control instruction unit transmits a control command generation of a second control instruction to control the first electronic device is switched from the locked state to the second operating state, in said second operating state first electronic device for receiving a second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device executes the second command.

[0197]具体的,所述第一电子设备为移动终端,所述第一工作状态具体可以为能够实现移动终端自身功能的状态;第二工作状态为能够控制第二电子设备的工作状态,即执行遥控器功能的工作状态。 [0197] Specifically, the first electronic device is a mobile terminal, the first operating state may be possible to realize the function of the state of the mobile terminal itself; second operation state of the second electronic device is capable of controlling the operating state, i.e., perform remote control functions working condition.

[0198]所述第一检测单元、控制指令生成单元和切换单元具体可以集成在所述第一电子设备的处理器内,所述第一电子设备还包括一与处理器相连的存储器,用于存储所述电子设备进行操作控制过程中产生的所有数据。 [0198] The first detection means, the control instruction generating unit and the switching unit may be integrated within the specific processor of the first electronic device, the first electronic device further includes a memory coupled to the processor, for the electronic storage device all data generated during the control operation.

[0199]在本发明另一实施例中,第一电子设备具有通信单元,用于与第二电子设备建立通信连接、进行数据传输。 [0199] In another embodiment of the present invention, the first electronic device having a communication unit for establishing communication connection with a second electronic device for data transmission. 具体的,所述通信单元为无线通信模块,具体可以为蓝牙模块、红外模块、WiFi模块等无线通信模块。 Specifically, the communication unit is a wireless communication module may specifically be a Bluetooth module, an infrared module, WiFi module wireless communication module.

[0200]第二电子设备还具有重叠设置的显示单元和感应单元,比如触摸屏,具体的,所述显示单元和感应单元可以是独立的显示单元和触摸感应单元,两者重叠设置,或者是融合的显示单元和触摸感应单元,比如in-cel I触摸屏 [0200] The second electronic device further has a display unit and a sensing unit arranged to overlap, such as a touch screen, particularly, the sensing unit and the display unit may be a separate display unit and the touch-sensing unit disposed overlapping both, or is a fusion the touch sensing unit and the display unit, such as a touch screen in-cel I

[0201]判断单元,用于判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,并将判断结果发送给显示单元;其中,所述第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 [0201] determination means for determining whether the first electronic device whether the display unit is switched from a first state to a second power consumption state, and the determination result to the display unit; wherein the first electronic device the power consumption of the display unit in the first power state is less than the power consumption in the second power consumption state.

[0202]则所述显示单元还用于当所述判断结果表明所述第一电子设备的显示单元由第一功耗状态切换至第二功耗状态时,执行显示解锁提示操作。 [0202] The display unit is further configured to, when the determination result indicates the display unit of the first electronic device is switched from a first state to a second power consumption state, performing the unlock display prompts.

[0203]具体的,所述显示单元,具体用于显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 [0203] Specifically, the display unit, particularly the first and second unlocking unlock hint prompt for display, wherein the first prompt for unlocking the first electronic device enters a first operation state, the the second unlock hint for the first electronic device enters a second operation state.

[0204] 优选地,所述设备还包括: [0204] Preferably, said apparatus further comprising:

[0205]第二检测单元,用于检测第二电子设备的工作模式; [0205] The second detection means for detecting a working mode of the second electronic device;

[0206]则所述显示单元用于接收第二检测单元的检测结果,根据所述第二电子设备的工作模式显示对应的解锁提示。 [0206] said display unit for receiving the detection result of the second detecting means, display the corresponding prompt unlocking operation mode according to the second electronic device.

[0207]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式,则所述显示单元具体用于: [0207] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second operation mode, said display unit is configured to:

[0208] (I)当所述第二检测单元的检测结果表明未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0208] (I) when the detection result indicates that the second detection unit does not detect a communication state between said first electronic device and a second electronic device, or when the detection result indicates that the second detection unit detecting that the electronic device between the first and the second electronic device with a communication state and when the communication state indicates that the second electronic device in a first operating mode, displaying a first prompt unlocking the first unlocking presentation to cause the first electronic device is switched from the locked state to the first operating state.

[0209] (2)当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明所述第二检测单元检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0209] (2) when the detection result indicates that the second detection unit detects that the communication state between the first electronic device and a second electronic device, or when the detection result of said detecting means indicates the second said second detecting means detects that the communication state between the first electronic device and the second electronic device and when the communication state indicates that the second electronic device in a second operating mode, displaying the first and second unlocking tips unlocking tips, wherein said first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to The second work state.

[0210]优选地,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗,则所述显示单元具体用于: [0210] Preferably, the second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second electronic device is operating in the third a first power mode than the second power consumption of the electronic device in a second mode of operation of the fourth, then the display unit is configured to:

[0211] (I)当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0211] (I) when the detection result indicates that the second detection unit detects that the second electronic device when in the third operating mode, unlocking the first display prompt, the prompt for the first unlocking of an electronic device is switched from the locked state to the first operating state.

[0212] (2)当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0212] (2) when the detection result indicates that the second detection unit detects that the second electronic device when in the fourth operating mode, the display prompts the first and second unlocking unlocking tips, wherein said first unlocking Tip for causing the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second operating state.

[0213]优选地,所述设备还具有触摸感应单元,所述控制指令生成单元具体用于: [0213] Preferably, the device further having a touch sensing unit, the control instruction generating unit is configured to:

[0214] (I)当所述触摸感应单元检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态。 [0214] (I) when the touch sensing unit detecting an input operation corresponding to the first unlock hint meets a first preset condition, generating a first control command, the first control instruction for causing the first the electronic device is switched from the locked state to the first operating state.

[0215] (2)当所述触摸感应单元检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 [0215] (2) when the touch sensing unit detecting an input operation corresponding to the second unlock hint meets a second preset condition, generating a second control instruction, said second instruction for causing the first control the electronic device is switched from the locked state to the second operating state.

[0216]进一步地,所述通信单元还用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,建立与第二电子设备的通信连接,当所述第一电子设备接受第二预定操作产生第二命令时,将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 [0216] Further, the communication unit is further configured according to the switching unit after the control instruction to control the first electronic device is switched from the locked state to a second state, establish communication connection with a second electronic device, when the first electronic device receiving a second predetermined operation produces a second command sends said second command to the second electronic device, such that the second electronic device performs the second command.

[0217] 进一步地,所述设备还包括: [0217] Preferably, the apparatus further comprising:

[0218]第三检测单元,用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,检测第二电子设备的工作模式; [0218] The third detection means, the switching means according to the control instruction to control the first electronic device is switched from the locked state to the second state, detecting a second operating mode of the electronic device;

[0219]则所述显示单元用于接收第三检测单元的检测结果,根据所述第二电子设备的工作模式显示第二命令集合,所述第二命令集合用于使得所述第一电子设备在接收第二预定操作时产生第二命令并将所述第二命令发送给第二电子设备,以使得所述第二电子设备执行第二命令。 [0219] then the detection result display unit for receiving the third detection unit, according to the operating mode of the second electronic device to display a second set of commands, said second set of commands for causing the first electronic device generating a second command upon receiving a second predetermined operation and the second command to the second electronic device, such that the second electronic device to execute a second command.

[0220]需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0220] Incidentally, herein, relational terms such as first and second and the like are only used to distinguish one entity or operation from another entity or action without necessarily requiring or implying these entities the presence of any such actual relationship or order between or operations. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0221]本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。 [0221] The present invention may be described in the general context of computer-executable instructions, executed by a computer, such as program modules. 一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。 Generally, program modules include performing particular tasks or implement particular abstract data types routines, programs, objects, components, data structures, and the like. 也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。 The present invention may also be practiced in a distributed computing environment, the distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. 在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。 In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices in.

[0222]以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0222] The above are only specific embodiments of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, can make various improvements and modifications, such modifications and modifications should also be regarded as the protection scope of the present invention.

Claims (22)

  1. 1.一种控制方法,其特征在于,所述方法应用于第一电子设备,包括: 第一电子设备检测输入操作; 当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令; 根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态; 其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;所述第一工作状态为实现所述第一电子设备自身功能的工作状态;其中,所述第二电子设备与第一电子设备不同。 1. A control method, characterized in that the method is applied to a first electronic device, comprising: a first electronic device detects the input operation; when the input operation meets a predetermined condition, based on the input operation to generate a corresponding control instructions; according to the control command from the control device of the first electronic switch from the locked state to the first operating state or the second operational state; wherein the first operating condition and the second operating state different from the second active state is connected through a data transmission control command to the second electronic device connected to the first electronic device to the second electronic device such that the execution state of the control command; the first operating condition to attain the above an operating state of the electronic apparatus itself functions; wherein, different from the second electronic device and the first electronic device.
  2. 2.根据权利要求1所述的方法,其特征在于,所述当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括: 当所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; 当所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 2. The method according to claim 1, wherein said input operation when said predetermined condition is satisfied based on the input operation to generate a corresponding control instructions comprising: when said first input is a preset operation when the input operation, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating condition; when the input operation is a preset second operation input, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.
  3. 3.根据权利要求1所述的方法,其特征在于,所述第一电子设备具有显示单元,所述方法还包括: 所述显示单元显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 3. The method according to claim 1, wherein said first electronic device having a display unit, the method further comprising: the display unit displays a first and a second unlocked unlocked prompt tips, wherein said the first prompt for unlocking the first electronic device enters a first operation state, the second prompt for unlocking the first electronic device enters a second operation state.
  4. 4.根据权利要求1所述的方法,其特征在于,所述第一电子设备具有显示单元,所述方法还包括: 检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示。 4. The method according to claim 1, wherein said first electronic device having a display unit, the method further comprising: detecting a second mode of operation of the electronic device, the electronic display unit according to the second the working mode of the device to unlock the corresponding display prompts.
  5. 5.根据权利要求4所述的方法,其特征在于,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式,则所述检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示包括: 当未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; 当检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和 The method according to claim 4, characterized in that said second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second operating mode, the detection the second mode of operation of the electronic device, the display unit according to the second mode of operation of the electronic device displays a corresponding unlock hint comprises: when a communication state is not detected between the first electronic device and a second electronic device, Alternatively, when there is detected the communication state between the first electronic device and the second electronic device and when the communication state indicates that the second electronic device in a first operating mode, unlocking the first display prompt, the first Tip for unlocking the first electronic device is switched from the locked state to the first operating state; when detecting a communication state between said first electronic device and a second electronic device, or, when detecting that the first between the electronic device and the second electronic device with a communication state and, when the communication state indicates that the second electronic device in a second operating mode, and displaying a first unlock hint 二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 Two unlocking tips, wherein said first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second work state.
  6. 6.根据权利要求4所述的方法,其特征在于,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗,则所述检测第二电子设备的工作模式,所述显示单元根据所述第二电子设备的工作模式显示对应的解锁提示包括: 当检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; 当检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状 6. The method as claimed in claim 4, wherein said second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second two second electronic device is less than the first power consumption of said electronic device in a third mode of operation in a second mode of operation of the fourth power, then the detection operation mode of the second electronic device, said display unit according to the second mode of operation of the electronic device displays a corresponding unlock hint comprises: when detecting that said second electronic device in a third operating mode, unlocking the first display prompt, the prompt for the first unlocking said first electronic device is switched from the locked state to the first operating condition; when the second electronic device in a fourth operating mode is detected, displaying the first and second unlocking tips unlocking tips, wherein said first unlocking tips for causing the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second work state 态。 state.
  7. 7.根据权利要求3、5或6所述的方法,其特征在于,所述当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令包括: 当检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; 当检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 7. The method of claim 5 or claim 6, wherein said input operation when said predetermined condition is satisfied based on the input operation to generate a corresponding control instruction comprises: when detecting corresponding to the first unlocking prompt input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating state; when detecting corresponding to the two unlocking prompt input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.
  8. 8.根据权利要求1所述的方法,其特征在于,所述根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态包括: 当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令; 当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 8. The method according to claim 1, wherein said control instruction to control the first electronic device is switched from the locked state to the first or the second operation state according to the operation state comprises: the control command generated when when the first control instruction, to the first electronic device is switched from the locked state to the first operating state, in the first operating state, the first electronic device for receiving a first predetermined operation, generating a first command, such that the first electronic device executes the first command; when the control command generated by the second control instruction to control the first electronic device is switched from the locked state to the second operating state, in the second operating state the first electronic device for receiving a second predetermined operation, generating a second command and the second command to the second electronic device, such that the second electronic device performs the second command.
  9. 9.根据权利要求1所述的方法,其特征在于,所述第一电子设备具有通信单元,在根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,所述方法还包括: 所述通信单元建立与第二电子设备的通信连接,在所述第二工作状态下,所述第一电子设备接受第二预定操作,产生第二命令,并将所述第二命令通过所述通信单元发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 9. The method according to claim 1, wherein said first electronic device has a communication unit, after the control instruction to control the first electronic device is switched from the locked state to the second state in accordance with the the method further comprises: the communication unit to establish a communication connection to the second electronic device in the second operating state, the first electronic device receiving a second predetermined operation, generates a second command, and the second command to the second electronic device through the communication unit, such that the second electronic device performs the second command.
  10. 10.根据权利要求8或9所述的方法,其特征在于,在根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,所述方法还包括: 检测第二电子设备的工作模式,根据所述第二电子设备的工作模式显示第二命令集合,所述第二命令集合用于使得所述第一电子设备在接收第二预定操作时产生第二命令并将所述第二命令发送给第二电子设备,以使得所述第二电子设备执行第二命令。 10. The method of claim 8 or claim 9, wherein, after said control instruction to control the first electronic device is switched from the locked state to the second state in accordance with, the method further comprising: detecting a second electron the working mode of the device according to the second operation mode of the electronic device displays a second command set, the second set of commands for causing the first electronic device generates a second command upon receiving a second predetermined operation and the said second command to the second electronic device, such that the second electronic device executes the second command.
  11. 11.根据权利要求3、4、5或6所述的方法,其特征在于,在显示解锁提示之前,所述方法还包括: 判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,当所述判断结果表明所述显示单元由第一功耗状态切换至第二功耗状态时,进入显示解锁提示的步骤;其中,所述第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗。 11. The method of claim 4, 5 or claim 6, wherein, prior to unlocking the display prompt, the method further comprising: determining whether the first display unit whether the state of the electronic device by the first power consumption switched to the second power state, when the determination result indicates that the display unit is switched from the first power state to a second power state, proceeds to step unlocking display prompts; wherein, the first display of the electronic device a first power unit in the power state is less than the power consumption in the second power consumption state.
  12. 12.一种第一电子设备,其特征在于,包括: 第一检测单元,用于检测输入操作; 控制指令生成单元,用于当所述输入操作满足预定条件时,根据所述输入操作生成对应的控制指令,将所述控制指令发送给切换单元; 切换单元,用于接收所述控制指令生成单元发送的控制指令,并根据所述控制指令控制所述第一电子设备由锁定状态切换至第一工作状态或者第二工作状态;其中,所述第一工作状态和所述第二工作状态不同,所述第二工作状态为通过数据连接对与所述第一电子设备连接的第二电子设备发送控制命令以使得所述第二电子设备执行所述控制命令的状态;所述第一工作状态为实现所述第一电子设备自身功能的工作状态;其中,所述第二电子设备与第一电子设备不同。 A first electronic device, characterized by comprising: a first detection unit for detecting an input operation; and a control command generating unit for operating when the input satisfies the predetermined conditions, based on the input operation to generate a corresponding control command, the control instructions to the switching unit; and a switching unit for receiving the control instruction unit transmits the control command generation, and control the first electronic device according to the control by the lock status of the instruction to switch to the second a working state or a second operational state; wherein the first operating condition and the second operating state different from the second operation state is a data connection via the second electronic apparatus connected to said first electronic device transmitting control commands to a second electronic apparatus such that the execution state of the control command; the first operating condition to achieve the first function of the electronic apparatus itself working condition; wherein the first and the second electronic device different electronic devices.
  13. 13.根据权利要求12所述的设备,其特征在于,所述控制指令生成单元具体用于: 当所述输入操作为预设的第一输入操作时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; 当所述输入操作为预设的第二输入操作时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 13. The apparatus as claimed in claim 12, wherein the control command generating unit is configured to: when the input operation is a preset first operation input, generating a first control command, said first control instructions for causing the first electronic device is switched from the locked state to the first operating condition; when the input operation is a preset second operation input, generating a second control instruction, the second instruction is used to control the first electronic device is switched from the locked state to the second operating state.
  14. 14.根据权利要求12所述的设备,其特征在于,所述第一电子设备还包括: 显示单元,用于显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备进入第一工作状态,所述第二解锁提示用于使所述第一电子设备进入第二工作状态。 14. The apparatus as claimed in claim 12, wherein said first electronic device further comprising: a display unit for displaying the first and second unlocking tips unlocking tips, wherein said first prompts for unlocking the first electronic device enters a first operation state, the second prompt for unlocking the first electronic device enters a second operation state.
  15. 15.根据权利要求12所述的设备,其特征在于,所述第一电子设备具有显示单元,所述设备还包括: 第二检测单元,用于检测第二电子设备的工作模式; 则所述显示单元用于接收第二检测单元的检测结果,根据所述第二电子设备的工作模式显示对应的解锁提示。 15. The apparatus as claimed in claim 12, wherein said first electronic device having a display unit, the apparatus further comprising: second detecting means for detecting the operation mode of the second electronic device; then the a display unit for receiving the detection result of the second detecting means, display the corresponding prompt unlocking operation mode according to the second electronic device.
  16. 16.根据权利要求15所述的设备,其特征在于,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第一工作模式和第二工作模式,则所述显示单元具体用于: 当所述第二检测单元的检测结果表明未检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信状态表明所述第二电子设备处于第一工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; 当所述第二检测单元的检测结果表明检测到所述第一电子设备与第二电子设备间的通信状态时,或者,当所述第二检测单元的检测结果表明所述第二检测单元检测到所述第一电子设备与第二电子设备间有通信状态且当所述通信 16. Apparatus according to claim 15, wherein said second electronic device having at least two operating modes, the at least two operating modes comprising a first mode of operation and a second operating mode, the display unit is configured to: when the detection result indicates that the second detection unit does not detect a communication state between said first electronic device and a second electronic device, or when the detection result indicates that the second detection unit detects to the electronic device between the first and the second electronic device with a communication state and when the communication state indicates that the second electronic device in a first operating mode, unlocking the first display prompt, the prompt for the first unlocking the first electronic device from the locked state to the first operating state; when the detection result indicates that the second detection means detects that the communication state between the first electronic device and a second electronic device, or when the detection result of the second detection unit indicates that the second detection unit detects that the communication state between the first electronic device and the second electronic device and when the communication 态表明所述第二电子设备处于第二工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 State indicates that the second electronic device in a second operating mode, the display prompts the first and second unlocking unlocking tips, wherein said first unlocking prompt for the first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second operating state.
  17. 17.根据权利要求15所述的设备,其特征在于,所述第二电子设备具有至少两种工作模式,所述至少两种工作模式包括第三工作模式和第四工作模式,且所述第二电子设备在所述第三工作模式的第一功耗小于所述第二电子设备在所述第四工作模式的第二功耗,则所述显示单元具体用于: 当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第三工作模式时,显示第一解锁提示,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态; 当所述第二检测单元的检测结果表明检测到所述第二电子设备处于第四工作模式时,显示第一解锁提示和第二解锁提示,其中,所述第一解锁提示用于使所述第一电子设备由锁定状态切换至第一工作状态;所述第二解锁提示用于使所述第一电子设备由锁定状态切换至第二工作状态。 17. The apparatus according to claim 15, wherein said second electronic device having at least two operating modes, the at least two operating modes comprising a third mode and a fourth mode of operation and the second two second electronic device is less than the first power consumption of said electronic device in a third mode of operation in a second mode of operation of the fourth power, said display unit is configured to: when the second detection the results showed that the detection means detects that said second electronic device when in the third operating mode, displaying a first prompt unlocking the first unlocking prompt for the first electronic device is switched from the locked state to the first operating state ; when the detection result indicates that the second detection unit detects that the second electronic device when in the fourth operating mode, the display prompts the first and second unlocking unlocking tips, wherein the prompt for the first unlocking said first electronic device is switched from the locked state to the first operating state; a second unlock prompt for the first electronic device is switched from the locked state to the second operating state.
  18. 18.根据权利要求14、16或17所述的设备,其特征在于,所述设备还具有触摸感应单元,所述控制指令生成单元具体用于: 当所述触摸感应单元检测到对应于第一解锁提示的输入操作符合第一预设条件时,生成第一控制指令,所述第一控制指令用于使所述第一电子设备由锁定状态切换至第一工作状态; 当所述触摸感应单元检测到对应于第二解锁提示的输入操作符合第二预设条件时,生成第二控制指令,所述第二控制指令用于使所述第一电子设备由锁定状态切换至第二工作状态。 18. The apparatus of claim 14, 16 or claim 17, wherein said device further having a touch sensing unit, the control instruction generating unit is configured to: detect when the touch sensing unit corresponding to the first unlocking prompt input operation corresponds to the first preset condition, generating a first control command, the first control instruction for causing the first electronic device is switched from the locked state to the first operating condition; when the touch sensing unit is detected corresponding to the second unlock prompt the input operation corresponds to the second preset condition, generating a second control instruction, said second control instruction for causing the first electronic device is switched from the locked state to the second operating state.
  19. 19.根据权利要求12所述的设备,其特征在于,所述切换单元具体用于: 当生成的控制指令为第一控制指令时,控制所述第一电子设备由锁定状态切换至第一工作状态,在所述第一工作状态下,第一电子设备用于接受第一预定操作,产生第一命令,使得所述第一电子设备执行所述第一命令; 当生成的控制指令为第二控制指令时,控制所述第一电子设备由锁定状态切换至第二工作状态,在所述第二工作状态下,第一电子设备用于接受第二预定操作,产生第二命令,并将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 19. The apparatus as claimed in claim 12, characterized in that the switching unit is configured to: when generating a control command for controlling a first instruction, the first electronic device is switched from the locked state to the first work state, in the first operating state, the first electronic device for receiving a first predetermined operation, the first command is generated, so that the first electronic device execute the first command; when a second control command is generated control instruction to control the first electronic device is switched from the locked state to the second operating state, in the second operating state, the first electronic device for receiving a second predetermined operation, generates a second command, and the said second command to the second electronic device, such that the second electronic device to perform the second command.
  20. 20.根据权利要求12所述的设备,其特征在于,所述第一电子设备还包括: 通信单元,用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,建立与第二电子设备的通信连接,当所述第一电子设备接受第二预定操作产生第二命令时,将所述第二命令发送给所述第二电子设备,使得所述第二电子设备执行所述第二命令。 20. The apparatus as claimed in claim 12, wherein said first electronic device further comprising: a communication unit for controlling the switching unit according to the instruction of the control the first electronic device is switched from the locked state after the second state to establish a communication connection with a second electronic device, the first electronic device when a second predetermined operation accepting generate a second command sends said second command to the second electronic device, such that said second electronic device executes the second command.
  21. 21.根据权利要求19或20所述的设备,其特征在于,所述第一电子设备具有显示单元,所述设备还包括: 第三检测单元,用于在所述切换单元根据所述控制指令控制所述第一电子设备由锁定状态切换至第二状态后,检测第二电子设备的工作模式; 则所述显示单元用于接收第三检测单元的检测结果,根据所述第二电子设备的工作模式显示第二命令集合,所述第二命令集合用于使得所述第一电子设备在接收第二预定操作时产生第二命令并将所述第二命令发送给第二电子设备,以使得所述第二电子设备执行第二命令。 21. The apparatus of claim 19 or claim 20, wherein said first electronic device having a display unit, the apparatus further comprising: a third detection unit for the switching unit according to the control command controlling the first electronic device after switching from the locked state to the second state, a second mode of operation of the electronic device is detected; the detection result of the third detecting means for receiving said display unit, according to the second electronic device displaying a second operation mode set command, the second command set such that the first electronic device for generating a second command upon receiving a second predetermined operation and the second command to the second electronic device, such that the second electronic device executes the second command.
  22. 22.根据权利要求14至16任意一项所述的设备,其特征在于,所述设备还包括: 判断单元,用于判断所述第一电子设备的显示单元是否由第一功耗状态切换至第二功耗状态,并将判断结果发送给显示单元;其中,所述第一电子设备的显示单元在第一功耗状态下的功耗小于在第二功耗状态下的功耗; 则所述显示单元还用于当所述判断结果表明所述第一电子设备的显示单元由第一功耗状态切换至第二功耗状态时,执行显示解锁提示操作。 22. The apparatus according to any one of claims 14 to 16, wherein said apparatus further comprises: a determination unit, a display unit for determining whether the first electronic device is switched from a first state to a power a second power state, and transmits the determination result to the display unit; wherein the first power unit of the electronic display device in the first power state is less than the power consumption in the second power consumption state; then the when said display unit is further configured to, when the determination result indicates a display unit of the first electronic device is switched from a first state to a second power consumption state, performing the unlock display prompts.
CN 201210299775 2012-08-21 2012-08-21 A control method and apparatus CN103631733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210299775 CN103631733B (en) 2012-08-21 2012-08-21 A control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210299775 CN103631733B (en) 2012-08-21 2012-08-21 A control method and apparatus

Publications (2)

Publication Number Publication Date
CN103631733A true CN103631733A (en) 2014-03-12
CN103631733B true CN103631733B (en) 2016-12-21

Family

ID=50212815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210299775 CN103631733B (en) 2012-08-21 2012-08-21 A control method and apparatus

Country Status (1)

Country Link
CN (1) CN103631733B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528097A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Information processing method and electronic apparatus
CN104574932B (en) * 2015-01-07 2018-03-16 广东欧珀移动通信有限公司 Remote control method based on smart terminal, intelligent terminal apparatus and
CN105094898A (en) * 2015-07-08 2015-11-25 广东欧珀移动通信有限公司 Method for switching account of application program and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325067A (en) * 2011-09-16 2012-01-18 白军民 Intelligent household remote control monitoring system
CN102625010A (en) * 2012-03-06 2012-08-01 清华大学 Eye-Free control method of television by using touch screen phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7657849B2 (en) * 2005-12-23 2010-02-02 Apple Inc. Unlocking a device by performing gestures on an unlock image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325067A (en) * 2011-09-16 2012-01-18 白军民 Intelligent household remote control monitoring system
CN102625010A (en) * 2012-03-06 2012-08-01 清华大学 Eye-Free control method of television by using touch screen phone

Also Published As

Publication number Publication date Type
CN103631733A (en) 2014-03-12 application

Similar Documents

Publication Publication Date Title
US20060209016A1 (en) Computer interaction based upon a currently active input device
US20120133484A1 (en) Multiple-input device lock and unlock
CN101753878A (en) Remote control method for touch screen remote controller
CN101702106A (en) Awakening method and system for touch screen terminal
CN102270097A (en) A method for releasing a lock of the terminal screen and the portable terminal device
US20140059365A1 (en) Ultra low power apparatus and method to wake up a main processor
CN101778165A (en) Unlocking method and system of screen and mobile terminal
US20140123049A1 (en) Keyboard with gesture-redundant keys removed
CN102223437A (en) Method for touch screen mobile phone to directly enter function interface
JP2012242851A (en) Portable electronic device having touch screen and control method
CN102722334A (en) Control method and device of touch screen
CN103294366A (en) Screen unlocking method and electronic equipment
US20140320391A1 (en) Methods for improvements in mobile electronic devices
CN101645197A (en) Touchable multifunctional remote controller and touchable multifunctional remote control method
CN1655094A (en) Method for carrying out remote operation of computer
CN102510429A (en) Method for unlocking touch-screen mobile phone, and touch-screen mobile phone
US20140362119A1 (en) One-handed gestures for navigating ui using touch-screen hover events
US20120299846A1 (en) Electronic apparatus and operation support method
CN101706704A (en) Method for displaying user interface capable of automatically changing opacity
CN103744604A (en) Information processing method and electronic device
CN102262465A (en) And an electronic device having a touch input method for a touch input unit
CN103002148A (en) Music switching method based on mobile terminal in screen extinguishment mode and mobile terminal
CN102035934A (en) Dual-screen portable electronic equipment and management method
CN103197888A (en) Display control method and device of parameter interface
CN103324431A (en) Electronic apparatus and control method thereof

Legal Events

Date Code Title Description
C10 Entry into substantive examination
C14 Grant of patent or utility model