[go: up one dir, main page]

CN106911949A - A kind of method and mobile terminal based on mobile terminal control apparatus equipment - Google Patents

A kind of method and mobile terminal based on mobile terminal control apparatus equipment Download PDF

Info

Publication number
CN106911949A
CN106911949A CN201510982772.4A CN201510982772A CN106911949A CN 106911949 A CN106911949 A CN 106911949A CN 201510982772 A CN201510982772 A CN 201510982772A CN 106911949 A CN106911949 A CN 106911949A
Authority
CN
China
Prior art keywords
remote control
telecommand
electrical equipment
control command
electric equipment
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510982772.4A
Other languages
Chinese (zh)
Inventor
张明辉
韩莹光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510982772.4A priority Critical patent/CN106911949A/en
Publication of CN106911949A publication Critical patent/CN106911949A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42225User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details characterized by types of remote control, e.g. universal remote control
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本发明实施例提供了一种基于移动终端控制电器设备的方法和移动终端,其中所述方法包括移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;展现所述遥控指令集合;当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。本发明实施例通过第三方特定应用程序即可以实现对电器设备的遥控,使普通电器设备具有智能特性,简化电器设备的遥控环境,便于对电器设备的集中管理。

An embodiment of the present invention provides a method for controlling electrical equipment based on a mobile terminal and the mobile terminal, wherein the method includes determining a set of remote control instructions matching the current electrical equipment by the mobile terminal through a third-party specific application program; displaying the remote control instructions set; when the trigger operation of a certain remote control command in the remote control command set by the user is detected, a control command is generated based on the remote control command; the control command is sent to the corresponding electrical device to control the electrical device The device executes an operation corresponding to the control instruction. The embodiment of the present invention can realize the remote control of the electrical equipment through the specific application program of the third party, make the common electrical equipment intelligent, simplify the remote control environment of the electrical equipment, and facilitate the centralized management of the electrical equipment.

Description

一种基于移动终端控制电器设备的方法和移动终端Method and mobile terminal for controlling electrical equipment based on mobile terminal

技术领域technical field

本发明涉及智能家居技术领域,特别是涉及一种基于移动终端控制电器设备的方法和一种控制电器设备的移动终端。The present invention relates to the field of smart home technology, in particular to a method for controlling electrical equipment based on a mobile terminal and a mobile terminal for controlling electrical equipment.

背景技术Background technique

一般的家用电器设备都需要专用的遥控器进行控制,例如,电视机需要由电视机的专用遥控器控制,机顶盒需要由机顶盒的专用遥控器控制,电视盒子也需要由电视盒子的专用遥控器控制。这些遥控器通常的工作方式是将用户按键所触发的指令以红外等方式发送到电器设备,电器设备接收指令后执行相应的操作。General household electrical appliances need to be controlled by a dedicated remote control. For example, a TV needs to be controlled by a dedicated remote control for the TV, a set-top box needs to be controlled by a dedicated remote control for the set-top box, and a TV box needs to be controlled by a dedicated remote control for the TV box. . The usual working method of these remote controllers is to send the instructions triggered by the user's buttons to the electrical equipment by means of infrared, etc., and the electrical equipment performs corresponding operations after receiving the instructions.

然而,上述的各种控制方式需要依赖于专用的遥控器,不同电器设备之间的遥控器不能够混用,甚至不同电视机品牌或型号的遥控器之间也不能混用,遥控器的通用性差,用户管理各种遥控器也比较麻烦。However, the above-mentioned various control methods need to rely on a dedicated remote controller, and the remote controllers of different electrical equipment cannot be mixed, and even the remote controllers of different TV brands or models cannot be mixed, and the universality of the remote controller is poor. It is also troublesome for users to manage various remote controls.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于移动终端控制电器设备的方法和相应的一种控制电器设备的移动终端。In view of the above problems, the present invention is proposed to provide a method for controlling electrical equipment based on a mobile terminal and a corresponding mobile terminal for controlling electrical equipment, which overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种基于移动终端控制电器设备的方法,所述方法包括:According to one aspect of the present invention, a method for controlling electrical equipment based on a mobile terminal is provided, the method comprising:

移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;The mobile terminal determines the set of remote control instructions matching the current electrical equipment through a third-party specific application program;

展现所述遥控指令集合;displaying the set of remote control commands;

当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;generating a control command based on the remote control command when a user's trigger operation on a certain remote control command in the set of remote control commands is detected;

将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。The control instruction is sent to a corresponding electrical device, so as to control the electrical device to perform an operation corresponding to the control instruction.

可选地,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:Optionally, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括型号信息;Reading a preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes model information;

确定当前电器设备的型号信息;Determine the model information of the current electrical equipment;

若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。If the model information of the current electrical device is matched in the remote control command database, a remote control command set corresponding to the model information is obtained as a remote control command set of the current electrical device.

可选地,所述确定当前电器设备的型号信息的步骤包括:Optionally, the step of determining the model information of the current electrical equipment includes:

接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。The model information input by the user in the search box of the third-party specific application program is received, and the received model information is used as the model information of the current electrical equipment.

可选地,所述电器设备为通过路由器接入无线网络的设备,所述确定当前电器设备的型号信息的步骤包括:Optionally, the electrical device is a device that accesses a wireless network through a router, and the step of determining the model information of the current electrical device includes:

通过路由器获取所述当前电器设备的型号信息。Obtain the model information of the current electrical equipment through the router.

可选地,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:Optionally, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一种或多种电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括电器设备的类型和品牌;Read the preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more types of electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes the type of electrical equipment and brands;

确定当前电器设备的类型和品牌;Determine the type and brand of current electrical equipment;

根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Obtain one or more sets of remote control instructions corresponding to the type and brand according to the type and brand of the current electrical equipment;

将每一个遥控指令集合与当前电器设备进行配对;Pair each remote control command set with the current electrical equipment;

将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。The set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical equipment.

可选地,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:Optionally, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令模板的关联关系,所述电器设备信息包括设备类型,所述遥控指令模板包括多个遥控指令控件;The preset remote control command database is read through a third-party specific application program, and the relationship between one or more electrical equipment information and the corresponding remote control command template is stored in the remote control command database. The electrical device information includes the type of equipment, so The remote control instruction template includes a plurality of remote control instruction controls;

确定当前电器设备的设备类型;Determine the device type of the current electrical device;

从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该步骤,得到当前电器设备匹配的遥控指令集合。When it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control to complete the remote control command corresponding to the remote control command control Learn and repeat this step to get the set of remote control commands matching the current electrical equipment.

可选地,所述方法还包括:Optionally, the method also includes:

生成所述电器设备类型与所述遥控指令集合的关联关系;Generate an association relationship between the type of electrical equipment and the set of remote control instructions;

将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。The association relationship between the type of electrical equipment and the set of remote control instructions is stored in the remote control instruction database.

可选地,所述移动终端内置或外接一红外发射模块,所述预设的遥控指令数据库为所述红外发射模块本地的遥控指令数据库,和/或,所述预设的遥控指令数据库为云端服务器中存储的数据库。Optionally, the mobile terminal has a built-in or external infrared emission module, and the preset remote control instruction database is a local remote control instruction database of the infrared emission module, and/or, the preset remote control instruction database is a cloud database stored on the server.

可选地,所述将所述控制指令发送至对应的电器设备中的步骤包括:Optionally, the step of sending the control instruction to the corresponding electrical equipment includes:

将所述控制指令发送至所述红外发射模块中,由所述红外发射模块将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中。The control command is sent to the infrared emitting module, and the infrared emitting module converts the control command into an infrared control code, and transmits the infrared control code to the electrical equipment.

可选地,若所述移动终端外接所述红外发射模块,则所述红外发射模块为一硬件遥控设备,所述第三方特定应用程序与所述硬件遥控设备绑定。Optionally, if the mobile terminal is externally connected to the infrared emitting module, the infrared emitting module is a hardware remote control device, and the third-party specific application program is bound to the hardware remote control device.

可选地,所述方法还包括:Optionally, the method also includes:

将所述当前电器设备的遥控指令集合分享至其他用户。Sharing the remote control instruction set of the current electrical equipment with other users.

可选地,所述展现所述遥控指令集合的步骤包括:Optionally, the step of presenting the set of remote control instructions includes:

将所述遥控指令集合组织成虚拟遥控器;organizing the set of remote control commands into a virtual remote control;

展现所述虚拟遥控器。The virtual remote is presented.

根据本发明的另一方面,提供了一种控制电器设备的移动终端,所述移动终端包括:According to another aspect of the present invention, a mobile terminal for controlling electrical equipment is provided, the mobile terminal includes:

指令集合确定模块,适于通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;The command set determination module is adapted to determine the remote control command set matching the current electrical equipment through a third-party specific application program;

指令集合展现模块,适于展现所述遥控指令集合;an instruction set display module, adapted to display the remote control instruction set;

控制指令生成模块,适于在检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;The control command generation module is adapted to generate a control command based on the remote control command when a trigger operation of a certain remote control command in the remote control command set by the user is detected;

控制模块,适于将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。The control module is adapted to send the control instruction to corresponding electrical equipment, so as to control the electrical equipment to perform operations corresponding to the control instruction.

可选地,所述指令集合确定模块还适于:Optionally, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括型号信息;Reading a preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes model information;

确定当前电器设备的型号信息;Determine the model information of the current electrical equipment;

若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。If the model information of the current electrical device is matched in the remote control command database, a remote control command set corresponding to the model information is obtained as a remote control command set of the current electrical device.

可选地,所述指令集合确定模块还适于:Optionally, the instruction set determination module is also suitable for:

接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。The model information input by the user in the search box of the third-party specific application program is received, and the received model information is used as the model information of the current electrical equipment.

可选地,所述指令集合确定模块还适于:Optionally, the instruction set determination module is also suitable for:

通过路由器获取所述当前电器设备的型号信息。Obtain the model information of the current electrical equipment through the router.

可选地,所述指令集合确定模块还适于:Optionally, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一种或多种电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括电器设备的类型和品牌;Read the preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more types of electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes the type of electrical equipment and brands;

确定当前电器设备的类型和品牌;Determine the type and brand of current electrical equipment;

根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Obtain one or more sets of remote control instructions corresponding to the type and brand according to the type and brand of the current electrical equipment;

将每一个遥控指令集合与当前电器设备进行配对;Pair each remote control command set with the current electrical equipment;

将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。The set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical equipment.

可选地,所述指令集合确定模块还适于:Optionally, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令模板的关联关系,所述电器设备信息包括设备类型,所述遥控指令模板包括多个遥控指令控件;The preset remote control command database is read through a third-party specific application program, and the relationship between one or more electrical equipment information and the corresponding remote control command template is stored in the remote control command database. The electrical device information includes the type of equipment, so The remote control instruction template includes a plurality of remote control instruction controls;

确定当前电器设备的设备类型;Determine the device type of the current electrical device;

从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该步骤,得到当前电器设备匹配的遥控指令集合。When it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control to complete the remote control command corresponding to the remote control command control Learn and repeat this step to get the set of remote control commands matching the current electrical equipment.

可选地,所述移动终端还包括:Optionally, the mobile terminal also includes:

关联关系生成模块,适于生成所述电器设备类型与所述遥控指令集合的关联关系;An association relationship generation module, adapted to generate an association relationship between the type of electrical equipment and the set of remote control instructions;

关联关系存储模块,适于将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。The association relationship storage module is adapted to store the association relationship between the electrical equipment type and the remote control command set in the remote control command database.

可选地,所述移动终端内置或外接一红外发射模块,所述预设的遥控指令数据库为所述红外发射模块本地的遥控指令数据库,和/或,所述预设的遥控指令数据库为云端服务器中存储的数据库。Optionally, the mobile terminal has a built-in or external infrared emission module, and the preset remote control instruction database is a local remote control instruction database of the infrared emission module, and/or, the preset remote control instruction database is a cloud database stored on the server.

可选地,所述控制模块还适于:Optionally, the control module is also suitable for:

将所述控制指令发送至所述红外发射模块中,由所述红外发射模块将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中。The control command is sent to the infrared emitting module, and the infrared emitting module converts the control command into an infrared control code, and transmits the infrared control code to the electrical equipment.

可选地,若所述移动终端外接所述红外发射模块,则所述红外发射模块为一硬件遥控设备,所述第三方特定应用程序与所述硬件遥控设备绑定。Optionally, if the mobile terminal is externally connected to the infrared emitting module, the infrared emitting module is a hardware remote control device, and the third-party specific application program is bound to the hardware remote control device.

可选地,所述移动终端还包括:Optionally, the mobile terminal also includes:

分享模块,适于将所述当前电器设备的遥控指令集合分享至其他用户。The sharing module is adapted to share the remote control instruction set of the current electrical equipment with other users.

可选地,所述指令集合展现模块还适于:Optionally, the instruction set presentation module is also suitable for:

将所述遥控指令集合组织成虚拟遥控器;organizing the set of remote control commands into a virtual remote control;

展现所述虚拟遥控器。The virtual remote is presented.

根据本发明的一种基于移动终端控制电器设备的方法和移动终端,移动终端可以通过第三方特定应用程序来确定与当前电器设备匹配的遥控指令集合,在向用户展现当前电器设备的遥控指令集合以后,当检测到用户对该遥控指令集合中的某一个遥控指令的触发操作时,基于该遥控指令生成控制指令,并将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与控制指令对应的操作,移动终端通过第三方特定应用程序即可以实现对电器设备的遥控,使普通电器设备具有智能特性,简化电器设备的遥控环境,便于对电器设备的集中管理。According to a method for controlling electrical equipment based on a mobile terminal and the mobile terminal of the present invention, the mobile terminal can determine the remote control instruction set matching the current electrical equipment through a third-party specific application program, and present the remote control instruction set of the current electrical equipment to the user. Later, when a trigger operation of a certain remote control command in the remote control command set by the user is detected, a control command is generated based on the remote control command, and the control command is sent to the corresponding electrical device to control the electrical device Execute the operation corresponding to the control command, and the mobile terminal can realize the remote control of the electrical equipment through the third-party specific application program, so that the ordinary electrical equipment has intelligent features, simplifies the remote control environment of the electrical equipment, and facilitates the centralized management of the electrical equipment.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例一的步骤流程图;FIG. 1 shows a flow chart of steps in Embodiment 1 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例二的步骤流程图;FIG. 2 shows a flow chart of steps in Embodiment 2 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例三的步骤流程图;以及FIG. 3 shows a flow chart of steps in Embodiment 3 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention; and

图4示出了根据本发明一个实施例的一种控制电器设备的移动终端实施例的结构框图。Fig. 4 shows a structural block diagram of an embodiment of a mobile terminal for controlling electrical equipment according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

参照图1,示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例一的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of Embodiment 1 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention, which may specifically include the following steps:

步骤101,移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;Step 101, the mobile terminal determines a set of remote control commands matching the current electrical equipment through a third-party specific application program;

步骤102,展现所述遥控指令集合;Step 102, displaying the set of remote control commands;

步骤103,当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;Step 103, when a user's trigger operation on a certain remote control command in the remote control command set is detected, a control command is generated based on the remote control command;

步骤104,将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。Step 104, sending the control instruction to a corresponding electrical device, so as to control the electrical device to perform an operation corresponding to the control instruction.

在本发明实施例中,移动终端可以通过第三方特定应用程序来确定与当前电器设备匹配的遥控指令集合,在向用户展现当前电器设备的遥控指令集合以后,当检测到用户对该遥控指令集合中的某一个遥控指令的触发操作时,基于该遥控指令生成控制指令,并将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与控制指令对应的操作,移动终端通过第三方特定应用程序即可以实现对电器设备的遥控,使普通电器设备具有智能特性,简化电器设备的遥控环境,便于对电器设备的集中管理。In the embodiment of the present invention, the mobile terminal can determine the remote control instruction set matching the current electrical equipment through a third-party specific application program. After presenting the remote control instruction set of the current electrical equipment to the user, when it is detected When one of the remote control commands triggers an operation, a control command is generated based on the remote control command, and the control command is sent to the corresponding electrical device to control the electrical device to perform the operation corresponding to the control command. The third-party specific application program can realize the remote control of electrical equipment, make ordinary electrical equipment intelligent, simplify the remote control environment of electrical equipment, and facilitate the centralized management of electrical equipment.

参照图2,示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例二的步骤流程图,本发明实施例可以应用于移动终端中,例如,手机、PDA(Personal Digital Assistant,个人数字助理)、膝上型计算机、掌上电脑等等,本发明实施例对此不加以限制。Referring to FIG. 2 , it shows a flow chart of the steps of Embodiment 2 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention. The embodiment of the present invention can be applied to mobile terminals, for example, mobile phones, PDA (Personal Digital Assistant, personal digital assistant), laptop computer, palmtop computer, etc., which are not limited in the embodiment of the present invention.

这些移动终端一般可以支持包括Android(安卓)、IOS、WindowsPhone或者windows等的操作系统,通常可支持应用程序的安装。These mobile terminals generally can support operating systems including Android (Android), IOS, WindowsPhone or windows, etc., and usually can support the installation of application programs.

在本发明实施例中,移动终端可以外接一红外发射模块,该红外发射模块的作用是将移动终端中的二进制编码信息转换成红外线信号发射出去。In the embodiment of the present invention, the mobile terminal can be externally connected with an infrared emitting module, and the function of the infrared emitting module is to convert binary coded information in the mobile terminal into an infrared signal for emission.

本发明实施例中的红外发射模块可以表现为一硬件遥控设备(例如,硬件遥控器),在具体实现中,该硬件遥控设备中可以包括一个或多个红外发射头,红外发射头就是一个能发射出特定波长红外光的二极管。硬件遥控设备就是使用红外发射头发出一连串的二进制脉冲信号。为了使其在无线传输过程中免受其他红外信号的干扰,通常都是先将其调制在特定的载波频率上,然后再经过红外发射二极管发射头发射出去。The infrared emission module in the embodiment of the present invention can be represented as a hardware remote control device (for example, a hardware remote control). A diode that emits infrared light of a specific wavelength. The hardware remote control device uses the infrared emitter to send out a series of binary pulse signals. In order to prevent it from being interfered by other infrared signals during wireless transmission, it is usually first modulated on a specific carrier frequency, and then transmitted through the infrared emitting diode transmitter.

在硬件遥控设备具有多个红外发射头时,可以增加硬件遥控设备的遥控角度范围,甚至达到360度全方位遥控。When the hardware remote control device has multiple infrared emitting heads, the remote control angle range of the hardware remote control device can be increased, even reaching 360-degree omni-directional remote control.

应用于本发明实施例,硬件遥控设备中可以包括预设的遥控指令数据库,该遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令的关联关系,即,该遥控指令数据库中存储有一个或多个电器设备与对应的遥控器数据的关联关系。Applied to the embodiment of the present invention, the hardware remote control device may include a preset remote control command database, and the remote control command database stores the relationship between one or more electrical equipment information and the corresponding remote control command, that is, the remote control command database An association relationship between one or more electrical devices and corresponding remote control data is stored.

作为一种本发明实施例的一种示例,该电器设备信息可以包括电器设备的型号信息、电器设备的类型、电器设备的品牌等信息的至少一种。As an example of an embodiment of the present invention, the electrical device information may include at least one of information such as model information of the electrical device, type of the electrical device, and brand of the electrical device.

在具体实现中,该遥控指令数据库可以存储在硬件遥控设备本地,和/或,存储在云端服务器中,当需要时,若硬件遥控设备连接到路由器,可以从云端服务器中下载遥控指令到硬件遥控设备本地。In a specific implementation, the remote control instruction database can be stored locally on the hardware remote control device, and/or stored in a cloud server. When needed, if the hardware remote control device is connected to the router, the remote control command can be downloaded from the cloud server to the hardware remote control. device local.

在实际中,硬件遥控设备可以支持海量的遥控器数据。例如,可以支持上千个电器设备品牌,在本地可以自带几万个遥控器数据,同时在云端服务器中存储几十万个遥控器数据,为后续电器设备的遥控提供了丰富的数据基础。In practice, the hardware remote control device can support massive remote control data. For example, it can support thousands of electrical equipment brands, bring tens of thousands of remote control data locally, and store hundreds of thousands of remote control data in the cloud server, providing a rich data basis for subsequent remote control of electrical equipment.

本发明实施例具体可以包括如下步骤:The embodiment of the present invention may specifically include the following steps:

步骤201,移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;Step 201, the mobile terminal determines the set of remote control commands matching the current electrical equipment through a third-party specific application program;

应用于本发明实施例,移动终端可以通过第三方特定应用程序与硬件遥控设备通信,通过硬件遥控设备确定与当前电器设备匹配的遥控指令集合。Applied to the embodiment of the present invention, the mobile terminal can communicate with the hardware remote control device through a third-party specific application program, and determine the remote control command set matching the current electrical device through the hardware remote control device.

需要说明的是,若移动终端中没有安装第三方特定应用程序,则需要先安装第三方特定应用程序,该第三方特定应用程序的安装信息可以从该硬件遥控设备表面的二维码中获取,移动终端扫描该硬件遥控设备表面的二维码即可获得第三方特定应用程序的安装信息;或者,该第三方特定应用程序的安装信息还可以从硬件遥控设备的官方网站上获取,本发明实施例对第三方特定应用程序的安装信息的获取方式不作限制。It should be noted that if no third-party specific application is installed in the mobile terminal, the third-party specific application needs to be installed first, and the installation information of the third-party specific application can be obtained from the QR code on the surface of the hardware remote control device. The mobile terminal scans the QR code on the surface of the hardware remote control device to obtain the installation information of the third-party specific application program; or, the installation information of the third-party specific application program can also be obtained from the official website of the hardware remote control device. This example does not limit the way to obtain the installation information of specific third-party applications.

移动终端获得第三方特定应用程序的安装信息以后,可以安装该第三方特定应用程序,安装成功以后,在第三方特定应用程序开启的情况下,若检测到硬件遥控设备启动,可以自动完成该第三方特定应用程序与硬件遥控设备的适配与连接,从而将第三方特定应用程序与硬件遥控设备绑定。After the mobile terminal obtains the installation information of the third-party specific application program, it can install the third-party specific application program. After the installation is successful, when the third-party specific application program is opened, if it detects that the hardware remote control device is started, the third-party specific application program can be automatically completed. The adaptation and connection of the three-party specific application program and the hardware remote control device, so as to bind the third-party specific application program with the hardware remote control device.

在具体实现中,至少可以通过如下方式将第三方特定应用程序与硬件遥控设备绑定,但并发明实施例并不限于此:In a specific implementation, at least the third-party specific application program can be bound to the hardware remote control device in the following manner, but the embodiment of the invention is not limited thereto:

1、AP模式:硬件遥控设备中可以配备WIFI芯片(WIFI芯片工作在AP模式或者是AP+STATION模式),因此可以以硬件遥控设备作为无线接入点AP(即热点),移动终端连接上热点以后,建立与硬件遥控设备的Socket连接,通过Socket连接,第三方特定应用程序可以配置硬件遥控设备需要连接的路由的ssid和密码,将硬件遥控设备需要连接的路由的ssid和密码发送至硬件遥控设备,硬件遥控设备接收到ssid和密码以后,根据该ssid和密码接入路由器,移动终端接入路由器后,两者就可以通过路由器进行通信。1. AP mode: The hardware remote control device can be equipped with a WIFI chip (the WIFI chip works in AP mode or AP+STATION mode), so the hardware remote control device can be used as a wireless access point AP (that is, a hotspot), and the mobile terminal can connect to the hotspot Later, establish a Socket connection with the hardware remote control device, through the Socket connection, the third-party specific application can configure the ssid and password of the route that the hardware remote control device needs to connect to, and send the ssid and password of the route that the hardware remote control device needs to connect to the hardware remote control After the device and the hardware remote control device receive the ssid and password, they access the router according to the ssid and password, and after the mobile terminal accesses the router, the two can communicate through the router.

2、smartconfig的方式:第三方特定应用程序获取到需要连接的路由器的ssid和密码后(例如,通过要求用户输入ssid和密码的方式获取),生成包含该ssid和密码的UDP广播包或者组播包,然后将该UDP广播包或者组播包加密后发送出去,硬件遥控设备中的WIFI芯片拥有监听模式,可以接收到该第三方特定应用程序加密的UDP广播包或者组播包,对该加密的UDP广播包或者组播包解密后,可以获得需要连接的路由器的ssid和密码,然后根据该ssid和密码连接路由器,并通过路由器与第三方特定应用程序进行通信。2. The way of smartconfig: After the third-party specific application obtains the ssid and password of the router to be connected (for example, by asking the user to enter the ssid and password), it generates a UDP broadcast packet or multicast containing the ssid and password packet, and then encrypt the UDP broadcast packet or multicast packet and send it out. The WIFI chip in the hardware remote control device has a monitoring mode, and can receive the UDP broadcast packet or multicast packet encrypted by the third-party specific application program, and encrypt the UDP packet. After decrypting the UDP broadcast packet or multicast packet, you can obtain the ssid and password of the router to be connected, and then connect to the router according to the ssid and password, and communicate with a third-party specific application through the router.

3、声波配置:移动终端发出经过编码加密的包含需要连接的路由器的ssid和密码等信息的声音,硬件遥控设备通过麦克风录音,获取到声音后,对声音进行解码解密,获得需要连接的路由器的ssid和密码,然后根据该需要连接的路由器的ssid和密码连接路由器,与移动终端的第三方特定应用程序通过路由器进行通信。3. Sound wave configuration: The mobile terminal emits an encoded and encrypted sound containing information such as the SSID and password of the router to be connected. The hardware remote control device records through the microphone. ssid and password, and then connect the router according to the ssid and password of the router to be connected, and communicate with the third-party specific application program of the mobile terminal through the router.

在本发明实施例的一种优选实施例中,步骤201可以包括如下子步骤:In a preferred embodiment of the embodiment of the present invention, step 201 may include the following sub-steps:

子步骤S11,通过第三方特定应用程序读取所述硬件遥控设备中预设的遥控指令数据库;Sub-step S11, read the remote control instruction database preset in the hardware remote control device through a third-party specific application program;

应用于本发明实施例,硬件遥控设备中预设的遥控指令数据库中可以存储有一个或多个电器设备的型号信息与对应的遥控指令集合的关联关系。Applied to the embodiment of the present invention, the remote control command database preset in the hardware remote control device may store the relationship between the model information of one or more electrical devices and the corresponding remote control command set.

第三方特定应用程序与硬件遥控设备绑定以后,则可以读取硬件遥控设备本地的遥控指令数据库。After the third-party specific application is bound to the hardware remote control device, it can read the local remote control command database of the hardware remote control device.

进一步的,第三方特定应用程序与硬件遥控设备的连接建立起来后,还可以建立与硬件遥控设备对应的云端服务器的连接,从而读取与硬件遥控设备对应的云端服务器中存储的遥控指令数据库。Further, after the connection between the third-party specific application program and the hardware remote control device is established, it can also establish a connection with the cloud server corresponding to the hardware remote control device, so as to read the remote control instruction database stored in the cloud server corresponding to the hardware remote control device.

子步骤S12,确定当前电器设备的型号信息;Sub-step S12, determine the model information of the current electrical equipment;

在实际中,电器设备的型号信息是电器设备的身份标识。In practice, the model information of the electrical equipment is the identity of the electrical equipment.

在本发明实施例的一种优选实施例中子步骤S12进一步可以为:接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。In a preferred embodiment of the embodiment of the present invention, sub-step S12 can further be: receive the model information input by the user in the search box of the third-party specific application program, and use the received model information as the current electrical equipment model information.

在具体实现中,第三方特定应用程序可以具有型号搜索功能,提供检索框以供用户输入电器设备的型号信息。而电器设备的型号信息一般标记在电器设备中,或者标记在该电器设备对应的物理遥控器中,用户可以在第三方特定应用程序的检索框中输入型号信息以进行当前电器设备对应的遥控指令的检索。In a specific implementation, the third-party specific application program may have a model search function, providing a search box for the user to input the model information of the electrical equipment. The model information of electrical equipment is generally marked in the electrical equipment, or marked in the physical remote control corresponding to the electrical equipment, and the user can enter the model information in the search box of the third-party specific application program to perform the remote control command corresponding to the current electrical equipment search.

在本发明实施例的另一种优选实施例中,所述电器设备为通过路由器接入无线网络的设备,子步骤S12进一步可以为:通过路由器获取所述当前电器设备的型号信息。In another preferred embodiment of the embodiment of the present invention, the electrical device is a device connected to a wireless network through a router, and sub-step S12 may further be: obtaining the model information of the current electrical device through a router.

若当前电器设备可以接入路由器,例如智能电视等,则可以自动通过路由器读取该电器设备的型号信息,无需用户手动查找型号信息及手动输入型号信息,简化了用户操作,提高用户体验,并且减少型号信息输错的概率。If the current electrical equipment can be connected to the router, such as a smart TV, the model information of the electrical equipment can be automatically read through the router, without the need for the user to manually search for and input the model information, which simplifies user operations and improves user experience, and Reduce the probability of incorrectly entering model information.

需要说明的是,本发明实施例并不限于上述两种确定当前电器设备的型号信息的方式,本领域技术人员通过其他方式确定当前电器设备的型号信息均可以的,例如,首先在第三方特定应用程序提供的品牌列表中筛选当前电器设备的品牌,然后第三方特定应用程序提供该品牌下的所有型号信息,继而从该所有型号信息中筛选出当前电器设备的型号信息。It should be noted that the embodiment of the present invention is not limited to the above two ways of determining the model information of the current electrical equipment, and those skilled in the art can determine the model information of the current electrical equipment in other ways, for example, first, in a third-party specified The current electrical equipment brand is screened from the brand list provided by the application, and then the third-party specific application provides all model information under the brand, and then the current electrical equipment model information is screened from the all model information.

子步骤S13,若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合;Sub-step S13, if the model information of the current electrical equipment is matched in the remote control command database, then obtain a remote control command set corresponding to the model information as the remote control command set of the current electrical device;

由于遥控指令数据库存储的是一个或多个电器设备的型号信息与对应的遥控指令集合的关联关系,当得到当前电器设备的型号信息以后,可以在该遥控指令数据库中匹配该型号信息,若匹配成功,则获得该型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。Since the remote control command database stores the relationship between the model information of one or more electrical equipment and the corresponding remote control command set, after obtaining the model information of the current electrical device, the model information can be matched in the remote control command database. If successful, the remote control command set corresponding to the model information is obtained as the remote control command set of the current electrical equipment.

在本发明实施例的另一种优选实施例中,步骤201可以包括如下子步骤:In another preferred embodiment of the embodiment of the present invention, step 201 may include the following sub-steps:

子步骤S21,通过第三方特定应用程序读取所述硬件遥控设备中预设的遥控指令数据库;Sub-step S21, reading the remote control instruction database preset in the hardware remote control device through a third-party specific application program;

应用于本发明实施例,硬件遥控设备中预设的遥控指令数据库中可以存储有一种或多种电器设备的类型和品牌与对应的遥控指令集合的关联关系。Applied to the embodiment of the present invention, the remote control command database preset in the hardware remote control device may store the association relationship between one or more types and brands of electrical equipment and the corresponding remote control command set.

第三方特定应用程序与硬件遥控设备绑定以后,则可以读取硬件遥控设备本地的遥控指令数据库。After the third-party specific application is bound to the hardware remote control device, it can read the local remote control command database of the hardware remote control device.

进一步的,第三方特定应用程序与硬件遥控设备的连接建立起来后,还可以建立与硬件遥控设备对应的云端服务器的连接,从而读取与硬件遥控设备对应的云端服务器中存储的遥控指令数据库。Further, after the connection between the third-party specific application program and the hardware remote control device is established, it can also establish a connection with the cloud server corresponding to the hardware remote control device, so as to read the remote control instruction database stored in the cloud server corresponding to the hardware remote control device.

子步骤S22,确定当前电器设备的类型和品牌;Sub-step S22, determine the type and brand of the current electrical equipment;

在具体实现中,第三方特定应用程序中可以提供电器设备的类型选择列表以及品牌选择列表。用户可以从类型选择列表中选择需要控制的电器设备的类型,然后从品牌列表中选择需要控制的电器设备的品牌。In a specific implementation, a type selection list and a brand selection list of electrical equipment may be provided in a third-party specific application program. The user may select the type of electrical equipment to be controlled from the type selection list, and then select the brand of the electrical equipment to be controlled from the brand list.

作为一种示例,电器设备的类型可以包括电视机、空调、洗衣机、风扇、机顶盒、投影仪、净化器、照相机、音响等类型;电器设备的品牌可以包括TCL、索尼、海尔等市面上的品牌。As an example, the types of electrical equipment may include televisions, air conditioners, washing machines, fans, set-top boxes, projectors, purifiers, cameras, stereos, etc.; the brands of electrical equipment may include TCL, Sony, Haier and other brands on the market .

需要说明的是,除了可以通过列表来选定当前电器设备的类型和品牌以外,第三方特定应用程序还可以提供输入品牌和类型的输入框,以供用户直接输入电器设备的品牌和类型。It should be noted that, in addition to selecting the type and brand of the current electrical equipment through the list, the third-party specific application program may also provide an input box for inputting the brand and type for the user to directly input the brand and type of the electrical equipment.

子步骤S23,根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Sub-step S23, according to the type and brand of the current electrical equipment, obtain one or more sets of remote control instructions corresponding to the type and brand;

在确定当前电器设备的类型和品牌以后,可以在预设的遥控指令数据库中匹配该当前电器设备的类型和品牌,若匹配成功,则获得该电器类型下该品牌所有的遥控指令集合。After the type and brand of the current electrical equipment are determined, the type and brand of the current electrical equipment can be matched in the preset remote control command database. If the matching is successful, all the remote control command sets of the brand under the electrical equipment type can be obtained.

子步骤S24,将每一个遥控指令集合与当前电器设备进行配对;Sub-step S24, pair each remote control command set with the current electrical equipment;

子步骤S25,将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。In sub-step S25, the set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical device.

在具体实现中,与当前电器设备的类型和品牌对应的遥控指令集合可能有一个或多个,可以将每一个遥控指令集合与当前电器设备进行配对。也即,针对每一个遥控指令集合,点击该遥控指令集合中的某一特定的遥控指令(例如“开关”指令),通过移动终端生成控制指令并通过硬件遥控设备发送至当前电器设备中,判断当前电器设备是否做出响应,若没有响应,则判定该遥控指令集合为配对失败的遥控指令集合,此时可以进行下一个遥控指令集合的配对,直到配对成功;若有响应,则判定该遥控指令集合为配对成功的遥控指令集合,此时可以将该配对成功的遥控指令集合作为当前电器设备的遥控指令集合。In a specific implementation, there may be one or more remote control instruction sets corresponding to the type and brand of the current electrical equipment, and each remote control instruction set can be paired with the current electrical equipment. That is, for each set of remote control commands, click on a specific remote control command (such as a "switch" command) in the set of remote control commands, generate a control command through the mobile terminal and send it to the current electrical device through the hardware remote control device, and determine Whether the current electrical equipment responds. If there is no response, it is determined that the remote control command set is a remote control command set that failed to pair. At this time, the pairing of the next remote control command set can be performed until the pairing is successful; The set of commands is a set of remote control commands that have been successfully paired. In this case, the set of remote control commands that have been successfully paired can be used as the set of remote control commands for the current electrical device.

需要说明的是,子步骤S21-子步骤S25的实施例可以独立于子步骤S11-子步骤S13的实施例;或者,子步骤S21-子步骤S25的实施例也可以看作是子步骤S11-子步骤S13的实施例的补充,当在子步骤S11-子步骤S13的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的型号信息时,或者,在子步骤S11-子步骤S13的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的品牌时,则可以执行子步骤S21-子步骤S25的实施例。It should be noted that the embodiment of substep S21-substep S25 can be independent of the embodiment of substep S11-substep S13; or, the embodiment of substep S21-substep S25 can also be regarded as substep S11- Supplement to the embodiment of sub-step S13, when the embodiment of sub-step S11-sub-step S13 does not match the model information of the current electrical equipment in the preset remote control instruction database, or, in sub-step S11-sub-step S13 In this embodiment, when the brand of the current electrical equipment is not matched in the preset remote control instruction database, the embodiments of sub-step S21-sub-step S25 may be executed.

在本发明实施例的另一种优选实施例中,步骤201可以包括如下子步骤:In another preferred embodiment of the embodiment of the present invention, step 201 may include the following sub-steps:

子步骤S31,通过第三方特定应用程序读取预设的遥控指令数据库;Sub-step S31, reading the preset remote control instruction database through a third-party specific application program;

应用于本发明实施例,硬件遥控设备中预设的遥控指令数据库中可以存储有一种或多种电器设备的设备类型与对应的遥控指令模板的关联关系。Applied to the embodiment of the present invention, the remote control instruction database preset in the hardware remote control device may store the association relationship between one or more types of electrical equipment and corresponding remote control instruction templates.

进一步的,该遥控指令模板可以包括多个遥控指令控件,该遥控指令控件可以为虚拟遥控器中的按键,该按键此时的状态为灰色不可用状态。Further, the remote control command template may include a plurality of remote control command controls, and the remote control command control may be a key in the virtual remote control, and the state of the key at this time is gray and unavailable.

第三方特定应用程序与硬件遥控设备绑定以后,则可以读取硬件遥控设备本地的遥控指令数据库。After the third-party specific application is bound to the hardware remote control device, it can read the local remote control command database of the hardware remote control device.

进一步的,第三方特定应用程序与硬件遥控设备的连接建立起来后,还可以建立与硬件遥控设备对应的云端服务器的连接,从而读取与硬件遥控设备对应的云端服务器中存储的遥控指令数据库。Further, after the connection between the third-party specific application program and the hardware remote control device is established, it can also establish a connection with the cloud server corresponding to the hardware remote control device, so as to read the remote control instruction database stored in the cloud server corresponding to the hardware remote control device.

子步骤S32,确定当前电器设备的设备类型;Sub-step S32, determining the device type of the current electrical device;

在具体实现中,第三方特定应用程序中可以提供电器设备的类型选择列表,用户可以从类型选择列表中选择需要控制的电器设备的类型。In a specific implementation, a third-party specific application program may provide a type selection list of electrical equipment, and the user may select a type of electrical equipment to be controlled from the type selection list.

作为一种示例,电器设备的类型可以包括电视机、空调、洗衣机、风扇、机顶盒、投影仪、净化器、照相机、音响等类型。As an example, the types of electrical equipment may include types such as televisions, air conditioners, washing machines, fans, set-top boxes, projectors, purifiers, cameras, and stereos.

需要说明的是,除了可以通过列表来选定当前电器设备的类型以外,第三方特定应用程序还可以提供输入类型的输入框,以供用户直接输入电器设备的类型。It should be noted that, in addition to selecting the type of the current electrical device through the list, the third-party specific application program may also provide an input box for inputting the type for the user to directly input the type of the electrical device.

子步骤S33,从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;Sub-step S33, matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

在确定当前电器设备的类型以后,可以在预设的遥控指令数据库中匹配该当前电器设备的类型,若匹配成功,则获得该电器类型下的遥控指令模板,并在移动终端中通过第三方特定应用程序向用户展现该遥控指令模板。After the type of the current electrical equipment is determined, the type of the current electrical equipment can be matched in the preset remote control instruction database. The application presents the remote command template to the user.

其中,该遥控指令模板为该电器设备类型通用的遥控指令模板。Wherein, the remote control instruction template is a common remote control instruction template for the type of electrical equipment.

子步骤S34,当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该子步骤S34,得到当前电器设备匹配的遥控指令集合。Sub-step S34, when it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control, and complete the correspondence of the remote control command control. The learning of the remote control command, repeating the sub-step S34, to obtain the remote control command set matching the current electrical equipment.

在子步骤S34中,移动终端可以通过学习的方式复制物理遥控器中的按键指令。In sub-step S34, the mobile terminal can copy the button instructions in the physical remote controller by learning.

具体的,用户可以点击遥控指令模板中的一个或多个遥控指令控件,移动终端检测到用户针对一个或多个遥控指令控件的点击操作以后,可以生成提示信息,该提示信息用于指示用户操作物理遥控器中与该点击的遥控指令控件对应的物理按键,此时,用户可以将当前电器设备对应的物理遥控器对准硬件遥控设备,按压与该点击的遥控指令控件对应的物理按键,硬件遥控设备读取到该按压的物理按键以后,将对应的遥控指令发送至移动终端,移动终端接收到遥控指令以后,生成该该点击的遥控指令控件与该遥控指令的对应关系,此时,可以将该点击的遥控指令控件的灰色不可用状态变成彩色可用状态,至此完成该点击的遥控指令控件的学习。Specifically, the user can click on one or more remote control command controls in the remote control command template, and after the mobile terminal detects the user's click operation on one or more remote control command controls, it can generate prompt information, which is used to instruct the user to operate The physical button corresponding to the clicked remote control instruction control in the physical remote control. At this time, the user can point the physical remote control corresponding to the current electrical device at the hardware remote control device, press the physical button corresponding to the clicked remote control command control, and the hardware After the remote control device reads the pressed physical button, it sends the corresponding remote control command to the mobile terminal. After the mobile terminal receives the remote control command, it generates the corresponding relationship between the clicked remote control command control and the remote control command. At this time, you can Change the gray unavailable state of the clicked remote command control to the color available state, and thus complete the learning of the clicked remote command control.

此后用户还可以按照子步骤S34完成其他遥控指令的学习,并所有学习得到的遥控指令组织成当前电器设备的遥控指令集合。Afterwards, the user can complete the learning of other remote control commands according to substep S34, and organize all learned remote control commands into a set of remote control commands for the current electrical equipment.

需要说明的是,子步骤S31-子步骤S34的实施例可以独立于子步骤S11-子步骤S13的实施例,和/或,独立于子步骤S21-子步骤S25的实施例;或者,子步骤S31-子步骤S34的实施例也可以看作是子步骤S11-子步骤S13的实施例,和/或,子步骤S21-子步骤S25的实施例的补充,当在子步骤S11-子步骤S13的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的型号信息时,或者,在子步骤S21-子步骤S25的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的品牌时,则可以执行子步骤S31-子步骤S34的实施例。It should be noted that the embodiment of substep S31-substep S34 may be independent of the embodiment of substep S11-substep S13, and/or, independent of the embodiment of substep S21-substep S25; or, the substep The embodiment of S31-substep S34 can also be regarded as the embodiment of substep S11-substep S13, and/or, the supplement of the embodiment of substep S21-substep S25, when in substep S11-substep S13 When the embodiment does not match the model information of the current electrical equipment in the preset remote control instruction database, or, in the embodiment of substep S21-substep S25, it does not match the model information of the current electrical equipment in the preset remote control instruction database If the brand is selected, the embodiment of sub-step S31-sub-step S34 can be executed.

若子步骤S31-子步骤S34的实施例作为对子步骤S11-子步骤S13的实施例,和/或,对子步骤S21-子步骤S25的实施例的补充的情形,在本发明实施例的一种优选实施例中,还可以包括如下步骤:If the embodiment of sub-step S31-sub-step S34 is used as the embodiment of sub-step S11-sub-step S13, and/or, the situation of supplementing the embodiment of sub-step S21-sub-step S25, in an embodiment of the present invention In a preferred embodiment, the following steps may also be included:

生成所述电器设备类型与所述遥控指令集合的关联关系;将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。Generate an association relationship between the type of electrical equipment and the set of remote control instructions; store the association relationship between the type of electrical equipment and the set of remote control instructions in the remote control instruction database.

具体来说,通过子步骤S31-子步骤S34获得与当前电器设备对应的遥控指令集合以后,可以生成该电器设备类型与所述遥控指令集合的关联关系,并将该关联关系存储在遥控指令数据库中,则其他用户需要针对同样的电器设备获得遥控指令集合时,可以直接执行步骤子步骤S21-子步骤S25来获得,以达到数据同享的目的。Specifically, after the remote control instruction set corresponding to the current electrical equipment is obtained through substep S31-substep S34, an association relationship between the electrical equipment type and the remote control instruction set can be generated, and the association relationship can be stored in the remote control instruction database , when other users need to obtain a set of remote control instructions for the same electrical equipment, they can directly perform steps substep S21-substep S25 to obtain, so as to achieve the purpose of data sharing.

另外,需要说明的是,上述三种确定与当前电器设备匹配的遥控指令集合的方式仅仅是本发明实施例的示例,本领域技术人员采用其他方式确定与当前电器设备匹配的遥控指令集合均是可以的,本发明实施例对此不作限制。In addition, it should be noted that the above three methods of determining the remote control instruction set matching the current electrical equipment are only examples of the embodiment of the present invention, and those skilled in the art use other methods to determine the remote control instruction set matching the current electrical equipment. Yes, this embodiment of the present invention does not limit it.

在本发明实施例的一种优选实施例中,当在步骤201中获得与当前电器设备对应的遥控指令集合以后,还可以将该当前电器设备的遥控指令集合分享至其他用户,例如共享至家庭的其他成员,那么其他成员可以直接获得家庭环境中的电器设备对应的遥控指令集合,直接在其移动终端中显示对应的虚拟遥控器。In a preferred embodiment of the embodiment of the present invention, after the remote control command set corresponding to the current electrical device is obtained in step 201, the remote control command set of the current electrical device can also be shared with other users, such as shared with the family other members, then the other members can directly obtain the set of remote control commands corresponding to the electrical equipment in the home environment, and directly display the corresponding virtual remote control in their mobile terminals.

步骤202,展现所述遥控指令集合;Step 202, presenting the set of remote control commands;

在本发明实施例的一种优选实施例中,步骤202可以包括如下子步骤:In a preferred embodiment of the embodiment of the present invention, step 202 may include the following sub-steps:

子步骤S41,将所述遥控指令集合组织成虚拟遥控器;Sub-step S41, organizing the set of remote control commands into a virtual remote control;

子步骤S42,展现所述虚拟遥控器。Sub-step S42, displaying the virtual remote controller.

在具体实现中,一个电器设备对应的遥控指令集合可以包括多条遥控指令,不同的电器设备具有不同的遥控指令集合,例如,对于电视机,其遥控指令集合可以包括音量“+”指令、音量“-”指令、频道“+”指令、频道“-”指令、“主页”指令、“菜单”指令、“返回”指令、“确定”指令、“开关”指令等;对于空调,其遥控指令集合可以包括温度“+”指令、温度“-”指令、“风向”指令、“模式”指令、“开关”指令等。In a specific implementation, a set of remote control commands corresponding to an electrical device may include multiple remote control commands, and different electrical devices have different sets of remote control commands. For example, for a TV, the set of remote control commands may include volume "+" command, volume "-" command, channel "+" command, channel "-" command, "home page" command, "menu" command, "return" command, "OK" command, "switch" command, etc.; for air conditioners, the remote control command set It can include temperature "+" command, temperature "-" command, "wind direction" command, "mode" command, "switch" command, etc.

当获得当前电器设备对应的遥控指令集合以后,可以将该遥控指令集合组织成虚拟遥控器,并将虚拟遥控器通过第三方特定应用程序展现给用户。其中,虚拟遥控器的一个按键相当于一条遥控指令。After obtaining the remote control command set corresponding to the current electrical equipment, the remote control command set can be organized into a virtual remote control, and the virtual remote control can be displayed to the user through a third-party specific application program. Wherein, a button of the virtual remote controller is equivalent to a remote control command.

步骤203,当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;Step 203, when a trigger operation of a certain remote control command in the remote control command set by the user is detected, a control command is generated based on the remote control command;

在移动终端中向用户展现虚拟遥控器以后,若检测到用户对虚拟遥控器中某个按键的触发操作时,例如,用户点触虚拟遥控器中的某个按键时,可以获得与该点击的按键对应的遥控指令,并基于该遥控指令生成控制指令。After the virtual remote controller is presented to the user in the mobile terminal, if the user's trigger operation on a certain button in the virtual remote controller is detected, for example, when the user touches a certain button in the virtual remote controller, the clicked button can be obtained. A remote control command corresponding to the button is generated, and a control command is generated based on the remote control command.

例如,当虚拟遥控器为电视机的虚拟遥控器时,当用户点击虚拟遥控器中的频道“+”按键时,可以生成频道“+”的控制指令。For example, when the virtual remote controller is a virtual remote controller of a television, when the user clicks a channel "+" button on the virtual remote controller, a control instruction for channel "+" may be generated.

步骤204,将所述控制指令发送至所述硬件遥控设备中,由所述硬件遥控设备将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。Step 204, sending the control command to the hardware remote control device, the hardware remote control device converts the control command into an infrared control code, and transmits the infrared control code to the electrical device to and controlling the electrical equipment to perform operations corresponding to the control instructions.

本发明实施例中的电器设备为支持红外控制的设备,其内部可以安装有红外接收器,用于接收红外线信号。The electrical device in the embodiment of the present invention is a device that supports infrared control, and an infrared receiver may be installed inside it for receiving infrared signals.

而第三方特定应用程序生成的控制指令为二进制编码信息,其不能直接被红外接收器接收,因此,第三方特定应用程序生成控制指令以后,可以通过与硬件遥控设备在先建立的连接,将该控制指令发送至该硬件遥控设备中。However, the control commands generated by the third-party specific application program are binary coded information, which cannot be directly received by the infrared receiver. Therefore, after the third-party specific application program generates the control command, it can be connected to the The control command is sent to the hardware remote control device.

硬件遥控设备接收到该二进制编码的控制指令以后,将该控制指令转换成红外线信号的红外控制码,并将该红外控制码发送至对应的电器设备中。After receiving the binary-coded control command, the hardware remote control device converts the control command into an infrared control code of an infrared signal, and sends the infrared control code to the corresponding electrical equipment.

该对应的电器设备通过红外接收器接收来自硬件遥控设备的红外控制码,解析该红外控制码,可以得到对应的控制指令,并执行与该控制指令对应的操作。The corresponding electrical device receives the infrared control code from the hardware remote control device through the infrared receiver, analyzes the infrared control code, obtains the corresponding control command, and executes the operation corresponding to the control command.

例如,第三方特定应用程序生成针对电视机的频道“+”的控制指令以后,将其发送至硬件遥控设备中,硬件遥控设备将该指令转换成红外线信号发射至电视机中,电视机接收到该红外线信号以后,解析得到频道“+”的控制指令,并将当前电视频道切换到下一频道中。For example, after a third-party specific application program generates a control command for the channel "+" of the TV, it sends it to the hardware remote control device, and the hardware remote control device converts the command into an infrared signal and sends it to the TV. After the infrared signal is analyzed, the control command of the channel "+" is obtained, and the current TV channel is switched to the next channel.

在一种实施方式中,确定与当前电器设备匹配的遥控指令集合以后,本发明实施例还可以针对该电器设备进行定时开关设置,即设定该电器设备的开启时间和/或开启时长和/或关闭时间。开启时间到达时,自动生成控制指令控制电器设备开启;当到达关闭时间时,自动生成控制指令控制电器设备关闭。In one embodiment, after determining the set of remote control instructions that match the current electrical equipment, the embodiment of the present invention can also set the timer switch for the electrical equipment, that is, set the opening time and/or the opening duration and/or the opening time of the electrical equipment. or off time. When the opening time arrives, a control instruction is automatically generated to control the electrical equipment to be turned on; when the closing time is reached, a control instruction is automatically generated to control the electrical equipment to be turned off.

在一种实施方式中,确定与当前电器设备匹配的遥控指令集合以后,本发明实施例还可以远程控制该电器设备的运行。具体的,当将移动终端与硬件遥控设备绑定以后,在用户不在家时,可以通过移动终端执行对遥控指令集合中的某一个遥控指令的触发操作,移动终端检测到该触发操作以后,基于遥控指令生成控制指令,并将控制指令发送至远程服务器中,远程服务器将该控制指令发送至硬件遥控设备,由硬件遥控设备将该控制指令转换成红外线信号的红外控制码,并将该红外控制码发送至对应的电器设备中,以进行对电器设备的远程控制。In an implementation manner, after the remote control command set matching the current electrical equipment is determined, the embodiment of the present invention can also remotely control the operation of the electrical equipment. Specifically, after the mobile terminal is bound to the hardware remote control device, when the user is not at home, the mobile terminal can perform a trigger operation on a certain remote control command in the remote control command set. After the mobile terminal detects the trigger operation, based on The remote control command generates a control command, and sends the control command to the remote server, and the remote server sends the control command to the hardware remote control device, and the hardware remote control device converts the control command into an infrared signal infrared control code, and sends the infrared control command The code is sent to the corresponding electrical equipment for remote control of the electrical equipment.

在本发明实施例中,移动终端可以通过硬件遥控设备实现对电器设备的遥控,在移动终端中通过第三方特定应用程序与硬件遥控设备通信,获得硬件遥控设备中的遥控指令数据库,并根据当前电器设备信息从遥控指令数据库中确定当前电器设备的遥控指令集合,当检测到用户对遥控指令集合中的某条遥控指令的触发操作时,基于该遥控指令生成控制指令,并将所述控制指令通过硬件遥控设备发送至对应的电器设备中,以控制所述电器设备执行与控制指令对应的操作,移动终端通过硬件遥控设备即可以确定电器设备的遥控指令,实现对电器设备的遥控,使普通电器设备具有智能特性,简化家庭电器设备的遥控环境,便于对电器设备的集中管理。In the embodiment of the present invention, the mobile terminal can realize the remote control of electrical equipment through the hardware remote control device, and communicate with the hardware remote control device through a third-party specific application program in the mobile terminal to obtain the remote control instruction database in the hardware remote control device, and according to the current The electrical equipment information determines the remote control command set of the current electrical equipment from the remote control command database, and when a trigger operation of a certain remote control command in the remote control command set by the user is detected, a control command is generated based on the remote control command, and the control command Send it to the corresponding electrical equipment through the hardware remote control device to control the electrical equipment to perform the operation corresponding to the control command. The mobile terminal can determine the remote control command of the electrical equipment through the hardware remote control device, and realize the remote control of the electrical equipment. Electrical equipment has intelligent features, which simplifies the remote control environment of household electrical equipment and facilitates centralized management of electrical equipment.

参照图3,示出了根据本发明一个实施例的一种基于移动终端控制电器设备的方法实施例三的步骤流程图,在本发明实施例中,移动终端可以内置一红外发射模块,该红外发射模块的作用是将移动终端中的二进制编码信息转换成红外线信号发射出去。Referring to FIG. 3 , it shows a flow chart of the steps of Embodiment 3 of a method for controlling electrical equipment based on a mobile terminal according to an embodiment of the present invention. In the embodiment of the present invention, the mobile terminal may have a built-in infrared emitting module. The function of the transmitting module is to convert the binary coded information in the mobile terminal into an infrared signal and transmit it.

在具体实现中,该红外发射模块中可以包括一个或多个红外发射头,红外发射头就是一个能发射出特定波长红外光的二极管,红外发射模块就是使用红外发射头发出一连串的二进制脉冲信号。In a specific implementation, the infrared emitting module may include one or more infrared emitting heads, the infrared emitting head is a diode capable of emitting infrared light of a specific wavelength, and the infrared emitting module uses the infrared emitting head to send a series of binary pulse signals.

应用于本发明实施例,红外发射模块中可以对应一预设的遥控指令数据库,该遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令的关联关系,即,该遥控指令数据库中存储有一个或多个电器设备与对应的遥控器数据的关联关系。Applied to the embodiment of the present invention, the infrared emission module may correspond to a preset remote control command database, and the remote control command database stores the relationship between one or more electrical equipment information and the corresponding remote control command, that is, the remote control command database The association relationship between one or more electrical equipment and the corresponding remote control data is stored in .

作为一种本发明实施例的一种示例,该电器设备信息可以包括电器设备的型号信息、电器设备的类型、电器设备的品牌等信息的至少一种。As an example of an embodiment of the present invention, the electrical device information may include at least one of information such as model information of the electrical device, type of the electrical device, and brand of the electrical device.

在具体实现中,该遥控指令数据库可以存储在云端服务器中,当需要时,可以从云端服务器中下载遥控指令到本地。In a specific implementation, the remote control command database can be stored in a cloud server, and when needed, the remote control command can be downloaded from the cloud server to the local.

本发明实施例具体可以包括如下步骤:The embodiment of the present invention may specifically include the following steps:

步骤301,移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;Step 301, the mobile terminal determines a set of remote control commands matching the current electrical equipment through a third-party specific application program;

应用于本发明实施例,在移动终端中可以通过第三方特定应用程序以及红外发射模块确定与当前电器设备匹配的遥控指令集合。Applied to the embodiment of the present invention, the mobile terminal can determine the remote control instruction set matching the current electrical equipment through the third-party specific application program and the infrared emission module.

需要说明的是,若移动终端中没有安装第三方特定应用程序,则需要先安装第三方特定应用程序,该第三方特定应用程序的安装信息可以移动终端的官方网站上获取,本发明实施例对第三方特定应用程序的安装信息的获取方式不作限制。It should be noted that if the third-party specific application program is not installed in the mobile terminal, the third-party specific application program needs to be installed first, and the installation information of the third-party specific application program can be obtained from the official website of the mobile terminal. There is no limitation on how to obtain the installation information of third-party specific applications.

在本发明实施例的一种优选实施例中,步骤301可以包括如下子步骤:In a preferred embodiment of the embodiment of the present invention, step 301 may include the following sub-steps:

子步骤S51,通过第三方特定应用程序从读取云端服务器中预设的遥控指令数据库;Sub-step S51, read the remote command database preset in the cloud server through a third-party specific application program;

应用于本发明实施例,云端服务器中预设的遥控指令数据库中可以存储有一个或多个电器设备的型号信息与对应的遥控指令集合的关联关系。Applied to the embodiment of the present invention, the remote control command database preset in the cloud server may store the relationship between the model information of one or more electrical devices and the corresponding remote control command set.

子步骤S52,确定当前电器设备的型号信息;Sub-step S52, determine the model information of the current electrical equipment;

在实际中,电器设备的型号信息是电器设备的身份标识。In practice, the model information of the electrical equipment is the identity of the electrical equipment.

在本发明实施例的一种优选实施例中子步骤S52进一步可以为:接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。In a preferred embodiment of the embodiment of the present invention, sub-step S52 may further be: receive the model information input by the user in the search box of the third-party specific application program, and use the received model information as the current electrical equipment model information.

在具体实现中,第三方特定应用程序可以具有型号搜索功能,提供检索框以供用户输入电器设备的型号信息。而电器设备的型号信息一般标记在电器设备中,或者标记在该电器设备对应的物理遥控器中,用户可以在第三方特定应用程序的检索框中输入型号信息以进行当前电器设备对应的遥控指令的检索。In a specific implementation, the third-party specific application program may have a model search function, providing a search box for the user to input the model information of the electrical equipment. The model information of electrical equipment is generally marked in the electrical equipment, or marked in the physical remote control corresponding to the electrical equipment, and the user can enter the model information in the search box of the third-party specific application program to perform the remote control command corresponding to the current electrical equipment search.

在本发明实施例的另一种优选实施例中,所述电器设备为通过路由器接入无线网络的设备,子步骤S52进一步可以为:通过路由器获取所述当前电器设备的型号信息。In another preferred embodiment of the embodiment of the present invention, the electrical device is a device connected to a wireless network through a router, and sub-step S52 may further be: obtaining the model information of the current electrical device through a router.

若当前电器设备可以接入路由器,例如智能电视等,则可以自动通过路由器读取该电器设备的型号信息,无需用户手动查找型号信息及手动输入型号信息,简化了用户操作,提高用户体验,并且减少型号信息输错的概率。If the current electrical device can be connected to the router, such as a smart TV, the model information of the electrical device can be automatically read through the router, without the need for the user to manually search for the model information and manually input the model information, which simplifies user operations and improves user experience, and Reduce the probability of entering wrong model information.

需要说明的是,本发明实施例并不限于上述两种确定当前电器设备的型号信息的方式,本领域技术人员通过其他方式确定当前电器设备的型号信息均可以的,例如,首先在第三方特定应用程序提供的品牌列表中筛选当前电器设备的品牌,然后第三方特定应用程序提供该品牌下的所有型号信息,继而从该所有型号信息中筛选出当前电器设备的型号信息。It should be noted that the embodiment of the present invention is not limited to the above two methods of determining the model information of the current electrical equipment, and those skilled in the art can determine the model information of the current electrical equipment in other ways, for example, first, in a third-party specified The current electrical equipment brand is screened from the brand list provided by the application, and then the third-party specific application program provides all model information under the brand, and then the current electrical equipment model information is screened from the all model information.

子步骤S53,若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合;Sub-step S53, if the model information of the current electrical equipment is matched in the remote control command database, then obtain a set of remote control commands corresponding to the model information as a set of remote control commands for the current electrical device;

由于遥控指令数据库存储的是一个或多个电器设备的型号信息与对应的遥控指令集合的关联关系,当得到当前电器设备的型号信息以后,可以在该遥控指令数据库中匹配该型号信息,若匹配成功,则获得该型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。Since the remote control command database stores the relationship between the model information of one or more electrical equipment and the corresponding remote control command set, after obtaining the model information of the current electrical device, the model information can be matched in the remote control command database. If successful, the remote control command set corresponding to the model information is obtained as the remote control command set of the current electrical equipment.

在本发明实施例的另一种优选实施例中,步骤301可以包括如下子步骤:In another preferred embodiment of the embodiment of the present invention, step 301 may include the following sub-steps:

子步骤S61,通过第三方特定应用程序读取云端服务器中预设的遥控指令数据库;Sub-step S61, read the remote command database preset in the cloud server through a third-party specific application program;

应用于本发明实施例,云端服务器中预设的遥控指令数据库中可以存储有一种或多种电器设备的类型和品牌与对应的遥控指令集合的关联关系。Applied to the embodiment of the present invention, the remote control command database preset in the cloud server may store the association relationship between one or more types and brands of electrical equipment and the corresponding remote control command set.

子步骤S62,确定当前电器设备的类型和品牌;Sub-step S62, determine the type and brand of the current electrical equipment;

在具体实现中,第三方特定应用程序中可以提供电器设备的类型选择列表以及品牌选择列表。用户可以从类型选择列表中选择需要控制的电器设备的类型,然后从品牌列表中选择需要控制的电器设备的品牌。In a specific implementation, a type selection list and a brand selection list of electrical equipment may be provided in a third-party specific application program. The user may select the type of electrical equipment to be controlled from the type selection list, and then select the brand of the electrical equipment to be controlled from the brand list.

作为一种示例,电器设备的类型可以包括电视机、空调、洗衣机、风扇、机顶盒、投影仪、净化器、照相机、音响等类型;电器设备的品牌可以包括TCL、索尼、海尔等市面上的品牌。As an example, the types of electrical equipment may include televisions, air conditioners, washing machines, fans, set-top boxes, projectors, purifiers, cameras, stereos, etc.; the brands of electrical equipment may include TCL, Sony, Haier and other brands on the market .

需要说明的是,除了可以通过列表来选定当前电器设备的类型和品牌以外,第三方特定应用程序还可以提供输入品牌和类型的输入框,以供用户直接输入电器设备的品牌和类型。It should be noted that, in addition to selecting the type and brand of the current electrical equipment through the list, the third-party specific application program may also provide an input box for inputting the brand and type for the user to directly input the brand and type of the electrical equipment.

子步骤S63,根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Sub-step S63, according to the type and brand of the current electrical equipment, obtain one or more sets of remote control instructions corresponding to the type and brand;

在确定当前电器设备的类型和品牌以后,可以在预设的遥控指令数据库中匹配该当前电器设备的类型和品牌,若匹配成功,则获得该电器类型下该品牌所有的遥控指令集合。After the type and brand of the current electrical equipment are determined, the type and brand of the current electrical equipment can be matched in the preset remote control command database. If the matching is successful, all the remote control command sets of the brand under the electrical equipment type can be obtained.

子步骤S64,将每一个遥控指令集合与当前电器设备进行配对;Sub-step S64, pair each remote control instruction set with the current electrical equipment;

子步骤S65,将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。In sub-step S65, the set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical device.

在具体实现中,与当前电器设备的类型和品牌对应的遥控指令集合可能有一个或多个,可以将每一个遥控指令集合与当前电器设备进行配对。也即,针对每一个遥控指令集合,点击该遥控指令集合中的某一特定的遥控指令(例如“开关”指令),通过移动终端生成控制指令并通过红外发射模块发送至当前电器设备中,判断当前电器设备是否做出响应,若没有响应,则判定该遥控指令集合为配对失败的遥控指令集合,此时可以进行下一个遥控指令集合的配对,直到配对成功;若有响应,则判定该遥控指令集合为配对成功的遥控指令集合,此时可以将该配对成功的遥控指令集合作为当前电器设备的遥控指令集合。In a specific implementation, there may be one or more remote control instruction sets corresponding to the type and brand of the current electrical equipment, and each remote control instruction set can be paired with the current electrical equipment. That is, for each set of remote control commands, click on a specific remote control command (such as a "switch" command) in the set of remote control commands, generate a control command through the mobile terminal and send it to the current electrical device through the infrared emitting module, and determine Whether the current electrical equipment responds. If there is no response, it is determined that the remote control command set is a remote control command set that failed to pair. At this time, the pairing of the next remote control command set can be performed until the pairing is successful; The set of commands is a set of remote control commands that have been successfully paired. In this case, the set of remote control commands that have been successfully paired can be used as the set of remote control commands for the current electrical device.

需要说明的是,子步骤S61-子步骤S65的实施例可以独立于子步骤S51-子步骤S53的实施例;或者,子步骤S61-子步骤S65的实施例也可以看作是子步骤S51-子步骤S53的实施例的补充,当在子步骤S51-子步骤S53的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的型号信息时,或者,在子步骤S51-子步骤S53的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的品牌时,则可以执行子步骤S61-子步骤S65的实施例。It should be noted that the embodiment of substep S61-substep S65 can be independent of the embodiment of substep S51-substep S53; or, the embodiment of substep S61-substep S65 can also be regarded as substep S51- Supplement to the embodiment of sub-step S53, when the embodiment of sub-step S51-sub-step S53 does not match the model information of the current electrical equipment in the preset remote control command database, or, in sub-step S51-sub-step S53 When the embodiment of the present invention does not match the brand of the current electrical equipment in the preset remote control instruction database, the embodiment of substep S61-substep S65 may be executed.

在本发明实施例的另一种优选实施例中,步骤301可以包括如下子步骤:In another preferred embodiment of the embodiment of the present invention, step 301 may include the following sub-steps:

子步骤S71,通过第三方特定应用程序读取云端服务器预设的遥控指令数据库;Sub-step S71, read the remote command database preset by the cloud server through a third-party specific application program;

应用于本发明实施例,云端服务器中预设的遥控指令数据库中可以存储有一种或多种电器设备的设备类型与对应的遥控指令模板的关联关系。Applied to the embodiment of the present invention, the remote control instruction database preset in the cloud server may store the association relationship between one or more types of electrical equipment and the corresponding remote control instruction templates.

进一步的,该遥控指令模板可以包括多个遥控指令控件,该遥控指令控件可以为虚拟遥控器中的按键,该按键此时的状态为灰色不可用状态。Further, the remote control command template may include a plurality of remote control command controls, and the remote control command control may be a key in the virtual remote control, and the state of the key at this time is gray and unavailable.

子步骤S72,确定当前电器设备的设备类型;Sub-step S72, determining the device type of the current electrical device;

在具体实现中,第三方特定应用程序中可以提供电器设备的类型选择列表,用户可以从类型选择列表中选择需要控制的电器设备的类型。In a specific implementation, a third-party specific application program may provide a type selection list of electrical equipment, and the user may select a type of electrical equipment to be controlled from the type selection list.

作为一种示例,电器设备的类型可以包括电视机、空调、洗衣机、风扇、机顶盒、投影仪、净化器、照相机、音响等类型。As an example, the types of electrical equipment may include types such as televisions, air conditioners, washing machines, fans, set-top boxes, projectors, purifiers, cameras, and stereos.

需要说明的是,除了可以通过列表来选定当前电器设备的类型以外,第三方特定应用程序还可以提供输入类型的输入框,以供用户直接输入电器设备的类型。It should be noted that, in addition to selecting the type of the current electrical device through the list, the third-party specific application program may also provide an input box for inputting the type for the user to directly input the type of the electrical device.

子步骤S73,从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;Sub-step S73, matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

在确定当前电器设备的类型以后,可以在预设的遥控指令数据库中匹配该当前电器设备的类型,若匹配成功,则获得该电器类型下的遥控指令模板,并在移动终端中通过第三方特定应用程序向用户展现该遥控指令模板。After the type of the current electrical equipment is determined, the type of the current electrical equipment can be matched in the preset remote control instruction database. The application presents the remote command template to the user.

其中,该遥控指令模板为该电器设备类型通用的遥控指令模板。Wherein, the remote control instruction template is a common remote control instruction template for the type of electrical equipment.

子步骤S74,当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该子步骤S74,得到当前电器设备匹配的遥控指令集合。Sub-step S74, when it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control, and complete the correspondence of the remote control command control. The learning of the remote control command, repeating the sub-step S74, to obtain the remote control command set matching the current electrical equipment.

在子步骤S74中,移动终端可以通过学习的方式复制物理遥控器中的按键指令。In sub-step S74, the mobile terminal can copy the button instructions in the physical remote controller by learning.

具体的,用户可以点击遥控指令模板中的一个或多个遥控指令控件,移动终端检测到用户针对一个或多个遥控指令控件的点击操作以后,可以生成提示信息,该提示信息用于指示用户操作物理遥控器中与该点击的遥控指令控件对应的物理按键,此时,用户可以将当前电器设备对应的物理遥控器对准移动终端,按压与该点击的遥控指令控件对应的物理按键,移动终端可以通过红外发射模块读取到该按压的物理按键对应的遥控指令,生成该该点击的遥控指令控件与该遥控指令的对应关系,此时,可以将该点击的遥控指令控件的灰色不可用状态变成彩色可用状态,至此完成该点击的遥控指令控件的学习。Specifically, the user can click on one or more remote control command controls in the remote control command template, and after the mobile terminal detects the user's click operation on one or more remote control command controls, it can generate prompt information, which is used to instruct the user to operate The physical button corresponding to the clicked remote command control in the physical remote controller. At this time, the user can point the physical remote controller corresponding to the current electrical device at the mobile terminal, press the physical button corresponding to the clicked remote control command control, and the mobile terminal The remote control command corresponding to the pressed physical button can be read through the infrared emission module, and the corresponding relationship between the clicked remote control command control and the remote control command can be generated. At this time, the gray unavailable state of the clicked remote control command control can be It becomes available in color, and the learning of the clicked remote command control is completed.

此后用户还可以按照子步骤S74完成其他遥控指令的学习,并所有学习得到的遥控指令组织成当前电器设备的遥控指令集合。Afterwards, the user can complete the learning of other remote control commands according to substep S74, and organize all learned remote control commands into a set of remote control commands for the current electrical equipment.

需要说明的是,子步骤S71-子步骤S74的实施例可以独立于子步骤S51-子步骤S53的实施例,和/或,独立于子步骤S61-子步骤S65的实施例;或者,子步骤S71-子步骤S74的实施例也可以看作是子步骤S51-子步骤S53的实施例,和/或,子步骤S61-子步骤S65的实施例的补充,当在子步骤S51-子步骤S53的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的型号信息时,或者,在子步骤S61-子步骤S65的实施例没有在预设的遥控指令数据库中匹配到当前电器设备的品牌时,则可以执行子步骤S71-子步骤S74的实施例。It should be noted that, the embodiment of substep S71-substep S74 can be independent of the embodiment of substep S51-substep S53, and/or, independent of the embodiment of substep S61-substep S65; or, substep The embodiment of S71-substep S74 can also be regarded as the embodiment of substep S51-substep S53, and/or, the supplement of the embodiment of substep S61-substep S65, when in substep S51-substep S53 When the embodiment does not match the model information of the current electrical equipment in the preset remote control instruction database, or, in the embodiment of substep S61-substep S65, it does not match the model information of the current electrical equipment in the preset remote control instruction database If the brand is selected, the embodiment of sub-step S71-sub-step S74 can be executed.

若子步骤S71-子步骤S74的实施例作为对子步骤S51-子步骤S53的实施例,和/或,对子步骤S61-子步骤S65的实施例的补充的情形,在本发明实施例的一种优选实施例中,还可以包括如下步骤:If the embodiment of sub-step S71-sub-step S74 is used as the embodiment of sub-step S51-sub-step S53, and/or, the situation of supplementing the embodiment of sub-step S61-sub-step S65, in an embodiment of the present invention In a preferred embodiment, the following steps may also be included:

生成所述电器设备类型与所述遥控指令集合的关联关系;将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。Generate an association relationship between the type of electrical equipment and the set of remote control instructions; store the association relationship between the type of electrical equipment and the set of remote control instructions in the remote control instruction database.

具体来说,通过子步骤S71-子步骤S74获得与当前电器设备对应的遥控指令集合以后,可以生成该电器设备类型与所述遥控指令集合的关联关系,并将该关联关系上传到云端服务器的遥控指令数据库中,则其他用户需要针对同样的电器设备获得遥控指令集合时,可以直接执行步骤子步骤S61-子步骤S65来获得,以达到数据同享的目的。Specifically, after the remote control instruction set corresponding to the current electrical equipment is obtained through substep S71-substep S74, the association relationship between the type of electrical equipment and the remote control instruction set can be generated, and the association relationship can be uploaded to the cloud server. In the remote control command database, when other users need to obtain a set of remote control commands for the same electrical equipment, they can directly perform steps S61-S65 to obtain, so as to achieve the purpose of data sharing.

另外,需要说明的是,上述三种确定与当前电器设备匹配的遥控指令集合的方式仅仅是本发明实施例的示例,本领域技术人员采用其他方式确定与当前电器设备匹配的遥控指令集合均是可以的,本发明实施例对此不作限制。In addition, it should be noted that the above three methods of determining the remote control instruction set matching the current electrical equipment are only examples of the embodiment of the present invention, and those skilled in the art use other methods to determine the remote control instruction set matching the current electrical equipment. Yes, this embodiment of the present invention does not limit it.

在本发明实施例的一种优选实施例中,当在步骤301中获得与当前电器设备对应的遥控指令集合以后,还可以将该当前电器设备的遥控指令集合分享至其他用户,例如共享至家庭的其他成员,那么其他成员可以直接获得家庭环境中的电器设备对应的遥控指令集合,直接在其移动终端中显示对应的虚拟遥控器。In a preferred embodiment of the embodiment of the present invention, after the remote control command set corresponding to the current electrical device is obtained in step 301, the remote control command set of the current electrical device can also be shared with other users, such as shared with the family other members, then the other members can directly obtain the set of remote control commands corresponding to the electrical equipment in the home environment, and directly display the corresponding virtual remote control in their mobile terminals.

步骤302,展现所述遥控指令集合;Step 302, presenting the set of remote control commands;

在本发明实施例的一种优选实施例中,步骤302可以包括如下子步骤:In a preferred embodiment of the embodiment of the present invention, step 302 may include the following sub-steps:

子步骤S81,将所述遥控指令集合组织成虚拟遥控器;Sub-step S81, organizing the set of remote control commands into a virtual remote control;

子步骤S82,展现所述虚拟遥控器。Sub-step S82, displaying the virtual remote controller.

在具体实现中,一个电器设备对应的遥控指令集合可以包括多条遥控指令,不同的电器设备具有不同的遥控指令集合,例如,对于电视机,其遥控指令集合可以包括音量“+”指令、音量“-”指令、频道“+”指令、频道“-”指令、“主页”指令、“菜单”指令、“返回”指令、“确定”指令、“开关”指令等;对于空调,其遥控指令集合可以包括温度“+”指令、温度“-”指令、“风向”指令、“模式”指令、“开关”指令等。In a specific implementation, a set of remote control commands corresponding to an electrical device may include multiple remote control commands, and different electrical devices have different sets of remote control commands. For example, for a TV, the set of remote control commands may include volume "+" command, volume "-" command, channel "+" command, channel "-" command, "home page" command, "menu" command, "return" command, "OK" command, "switch" command, etc.; for air conditioners, the remote control command set It can include temperature "+" command, temperature "-" command, "wind direction" command, "mode" command, "switch" command, etc.

当获得当前电器设备对应的遥控指令集合以后,可以将该遥控指令集合组织成虚拟遥控器,并将虚拟遥控器通过第三方特定应用程序展现给用户。其中,虚拟遥控器的一个按键相当于一条遥控指令。After obtaining the remote control command set corresponding to the current electrical equipment, the remote control command set can be organized into a virtual remote control, and the virtual remote control can be displayed to the user through a third-party specific application program. Wherein, a button of the virtual remote controller is equivalent to a remote control instruction.

步骤303,当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;Step 303, when a trigger operation of a certain remote control command in the set of remote control commands by the user is detected, a control command is generated based on the remote control command;

在移动终端中向用户展现虚拟遥控器以后,若检测到用户对虚拟遥控器中某个按键的触发操作时,例如,用户点触虚拟遥控器中的某个按键时,可以获得与该点击的按键对应的遥控指令,并基于该遥控指令生成控制指令。After the virtual remote controller is presented to the user in the mobile terminal, if the user's trigger operation on a certain button in the virtual remote controller is detected, for example, when the user touches a certain button in the virtual remote controller, the clicked button can be obtained. A remote control command corresponding to the button is generated, and a control command is generated based on the remote control command.

例如,当虚拟遥控器为电视机的虚拟遥控器时,当用户点击虚拟遥控器中的频道“+”按键时,可以生成频道“+”的控制指令。For example, when the virtual remote controller is a virtual remote controller of a television, when the user clicks a channel "+" button on the virtual remote controller, a control instruction for channel "+" may be generated.

步骤304,将所述控制指令通过所述红外发射模块转换成红外控制码,并将所述红外控制码发射至所述电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。Step 304, converting the control command into an infrared control code through the infrared emitting module, and transmitting the infrared control code to the electrical device, so as to control the electrical device to perform an operation corresponding to the control command .

本发明实施例中的电器设备为支持红外控制的设备,其内部可以安装有红外接收器,用于接收红外线信号。The electrical device in the embodiment of the present invention is a device that supports infrared control, and an infrared receiver may be installed inside it for receiving infrared signals.

而第三方特定应用程序生成的控制指令为二进制编码信息,其不能直接被红外接收器接收,因此,第三方特定应用程序生成控制指令以后,可以通过与红外发射模块将该二进制编码的控制指令转换成红外线信号的红外控制码,并将该红外控制码发送至对应的电器设备中。The control command generated by the third-party specific application program is binary coded information, which cannot be directly received by the infrared receiver. Therefore, after the third-party specific application program generates the control command, it can convert the binary coded control command through the infrared transmitter module. The infrared control code is converted into an infrared signal, and the infrared control code is sent to the corresponding electrical equipment.

该对应的电器设备通过红外接收器接收来自红外发射模块的红外控制码,解析该红外控制码,可以得到对应的控制指令,并执行与该控制指令对应的操作。The corresponding electrical equipment receives the infrared control code from the infrared transmitting module through the infrared receiver, analyzes the infrared control code, obtains the corresponding control command, and executes the operation corresponding to the control command.

例如,第三方特定应用程序生成针对电视机的频道“+”的控制指令以后,将其通过红外发射模块转换成红外线信号发射至电视机中,电视机接收到该红外线信号以后,解析得到频道“+”的控制指令,并将当前电视频道切换到下一频道中。For example, after a third-party specific application program generates a control command for the channel "+" of the TV, it converts it into an infrared signal through the infrared emitting module and transmits it to the TV. After the TV receives the infrared signal, it analyzes and obtains the channel "+". +” control command, and switch the current TV channel to the next channel.

在一种实施方式中,确定与当前电器设备匹配的遥控指令集合以后,本发明实施例还可以针对该电器设备进行定时开关设置,即设定该电器设备的开启时间和/或开启时长和/或关闭时间。开启时间到达时,自动生成控制指令控制电器设备开启;当到达关闭时间时,自动生成控制指令控制电器设备关闭。In one embodiment, after determining the set of remote control instructions that match the current electrical equipment, the embodiment of the present invention can also set the timer switch for the electrical equipment, that is, set the opening time and/or the opening duration and/or the opening time of the electrical equipment. or off time. When the opening time arrives, a control instruction is automatically generated to control the electrical equipment to be turned on; when the closing time is reached, a control instruction is automatically generated to control the electrical equipment to be turned off.

在本发明实施例中,移动终端可以通过红外发射模块实现对电器设备的遥控,在移动终端中通过第三方特定应用程序获得云端服务器中的遥控指令数据库,并根据当前电器设备信息从遥控指令数据库中确定当前电器设备的遥控指令集合,当检测到用户对遥控指令集合中的某条遥控指令的触发操作时,基于该遥控指令生成控制指令,并通过红外发射模块发送至对应的电器设备中,以控制所述电器设备执行与控制指令对应的操作,移动终端通过红外发射模块即可以确定电器设备的遥控指令,实现对电器设备的遥控,使普通电器设备具有智能特性,简化家庭电器设备的遥控环境,便于对电器设备的集中管理。In the embodiment of the present invention, the mobile terminal can realize the remote control of the electrical equipment through the infrared emission module, and obtain the remote control command database in the cloud server through the third-party specific application program in the mobile terminal, and obtain the remote control command database from the remote control command database according to the current electrical device information. Determine the remote control command set of the current electrical equipment, when the trigger operation of a certain remote control command in the remote control command set by the user is detected, a control command is generated based on the remote control command, and sent to the corresponding electrical device through the infrared emission module, To control the electrical equipment to perform the operation corresponding to the control command, the mobile terminal can determine the remote control command of the electrical equipment through the infrared emission module, realize the remote control of the electrical equipment, make the ordinary electrical equipment have intelligent features, and simplify the remote control of household electrical equipment environment, which is convenient for centralized management of electrical equipment.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图4,示出了根据本发明一个实施例的一种控制电器设备的移动终端实施例的结构框图,具体可以包括如下模块:Referring to FIG. 4 , it shows a structural block diagram of an embodiment of a mobile terminal for controlling electrical equipment according to an embodiment of the present invention, which may specifically include the following modules:

指令集合确定模块401,适于通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;The command set determination module 401 is adapted to determine the remote control command set matching the current electrical equipment through a third-party specific application program;

指令集合展现模块402,适于展现所述遥控指令集合;An instruction set display module 402, adapted to display the remote control instruction set;

控制指令生成模块403,适于在检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;The control command generation module 403 is adapted to generate a control command based on the remote control command when detecting a user's trigger operation on a certain remote control command in the remote control command set;

控制模块404,适于将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。The control module 404 is adapted to send the control instruction to a corresponding electrical device, so as to control the electrical device to perform an operation corresponding to the control instruction.

在本发明实施例的一种优选实施例中,所述指令集合确定模块401还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set determination module 401 is further adapted to:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括型号信息;Reading a preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes model information;

确定当前电器设备的型号信息;Determine the model information of the current electrical equipment;

若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。If the model information of the current electrical device is matched in the remote control command database, a remote control command set corresponding to the model information is obtained as a remote control command set of the current electrical device.

在本发明实施例的一种优选实施例中,所述指令集合确定模块401还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set determination module 401 is further adapted to:

接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。The model information input by the user in the search box of the third-party specific application program is received, and the received model information is used as the model information of the current electrical equipment.

在本发明实施例的一种优选实施例中,所述指令集合确定模块401还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set determination module 401 is further adapted to:

通过路由器获取所述当前电器设备的型号信息。Obtain the model information of the current electrical equipment through the router.

在本发明实施例的一种优选实施例中,所述指令集合确定模块401还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set determination module 401 is further adapted to:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一种或多种电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括电器设备的类型和品牌;Read the preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more types of electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes the type of electrical equipment and brands;

确定当前电器设备的类型和品牌;Determine the type and brand of current electrical equipment;

根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Obtain one or more sets of remote control instructions corresponding to the type and brand according to the type and brand of the current electrical equipment;

将每一个遥控指令集合与当前电器设备进行配对;Pair each remote control command set with the current electrical equipment;

将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。The set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical equipment.

在本发明实施例的一种优选实施例中,所述指令集合确定模块401还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set determination module 401 is further adapted to:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令模板的关联关系,所述电器设备信息包括设备类型,所述遥控指令模板包括多个遥控指令控件;The preset remote control command database is read through a third-party specific application program, and the relationship between one or more electrical equipment information and the corresponding remote control command template is stored in the remote control command database. The electrical device information includes the type of equipment, so The remote control instruction template includes a plurality of remote control instruction controls;

确定当前电器设备的设备类型;Determine the device type of the current electrical device;

从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该步骤,得到当前电器设备匹配的遥控指令集合。When it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control to complete the remote control command corresponding to the remote control command control Learn and repeat this step to get the set of remote control commands matching the current electrical equipment.

在本发明实施例的一种优选实施例中,所述移动终端还包括:In a preferred embodiment of the embodiments of the present invention, the mobile terminal further includes:

关联关系生成模块,适于生成所述电器设备类型与所述遥控指令集合的关联关系;An association relationship generation module, adapted to generate an association relationship between the type of electrical equipment and the set of remote control instructions;

关联关系存储模块,适于将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。The association relationship storage module is adapted to store the association relationship between the electrical equipment type and the remote control command set in the remote control command database.

在本发明实施例的一种优选实施例中,所述移动终端内置或外接一红外发射模块,所述预设的遥控指令数据库为所述红外发射模块本地的遥控指令数据库,和/或,所述预设的遥控指令数据库为云端服务器中存储的数据库。In a preferred embodiment of the embodiment of the present invention, the mobile terminal has a built-in or external infrared emission module, and the preset remote control instruction database is the local remote control instruction database of the infrared emission module, and/or, the The preset remote control command database mentioned above is a database stored in the cloud server.

在本发明实施例的一种优选实施例中,所述控制模块404还适于:In a preferred embodiment of the embodiment of the present invention, the control module 404 is further adapted to:

将所述控制指令发送至所述红外发射模块中,由所述红外发射模块将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中。The control command is sent to the infrared emitting module, and the infrared emitting module converts the control command into an infrared control code, and transmits the infrared control code to the electrical equipment.

在本发明实施例的一种优选实施例中,若所述移动终端外接所述红外发射模块,则所述红外发射模块为一硬件遥控设备,所述第三方特定应用程序与所述硬件遥控设备绑定。In a preferred embodiment of the embodiment of the present invention, if the mobile terminal is externally connected to the infrared emitting module, the infrared emitting module is a hardware remote control device, and the third-party specific application program and the hardware remote control device bound.

在本发明实施例的一种优选实施例中,所述移动终端还包括:In a preferred embodiment of the embodiments of the present invention, the mobile terminal further includes:

分享模块,适于将所述当前电器设备的遥控指令集合分享至其他用户。The sharing module is adapted to share the remote control instruction set of the current electrical equipment with other users.

在本发明实施例的一种优选实施例中,所述指令集合展现模块402还适于:In a preferred embodiment of the embodiment of the present invention, the instruction set presentation module 402 is further adapted to:

将所述遥控指令集合组织成虚拟遥控器;organizing the set of remote control commands into a virtual remote control;

展现所述虚拟遥控器。The virtual remote is presented.

对于移动终端实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the mobile terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to the part of the description of the method embodiment.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于移动终端控制电器设备的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of some or all of the components in the device for controlling electrical equipment based on the mobile terminal according to the embodiment of the present invention Function. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了A1、一种基于移动终端控制电器设备的方法,所述方法包括:The present invention discloses A1. A method for controlling electrical equipment based on a mobile terminal, the method comprising:

移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;The mobile terminal determines the set of remote control instructions matching the current electrical equipment through a third-party specific application program;

展现所述遥控指令集合;presenting the set of remote control commands;

当检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;generating a control command based on the remote control command when a user's trigger operation on a certain remote control command in the set of remote control commands is detected;

将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。The control instruction is sent to a corresponding electrical device, so as to control the electrical device to perform an operation corresponding to the control instruction.

A2、如A1所述的方法,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:A2, the method as described in A1, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括型号信息;Reading a preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes model information;

确定当前电器设备的型号信息;Determine the model information of the current electrical equipment;

若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。If the model information of the current electrical device is matched in the remote control command database, a remote control command set corresponding to the model information is obtained as a remote control command set of the current electrical device.

A3、如A2所述的方法,所述确定当前电器设备的型号信息的步骤包括:A3, the method as described in A2, the step of determining the model information of the current electrical equipment includes:

接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。The model information input by the user in the search box of the third-party specific application program is received, and the received model information is used as the model information of the current electrical equipment.

A4、如A2所述的方法,所述电器设备为通过路由器接入无线网络的设备,所述确定当前电器设备的型号信息的步骤包括:A4. The method as described in A2, wherein the electrical equipment is a device connected to a wireless network through a router, and the step of determining the model information of the current electrical equipment includes:

通过路由器获取所述当前电器设备的型号信息。Obtain the model information of the current electrical equipment through the router.

A5、如A1所述的方法,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:A5, the method as described in A1, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一种或多种电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括电器设备的类型和品牌;Read the preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more types of electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes the type of electrical equipment and brands;

确定当前电器设备的类型和品牌;Determine the type and brand of current electrical equipment;

根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Obtain one or more sets of remote control instructions corresponding to the type and brand according to the type and brand of the current electrical equipment;

将每一个遥控指令集合与当前电器设备进行配对;Pair each remote control command set with the current electrical equipment;

将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。The set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical equipment.

A6、如A1所述的方法,所述移动终端通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合的步骤包括:A6, the method as described in A1, the step of determining the remote control command set matching the current electrical equipment by the mobile terminal through a third-party specific application program includes:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令模板的关联关系,所述电器设备信息包括设备类型,所述遥控指令模板包括多个遥控指令控件;The preset remote control command database is read through a third-party specific application program, and the relationship between one or more electrical equipment information and the corresponding remote control command template is stored in the remote control command database. The electrical device information includes the type of equipment, so The remote control instruction template includes a plurality of remote control instruction controls;

确定当前电器设备的设备类型;Determine the device type of the current electrical device;

从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该步骤,得到当前电器设备匹配的遥控指令集合。When it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control to complete the remote control command corresponding to the remote control command control Learn and repeat this step to get the set of remote control commands matching the current electrical equipment.

A7、如A6所述的方法,还包括:A7, the method as described in A6, also includes:

生成所述电器设备类型与所述遥控指令集合的关联关系;Generate an association relationship between the type of electrical equipment and the set of remote control instructions;

将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。The association relationship between the type of electrical equipment and the set of remote control instructions is stored in the remote control instruction database.

A8、如A1-A7任一项所述的方法,所述移动终端内置或外接一红外发射模块,所述预设的遥控指令数据库为所述红外发射模块本地的遥控指令数据库,和/或,所述预设的遥控指令数据库为云端服务器中存储的数据库。A8. The method according to any one of A1-A7, wherein the mobile terminal has a built-in or external infrared transmitter module, and the preset remote control command database is the local remote control command database of the infrared transmitter module, and/or, The preset remote control instruction database is a database stored in a cloud server.

A9、如A8所述的方法,所述将所述控制指令发送至对应的电器设备中的步骤包括:A9. The method as described in A8, the step of sending the control instruction to the corresponding electrical equipment includes:

将所述控制指令发送至所述红外发射模块中,由所述红外发射模块将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中。The control command is sent to the infrared emitting module, and the infrared emitting module converts the control command into an infrared control code, and transmits the infrared control code to the electrical equipment.

A10、如A8所述的方法,若所述移动终端外接所述红外发射模块,则所述红外发射模块为一硬件遥控设备,所述第三方特定应用程序与所述硬件遥控设备绑定。A10. The method described in A8, if the mobile terminal is externally connected to the infrared emitting module, then the infrared emitting module is a hardware remote control device, and the third-party specific application program is bound to the hardware remote control device.

A11、如A1-A7任一项所述的方法,还包括:A11. The method according to any one of A1-A7, further comprising:

将所述当前电器设备的遥控指令集合分享至其他用户。Sharing the remote control instruction set of the current electrical equipment with other users.

A12、如A1所述的方法,所述展现所述遥控指令集合的步骤包括:A12. The method as described in A1, the step of presenting the set of remote control instructions includes:

将所述遥控指令集合组织成虚拟遥控器;organizing the set of remote control commands into a virtual remote control;

展现所述虚拟遥控器。The virtual remote is presented.

本发明还公开了B13、一种控制电器设备的移动终端,所述移动终端包括:The present invention also discloses B13, a mobile terminal for controlling electrical equipment, the mobile terminal includes:

指令集合确定模块,适于通过第三方特定应用程序,确定与当前电器设备匹配的遥控指令集合;The command set determination module is adapted to determine the remote control command set matching the current electrical equipment through a third-party specific application program;

指令集合展现模块,适于展现所述遥控指令集合;an instruction set display module, adapted to display the remote control instruction set;

控制指令生成模块,适于在检测到用户对所述遥控指令集合中的某一个遥控指令的触发操作时,基于所述遥控指令生成控制指令;The control command generation module is adapted to generate a control command based on the remote control command when a trigger operation of a certain remote control command in the remote control command set by the user is detected;

控制模块,适于将所述控制指令发送至对应的电器设备中,以控制所述电器设备执行与所述控制指令对应的操作。The control module is adapted to send the control instruction to corresponding electrical equipment, so as to control the electrical equipment to perform operations corresponding to the control instruction.

B14、如B13所述的移动终端,所述指令集合确定模块还适于:B14. The mobile terminal as described in B13, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括型号信息;Reading a preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes model information;

确定当前电器设备的型号信息;Determine the model information of the current electrical equipment;

若在所述遥控指令数据库中匹配到所述当前电器设备的型号信息,则获得与所述型号信息对应的遥控指令集合,作为当前电器设备的遥控指令集合。If the model information of the current electrical device is matched in the remote control command database, a remote control command set corresponding to the model information is obtained as a remote control command set of the current electrical device.

B15、如B14所述的移动终端,所述指令集合确定模块还适于:B15. The mobile terminal as described in B14, the instruction set determination module is also suitable for:

接收用户在所述第三方特定应用程序的检索框中输入的型号信息,将所述接收到的型号信息作为当前电器设备的型号信息。The model information input by the user in the search box of the third-party specific application program is received, and the received model information is used as the model information of the current electrical equipment.

B16、如B14所述的移动终端,所述指令集合确定模块还适于:B16. The mobile terminal as described in B14, the instruction set determination module is also suitable for:

通过路由器获取所述当前电器设备的型号信息。Obtain the model information of the current electrical equipment through the router.

B17、如B13所述的移动终端,所述指令集合确定模块还适于:B17. The mobile terminal as described in B13, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一种或多种电器设备信息与对应的遥控指令集合的关联关系,所述电器设备信息包括电器设备的类型和品牌;Read the preset remote control instruction database through a third-party specific application program, the remote control instruction database stores the association relationship between one or more types of electrical equipment information and the corresponding remote control instruction set, and the electrical equipment information includes the type of electrical equipment and brands;

确定当前电器设备的类型和品牌;Determine the type and brand of current electrical equipment;

根据所述当前电器设备的类型和品牌,获得与所述类型和品牌对应的一个或多个遥控指令集合;Obtain one or more sets of remote control instructions corresponding to the type and brand according to the type and brand of the current electrical equipment;

将每一个遥控指令集合与当前电器设备进行配对;Pair each remote control command set with the current electrical equipment;

将配对成功的遥控指令集合作为当前电器设备的遥控指令集合。The set of remote control commands that have been successfully paired is used as the set of remote control commands for the current electrical equipment.

B18、如B13所述的移动终端,所述指令集合确定模块还适于:B18. The mobile terminal as described in B13, the instruction set determination module is also suitable for:

通过第三方特定应用程序读取预设的遥控指令数据库,所述遥控指令数据库中存储有一个或多个电器设备信息与对应的遥控指令模板的关联关系,所述电器设备信息包括设备类型,所述遥控指令模板包括多个遥控指令控件;The preset remote control command database is read through a third-party specific application program, and the relationship between one or more electrical equipment information and the corresponding remote control command template is stored in the remote control command database. The electrical device information includes the type of equipment, so The remote control instruction template includes a plurality of remote control instruction controls;

确定当前电器设备的设备类型;Determine the device type of the current electrical device;

从所述遥控指令数据库中匹配所述当前电器设备的设备类型,获得匹配的遥控指令模板,并展现所述遥控指令模板;matching the device type of the current electrical device from the remote control command database, obtaining a matched remote control command template, and displaying the remote control command template;

当检测到用户点击所述遥控指令模板中的某个遥控指令控件时,指示用户操作物理遥控器中与所述点击的遥控指令控件对应的物理按键,完成所述遥控指令控件对应的遥控指令的学习,重复该步骤,得到当前电器设备匹配的遥控指令集合。When it is detected that the user clicks a certain remote control command control in the remote control command template, instruct the user to operate the physical button corresponding to the clicked remote control command control in the physical remote control to complete the remote control command corresponding to the remote control command control Learn and repeat this step to get the set of remote control commands matching the current electrical equipment.

B19、如B18所述的移动终端,还包括:B19, the mobile terminal as described in B18, also includes:

关联关系生成模块,适于生成所述电器设备类型与所述遥控指令集合的关联关系;An association relationship generation module, adapted to generate an association relationship between the type of electrical equipment and the set of remote control instructions;

关联关系存储模块,适于将所述电器设备类型与所述遥控指令集合的关联关系存储在所述遥控指令数据库中。The association relationship storage module is adapted to store the association relationship between the electrical equipment type and the remote control command set in the remote control command database.

B20、如B13-B19任一项所述的移动终端,所述移动终端内置或外接一红外发射模块,所述预设的遥控指令数据库为所述红外发射模块本地的遥控指令数据库,和/或,所述预设的遥控指令数据库为云端服务器中存储的数据库。B20. The mobile terminal according to any one of B13-B19, the mobile terminal has a built-in or external infrared emission module, and the preset remote control instruction database is the local remote control instruction database of the infrared emission module, and/or , the preset remote control instruction database is a database stored in a cloud server.

B21、如B20所述的移动终端,所述控制模块还适于:B21, the mobile terminal as described in B20, the control module is also suitable for:

将所述控制指令发送至所述红外发射模块中,由所述红外发射模块将所述控制指令转换成红外控制码,并将所述红外控制码发射至所述电器设备中。The control command is sent to the infrared emitting module, and the infrared emitting module converts the control command into an infrared control code, and transmits the infrared control code to the electrical equipment.

B22、如B20所述的移动终端,若所述移动终端外接所述红外发射模块,则所述红外发射模块为一硬件遥控设备,所述第三方特定应用程序与所述硬件遥控设备绑定。B22. For the mobile terminal as described in B20, if the mobile terminal is externally connected to the infrared emitting module, the infrared emitting module is a hardware remote control device, and the third-party specific application program is bound to the hardware remote control device.

B23、如B13-B19任一项所述的移动终端,还包括:B23. The mobile terminal as described in any one of B13-B19, further comprising:

分享模块,适于将所述当前电器设备的遥控指令集合分享至其他用户。The sharing module is adapted to share the remote control instruction set of the current electrical equipment with other users.

B24、如B13所述的移动终端,所述指令集合展现模块还适于:B24, the mobile terminal as described in B13, the instruction set display module is also suitable for:

将所述遥控指令集合组织成虚拟遥控器;organizing the set of remote control commands into a virtual remote control;

展现所述虚拟遥控器。The virtual remote is presented.

Claims (10)

1. a kind of method based on mobile terminal control apparatus equipment, methods described includes:
Mobile terminal passes through third party's application-specific, it is determined that the remote control matched with current electric equipment refers to Order set;
Represent the telecommand set;
When user is detected to the trigger action of some telecommand in the telecommand set, Control instruction is generated based on the telecommand;
The control instruction is sent into corresponding electric equipment, with control the electric equipment perform with The corresponding operation of the control instruction.
2. the method for claim 1, it is characterised in that the mobile terminal passes through third party Application-specific, it is determined that matched with current electric equipment telecommand set the step of include:
Default telecommand data storehouse, the telecommand number are read by third party's application-specific According to incidence relation of one or more electric equipment information with corresponding telecommand set that be stored with storehouse, The electric equipment information includes type information;
It is determined that the type information of current electric equipment;
If matching the type information of the current electric equipment in the telecommand data storehouse, obtain Telecommand set corresponding with the type information is obtained, as the telecommand collection of current electric equipment Close.
3. method as claimed in claim 2, it is characterised in that the current electric equipment of determination The step of type information, includes:
The type information that user is input into the frame retrieval of third party's application-specific is received, by institute State the type information of the type information that receives as current electric equipment.
4. method as claimed in claim 2, it is characterised in that the electric equipment is by route The step of equipment that device accesses wireless network, type information of the determination current electric equipment, includes:
The type information of the current electric equipment is obtained by router.
5. the method for claim 1, it is characterised in that the mobile terminal passes through third party Application-specific, it is determined that matched with current electric equipment telecommand set the step of include:
Default telecommand data storehouse, the telecommand number are read by third party's application-specific According to incidence relation of the one or more electric equipment information with corresponding telecommand set that be stored with storehouse, The electric equipment information includes the type and brand of electric equipment;
It is determined that the type and brand of current electric equipment;
According to the type and brand of the current electric equipment, corresponding with the type and brand one is obtained Individual or multiple telecommand set;
Each telecommand set and current electric equipment are matched;
Using the telecommand set of successful matching as current electric equipment telecommand set.
6. the method for claim 1, it is characterised in that the mobile terminal passes through third party Application-specific, it is determined that matched with current electric equipment telecommand set the step of include:
Default telecommand data storehouse, the telecommand number are read by third party's application-specific According to incidence relation of one or more electric equipment information with corresponding telecommand template that be stored with storehouse, The electric equipment information includes device type, and the telecommand template includes multiple telecommand controls Part;
It is determined that the device type of current electric equipment;
The device type of the current electric equipment is matched from the telecommand data storehouse, is matched Telecommand template, and represent the telecommand template;
When certain the telecommand control in detecting user and clicking on the telecommand template, indicate to use Physical button corresponding with the telecommand control of the click in the operating physical remote control of family, completes described The study of the corresponding telecommand of telecommand control, repeats the step, obtains current electric equipment matching Telecommand set.
7. the method as described in claim any one of 1-6, it is characterised in that in the mobile terminal Put or an external infrared transmission module, the default telecommand data storehouse is the infrared transmission module Local telecommand data storehouse, and/or, the default telecommand data storehouse is in cloud server The database of storage.
8. method as claimed in claim 7, it is characterised in that described to send the control instruction Step into corresponding electric equipment includes:
The control instruction is sent into the infrared transmission module, by the infrared transmission module by institute State control instruction and be converted into infrared ray remotes control code, and the infrared ray remotes control code is launched to the electric equipment In.
9. method as claimed in claim 7, it is characterised in that if the mobile terminal is external described Infrared transmission module, then the infrared transmission module is a hardware remote control equipment, and the third party is specific should Bound with the hardware remote control equipment with program.
10. a kind of mobile terminal of control apparatus equipment, the mobile terminal includes:
Instruction set determining module, is suitable to by third party's application-specific, it is determined that being set with current electrical equipment The telecommand set of standby matching;
Instruction set display module, is suitable to represent the telecommand set;
Control instruction generation module, is suitable to detecting user to some in the telecommand set During the trigger action of telecommand, control instruction is generated based on the telecommand;
Control module, is suitable to send the control instruction into corresponding electric equipment, described to control Electric equipment performs operation corresponding with the control instruction.
CN201510982772.4A 2015-12-23 2015-12-23 A kind of method and mobile terminal based on mobile terminal control apparatus equipment Pending CN106911949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510982772.4A CN106911949A (en) 2015-12-23 2015-12-23 A kind of method and mobile terminal based on mobile terminal control apparatus equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510982772.4A CN106911949A (en) 2015-12-23 2015-12-23 A kind of method and mobile terminal based on mobile terminal control apparatus equipment

Publications (1)

Publication Number Publication Date
CN106911949A true CN106911949A (en) 2017-06-30

Family

ID=59206595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510982772.4A Pending CN106911949A (en) 2015-12-23 2015-12-23 A kind of method and mobile terminal based on mobile terminal control apparatus equipment

Country Status (1)

Country Link
CN (1) CN106911949A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271141A (en) * 2017-12-29 2018-07-10 青岛真时科技有限公司 A kind of method, apparatus and smart machine for improving Bluetooth pairing efficiency
CN108282358A (en) * 2017-12-21 2018-07-13 青岛海尔科技有限公司 The configuration method and relevant device of WiFi module
CN109587536A (en) * 2017-09-29 2019-04-05 中兴通讯股份有限公司 A kind of long-distance remote-control method, equipment, server and system
CN110247903A (en) * 2019-05-31 2019-09-17 广东九联科技股份有限公司 A kind of PON gateway system and its operation method based on mobile terminal
CN110276942A (en) * 2019-06-20 2019-09-24 百度在线网络技术(北京)有限公司 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device
CN110366019A (en) * 2019-07-25 2019-10-22 四川长虹电器股份有限公司 Smart machine remote control system based on MCU communication
CN110830423A (en) * 2018-08-10 2020-02-21 北京仁光科技有限公司 Secure network data interaction system and method
WO2020133764A1 (en) * 2018-12-25 2020-07-02 深圳创维-Rgb电子有限公司 Speech remote control method and system, and controlled apparatus and computer-readable storage medium
CN111585941A (en) * 2019-02-18 2020-08-25 深圳市致趣科技有限公司 Method and system compatible with multiple automation control protocols
CN111862567A (en) * 2020-07-20 2020-10-30 广东博殿堡电子科技有限公司 Control method and system for remote control through mobile terminal
CN112816970A (en) * 2020-12-31 2021-05-18 广东美的厨房电器制造有限公司 Installation method and device of household appliance, equipment and storage medium
CN113518181A (en) * 2021-06-01 2021-10-19 深圳市劲码科技有限公司 Shooting control method for automatically matching app parameters of mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354273A (en) * 2011-09-21 2012-02-15 歌尔声学股份有限公司 Remote control method and electronic equipment for implementing same
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control
CN103680118A (en) * 2013-12-04 2014-03-26 康佳集团股份有限公司 An intelligent remote control system and a control method thereof
CN103699073A (en) * 2013-12-11 2014-04-02 周良文 Household appliance control system and method based on intelligent routing equipment
CN104820365A (en) * 2015-03-30 2015-08-05 丁贤根 General intelligent household mobile phone remote control system
US20150279206A1 (en) * 2008-04-18 2015-10-01 Universal Electronics Inc. System and method for configuring the remote control functionality of a portable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150279206A1 (en) * 2008-04-18 2015-10-01 Universal Electronics Inc. System and method for configuring the remote control functionality of a portable device
CN102354273A (en) * 2011-09-21 2012-02-15 歌尔声学股份有限公司 Remote control method and electronic equipment for implementing same
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control
CN103680118A (en) * 2013-12-04 2014-03-26 康佳集团股份有限公司 An intelligent remote control system and a control method thereof
CN103699073A (en) * 2013-12-11 2014-04-02 周良文 Household appliance control system and method based on intelligent routing equipment
CN104820365A (en) * 2015-03-30 2015-08-05 丁贤根 General intelligent household mobile phone remote control system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587536A (en) * 2017-09-29 2019-04-05 中兴通讯股份有限公司 A kind of long-distance remote-control method, equipment, server and system
CN108282358A (en) * 2017-12-21 2018-07-13 青岛海尔科技有限公司 The configuration method and relevant device of WiFi module
CN108282358B (en) * 2017-12-21 2021-05-07 青岛海尔科技有限公司 Configuration method of WiFi module and corresponding equipment
CN108271141A (en) * 2017-12-29 2018-07-10 青岛真时科技有限公司 A kind of method, apparatus and smart machine for improving Bluetooth pairing efficiency
CN110830423A (en) * 2018-08-10 2020-02-21 北京仁光科技有限公司 Secure network data interaction system and method
WO2020133764A1 (en) * 2018-12-25 2020-07-02 深圳创维-Rgb电子有限公司 Speech remote control method and system, and controlled apparatus and computer-readable storage medium
CN111585941A (en) * 2019-02-18 2020-08-25 深圳市致趣科技有限公司 Method and system compatible with multiple automation control protocols
CN110247903A (en) * 2019-05-31 2019-09-17 广东九联科技股份有限公司 A kind of PON gateway system and its operation method based on mobile terminal
CN110276942A (en) * 2019-06-20 2019-09-24 百度在线网络技术(北京)有限公司 Add method, apparatus, equipment and the readable storage medium storing program for executing of controlled device
CN110366019A (en) * 2019-07-25 2019-10-22 四川长虹电器股份有限公司 Smart machine remote control system based on MCU communication
CN111862567A (en) * 2020-07-20 2020-10-30 广东博殿堡电子科技有限公司 Control method and system for remote control through mobile terminal
CN112816970A (en) * 2020-12-31 2021-05-18 广东美的厨房电器制造有限公司 Installation method and device of household appliance, equipment and storage medium
CN113518181A (en) * 2021-06-01 2021-10-19 深圳市劲码科技有限公司 Shooting control method for automatically matching app parameters of mobile terminal
CN113518181B (en) * 2021-06-01 2023-05-02 深圳市劲码科技有限公司 Shooting control method for automatically matching mobile terminal app parameters

Similar Documents

Publication Publication Date Title
CN106911949A (en) A kind of method and mobile terminal based on mobile terminal control apparatus equipment
RU2684506C2 (en) Method and device for device control
CN103546832B (en) The matching process of home appliance remote controller and system
US9866892B2 (en) IR pairing for RF4CE remote controls
CN102945029B (en) Intelligent gateway, smart home system and intelligent control method for home appliance equipment
JP6425737B2 (en) Control method and control device for smart device based on setting scene mode, program and recording medium
CN102984039B (en) The intelligent control method of intelligent gateway, intelligent domestic system and home appliance
US20110287757A1 (en) Remote control system and method
CN203151535U (en) Intelligent gateway and intelligent household system
WO2013091458A1 (en) Method and apparatus for controlling target device
KR20150028008A (en) Method and apparatus for controlling a home device remotely in a home network system
US20140376919A1 (en) Remote Control System and Method
CN102938729A (en) Remote control method for intelligent gateway, intelligent home system and appliances
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
CN103210608A (en) Digital device control system using smartphone
KR20140076334A (en) Apparatus and method for displaying contents in home network system
CN108648431A (en) Configuration method, device, terminal device and the readable storage medium storing program for executing of remote-controller function
KR20210089867A (en) Internet of things interlocking system of ir control device
CN111915870A (en) Method, device, television and storage medium for adding remote control code value by voice
WO2011038151A1 (en) A method and system for controlling electronic devices
CN105469573A (en) Cloud smart controller APP and key value learning and assignment method
CN109166299A (en) A kind of remote control method of household electrical appliances, mobile terminal and storage medium
CN110299002A (en) A kind of infrared control system and method based on Internet of Things cloud platform
CN105872095A (en) Remote control terminal and method for managing control codes through remote control terminal
CN107798835A (en) A kind of household electric appliance control method and device, system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170630